1 |
commit: 196da06d54f0c7b91c8cbb6c2ad157b28d15ac9b |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 5 14:16:21 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 5 14:16:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196da06d |
7 |
|
8 |
net-misc/chrony: Update live ebuild. |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
net-misc/chrony/chrony-9999.ebuild | 13 +++++++------ |
13 |
1 file changed, 7 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild |
16 |
index ac4e878733e..3281755d086 100644 |
17 |
--- a/net-misc/chrony/chrony-9999.ebuild |
18 |
+++ b/net-misc/chrony/chrony-9999.ebuild |
19 |
@@ -15,6 +15,7 @@ IUSE="caps +cmdmon ipv6 libedit +ntp +phc pps readline +refclock +rtc seccomp se |
20 |
REQUIRED_USE=" |
21 |
?? ( libedit readline ) |
22 |
" |
23 |
+ |
24 |
CDEPEND=" |
25 |
caps? ( sys-libs/libcap ) |
26 |
libedit? ( dev-libs/libedit ) |
27 |
@@ -40,9 +41,8 @@ PATCHES=( |
28 |
src_prepare() { |
29 |
default |
30 |
sed -i \ |
31 |
- -e 's:/etc/chrony\.:/etc/chrony/chrony.:g' \ |
32 |
- -e 's:/var/run:/run:g' \ |
33 |
- conf.c doc/*.adoc examples/* || die |
34 |
+ -e 's:/etc/chrony\.conf:/etc/chrony/chrony.conf:g' \ |
35 |
+ doc/* examples/* || die |
36 |
} |
37 |
|
38 |
src_configure() { |
39 |
@@ -75,12 +75,13 @@ src_configure() { |
40 |
$(usex rtc '' --disable-rtc) \ |
41 |
${CHRONY_EDITLINE} \ |
42 |
${EXTRA_ECONF} \ |
43 |
- --docdir=/usr/share/doc/${PF} \ |
44 |
--chronysockdir=/run/chrony \ |
45 |
+ --disable-sechash \ |
46 |
+ --docdir=/usr/share/doc/${PF} \ |
47 |
--mandir=/usr/share/man \ |
48 |
--prefix=/usr \ |
49 |
--sysconfdir=/etc/chrony \ |
50 |
- --disable-sechash \ |
51 |
+ --with-pidfile="${EPREFIX}/run/chrony/chronyd.pid" |
52 |
--without-nss \ |
53 |
--without-tomcrypt |
54 |
" |
55 |
@@ -97,7 +98,7 @@ src_compile() { |
56 |
src_install() { |
57 |
default |
58 |
|
59 |
- newinitd "${FILESDIR}"/chronyd.init-r1 chronyd |
60 |
+ newinitd "${FILESDIR}"/chronyd.init-r2 chronyd |
61 |
newconfd "${FILESDIR}"/chronyd.conf chronyd |
62 |
|
63 |
insinto /etc/${PN} |