From a04a2aff83b5885ab0249b3ac7e18a9df792f9b9 Mon Sep 17 00:00:00 2001 From: Stephen Arnold Date: Sat, 9 Nov 2019 11:13:35 -0800 Subject: [PATCH] net-misc/ntpsec: add acct deps, fix logrotate config, some QA issues * fixes bug 697948 (use acct-group/acct-user) * fixes bug 698042 (logrotate) * fixes some QA issues from bug 695088 but leaves (adjusted) clock flags for time server requirements * does not address in-progress bugs Package-Manager: Portage-2.3.67, Repoman-2.3.12 Signed-off-by: Steve Arnold --- ...-sure-logrotate-config-has-missingok.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 net-misc/ntpsec/files/ntpsec-1.1.7-make-sure-logrotate-config-has-missingok.patch diff --git a/net-misc/ntpsec/files/ntpsec-1.1.7-make-sure-logrotate-config-has-missingok.patch b/net-misc/ntpsec/files/ntpsec-1.1.7-make-sure-logrotate-config-has-missingok.patch new file mode 100644 index 000000000000..4556d7a50f7d --- /dev/null +++ b/net-misc/ntpsec/files/ntpsec-1.1.7-make-sure-logrotate-config-has-missingok.patch @@ -0,0 +1,28 @@ +From 252a301aba9a685b5b6df7824c576f52cc19fb81 Mon Sep 17 00:00:00 2001 +From: Stephen Arnold +Date: Fri, 8 Nov 2019 16:41:16 -0800 +Subject: [PATCH] etc/logrotate-config.ntpd: make sure it has missingok + +* note master branch does not need this, but all the releases do + +Signed-off-by: Stephen Arnold +--- + etc/logrotate-config.ntpd | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/etc/logrotate-config.ntpd b/etc/logrotate-config.ntpd +index e5d8616bf..a49129d45 100644 +--- a/etc/logrotate-config.ntpd ++++ b/etc/logrotate-config.ntpd +@@ -5,6 +5,8 @@ + + /var/log/ntpd.log { + monthly ++ notifempty ++ missingok + postrotate + /usr/bin/killall -HUP ntpd + endscript +-- +2.21.0 + -- 2.26.2