Matthew Wall
|
85e5ac832d
|
Merge branch 'development' into mwall_pkg
|
2024-05-23 23:18:03 -04:00 |
|
Matthew Wall
|
fc39ee7df2
|
rearrange setup steps to ensure permissions+ownership will apply properly
|
2024-05-06 12:26:41 -04:00 |
|
Matthew Wall
|
4b1335062a
|
fix broken grep invocation
|
2024-05-06 10:26:00 -04:00 |
|
Matthew Wall
|
40f1106c35
|
fix grep invocation for /etc/default/weewx
|
2024-05-05 03:14:53 -04:00 |
|
Matthew Wall
|
ad9b745e45
|
set permissions on weewx conf file(s) to 660 in order to protect passwords/tokens
|
2024-04-07 21:04:31 -04:00 |
|
Matthew Wall
|
c983e54a4a
|
use id instead of USER
|
2024-04-06 21:11:24 -04:00 |
|
Matthew Wall
|
ebdc08afb0
|
do not put installing user into weewx group if no installing user defined. addressess issue #952
|
2024-04-06 20:56:55 -04:00 |
|
Matthew Wall
|
991790af5f
|
sanitize lat/lon
|
2024-02-19 09:51:38 -05:00 |
|
Matthew Wall
|
1c805390aa
|
refactor init enable/disable. ensure true for postinst commands. eliminate possible init conflicts, do not just warn about them.
|
2024-02-19 08:22:50 -05:00 |
|
matthew wall
|
daf9519667
|
consolidate scriptlets and maintainer scripts
|
2024-02-11 18:34:44 -05:00 |
|
matthew wall
|
2f97c0e6d4
|
do not chmod recursively on the weewx home directory
|
2024-02-11 15:39:50 -05:00 |
|
matthew wall
|
8672a54eca
|
modify /etc/default/weewx only if there is a conflict with this install. do not create /etc/default/weewx on a new install. remove epel-release as dependency in redhat packages. explicitly invoke the weectl from the to-be-installed package.
|
2024-02-11 00:09:55 -05:00 |
|
Matthew Wall
|
14cbfbade9
|
bump to 5.0.2 and update changelogs
|
2024-02-10 02:03:49 -05:00 |
|
matthew wall
|
88698e6b0b
|
fix signing of apt repo?
|
2024-02-07 21:35:03 -05:00 |
|
Matthew Wall
|
f738a2420e
|
fix permissions for real
|
2024-02-04 21:50:41 -05:00 |
|
matthew wall
|
634852c737
|
changelogs for rev2 packages
|
2024-02-04 21:31:20 -05:00 |
|
matthew wall
|
5dae205302
|
fix permissions on all files in /etc/weewx, /var/lib/weewx, and /var/www/html/weewx
|
2024-02-04 21:28:15 -05:00 |
|
Matthew Wall
|
6cf7f5cd24
|
handle cases where permissions are broken before the installation. fixed typo in rpm user_dir macro. do explicit daemon-reload for rpm systemd unit configuration.
|
2024-02-04 14:32:21 -05:00 |
|
matthew wall
|
0842d05ae4
|
fix logic for putting install user into weewx group
|
2024-02-04 02:09:37 -05:00 |
|
matthew wall
|
5cb3715e4c
|
move aside any existing /etc/default/weewx so that we avoid python2/python3 problems and ensure a working installation. fixed bug in debian postinst GROUP determination.
|
2024-02-04 01:52:29 -05:00 |
|
matthew wall
|
e28ad92849
|
add user who is installing to the weewx group, if appropriate
|
2024-02-01 18:46:17 -05:00 |
|
matthew wall
|
eacd577651
|
convert permissions on every upgrade, not just new install, unless user was modified
|
2024-01-27 00:28:56 -05:00 |
|
Matthew Wall
|
4005e1e9f6
|
use /var/lib/weewx as HOME for weewx on redhat/suse
|
2024-01-24 21:06:21 -05:00 |
|
matthew wall
|
f6ca5cf5f4
|
update version and changelogs
|
2024-01-22 20:31:15 -05:00 |
|
matthew wall
|
1691dc2fe1
|
force altitude units to a correct value so the installer will not fail when the config is parsed. wish there was some way to do a string and choice in a single debconf template.
|
2024-01-16 09:17:20 -05:00 |
|
matthew wall
|
f4f09e20ce
|
bump to 5.0.0
|
2024-01-14 11:39:43 -05:00 |
|
matthew wall
|
8dbd8e02f1
|
use better name for variable
|
2024-01-14 09:13:42 -05:00 |
|
matthew wall
|
e96ae9e44f
|
move the init check to postinst
|
2024-01-13 20:31:02 -05:00 |
|
matthew wall
|
bd0247f6b5
|
provide some feedback if there are sysv or systemd files that could interfere with the v5 packaging
|
2024-01-13 14:12:02 -05:00 |
|
matthew wall
|
96cee34d69
|
for debian package, prefer /usr/lib but fall back to /lib
|
2024-01-12 14:28:16 -05:00 |
|
matthew wall
|
f3497d6aa7
|
provide feedback in postrm. remove unused output from preinst.
|
2024-01-11 08:02:36 -05:00 |
|
matthew wall
|
4ebdd7e27d
|
provide feedback if pre-compile fails
|
2024-01-10 23:58:59 -05:00 |
|
matthew wall
|
89282e4dbd
|
doing a -3 for debian to track down the postinst fail
|
2024-01-10 20:24:55 -05:00 |
|
matthew wall
|
fcb43f8769
|
added output in postinst to help diagnose failures
|
2024-01-10 20:23:40 -05:00 |
|
matthew wall
|
c31f57ecb9
|
update package changelogs for the rev2 release
|
2024-01-08 14:45:11 -05:00 |
|
matthew wall
|
18654ee570
|
set permissions and ownership on database and reports directories unconditionally
|
2024-01-08 00:43:50 -05:00 |
|
matthew wall
|
e932fa94ef
|
platform changelogs to 5.0.0rc3
|
2024-01-07 13:33:20 -05:00 |
|
Matthew Wall
|
3389e900ae
|
defaults are generated on the fly now, not from template
|
2024-01-07 13:09:42 -05:00 |
|
Matthew Wall
|
f581efd8ba
|
move /etc/default/weewx to post
|
2024-01-07 12:22:05 -05:00 |
|
Matthew Wall
|
2d5e8d1829
|
no need for cat before sed
|
2024-01-07 09:04:37 -05:00 |
|
Matthew Wall
|
333efa44f0
|
forgot to remove no-prompt from station upgrade invocation
|
2024-01-07 08:37:27 -05:00 |
|
Matthew Wall
|
bc08b8d486
|
align debian install/configure functions with rpm
|
2024-01-07 01:14:07 -05:00 |
|
Matthew Wall
|
c50f1685dc
|
debian says no escape codes in sh script (only bash?). lintian tweaks.
|
2024-01-07 01:13:19 -05:00 |
|
Matthew Wall
|
7345c79cc1
|
align deb and rpm config file handling. enable verbosity for deb package.
|
2024-01-07 00:33:00 -05:00 |
|
Matthew Wall
|
04ff8dba01
|
'weectl station upgrade' now uses --yes instead of --no-prompt. mute the output on debian installs.
|
2024-01-06 21:39:06 -05:00 |
|
Matthew Wall
|
6a2adcd715
|
ignore output from systemctl. use global instead of define for rpm macros.
|
2024-01-06 15:52:47 -05:00 |
|
matthew wall
|
66562830ab
|
no need to replace WEEWX_ROOT any more
|
2024-01-06 09:52:59 -05:00 |
|
matthew wall
|
f39cc11306
|
happy new year!
|
2024-01-02 08:45:27 -05:00 |
|
matthew wall
|
c3e685c629
|
keep lintian happy in the deb10 build environment
|
2024-01-02 08:28:42 -05:00 |
|
Matthew Wall
|
0367c167a9
|
as per debian guidelines, put the daemon stop in prerm, but the daemon removal in postrm. ensure that both systemd and sysv work on debian systems, for both deb and pip installs. try to keep lintian happy, but it seems to have differences between deb10 and deb12.
|
2024-01-01 21:48:55 -05:00 |
|