summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-09-26 10:19:13 +0200
committerJeroen Roovers <jer@gentoo.org>2019-09-26 10:21:06 +0200
commiteafdb1971ecba1906f3f9e586623d134f6d064c5 (patch)
tree5097f2899a2be9e32cec24286ec4b06bb31e6ef7 /net-misc
parentdev-haskell/network-data: avoid using underscores in IUSE (diff)
downloadgentoo-eafdb1971ecba1906f3f9e586623d134f6d064c5.tar.gz
gentoo-eafdb1971ecba1906f3f9e586623d134f6d064c5.tar.bz2
gentoo-eafdb1971ecba1906f3f9e586623d134f6d064c5.zip
net-misc/chrony: Use Gentoo vendor pool
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Fixes: https://bugs.gentoo.org/621702 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/chrony/chrony-3.5-r1.ebuild (renamed from net-misc/chrony/chrony-3.5.ebuild)1
-rw-r--r--net-misc/chrony/chrony-9999.ebuild1
-rw-r--r--net-misc/chrony/files/chrony-3.5-pool-vendor-gentoo.patch16
3 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/chrony/chrony-3.5.ebuild b/net-misc/chrony/chrony-3.5-r1.ebuild
index c74eea646f90..e280760fd28c 100644
--- a/net-misc/chrony/chrony-3.5.ebuild
+++ b/net-misc/chrony/chrony-3.5-r1.ebuild
@@ -40,6 +40,7 @@ RESTRICT=test
S="${WORKDIR}/${P/_/-}"
PATCHES=(
+ "${FILESDIR}"/${PN}-3.5-pool-vendor-gentoo.patch
"${FILESDIR}"/${PN}-3.5-systemd-gentoo.patch
)
diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
index 53dd5de5b8a0..5cac01a6dee7 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -38,6 +38,7 @@ RESTRICT=test
S="${WORKDIR}/${P/_/-}"
PATCHES=(
+ "${FILESDIR}"/${PN}-3.5-pool-vendor-gentoo.patch
"${FILESDIR}"/${PN}-3.5-systemd-gentoo.patch
)
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
new file mode 100644
index 000000000000..817a41067382
--- /dev/null
+++ b/net-misc/chrony/files/chrony-3.5-pool-vendor-gentoo.patch
@@ -0,0 +1,16 @@
+- Use the Gentoo pool
+- Use the server directive instead of the pool directive so we get four time
+ sources and not twelve.
+
+--- a/examples/chrony.conf.example1
++++ b/examples/chrony.conf.example1
+@@ -1,5 +1,8 @@
+ # Use public NTP servers from the pool.ntp.org project.
+-pool pool.ntp.org iburst
++server 0.gentoo.pool.ntp.org iburst
++server 1.gentoo.pool.ntp.org iburst
++server 2.gentoo.pool.ntp.org iburst
++server 3.gentoo.pool.ntp.org iburst
+
+ # Record the rate at which the system clock gains/losses time.
+ driftfile /var/lib/chrony/drift