summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-10-04 08:55:36 +0200
committerJeroen Roovers <jer@gentoo.org>2015-10-04 08:55:47 +0200
commit5c60531546d884511b25770e8dc43943cb2a23d8 (patch)
treece44ca8d49add1e393d5318065f68e1eb8bc4d00 /net-misc
parentdev-ruby/http: fix tests (diff)
downloadgentoo-5c60531546d884511b25770e8dc43943cb2a23d8.tar.gz
gentoo-5c60531546d884511b25770e8dc43943cb2a23d8.tar.bz2
gentoo-5c60531546d884511b25770e8dc43943cb2a23d8.zip
net-misc/chrony: Configure the default socket directory. Do not install deprecated chrony.keys. Install a simple default configuration.
Package-Manager: portage-2.2.22
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/chrony/chrony-2.2_pre1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-misc/chrony/chrony-2.2_pre1.ebuild b/net-misc/chrony/chrony-2.2_pre1.ebuild
index 70f4f6072b83..f745441b0286 100644
--- a/net-misc/chrony/chrony-2.2_pre1.ebuild
+++ b/net-misc/chrony/chrony-2.2_pre1.ebuild
@@ -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*