commit:     d0bb4e3f69326274eca874ade711541f4451ffd6
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 15:44:08 2019 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Sep 27 15:44:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0bb4e3f

net-misc/chrony: install chrony-wait.service and ntp-units.d

Closes: https://bugs.gentoo.org/695690
Package-Manager: Portage-2.3.75_p7, Repoman-2.3.17_p49
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 net-misc/chrony/{chrony-3.5-r1.ebuild => chrony-3.5-r2.ebuild} | 3 ++-
 net-misc/chrony/chrony-9999.ebuild                             | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-misc/chrony/chrony-3.5-r1.ebuild 
b/net-misc/chrony/chrony-3.5-r2.ebuild
similarity index 96%
rename from net-misc/chrony/chrony-3.5-r1.ebuild
rename to net-misc/chrony/chrony-3.5-r2.ebuild
index e280760fd28..c1d5a7b717e 100644
--- a/net-misc/chrony/chrony-3.5-r1.ebuild
+++ b/net-misc/chrony/chrony-3.5-r2.ebuild
@@ -122,5 +122,6 @@ src_install() {
        insinto /etc/logrotate.d
        newins "${FILESDIR}"/chrony-2.4-r1.logrotate chrony
 
-       systemd_dounit examples/chronyd.service
+       systemd_dounit examples/{chronyd,chrony-wait}.service
+       systemd_enable_ntpunit 50-chrony chronyd.service
 }

diff --git a/net-misc/chrony/chrony-9999.ebuild 
b/net-misc/chrony/chrony-9999.ebuild
index 5cac01a6dee..e939129a01a 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -118,5 +118,6 @@ src_install() {
        insinto /etc/logrotate.d
        newins "${FILESDIR}"/chrony-2.4-r1.logrotate chrony
 
-       systemd_dounit examples/chronyd.service
+       systemd_dounit examples/{chronyd,chrony-wait}.service
+       systemd_enable_ntpunit 50-chrony chronyd.service
 }

Reply via email to