Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrony/files/, net-misc/chrony/
Date: Sat, 02 May 2020 10:43:44
Message-Id: 1588416207.c3d88f854528be87d8bb689c5dc456a3aab2d64f.whissi@gentoo
1 commit: c3d88f854528be87d8bb689c5dc456a3aab2d64f
2 Author: Sam James (sam_c) <sam <AT> cmpct <DOT> info>
3 AuthorDate: Sun Apr 19 20:54:06 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat May 2 10:43:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d88f85
7
8 net-misc/chrony: Fix paths to config file
9
10 OpenRC only; systemd unaffected by issue.
11 New "capsified" versions will use new config file, current stable
12 chrony now has a fixed file.
13
14 Revbump is complicated here given -r3, ..., already exists.
15 This should not have affected many users so this seems like
16 the simplest solution.
17
18 Closes: https://bugs.gentoo.org/719876
19 Signed-off-by: Sam James (sam_c) <sam <AT> cmpct.info>
20 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
21
22 net-misc/chrony/chrony-3.5-r4.ebuild | 2 +-
23 net-misc/chrony/chrony-4.0_pre1-r2.ebuild | 2 +-
24 net-misc/chrony/chrony-4.0_pre2-r1.ebuild | 2 +-
25 net-misc/chrony/chrony-9999.ebuild | 2 +-
26 net-misc/chrony/files/chronyd.conf | 2 +-
27 net-misc/chrony/files/{chronyd.conf => chronyd.conf-r1} | 0
28 6 files changed, 5 insertions(+), 5 deletions(-)
29
30 diff --git a/net-misc/chrony/chrony-3.5-r4.ebuild b/net-misc/chrony/chrony-3.5-r4.ebuild
31 index ae752af2fb5..a7a99b957db 100644
32 --- a/net-misc/chrony/chrony-3.5-r4.ebuild
33 +++ b/net-misc/chrony/chrony-3.5-r4.ebuild
34 @@ -51,7 +51,7 @@ src_prepare() {
35 doc/* examples/* || die
36
37 # Copy for potential user fixup
38 - cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
39 + cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
40 cp examples/chronyd.service "${T}"/chronyd.service
41
42 # Set config for privdrop
43
44 diff --git a/net-misc/chrony/chrony-4.0_pre1-r2.ebuild b/net-misc/chrony/chrony-4.0_pre1-r2.ebuild
45 index c4c8a13c29a..7cc61849d3d 100644
46 --- a/net-misc/chrony/chrony-4.0_pre1-r2.ebuild
47 +++ b/net-misc/chrony/chrony-4.0_pre1-r2.ebuild
48 @@ -53,7 +53,7 @@ src_prepare() {
49 doc/* examples/* || die
50
51 # Copy for potential user fixup
52 - cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
53 + cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
54 cp examples/chronyd.service "${T}"/chronyd.service
55
56 # Set config for privdrop
57
58 diff --git a/net-misc/chrony/chrony-4.0_pre2-r1.ebuild b/net-misc/chrony/chrony-4.0_pre2-r1.ebuild
59 index 07017bb6772..503840b2754 100644
60 --- a/net-misc/chrony/chrony-4.0_pre2-r1.ebuild
61 +++ b/net-misc/chrony/chrony-4.0_pre2-r1.ebuild
62 @@ -53,7 +53,7 @@ src_prepare() {
63 doc/* examples/* || die
64
65 # Copy for potential user fixup
66 - cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
67 + cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
68 cp examples/chronyd.service "${T}"/chronyd.service
69
70 # Set config for privdrop
71
72 diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
73 index 543cabf61d5..8d8758fa5c6 100644
74 --- a/net-misc/chrony/chrony-9999.ebuild
75 +++ b/net-misc/chrony/chrony-9999.ebuild
76 @@ -50,7 +50,7 @@ src_prepare() {
77 doc/* examples/* || die
78
79 # Copy for potential user fixup
80 - cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
81 + cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
82 cp examples/chronyd.service "${T}"/chronyd.service
83
84 # Set config for privdrop
85
86 diff --git a/net-misc/chrony/files/chronyd.conf b/net-misc/chrony/files/chronyd.conf
87 index c04f3525f0b..fc43a95c40f 100644
88 --- a/net-misc/chrony/files/chronyd.conf
89 +++ b/net-misc/chrony/files/chronyd.conf
90 @@ -9,4 +9,4 @@ CFGFILE="/etc/chrony/chrony.conf"
91 # The combination of "-s -r" allows chronyd to perform long term averaging of
92 # the gain or loss rate across system reboots and shutdowns.
93
94 -ARGS="-u ntp -F 1"
95 +ARGS=""
96
97 diff --git a/net-misc/chrony/files/chronyd.conf b/net-misc/chrony/files/chronyd.conf-r1
98 similarity index 100%
99 copy from net-misc/chrony/files/chronyd.conf
100 copy to net-misc/chrony/files/chronyd.conf-r1