net-misc/ntpsec: add acct deps, fix logrotate config, some QA issues
authorStephen Arnold <nerdboy@gentoo.org>
Sat, 9 Nov 2019 19:13:35 +0000 (11:13 -0800)
committerStephen Arnold <nerdboy@gentoo.org>
Sat, 9 Nov 2019 19:15:09 +0000 (11:15 -0800)
* 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 <nerdboy@gentoo.org>
net-misc/ntpsec/files/ntpsec-1.1.7-make-sure-logrotate-config-has-missingok.patch [new file with mode: 0644]

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 (file)
index 0000000..4556d7a
--- /dev/null
@@ -0,0 +1,28 @@
+From 252a301aba9a685b5b6df7824c576f52cc19fb81 Mon Sep 17 00:00:00 2001
+From: Stephen Arnold <nerdboy@gentoo.org>
+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 <nerdboy@gentoo.org>
+---
+ 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
+