diff --git a/net-misc/chrony/chrony-4.8.ebuild b/net-misc/chrony/chrony-4.8-r1.ebuild similarity index 99% rename from net-misc/chrony/chrony-4.8.ebuild rename to net-misc/chrony/chrony-4.8-r1.ebuild index 1c5da567bad54..e6623482d24d2 100644 --- a/net-misc/chrony/chrony-4.8.ebuild +++ b/net-misc/chrony/chrony-4.8-r1.ebuild @@ -83,7 +83,7 @@ else fi PATCHES=( - "${FILESDIR}"/${PN}-4.7-pool-vendor-gentoo.patch + "${FILESDIR}"/${PN}-4.8-pool-vendor-gentoo.patch "${FILESDIR}"/${PN}-4.7-systemd-gentoo.patch ) diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild index e0f750ff2e6f9..6242bfaa82039 100644 --- a/net-misc/chrony/chrony-9999.ebuild +++ b/net-misc/chrony/chrony-9999.ebuild @@ -83,7 +83,7 @@ else fi PATCHES=( - "${FILESDIR}"/${PN}-4.7-pool-vendor-gentoo.patch + "${FILESDIR}"/${PN}-4.8-pool-vendor-gentoo.patch "${FILESDIR}"/${PN}-4.7-systemd-gentoo.patch ) diff --git a/net-misc/chrony/files/chrony-4.7-pool-vendor-gentoo.patch b/net-misc/chrony/files/chrony-4.8-pool-vendor-gentoo.patch similarity index 58% rename from net-misc/chrony/files/chrony-4.7-pool-vendor-gentoo.patch rename to net-misc/chrony/files/chrony-4.8-pool-vendor-gentoo.patch index e7b078872ec53..d3fc4a1125d55 100644 --- a/net-misc/chrony/files/chrony-4.7-pool-vendor-gentoo.patch +++ b/net-misc/chrony/files/chrony-4.8-pool-vendor-gentoo.patch @@ -1,16 +1,13 @@ - Use the Gentoo pool -- Use the server directive instead of the pool directive so we get four time - sources and not twelve. +- Use the IPv6-enabled zone --- a/examples/chrony.conf.example1 +++ b/examples/chrony.conf.example1 @@ -1,5 +1,8 @@ -# Use four public NTP servers from the pool.ntp.org project. -pool pool.ntp.org iburst +# Use public NTP servers from the pool.ntp.org project. -+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 ++# Only `2.` zone provides both IPv4 and IPv6, see https://bugs.gentoo.org/973543 ++pool 2.gentoo.pool.ntp.org iburst # Record the rate at which the system clock gains/losses time. driftfile /var/lib/chrony/drift