1 |
jer 15/06/25 04:49:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: chrony-2.1.1.ebuild |
5 |
Removed: chrony-2.1.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 |
|
11 |
Revision Changes Path |
12 |
1.165 net-misc/chrony/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/ChangeLog?rev=1.165&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/ChangeLog?rev=1.165&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/ChangeLog?r1=1.164&r2=1.165 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v |
21 |
retrieving revision 1.164 |
22 |
retrieving revision 1.165 |
23 |
diff -u -r1.164 -r1.165 |
24 |
--- ChangeLog 24 Jun 2015 04:56:26 -0000 1.164 |
25 |
+++ ChangeLog 25 Jun 2015 04:49:53 -0000 1.165 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-misc/chrony |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.164 2015/06/24 04:56:26 jer Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.165 2015/06/25 04:49:53 jer Exp $ |
31 |
+ |
32 |
+*chrony-2.1.1 (25 Jun 2015) |
33 |
+ |
34 |
+ 25 Jun 2015; Jeroen Roovers <jer@g.o> -chrony-2.1.ebuild, |
35 |
+ +chrony-2.1.1.ebuild: |
36 |
+ Version bump. |
37 |
|
38 |
*chrony-2.1 (24 Jun 2015) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/chrony/chrony-2.1.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/chrony-2.1.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/chrony-2.1.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: chrony-2.1.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/chrony-2.1.1.ebuild,v 1.1 2015/06/25 04:49:53 jer Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
inherit eutils systemd toolchain-funcs |
56 |
|
57 |
DESCRIPTION="NTP client and server programs" |
58 |
HOMEPAGE="http://chrony.tuxfamily.org/" |
59 |
SRC_URI="http://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz" |
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
|
63 |
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="caps +cmdmon ipv6 libedit +ntp +phc +pps readline +refclock +rtc selinux +adns" |
65 |
REQUIRED_USE=" |
66 |
?? ( libedit readline ) |
67 |
" |
68 |
|
69 |
CDEPEND=" |
70 |
caps? ( sys-libs/libcap ) |
71 |
libedit? ( dev-libs/libedit ) |
72 |
readline? ( >=sys-libs/readline-4.1-r4:= ) |
73 |
" |
74 |
DEPEND=" |
75 |
${CDEPEND} |
76 |
sys-apps/texinfo |
77 |
" |
78 |
RDEPEND=" |
79 |
${CDEPEND} |
80 |
selinux? ( sec-policy/selinux-chronyd ) |
81 |
" |
82 |
|
83 |
RESTRICT=test |
84 |
|
85 |
S="${WORKDIR}/${P/_/-}" |
86 |
|
87 |
src_prepare() { |
88 |
sed -i \ |
89 |
-e 's:/etc/chrony\.:/etc/chrony/chrony.:g' \ |
90 |
-e 's:/var/run:/run:g' \ |
91 |
conf.c chrony.texi.in chrony.txt examples/* FAQ || die |
92 |
} |
93 |
|
94 |
src_configure() { |
95 |
tc-export CC |
96 |
|
97 |
local CHRONY_EDITLINE |
98 |
# ./configure legend: |
99 |
# --disable-readline : disable line editing entirely |
100 |
# --without-readline : do not use sys-libs/readline (enabled by default) |
101 |
# --without-editline : do not use dev-libs/libedit (enabled by default) |
102 |
if ! use readline && ! use libedit; then |
103 |
CHRONY_EDITLINE='--disable-readline' |
104 |
else |
105 |
CHRONY_EDITLINE+=" $(usex readline '' --without-readline)" |
106 |
CHRONY_EDITLINE+=" $(usex libedit '' --without-editline)" |
107 |
fi |
108 |
|
109 |
# not an autotools generated script |
110 |
local CHRONY_CONFIGURE=" |
111 |
./configure \ |
112 |
$(usex caps '' --disable-linuxcaps) \ |
113 |
$(usex cmdmon '' --disable-cmdmon) \ |
114 |
$(usex ipv6 '' --disable-ipv6) \ |
115 |
$(usex ntp '' --disable-ntp) \ |
116 |
$(usex phc '' --disable-phc) \ |
117 |
$(usex pps '' --disable-pps) \ |
118 |
$(usex rtc '' --disable-rtc) \ |
119 |
$(usex refclock '' --disable-refclock) \ |
120 |
$(usex adns '' --disable-asyncdns) \ |
121 |
${CHRONY_EDITLINE} \ |
122 |
${EXTRA_ECONF} \ |
123 |
--docdir=/usr/share/doc/${PF} \ |
124 |
--infodir=/usr/share/info \ |
125 |
--mandir=/usr/share/man \ |
126 |
--prefix=/usr \ |
127 |
--sysconfdir=/etc/chrony \ |
128 |
--disable-sechash \ |
129 |
--without-nss \ |
130 |
--without-tomcrypt |
131 |
" |
132 |
|
133 |
# print the ./configure call to aid in future debugging |
134 |
einfo ${CHRONY_CONFIGURE} |
135 |
bash ${CHRONY_CONFIGURE} || die |
136 |
} |
137 |
|
138 |
src_compile() { |
139 |
emake all docs |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
default |
144 |
rm "${D}"/usr/share/doc/${PF}/COPYING || die |
145 |
doinfo chrony.info* |
146 |
|
147 |
newinitd "${FILESDIR}"/chronyd.init chronyd |
148 |
newconfd "${FILESDIR}"/chronyd.conf chronyd |
149 |
|
150 |
insinto /etc/${PN} |
151 |
newins examples/chrony.conf.example3 chrony.conf |
152 |
newins examples/chrony.keys.example chrony.keys |
153 |
|
154 |
dodoc examples/*.example* |
155 |
|
156 |
keepdir /var/{lib,log}/chrony |
157 |
|
158 |
insinto /etc/logrotate.d |
159 |
newins "${FILESDIR}"/chrony.logrotate chrony |
160 |
|
161 |
systemd_newunit "${FILESDIR}"/chronyd.service-r2 chronyd.service |
162 |
systemd_enable_ntpunit 50-chrony chronyd.service |
163 |
} |