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/
Date: Fri, 30 Jun 2017 08:45:30
Message-Id: 1498812321.10b5cf20508b2e579d26482beee76abc874d5283.jer@gentoo
1 commit: 10b5cf20508b2e579d26482beee76abc874d5283
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 30 08:24:33 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 30 08:45:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b5cf20
7
8 net-misc/chrony: Old.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 net-misc/chrony/Manifest | 2 -
13 net-misc/chrony/chrony-2.4.ebuild | 117 -------------------------------------
14 net-misc/chrony/chrony-3.0.ebuild | 119 --------------------------------------
15 3 files changed, 238 deletions(-)
16
17 diff --git a/net-misc/chrony/Manifest b/net-misc/chrony/Manifest
18 index b9f17377a38..4f3027bdfbd 100644
19 --- a/net-misc/chrony/Manifest
20 +++ b/net-misc/chrony/Manifest
21 @@ -1,6 +1,4 @@
22 DIST chrony-2.2.1.tar.gz 340514 SHA256 4776fa8e80d698723e9a88eb882170951f6c45860545d84ae9f9d8b9bbd73796 SHA512 caa18a22e7e64186f24f474e02862296bfa74c99671bc98e926caf27b88ce3580282543594602e76ad4be9b7f9623350888def893a7c1d96a7370d13a636442f WHIRLPOOL 77500bc25496dc15f17bce60023b86330205945999011b243272db26a924ac67193da70089c59e19bea7666c05059c8c4c1975ca19057775ec2dd8e468ab8dce
23 DIST chrony-2.3.tar.gz 355113 SHA256 58bffb523012fb0fa87cc0d94d6e36de9689fe9556519cbd0d1ba254af92ccb2 SHA512 2a9cda6c2bc931438b798bd037614196bdb1533d12432467a690d57095c74013c80c92fcaadbd43fd5b0c816872822527a1ade3014add458d669d7813d5fa080 WHIRLPOOL 06864181ac74b2cf13baf7d9098404f8540c26db41035fe38005fbfea8e12f2de179008f5b1a2544e24ebb7e4cca712421746690edb7f36b90416ad87901e920
24 DIST chrony-2.4.1.tar.gz 390641 SHA256 0fd59e0ef625b4459e3a9c7f221c52f56596582bce31abfae5f7369702edb6e0 SHA512 7772065103ad95706f80374d88ba452b76cf8e29689abf22b38e7eb5ad2fcc491593e11702400daa8bf908218614df21b08ff15ab2d3d2347876119cd80abc4d WHIRLPOOL ed2c2ac8e11371e009d3e96553bb73e58b410bb38e6123a9e39a3451e5dc6860d981d45e67b4e2dc47b39f616f95146feb35efd15dbaa90932f07837172c440a
25 -DIST chrony-2.4.tar.gz 390077 SHA256 8d04e7cda2333289c2104b731d39c3c1db94816e43bae35d7ee4e7ae8af6391f SHA512 29bbeba05fb9897d438cddca7dd4e573a1e9da0d583bd737185088e8b777fdfba4056d091d2bbab78824de284b6244a8de7ada8f62be316e815a3d8ae6145485 WHIRLPOOL 7ad8b17ee8c29afa6734b7f096bb56bc08cfb200747141f0fa77e6a37daab118e1c571b8869abcab7e4893ae3eaae6a6d783425058bbaf8508cbd8de215cb49d
26 -DIST chrony-3.0.tar.gz 421433 SHA256 a0387b91a20f047856a56d6541a1cf920c91b53b32f74c123bcb70f1a5d2cd6d SHA512 253361219e4699815dad703cf5ebfba5902aeb331650c4f0caa0278388312dcfbbf3423c0f3a4a5849c135eeb02dbd93776fbff602160e0dcf98857c1b6f7f67 WHIRLPOOL 8b82ffece89e9773554ed5c4525c4ed596316a0502ea02517c343a85a54b28d22d82a6a06033e40d4bcdf2fecb9c45b4a3c71c88fd1b1dadd7cbe62bb94d246f
27 DIST chrony-3.1.tar.gz 424109 SHA256 9d9107dcdb7768a03dc129d33b2a7a25f1eea2f5620bc85eb00cfea07c1b6075 SHA512 4ba3a75c3634050bb63ba9ee80d9be7a295f44ce4d195a050e4be4738bd7dd807fe37f2289d7ead4a75272bd5ebadbd03c233c67f859e9b68871fca5a6671427 WHIRLPOOL d1b499bbcdd74a049c972c183d4b88365db4c6512d8011ca8b87f15c4e0d1bc882bde4f742591f5cfe49e820a5884f6b1960d132d5787be02a36bd57b9e2605f
28
29 diff --git a/net-misc/chrony/chrony-2.4.ebuild b/net-misc/chrony/chrony-2.4.ebuild
30 deleted file mode 100644
31 index d16f86c1335..00000000000
32 --- a/net-misc/chrony/chrony-2.4.ebuild
33 +++ /dev/null
34 @@ -1,117 +0,0 @@
35 -# Copyright 1999-2016 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 ppc64"
48 -IUSE="caps +cmdmon html 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 - html? ( dev-ruby/asciidoctor )
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 doc/*.man.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 - --mandir=/usr/share/man \
110 - --prefix=/usr \
111 - --sysconfdir=/etc/chrony \
112 - --disable-sechash \
113 - --without-nss \
114 - --without-tomcrypt
115 - "
116 -
117 - # print the ./configure call to aid in future debugging
118 - einfo ${CHRONY_CONFIGURE}
119 - bash ${CHRONY_CONFIGURE} || die
120 -}
121 -
122 -src_compile() {
123 - emake all docs $(usex html '' 'ADOC=true')
124 -
125 -}
126 -
127 -src_install() {
128 - default
129 -
130 - newinitd "${FILESDIR}"/chronyd.init-r1 chronyd
131 - newconfd "${FILESDIR}"/chronyd.conf chronyd
132 -
133 - insinto /etc/${PN}
134 - newins examples/chrony.conf.example1 chrony.conf
135 -
136 - docinto examples
137 - dodoc examples/*.example*
138 -
139 - if use html; then
140 - docinto html
141 - dodoc doc/*.html
142 - fi
143 -
144 - keepdir /var/{lib,log}/chrony
145 -
146 - insinto /etc/logrotate.d
147 - newins "${FILESDIR}"/chrony-2.4-r1.logrotate chrony
148 -
149 - systemd_newunit "${FILESDIR}"/chronyd.service-r2 chronyd.service
150 - systemd_enable_ntpunit 50-chrony chronyd.service
151 -}
152
153 diff --git a/net-misc/chrony/chrony-3.0.ebuild b/net-misc/chrony/chrony-3.0.ebuild
154 deleted file mode 100644
155 index 41866fb0241..00000000000
156 --- a/net-misc/chrony/chrony-3.0.ebuild
157 +++ /dev/null
158 @@ -1,119 +0,0 @@
159 -# Copyright 1999-2017 Gentoo Foundation
160 -# Distributed under the terms of the GNU General Public License v2
161 -
162 -EAPI=6
163 -inherit eutils systemd toolchain-funcs
164 -
165 -DESCRIPTION="NTP client and server programs"
166 -HOMEPAGE="http://chrony.tuxfamily.org/"
167 -SRC_URI="http://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz"
168 -LICENSE="GPL-2"
169 -SLOT="0"
170 -
171 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64"
172 -IUSE="caps +cmdmon html ipv6 libedit +ntp +phc pps readline +refclock +rtc selinux +adns"
173 -REQUIRED_USE="
174 - ?? ( libedit readline )
175 -"
176 -
177 -CDEPEND="
178 - caps? ( sys-libs/libcap )
179 - libedit? ( dev-libs/libedit )
180 - readline? ( >=sys-libs/readline-4.1-r4:= )
181 -"
182 -DEPEND="
183 - ${CDEPEND}
184 - html? ( dev-ruby/asciidoctor )
185 - pps? ( net-misc/pps-tools )
186 -"
187 -RDEPEND="
188 - ${CDEPEND}
189 - selinux? ( sec-policy/selinux-chronyd )
190 -"
191 -
192 -RESTRICT=test
193 -
194 -S="${WORKDIR}/${P/_/-}"
195 -
196 -src_prepare() {
197 - sed -i \
198 - -e 's:/etc/chrony\.:/etc/chrony/chrony.:g' \
199 - -e 's:/var/run:/run:g' \
200 - conf.c doc/*.man.in examples/* || die
201 -
202 - default
203 -}
204 -
205 -src_configure() {
206 - tc-export CC
207 -
208 - local CHRONY_EDITLINE
209 - # ./configure legend:
210 - # --disable-readline : disable line editing entirely
211 - # --without-readline : do not use sys-libs/readline (enabled by default)
212 - # --without-editline : do not use dev-libs/libedit (enabled by default)
213 - if ! use readline && ! use libedit; then
214 - CHRONY_EDITLINE='--disable-readline'
215 - else
216 - CHRONY_EDITLINE+=" $(usex readline '' --without-readline)"
217 - CHRONY_EDITLINE+=" $(usex libedit '' --without-editline)"
218 - fi
219 -
220 - # not an autotools generated script
221 - local CHRONY_CONFIGURE="
222 - ./configure \
223 - $(usex caps '' --disable-linuxcaps) \
224 - $(usex cmdmon '' --disable-cmdmon) \
225 - $(usex ipv6 '' --disable-ipv6) \
226 - $(usex ntp '' --disable-ntp) \
227 - $(usex phc '' --disable-phc) \
228 - $(usex pps '' --disable-pps) \
229 - $(usex rtc '' --disable-rtc) \
230 - $(usex refclock '' --disable-refclock) \
231 - $(usex adns '' --disable-asyncdns) \
232 - ${CHRONY_EDITLINE} \
233 - ${EXTRA_ECONF} \
234 - --docdir=/usr/share/doc/${PF} \
235 - --chronysockdir=/run/chrony \
236 - --mandir=/usr/share/man \
237 - --prefix=/usr \
238 - --sysconfdir=/etc/chrony \
239 - --disable-sechash \
240 - --without-nss \
241 - --without-tomcrypt
242 - "
243 -
244 - # print the ./configure call to aid in future debugging
245 - einfo ${CHRONY_CONFIGURE}
246 - bash ${CHRONY_CONFIGURE} || die
247 -}
248 -
249 -src_compile() {
250 - emake all docs $(usex html '' 'ADOC=true')
251 -}
252 -
253 -src_install() {
254 - default
255 -
256 - newinitd "${FILESDIR}"/chronyd.init-r1 chronyd
257 - newconfd "${FILESDIR}"/chronyd.conf chronyd
258 -
259 - insinto /etc/${PN}
260 - newins examples/chrony.conf.example1 chrony.conf
261 -
262 - docinto examples
263 - dodoc examples/*.example*
264 -
265 - if use html; then
266 - docinto html
267 - dodoc doc/*.html
268 - fi
269 -
270 - keepdir /var/{lib,log}/chrony
271 -
272 - insinto /etc/logrotate.d
273 - newins "${FILESDIR}"/chrony-2.4-r1.logrotate chrony
274 -
275 - systemd_newunit "${FILESDIR}"/chronyd.service-r2 chronyd.service
276 - systemd_enable_ntpunit 50-chrony chronyd.service
277 -}