1 |
commit: eafdb1971ecba1906f3f9e586623d134f6d064c5 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 26 08:19:13 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 26 08:21:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eafdb197 |
7 |
|
8 |
net-misc/chrony: Use Gentoo vendor pool |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Fixes: https://bugs.gentoo.org/621702 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
.../chrony/{chrony-3.5.ebuild => chrony-3.5-r1.ebuild} | 1 + |
15 |
net-misc/chrony/chrony-9999.ebuild | 1 + |
16 |
.../chrony/files/chrony-3.5-pool-vendor-gentoo.patch | 16 ++++++++++++++++ |
17 |
3 files changed, 18 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/chrony/chrony-3.5.ebuild b/net-misc/chrony/chrony-3.5-r1.ebuild |
20 |
similarity index 98% |
21 |
rename from net-misc/chrony/chrony-3.5.ebuild |
22 |
rename to net-misc/chrony/chrony-3.5-r1.ebuild |
23 |
index c74eea646f9..e280760fd28 100644 |
24 |
--- a/net-misc/chrony/chrony-3.5.ebuild |
25 |
+++ b/net-misc/chrony/chrony-3.5-r1.ebuild |
26 |
@@ -40,6 +40,7 @@ RESTRICT=test |
27 |
S="${WORKDIR}/${P/_/-}" |
28 |
|
29 |
PATCHES=( |
30 |
+ "${FILESDIR}"/${PN}-3.5-pool-vendor-gentoo.patch |
31 |
"${FILESDIR}"/${PN}-3.5-systemd-gentoo.patch |
32 |
) |
33 |
|
34 |
|
35 |
diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild |
36 |
index 53dd5de5b8a..5cac01a6dee 100644 |
37 |
--- a/net-misc/chrony/chrony-9999.ebuild |
38 |
+++ b/net-misc/chrony/chrony-9999.ebuild |
39 |
@@ -38,6 +38,7 @@ RESTRICT=test |
40 |
S="${WORKDIR}/${P/_/-}" |
41 |
|
42 |
PATCHES=( |
43 |
+ "${FILESDIR}"/${PN}-3.5-pool-vendor-gentoo.patch |
44 |
"${FILESDIR}"/${PN}-3.5-systemd-gentoo.patch |
45 |
) |
46 |
|
47 |
|
48 |
diff --git a/net-misc/chrony/files/chrony-3.5-pool-vendor-gentoo.patch b/net-misc/chrony/files/chrony-3.5-pool-vendor-gentoo.patch |
49 |
new file mode 100644 |
50 |
index 00000000000..817a4106738 |
51 |
--- /dev/null |
52 |
+++ b/net-misc/chrony/files/chrony-3.5-pool-vendor-gentoo.patch |
53 |
@@ -0,0 +1,16 @@ |
54 |
+- Use the Gentoo pool |
55 |
+- Use the server directive instead of the pool directive so we get four time |
56 |
+ sources and not twelve. |
57 |
+ |
58 |
+--- a/examples/chrony.conf.example1 |
59 |
++++ b/examples/chrony.conf.example1 |
60 |
+@@ -1,5 +1,8 @@ |
61 |
+ # Use public NTP servers from the pool.ntp.org project. |
62 |
+-pool pool.ntp.org iburst |
63 |
++server 0.gentoo.pool.ntp.org iburst |
64 |
++server 1.gentoo.pool.ntp.org iburst |
65 |
++server 2.gentoo.pool.ntp.org iburst |
66 |
++server 3.gentoo.pool.ntp.org iburst |
67 |
+ |
68 |
+ # Record the rate at which the system clock gains/losses time. |
69 |
+ driftfile /var/lib/chrony/drift |