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: Sat, 01 Sep 2018 13:27:44
Message-Id: 1535808374.04a71dd14bf601077beaa01fd87ea643c78021cd.jer@gentoo
1 commit: 04a71dd14bf601077beaa01fd87ea643c78021cd
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 1 13:26:14 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 1 13:26:14 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a71dd1
7
8 net-misc/chrony: Old.
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 net-misc/chrony/Manifest | 1 -
13 net-misc/chrony/chrony-3.2.ebuild | 121 --------------------------------------
14 2 files changed, 122 deletions(-)
15
16 diff --git a/net-misc/chrony/Manifest b/net-misc/chrony/Manifest
17 index f39bed6428b..ece3d868ca9 100644
18 --- a/net-misc/chrony/Manifest
19 +++ b/net-misc/chrony/Manifest
20 @@ -1,4 +1,3 @@
21 DIST chrony-3.1.tar.gz 424109 BLAKE2B eb6bc13905a05eab15b00919577cceb4c8c881b4881fbd0e19d966dca86ed6973c31618b1ae56b59cad989144bf59a0206328d50d9eb436fdb058684e74a1661 SHA512 4ba3a75c3634050bb63ba9ee80d9be7a295f44ce4d195a050e4be4738bd7dd807fe37f2289d7ead4a75272bd5ebadbd03c233c67f859e9b68871fca5a6671427
22 -DIST chrony-3.2.tar.gz 433882 BLAKE2B 4351cd22efbb2c819f09a562b2e0c1851336f8973b37b3015ec6acc04b925e13c1207262d4561318c187809bf989710d9a8fdf54e93b3d3dac56d0d6df8782df SHA512 496af5bed91600f268c1a0fa577bb8c7785e485f78598b666829c674e94770c16548cec4289a2ae9d0a51191d2705eda00886cb6cccae3828aa201a49d4783a4
23 DIST chrony-3.3.tar.gz 443571 BLAKE2B cc35f55b8d63eed85495f88b71c9285c68867a28b27c6c5e7d4475a77857ce4a09fbe561906757d66fee13b19d9ee750d41518050048776b2c0ef600407632e9 SHA512 36975d863599141e8e5b071d35cf67326b27f5b0da7ec942dbb4530377d10472b0729eea632e0702718b515cb2d5fd41a7eba158e6dade7f05adfb1bdffa5df0
24 DIST chrony-3.4-pre1.tar.gz 451934 BLAKE2B 4cd5aaeacb3bed5cc3c9b79d9fe5f02b79f6e2a9f7eb6be6f159e257c9780ce3b77d379633e9136cea8d4ffbb1f024e71c8e3bddbaab9b4a126cba30be4f4b23 SHA512 b45c2f94060ee4f5917d49420a726c412231cb8c3fdc4475465daee6d24d809ae6cb146332e88c975d58f969de357d1b9e2fb3a1c66e35f988f6c8828b39f9a3
25
26 diff --git a/net-misc/chrony/chrony-3.2.ebuild b/net-misc/chrony/chrony-3.2.ebuild
27 deleted file mode 100644
28 index 83b487ade7f..00000000000
29 --- a/net-misc/chrony/chrony-3.2.ebuild
30 +++ /dev/null
31 @@ -1,121 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -inherit eutils systemd toolchain-funcs
37 -
38 -DESCRIPTION="NTP client and server programs"
39 -HOMEPAGE="https://chrony.tuxfamily.org/"
40 -SRC_URI="https://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz"
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -
44 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
45 -IUSE="caps +cmdmon html ipv6 libedit +ntp +phc pps readline +refclock +rtc seccomp selinux +adns"
46 -REQUIRED_USE="
47 - ?? ( libedit readline )
48 -"
49 -
50 -CDEPEND="
51 - caps? ( sys-libs/libcap )
52 - libedit? ( dev-libs/libedit )
53 - readline? ( >=sys-libs/readline-4.1-r4:= )
54 - seccomp? ( sys-libs/libseccomp )
55 -"
56 -DEPEND="
57 - ${CDEPEND}
58 - html? ( dev-ruby/asciidoctor )
59 - pps? ( net-misc/pps-tools )
60 -"
61 -RDEPEND="
62 - ${CDEPEND}
63 - selinux? ( sec-policy/selinux-chronyd )
64 -"
65 -
66 -RESTRICT=test
67 -
68 -S="${WORKDIR}/${P/_/-}"
69 -
70 -src_prepare() {
71 - sed -i \
72 - -e 's:/etc/chrony\.:/etc/chrony/chrony.:g' \
73 - -e 's:/var/run:/run:g' \
74 - conf.c doc/*.man.in examples/* || die
75 -
76 - default
77 -}
78 -
79 -src_configure() {
80 - tc-export CC
81 -
82 - local CHRONY_EDITLINE
83 - # ./configure legend:
84 - # --disable-readline : disable line editing entirely
85 - # --without-readline : do not use sys-libs/readline (enabled by default)
86 - # --without-editline : do not use dev-libs/libedit (enabled by default)
87 - if ! use readline && ! use libedit; then
88 - CHRONY_EDITLINE='--disable-readline'
89 - else
90 - CHRONY_EDITLINE+=" $(usex readline '' --without-readline)"
91 - CHRONY_EDITLINE+=" $(usex libedit '' --without-editline)"
92 - fi
93 -
94 - # not an autotools generated script
95 - local CHRONY_CONFIGURE="
96 - ./configure \
97 - $(use_enable seccomp scfilter) \
98 - $(usex adns '' --disable-asyncdns) \
99 - $(usex caps '' --disable-linuxcaps) \
100 - $(usex cmdmon '' --disable-cmdmon) \
101 - $(usex ipv6 '' --disable-ipv6) \
102 - $(usex ntp '' --disable-ntp) \
103 - $(usex phc '' --disable-phc) \
104 - $(usex pps '' --disable-pps) \
105 - $(usex refclock '' --disable-refclock) \
106 - $(usex rtc '' --disable-rtc) \
107 - ${CHRONY_EDITLINE} \
108 - ${EXTRA_ECONF} \
109 - --docdir=/usr/share/doc/${PF} \
110 - --chronysockdir=/run/chrony \
111 - --mandir=/usr/share/man \
112 - --prefix=/usr \
113 - --sysconfdir=/etc/chrony \
114 - --disable-sechash \
115 - --without-nss \
116 - --without-tomcrypt
117 - "
118 -
119 - # print the ./configure call to aid in future debugging
120 - einfo ${CHRONY_CONFIGURE}
121 - bash ${CHRONY_CONFIGURE} || die
122 -}
123 -
124 -src_compile() {
125 - emake all docs $(usex html '' 'ADOC=true')
126 -}
127 -
128 -src_install() {
129 - default
130 -
131 - newinitd "${FILESDIR}"/chronyd.init-r1 chronyd
132 - newconfd "${FILESDIR}"/chronyd.conf chronyd
133 -
134 - insinto /etc/${PN}
135 - newins examples/chrony.conf.example1 chrony.conf
136 -
137 - docinto examples
138 - dodoc examples/*.example*
139 -
140 - if use html; then
141 - docinto html
142 - dodoc doc/*.html
143 - fi
144 -
145 - keepdir /var/{lib,log}/chrony
146 -
147 - insinto /etc/logrotate.d
148 - newins "${FILESDIR}"/chrony-2.4-r1.logrotate chrony
149 -
150 - systemd_newunit "${FILESDIR}"/chronyd.service-r2 chronyd.service
151 - systemd_enable_ntpunit 50-chrony chronyd.service
152 -}