Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrony/files/, net-misc/chrony/
Date: Sat, 31 Mar 2018 10:55:14
Message-Id: 1522493388.b85e7a2cccff1773bf8223003d3dfb9529f7024c.jer@gentoo
1 commit: b85e7a2cccff1773bf8223003d3dfb9529f7024c
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 31 10:49:48 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 31 10:49:48 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b85e7a2c
7
8 net-misc/chrony: Old.
9
10 Package-Manager: Portage-2.3.27, Repoman-2.3.9
11
12 net-misc/chrony/Manifest | 2 -
13 net-misc/chrony/chrony-2.3.ebuild | 113 ---------------------------
14 net-misc/chrony/chrony-2.4.1.ebuild | 119 -----------------------------
15 net-misc/chrony/files/chrony-2.2.logrotate | 7 --
16 4 files changed, 241 deletions(-)
17
18 diff --git a/net-misc/chrony/Manifest b/net-misc/chrony/Manifest
19 index 18ce30caecf..2eafb411211 100644
20 --- a/net-misc/chrony/Manifest
21 +++ b/net-misc/chrony/Manifest
22 @@ -1,5 +1,3 @@
23 -DIST chrony-2.3.tar.gz 355113 BLAKE2B 238269a79288186e93bd978bca1fb3258d35cfd72c0a90f888cdb35d0c5c01abbb80002e476478fd0fbc6fd1a080f68e0b6d2d11f13d9a37dff1c1068c13bd13 SHA512 2a9cda6c2bc931438b798bd037614196bdb1533d12432467a690d57095c74013c80c92fcaadbd43fd5b0c816872822527a1ade3014add458d669d7813d5fa080
24 -DIST chrony-2.4.1.tar.gz 390641 BLAKE2B 7faac0c71f27bd3459f8a25b338e247744850128b32330fef324e37fd2e7cbd66156311e5a48140288580fc78f1948f8cf02fd2f64fc2ed3cabdaee28af5a67c SHA512 7772065103ad95706f80374d88ba452b76cf8e29689abf22b38e7eb5ad2fcc491593e11702400daa8bf908218614df21b08ff15ab2d3d2347876119cd80abc4d
25 DIST chrony-3.1.tar.gz 424109 BLAKE2B eb6bc13905a05eab15b00919577cceb4c8c881b4881fbd0e19d966dca86ed6973c31618b1ae56b59cad989144bf59a0206328d50d9eb436fdb058684e74a1661 SHA512 4ba3a75c3634050bb63ba9ee80d9be7a295f44ce4d195a050e4be4738bd7dd807fe37f2289d7ead4a75272bd5ebadbd03c233c67f859e9b68871fca5a6671427
26 DIST chrony-3.2.tar.gz 433882 BLAKE2B 4351cd22efbb2c819f09a562b2e0c1851336f8973b37b3015ec6acc04b925e13c1207262d4561318c187809bf989710d9a8fdf54e93b3d3dac56d0d6df8782df SHA512 496af5bed91600f268c1a0fa577bb8c7785e485f78598b666829c674e94770c16548cec4289a2ae9d0a51191d2705eda00886cb6cccae3828aa201a49d4783a4
27 DIST chrony-3.3-pre1.tar.gz 442045 BLAKE2B 122a36e46b5d5a3eb3e2d5e20ad2a5b4f419e496b9cd341e4895e6a4121f0c613860dba0375592ad169e3dbfdbdaf812f07124e6f3b005eba6b3296a663f601d SHA512 39bb4788d362d9aaf30b84c59eaf3421110c3776d57eb955f12d8fdd6013f8ffa91a6ff1e8b0018113f63d660570b1aa70d96f7c31faca29d5b720c2f3f1d625
28
29 diff --git a/net-misc/chrony/chrony-2.3.ebuild b/net-misc/chrony/chrony-2.3.ebuild
30 deleted file mode 100644
31 index f37a8f2cac7..00000000000
32 --- a/net-misc/chrony/chrony-2.3.ebuild
33 +++ /dev/null
34 @@ -1,113 +0,0 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -inherit eutils systemd toolchain-funcs
40 -
41 -DESCRIPTION="NTP client and server programs"
42 -HOMEPAGE="http://chrony.tuxfamily.org/"
43 -SRC_URI="http://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz"
44 -LICENSE="GPL-2"
45 -SLOT="0"
46 -
47 -KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ppc64 ~sparc x86"
48 -IUSE="caps +cmdmon ipv6 libedit +ntp +phc +pps readline +refclock +rtc selinux +adns"
49 -REQUIRED_USE="
50 - ?? ( libedit readline )
51 -"
52 -
53 -CDEPEND="
54 - caps? ( sys-libs/libcap )
55 - libedit? ( dev-libs/libedit )
56 - readline? ( >=sys-libs/readline-4.1-r4:= )
57 -"
58 -DEPEND="
59 - ${CDEPEND}
60 - sys-apps/texinfo
61 -"
62 -RDEPEND="
63 - ${CDEPEND}
64 - selinux? ( sec-policy/selinux-chronyd )
65 -"
66 -
67 -RESTRICT=test
68 -
69 -S="${WORKDIR}/${P/_/-}"
70 -
71 -src_prepare() {
72 - sed -i \
73 - -e 's:/etc/chrony\.:/etc/chrony/chrony.:g' \
74 - -e 's:/var/run:/run:g' \
75 - conf.c chrony.texi.in examples/* || die
76 -}
77 -
78 -src_configure() {
79 - tc-export CC
80 -
81 - local CHRONY_EDITLINE
82 - # ./configure legend:
83 - # --disable-readline : disable line editing entirely
84 - # --without-readline : do not use sys-libs/readline (enabled by default)
85 - # --without-editline : do not use dev-libs/libedit (enabled by default)
86 - if ! use readline && ! use libedit; then
87 - CHRONY_EDITLINE='--disable-readline'
88 - else
89 - CHRONY_EDITLINE+=" $(usex readline '' --without-readline)"
90 - CHRONY_EDITLINE+=" $(usex libedit '' --without-editline)"
91 - fi
92 -
93 - # not an autotools generated script
94 - local CHRONY_CONFIGURE="
95 - ./configure \
96 - $(usex caps '' --disable-linuxcaps) \
97 - $(usex cmdmon '' --disable-cmdmon) \
98 - $(usex ipv6 '' --disable-ipv6) \
99 - $(usex ntp '' --disable-ntp) \
100 - $(usex phc '' --disable-phc) \
101 - $(usex pps '' --disable-pps) \
102 - $(usex rtc '' --disable-rtc) \
103 - $(usex refclock '' --disable-refclock) \
104 - $(usex adns '' --disable-asyncdns) \
105 - ${CHRONY_EDITLINE} \
106 - ${EXTRA_ECONF} \
107 - --docdir=/usr/share/doc/${PF} \
108 - --chronysockdir=/run/chrony \
109 - --infodir=/usr/share/info \
110 - --mandir=/usr/share/man \
111 - --prefix=/usr \
112 - --sysconfdir=/etc/chrony \
113 - --disable-sechash \
114 - --without-nss \
115 - --without-tomcrypt
116 - "
117 -
118 - # print the ./configure call to aid in future debugging
119 - einfo ${CHRONY_CONFIGURE}
120 - bash ${CHRONY_CONFIGURE} || die
121 -}
122 -
123 -src_compile() {
124 - emake all docs
125 -}
126 -
127 -src_install() {
128 - default
129 -
130 - doinfo chrony.info*
131 -
132 - newinitd "${FILESDIR}"/chronyd.init-r1 chronyd
133 - newconfd "${FILESDIR}"/chronyd.conf chronyd
134 -
135 - insinto /etc/${PN}
136 - newins examples/chrony.conf.example1 chrony.conf
137 -
138 - dodoc examples/*.example*
139 -
140 - keepdir /var/{lib,log}/chrony
141 -
142 - insinto /etc/logrotate.d
143 - newins "${FILESDIR}"/chrony-2.2.logrotate chrony
144 -
145 - systemd_newunit "${FILESDIR}"/chronyd.service-r2 chronyd.service
146 - systemd_enable_ntpunit 50-chrony chronyd.service
147 -}
148
149 diff --git a/net-misc/chrony/chrony-2.4.1.ebuild b/net-misc/chrony/chrony-2.4.1.ebuild
150 deleted file mode 100644
151 index 6c4e5e3675f..00000000000
152 --- a/net-misc/chrony/chrony-2.4.1.ebuild
153 +++ /dev/null
154 @@ -1,119 +0,0 @@
155 -# Copyright 1999-2017 Gentoo Foundation
156 -# Distributed under the terms of the GNU General Public License v2
157 -
158 -EAPI=6
159 -inherit eutils systemd toolchain-funcs
160 -
161 -DESCRIPTION="NTP client and server programs"
162 -HOMEPAGE="http://chrony.tuxfamily.org/"
163 -SRC_URI="http://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz"
164 -LICENSE="GPL-2"
165 -SLOT="0"
166 -
167 -KEYWORDS="alpha ~amd64 ~arm hppa ppc ppc64"
168 -IUSE="caps +cmdmon html ipv6 libedit +ntp +phc pps readline +refclock +rtc selinux +adns"
169 -REQUIRED_USE="
170 - ?? ( libedit readline )
171 -"
172 -
173 -CDEPEND="
174 - caps? ( sys-libs/libcap )
175 - libedit? ( dev-libs/libedit )
176 - readline? ( >=sys-libs/readline-4.1-r4:= )
177 -"
178 -DEPEND="
179 - ${CDEPEND}
180 - html? ( dev-ruby/asciidoctor )
181 - pps? ( net-misc/pps-tools )
182 -"
183 -RDEPEND="
184 - ${CDEPEND}
185 - selinux? ( sec-policy/selinux-chronyd )
186 -"
187 -
188 -RESTRICT=test
189 -
190 -S="${WORKDIR}/${P/_/-}"
191 -
192 -src_prepare() {
193 - sed -i \
194 - -e 's:/etc/chrony\.:/etc/chrony/chrony.:g' \
195 - -e 's:/var/run:/run:g' \
196 - conf.c doc/*.man.in examples/* || die
197 -
198 - default
199 -}
200 -
201 -src_configure() {
202 - tc-export CC
203 -
204 - local CHRONY_EDITLINE
205 - # ./configure legend:
206 - # --disable-readline : disable line editing entirely
207 - # --without-readline : do not use sys-libs/readline (enabled by default)
208 - # --without-editline : do not use dev-libs/libedit (enabled by default)
209 - if ! use readline && ! use libedit; then
210 - CHRONY_EDITLINE='--disable-readline'
211 - else
212 - CHRONY_EDITLINE+=" $(usex readline '' --without-readline)"
213 - CHRONY_EDITLINE+=" $(usex libedit '' --without-editline)"
214 - fi
215 -
216 - # not an autotools generated script
217 - local CHRONY_CONFIGURE="
218 - ./configure \
219 - $(usex caps '' --disable-linuxcaps) \
220 - $(usex cmdmon '' --disable-cmdmon) \
221 - $(usex ipv6 '' --disable-ipv6) \
222 - $(usex ntp '' --disable-ntp) \
223 - $(usex phc '' --disable-phc) \
224 - $(usex pps '' --disable-pps) \
225 - $(usex rtc '' --disable-rtc) \
226 - $(usex refclock '' --disable-refclock) \
227 - $(usex adns '' --disable-asyncdns) \
228 - ${CHRONY_EDITLINE} \
229 - ${EXTRA_ECONF} \
230 - --docdir=/usr/share/doc/${PF} \
231 - --chronysockdir=/run/chrony \
232 - --mandir=/usr/share/man \
233 - --prefix=/usr \
234 - --sysconfdir=/etc/chrony \
235 - --disable-sechash \
236 - --without-nss \
237 - --without-tomcrypt
238 - "
239 -
240 - # print the ./configure call to aid in future debugging
241 - einfo ${CHRONY_CONFIGURE}
242 - bash ${CHRONY_CONFIGURE} || die
243 -}
244 -
245 -src_compile() {
246 - emake all docs $(usex html '' 'ADOC=true')
247 -}
248 -
249 -src_install() {
250 - default
251 -
252 - newinitd "${FILESDIR}"/chronyd.init-r1 chronyd
253 - newconfd "${FILESDIR}"/chronyd.conf chronyd
254 -
255 - insinto /etc/${PN}
256 - newins examples/chrony.conf.example1 chrony.conf
257 -
258 - docinto examples
259 - dodoc examples/*.example*
260 -
261 - if use html; then
262 - docinto html
263 - dodoc doc/*.html
264 - fi
265 -
266 - keepdir /var/{lib,log}/chrony
267 -
268 - insinto /etc/logrotate.d
269 - newins "${FILESDIR}"/chrony-2.4-r1.logrotate chrony
270 -
271 - systemd_newunit "${FILESDIR}"/chronyd.service-r2 chronyd.service
272 - systemd_enable_ntpunit 50-chrony chronyd.service
273 -}
274
275 diff --git a/net-misc/chrony/files/chrony-2.2.logrotate b/net-misc/chrony/files/chrony-2.2.logrotate
276 deleted file mode 100644
277 index ae76c8de6af..00000000000
278 --- a/net-misc/chrony/files/chrony-2.2.logrotate
279 +++ /dev/null
280 @@ -1,7 +0,0 @@
281 -/var/log/chrony/*.log {
282 - missingok
283 - sharedscripts
284 - postrotate
285 - /usr/bin/chronyc cyclelogs
286 - endscript
287 -}