Commit Graph

506 Commits

Author SHA1 Message Date
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
Matthew Wall
078fbb3720 forgot to add the parameterized repo files 2024-01-09 12:56:05 -05:00
Matthew Wall
c752a2998e simplify the yum/zypper repo files and instructions. enable gpgcheck for yum/zypper repos. 2024-01-09 12:23:12 -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
749b52a213 systemctl output is on stderr, so silence it. put user creation in pre as per fedora guidelines. move change of ownership to just prior to start and after precompile. send weectl output to /dev/null. set ownership on data and html dirs only if we created them - if data dir was already there then we use that ownership and do not modify. 2024-01-06 16:29:22 -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