commit:     0038ac68924daa03d33752def494681c14c8bb41
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  5 09:23:55 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Sep  5 09:29:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0038ac68

net-misc/chrony: Fix /etc/conf.d/chronyd for USE=-caps

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Closes: https://bugs.gentoo.org/740418
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-misc/chrony/chrony-3.5.1-r1.ebuild |  2 +-
 net-misc/chrony/chrony-4.0_pre3.ebuild |  2 +-
 net-misc/chrony/chrony-9999.ebuild     |  2 +-
 net-misc/chrony/files/chronyd.conf     |  2 +-
 net-misc/chrony/files/chronyd.conf-r1  | 12 ------------
 5 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/net-misc/chrony/chrony-3.5.1-r1.ebuild 
b/net-misc/chrony/chrony-3.5.1-r1.ebuild
index 38bd1ccc1f0..9a2af1bd3ea 100644
--- a/net-misc/chrony/chrony-3.5.1-r1.ebuild
+++ b/net-misc/chrony/chrony-3.5.1-r1.ebuild
@@ -68,7 +68,7 @@ src_prepare() {
                -e 's|pkg-config|${PKG_CONFIG}|g' \
                configure || die
 
-       cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf || die
+       cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf || die
 }
 
 src_configure() {

diff --git a/net-misc/chrony/chrony-4.0_pre3.ebuild 
b/net-misc/chrony/chrony-4.0_pre3.ebuild
index 25ae917e91e..b5c97cbbd86 100644
--- a/net-misc/chrony/chrony-4.0_pre3.ebuild
+++ b/net-misc/chrony/chrony-4.0_pre3.ebuild
@@ -68,7 +68,7 @@ src_prepare() {
                -e 's|pkg-config|${PKG_CONFIG}|g' \
                configure || die
 
-       cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf || die
+       cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf || die
 }
 
 src_configure() {

diff --git a/net-misc/chrony/chrony-9999.ebuild 
b/net-misc/chrony/chrony-9999.ebuild
index 25ae917e91e..b5c97cbbd86 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -68,7 +68,7 @@ src_prepare() {
                -e 's|pkg-config|${PKG_CONFIG}|g' \
                configure || die
 
-       cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf || die
+       cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf || die
 }
 
 src_configure() {

diff --git a/net-misc/chrony/files/chronyd.conf 
b/net-misc/chrony/files/chronyd.conf
index fc43a95c40f..d017660d599 100644
--- a/net-misc/chrony/files/chronyd.conf
+++ b/net-misc/chrony/files/chronyd.conf
@@ -9,4 +9,4 @@ CFGFILE="/etc/chrony/chrony.conf"
 # The combination of "-s -r" allows chronyd to perform long term averaging of
 # the gain or loss rate across system reboots and shutdowns.
 
-ARGS=""
+ARGS=" -u ntp -F 0"

diff --git a/net-misc/chrony/files/chronyd.conf-r1 
b/net-misc/chrony/files/chronyd.conf-r1
deleted file mode 100644
index 2783f29e684..00000000000
--- a/net-misc/chrony/files/chronyd.conf-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-# /etc/conf.d/chronyd
-
-CFGFILE="/etc/chrony/chrony.conf"
-
-# Configuration dependant options :
-#      -s - Set system time from RTC if rtcfile directive present
-#      -r - Reload sample histories if dumponexit directive present
-#
-# The combination of "-s -r" allows chronyd to perform long term averaging of
-# the gain or loss rate across system reboots and shutdowns.
-
-ARGS="-u ntp -F 0"

Reply via email to