Commit Graph

474 Commits

Author SHA1 Message Date
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
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
Matthew Wall
bed8362391 keep lintian happy (sort of) 2024-01-01 18:48:16 -05:00
Matthew Wall
b14c4c3cc0 do not make udev installation conditional upon weewx username 2023-12-29 13:00:10 -05:00
matthew wall
c278edd8ed update deb/rpm changelogs 2023-12-29 08:40:50 -05:00
matthew wall
19e3910f98 create user only if it is weewx 2023-12-29 01:04:26 -05:00
matthew wall
be1e785dd4 refactor postinst functions and parameterize paths 2023-12-29 00:17:49 -05:00
matthew wall
4bde8c22ad fix dir check for existing user/group. fix double-percent typo in debian user check. 2023-12-28 23:34:11 -05:00
matthew wall
a16b079398 do a -4 pkg for debian 2023-12-28 22:56:30 -05:00
matthew wall
62a411a790 user dir might not exist yet, so create it 2023-12-28 22:52:06 -05:00
matthew wall
273eed5399 put systemd, udev, skin, and extensions into post 2023-12-28 22:04:01 -05:00
Matthew Wall
3ea717cfd4 verify post behavior on rocky8 2023-12-28 19:32:13 -05:00
Matthew Wall
bb5460e152 for rpm, do skins, systemd, and udev in post instead of package 2023-12-28 18:35:09 -05:00
Matthew Wall
21b08dd034 clarify systemd unit change on suse 2023-12-26 17:14:10 -05:00
Matthew Wall
422599a9d3 update package changelogs with ephem dependency 2023-12-26 17:08:59 -05:00
Matthew Wall
a78630d690 include pyephem in the deb package dependencies 2023-12-26 08:43:28 -05:00
Matthew Wall
f29441873b include pyephem in the rpm packages 2023-12-26 08:41:30 -05:00
Matthew Wall
556f613f4d /usr/lib/systemd not /lib/systemd for both redhat and suse 2023-12-24 21:48:29 -05:00
Matthew Wall
5353b52d45 adjustments for suse packaging 2023-12-23 12:30:34 -05:00
matthew wall
4c7f1bdafe make pkg config status more consistent and less verbose 2023-12-22 08:08:29 -05:00
Matthew Wall
940eff463d use journal+console not syslog+cosole 2023-12-21 19:31:22 -05:00
Matthew Wall
87bc3f3958 start making suse package compliant with suse standards 2023-12-21 18:08:31 -05:00
Matthew Wall
e72f32db64 fixed typo in rpm spec 2023-12-21 17:49:42 -05:00
matthew wall
757fc92fe3 bump to 5.0.0rc1 2023-12-21 17:44:03 -05:00
matthew wall
b2c424c485 complete the revert to system logging facility, no splitting out of weewx messages to separate file. logrotate and rsyslog conf files are now robust so that they can be enabled by symlinks if user wants it - documented in the wiki 2023-12-21 08:37:03 -05:00
Matthew Wall
8606acadac update redhat rpm lint rules 2023-12-19 20:19:16 -05:00
Matthew Wall
53ea734778 document the config files during install/upgrade for deb/rpm 2023-12-19 19:32:30 -05:00
Matthew Wall
c0b5bdefed update rpm scriptlet comments to reflect config behavior 2023-12-19 16:27:59 -05:00
Matthew Wall
ca73965673 fix typo and logic bug in rpm config creation 2023-12-19 16:22:45 -05:00
Matthew Wall
3c55c9188b do not install rsyslog or logrotate script, but copy them to weewx data so they can be used if user wants to use syslog instead of standalone logging 2023-12-19 10:02:12 -05:00
Matthew Wall
cf060c2bc3 fixed typo in deb rules for log dir 2023-12-18 22:22:56 -05:00
Matthew Wall
9c2e39bc60 update deb/rpm changelogs 2023-12-18 22:13:11 -05:00
Matthew Wall
1c79c355d0 default to standalone logging 2023-12-18 22:10:13 -05:00