net-misc/chrony: Configure the default socket directory. Do not install deprecated...
authorJeroen Roovers <jer@gentoo.org>
Sun, 4 Oct 2015 06:55:36 +0000 (08:55 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sun, 4 Oct 2015 06:55:47 +0000 (08:55 +0200)
Package-Manager: portage-2.2.22

net-misc/chrony/chrony-2.2_pre1.ebuild

index 70f4f6072b838050db063b88e367d1afcb953772..f745441b0286f00b90863d3cb457a9ddd0975fd1 100644 (file)
@@ -39,7 +39,7 @@ src_prepare() {
        sed -i \
                -e 's:/etc/chrony\.:/etc/chrony/chrony.:g' \
                -e 's:/var/run:/run:g' \
-               conf.c chrony.texi.in examples/* FAQ || die
+               conf.c chrony.texi.in examples/* || die
 }
 
 src_configure() {
@@ -72,6 +72,7 @@ src_configure() {
                ${CHRONY_EDITLINE} \
                ${EXTRA_ECONF} \
                --docdir=/usr/share/doc/${PF} \
+               --chronysockdir=/run/chrony \
                --infodir=/usr/share/info \
                --mandir=/usr/share/man \
                --prefix=/usr \
@@ -99,8 +100,7 @@ src_install() {
        newconfd "${FILESDIR}"/chronyd.conf chronyd
 
        insinto /etc/${PN}
-       newins examples/chrony.conf.example3 chrony.conf
-       newins examples/chrony.keys.example chrony.keys
+       newins examples/chrony.conf.example1 chrony.conf
 
        dodoc examples/*.example*