Commit Graph

524 Commits

Author SHA1 Message Date
Matthew Wall
85e5ac832d Merge branch 'development' into mwall_pkg 2024-05-23 23:18:03 -04:00
Matthew Wall
45339e01ed added readme for pkg-specific details 2024-05-06 12:35:32 -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
e47acca400 fix changelog dates 2024-05-06 10:24:30 -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
69336c795a use lower-case for product and vendor ids in udev rules 2024-04-01 20:20:18 -04:00
Tom Keffer
83b16a7a48 Fix udev typo 2024-03-25 08:50:40 -07: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
99b1d65cd3 reduce duplication in rpm scriptlet by using a macro 2024-02-11 13:00:45 -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
Tom Keffer
6eb73a6608 Add target network-online.target to the weewx systemd unit files
Prevents `weewxd` from starting until the network is ready.
2024-02-07 12:54:49 -08: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
2b989e00eb fix suse changelog 2024-02-04 20:52:40 -05:00
Matthew Wall
9aaa3fccca silence output from systemd during installation 2024-02-04 15:03:38 -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
fdbaafc8b6 epel is required for both rocky8 and rocky9, since cheetah and pillow are in epel 2024-01-29 13:30:43 -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
b32ca4069e fix redhat/suse udev packaging rule 2024-01-24 19:40:08 -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
5c23a23518 remove redundant udev rules. added comments about udevadm. 2024-01-13 08:58:25 -05:00
matthew wall
a91c9c7a71 use 24c0 instead of 24C0 for acurite udev rules 2024-01-12 22:01:52 -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
567b64dd5e weeWX -> WeeWX 2024-01-12 13:09:49 -05:00
Matthew Wall
0b6e9507b6 no pyephem on redhat9 2024-01-11 13:19:27 -05:00
matthew wall
f3497d6aa7 provide feedback in postrm. remove unused output from preinst. 2024-01-11 08:02:36 -05:00
matthew wall
8d835ec7a8 Merge branch 'development' of github.com:weewx/weewx into development 2024-01-11 00:47:36 -05:00
matthew wall
4ebdd7e27d provide feedback if pre-compile fails 2024-01-10 23:58:59 -05:00
Matthew Wall
cc068c878c suse puts entire version in , so use 2024-01-10 22:01:00 -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