1 |
commit: 7d23e823cd321f7acbf3184a71e423e77c6b5364 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 16 23:29:44 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 23:29:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d23e823 |
7 |
|
8 |
net-misc/cfengine: drop older versions |
9 |
|
10 |
Closes: https://bugs.gentoo.org/690916 |
11 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
12 |
|
13 |
net-misc/cfengine/Manifest | 2 - |
14 |
net-misc/cfengine/cfengine-3.4.5.ebuild | 144 -------------------------------- |
15 |
net-misc/cfengine/cfengine-3.5.3.ebuild | 141 ------------------------------- |
16 |
3 files changed, 287 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/cfengine/Manifest b/net-misc/cfengine/Manifest |
19 |
index 7144124d690..3f55527d4bf 100644 |
20 |
--- a/net-misc/cfengine/Manifest |
21 |
+++ b/net-misc/cfengine/Manifest |
22 |
@@ -1,6 +1,4 @@ |
23 |
DIST cfengine-2.2.10.tar.gz 2690333 BLAKE2B a6e0027fc290a46730327f3fc4bf382add421f37759d6972b3f99de92417e77d8c5ff649aa376d216abde017e49072d3bd98aed60a109cb57b9e5920a358923a SHA512 861af25f32248e115512790357cb4739b16bee9d19db33cc1b93ab2091d020991770970fc916796a5894c978ee6a5956100d2f714efb6e97e9e9a9ea88f64dea |
24 |
DIST cfengine-3.3.9.tar.gz 1256138 BLAKE2B 15a71f5de94f55df9a117331029b81385a8196a5602db5775154527eb1ec63dcf15d55c89b34706e8448baaa6ed8f6cccc4e24bc8c7d6b3c56deedd55d5b606c SHA512 9d64667d001daa2db506abf97ecde43e6b6ac672d3ca6dba4c5e68b742b72f2c7cee65c2f5ab82a12cf0f9b385f48fb0d2bb9eae7fe2ff57b187c725238faf1f |
25 |
-DIST cfengine-3.4.5.tar.gz 4671628 BLAKE2B d6964631ef6a6ba2fab661c5d0b287f8a5fb8ffc747bd8963133fe0b24d5969f57bed02d059bbee83a042b3c5912fa05aec591262d94e17fd081c0167a154959 SHA512 3de95b511c03b4e4f83b13b605d4cc8185419fb7ee6b42e34faf300e5af2a755713b2f8f61305a1cd3dea02f89c09076b164469549cfc96fec09a813c7069f0f |
26 |
-DIST cfengine-3.5.3.tar.gz 1542468 BLAKE2B e7e4fe1194563cc9e72e4262c934f7ce73c0a74749b131a424201445b954492d90dfc6a8b0530d5f9bcd2852b41b32ed25dc43e70b525dafc9c4a111b7c4990f SHA512 20ead13d5290905dc51567887807a0c2c5d9d753cb48ffe2859041b75239698ad0f4bee1ad0eac4eee96122b3a5a475d516566c1571c4fcbc460be757583da18 |
27 |
DIST cfengine-3.6.2.tar.gz 1966966 BLAKE2B bb5be86ff1562fe44216c05ed179273dc803ef2a20d783f4692fe1fb533cd1914982671cbcc103c5f8f7118f7742f51ccbcdbe4408a86ebc566f444bc581e3df SHA512 b1bf6010d4309980846524ca94bb39f624f4ed0df3af220df91f7210b4441456840dfeeee4d62d6d6260b417ea7cf959509ca96c1a26c6da67bda7b3c1e5dbbc |
28 |
DIST cfengine-masterfiles-3.6.2.tar.gz 119594 BLAKE2B df01bfb5e5970fb386652ab1588d0b7d037d13018904506bd481b91720782bd837f7d54ca550d7b81e2db5fd535f053ac70e4ad5337d473986408e062e3565a7 SHA512 ec942dbfbc848455bbdaa157d6665d3e830cb967bbc07303aa4ee577cf2774d01bc602c57893372538b72d70b8b62b7e2a90ca9f8e59d7420d5b2f94fcd809e9 |
29 |
|
30 |
diff --git a/net-misc/cfengine/cfengine-3.4.5.ebuild b/net-misc/cfengine/cfengine-3.4.5.ebuild |
31 |
deleted file mode 100644 |
32 |
index f3399734b57..00000000000 |
33 |
--- a/net-misc/cfengine/cfengine-3.4.5.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,144 +0,0 @@ |
36 |
-# Copyright 1999-2018 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI="5" |
40 |
- |
41 |
-inherit eutils autotools |
42 |
- |
43 |
-MY_PV="${PV//_beta/b}" |
44 |
-MY_PV="${MY_PV/_p/p}" |
45 |
-MY_P="${PN}-${MY_PV}" |
46 |
- |
47 |
-DESCRIPTION="An automated suite of programs for configuring and maintaining |
48 |
-Unix-like computers" |
49 |
-HOMEPAGE="http://www.cfengine.org/" |
50 |
-SRC_URI="http://cfengine.com/source-code/download?file=${MY_P}.tar.gz -> ${MY_P}.tar.gz" |
51 |
- |
52 |
-LICENSE="GPL-3" |
53 |
-SLOT="3" |
54 |
-KEYWORDS="~amd64 ~arm ~ppc ~s390 ~sparc ~x86" |
55 |
- |
56 |
-IUSE="acl examples html libvirt mysql postgres +qdbm selinux tests tokyocabinet |
57 |
-vim-syntax xml" |
58 |
- |
59 |
-DEPEND=">=sys-libs/db-4 |
60 |
- acl? ( virtual/acl ) |
61 |
- mysql? ( virtual/mysql ) |
62 |
- postgres? ( dev-db/postgresql ) |
63 |
- selinux? ( sys-libs/libselinux ) |
64 |
- tokyocabinet? ( dev-db/tokyocabinet ) |
65 |
- qdbm? ( dev-db/qdbm ) |
66 |
- libvirt? ( app-emulation/libvirt ) |
67 |
- xml? ( dev-libs/libxml2:2 ) \ |
68 |
- dev-libs/openssl |
69 |
- dev-libs/libpcre |
70 |
- net-libs/libnsl" |
71 |
-RDEPEND="${DEPEND}" |
72 |
-PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )" |
73 |
- |
74 |
-REQUIRED_USE="^^ ( qdbm tokyocabinet )" |
75 |
- |
76 |
-S="${WORKDIR}/${MY_P}" |
77 |
- |
78 |
-src_prepare() { |
79 |
- default |
80 |
- |
81 |
- epatch "${FILESDIR}/${P}-acl.patch" |
82 |
- epatch "${FILESDIR}/${P}-ifconfig.patch" |
83 |
- |
84 |
- eautoreconf |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- # Enforce /var/cfengine for historical compatibility |
89 |
- econf \ |
90 |
- --enable-fhs \ |
91 |
- --docdir=/usr/share/doc/${PF} \ |
92 |
- --with-workdir=/var/cfengine \ |
93 |
- --with-pcre \ |
94 |
- $(use_with acl libacl) \ |
95 |
- $(use_with qdbm) \ |
96 |
- $(use_with tokyocabinet) \ |
97 |
- $(use_with postgres postgresql) \ |
98 |
- $(use_with mysql) \ |
99 |
- $(use_with libvirt) \ |
100 |
- $(use_enable selinux) |
101 |
- |
102 |
- # Fix Makefile to skip inputs, see below "examples" |
103 |
- #sed -i -e 's/\(SUBDIRS.*\) inputs/\1/' Makefile || die |
104 |
- |
105 |
- # We install the documentation through portage |
106 |
- sed -i -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die |
107 |
-} |
108 |
- |
109 |
-src_install() { |
110 |
- newinitd "${FILESDIR}"/cf-serverd.rc6 cf-serverd |
111 |
- newinitd "${FILESDIR}"/cf-monitord.rc6 cf-monitord |
112 |
- newinitd "${FILESDIR}"/cf-execd.rc6 cf-execd |
113 |
- |
114 |
- emake DESTDIR="${D}" install |
115 |
- |
116 |
- # Evil workaround for now.. |
117 |
- mv "${D}"/usr/share/doc/${PN}/ "${D}"/usr/share/doc/${PF} |
118 |
- |
119 |
- dodoc AUTHORS |
120 |
- |
121 |
- if ! use examples; then |
122 |
- rm -rf "${D}"/usr/share/doc/${PF}/example* |
123 |
- fi |
124 |
- |
125 |
- # Create cfengine working directory |
126 |
- dodir /var/cfengine/bin |
127 |
- fperms 700 /var/cfengine |
128 |
- |
129 |
- # Copy cfagent into the cfengine tree otherwise cfexecd won't |
130 |
- # find it. Most hosts cache their copy of the cfengine |
131 |
- # binaries here. This is the default search location for the |
132 |
- # binaries. |
133 |
- for bin in promises agent monitord serverd execd runagent key report; do |
134 |
- dosym /usr/sbin/cf-$bin /var/cfengine/bin/cf-$bin |
135 |
- done |
136 |
- |
137 |
- if use html; then |
138 |
- docinto html |
139 |
- dohtml -r docs/ |
140 |
- fi |
141 |
-} |
142 |
- |
143 |
-pkg_postinst() { |
144 |
- echo |
145 |
- elog "NOTE: BDB (BerkelyDB) support has been removed as of ${PN}-3.3.0" |
146 |
- echo |
147 |
- einfo "Init scripts for cf-serverd, cf-monitord, and cf-execd are provided." |
148 |
- einfo |
149 |
- einfo "To run cfengine out of cron every half hour modify your crontab:" |
150 |
- einfo "0,30 * * * * /usr/sbin/cf-execd -F" |
151 |
- echo |
152 |
- |
153 |
- elog "If you run cfengine the very first time, you MUST generate the keys for cfengine by running:" |
154 |
- elog "emerge --config ${CATEGORY}/${PN}" |
155 |
- |
156 |
- # Fix old cf-servd, remove it after some releases. |
157 |
- local found=0 |
158 |
- for fname in $(find /etc/runlevels/ -type f -or -type l -name 'cf-servd'); do |
159 |
- found=1 |
160 |
- rm $fname |
161 |
- ln -s /etc/init.d/cf-serverd $(echo $fname | sed 's:cf-servd:cf-serverd:') |
162 |
- done |
163 |
- |
164 |
- if [ "${found}" -eq 1 ]; then |
165 |
- echo |
166 |
- elog "/etc/init.d/cf-servd has been renamed to /etc/init.d/cf-serverd" |
167 |
- fi |
168 |
-} |
169 |
- |
170 |
-pkg_config() { |
171 |
- if [ "${ROOT}" == "/" ]; then |
172 |
- if [ ! -f "/var/cfengine/ppkeys/localhost.priv" ]; then |
173 |
- einfo "Generating keys for localhost." |
174 |
- /usr/sbin/cf-key |
175 |
- fi |
176 |
- else |
177 |
- die "cfengine cfkey does not support any value of ROOT other than /." |
178 |
- fi |
179 |
-} |
180 |
|
181 |
diff --git a/net-misc/cfengine/cfengine-3.5.3.ebuild b/net-misc/cfengine/cfengine-3.5.3.ebuild |
182 |
deleted file mode 100644 |
183 |
index 911431636bd..00000000000 |
184 |
--- a/net-misc/cfengine/cfengine-3.5.3.ebuild |
185 |
+++ /dev/null |
186 |
@@ -1,141 +0,0 @@ |
187 |
-# Copyright 1999-2018 Gentoo Authors |
188 |
-# Distributed under the terms of the GNU General Public License v2 |
189 |
- |
190 |
-EAPI="5" |
191 |
- |
192 |
-inherit eutils autotools flag-o-matic |
193 |
- |
194 |
-MY_PV="${PV//_beta/b}" |
195 |
-MY_PV="${MY_PV/_p/p}" |
196 |
-MY_P="${PN}-${MY_PV}" |
197 |
- |
198 |
-DESCRIPTION="An automated suite of programs for configuring and maintaining |
199 |
-Unix-like computers" |
200 |
-HOMEPAGE="http://www.cfengine.org/" |
201 |
-SRC_URI="http://cfengine.com/source-code/download?file=${MY_P}.tar.gz -> ${MY_P}.tar.gz" |
202 |
- |
203 |
-LICENSE="GPL-3" |
204 |
-SLOT="3" |
205 |
-KEYWORDS="~amd64 ~arm ~ppc ~s390 ~sparc ~x86" |
206 |
- |
207 |
-IUSE="acl examples libvirt mysql postgres +qdbm selinux tokyocabinet vim-syntax xml" |
208 |
- |
209 |
-DEPEND="acl? ( virtual/acl ) |
210 |
- mysql? ( virtual/mysql ) |
211 |
- postgres? ( dev-db/postgresql ) |
212 |
- selinux? ( sys-libs/libselinux ) |
213 |
- tokyocabinet? ( dev-db/tokyocabinet ) |
214 |
- qdbm? ( dev-db/qdbm ) |
215 |
- libvirt? ( app-emulation/libvirt ) |
216 |
- xml? ( dev-libs/libxml2:2 ) \ |
217 |
- dev-libs/openssl |
218 |
- dev-libs/libpcre |
219 |
- net-libs/libnsl" |
220 |
-RDEPEND="${DEPEND}" |
221 |
-PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )" |
222 |
- |
223 |
-REQUIRED_USE="^^ ( qdbm tokyocabinet )" |
224 |
- |
225 |
-S="${WORKDIR}/${MY_P}" |
226 |
- |
227 |
-src_prepare() { |
228 |
- default |
229 |
- |
230 |
- epatch "${FILESDIR}/${PN}-3.4.5-acl.patch" |
231 |
- epatch "${FILESDIR}/${P}-ifconfig.patch" |
232 |
- |
233 |
- eautoreconf |
234 |
-} |
235 |
- |
236 |
-src_configure() { |
237 |
- # Enforce /var/cfengine for historical compatibility |
238 |
- |
239 |
- econf \ |
240 |
- --enable-fhs \ |
241 |
- --docdir=/usr/share/doc/${PF} \ |
242 |
- --with-workdir=/var/cfengine \ |
243 |
- --with-pcre \ |
244 |
- $(use_with acl libacl) \ |
245 |
- $(use_with qdbm) \ |
246 |
- $(use_with tokyocabinet) \ |
247 |
- $(use_with postgres postgresql) \ |
248 |
- $(use_with mysql mysql check) \ |
249 |
- $(use_with libvirt) \ |
250 |
- $(use_enable selinux) |
251 |
- |
252 |
- # Fix Makefile to skip inputs, see below "examples" |
253 |
- #sed -i -e 's/\(SUBDIRS.*\) inputs/\1/' Makefile || die |
254 |
- |
255 |
- # We install the documentation through portage |
256 |
- sed -i -e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die |
257 |
-} |
258 |
- |
259 |
-src_install() { |
260 |
- newinitd "${FILESDIR}"/cf-serverd.rc6 cf-serverd |
261 |
- newinitd "${FILESDIR}"/cf-monitord.rc6 cf-monitord |
262 |
- newinitd "${FILESDIR}"/cf-execd.rc6 cf-execd |
263 |
- |
264 |
- emake DESTDIR="${D}" install |
265 |
- |
266 |
- # fix ifconfig path in provided promises |
267 |
- find "${D}"/usr/share -name "*.cf" | xargs sed -i "s,/sbin/ifconfig,$(which ifconfig),g" |
268 |
- |
269 |
- # Evil workaround for now.. |
270 |
- mv "${D}"/usr/share/doc/${PN}/ "${D}"/usr/share/doc/${PF} |
271 |
- |
272 |
- dodoc AUTHORS |
273 |
- |
274 |
- if ! use examples; then |
275 |
- rm -rf "${D}"/usr/share/doc/${PF}/example* |
276 |
- fi |
277 |
- |
278 |
- # Create cfengine working directory |
279 |
- dodir /var/cfengine/bin |
280 |
- fperms 700 /var/cfengine |
281 |
- |
282 |
- # Copy cfagent into the cfengine tree otherwise cfexecd won't |
283 |
- # find it. Most hosts cache their copy of the cfengine |
284 |
- # binaries here. This is the default search location for the |
285 |
- # binaries. |
286 |
- for bin in promises agent monitord serverd execd runagent key; do |
287 |
- dosym /usr/sbin/cf-$bin /var/cfengine/bin/cf-$bin |
288 |
- done |
289 |
-} |
290 |
- |
291 |
-pkg_postinst() { |
292 |
- echo |
293 |
- elog "NOTE: BDB (BerkelyDB) support has been removed as of ${PN}-3.3.0" |
294 |
- echo |
295 |
- einfo "Init scripts for cf-serverd, cf-monitord, and cf-execd are provided." |
296 |
- einfo |
297 |
- einfo "To run cfengine out of cron every half hour modify your crontab:" |
298 |
- einfo "0,30 * * * * /usr/sbin/cf-execd -F" |
299 |
- echo |
300 |
- |
301 |
- elog "If you run cfengine the very first time, you MUST generate the keys for cfengine by running:" |
302 |
- elog "emerge --config ${CATEGORY}/${PN}" |
303 |
- |
304 |
- # Fix old cf-servd, remove it after some releases. |
305 |
- local found=0 |
306 |
- for fname in $(find /etc/runlevels/ -type f -or -type l -name 'cf-servd'); do |
307 |
- found=1 |
308 |
- rm $fname |
309 |
- ln -s /etc/init.d/cf-serverd $(echo $fname | sed 's:cf-servd:cf-serverd:') |
310 |
- done |
311 |
- |
312 |
- if [ "${found}" -eq 1 ]; then |
313 |
- echo |
314 |
- elog "/etc/init.d/cf-servd has been renamed to /etc/init.d/cf-serverd" |
315 |
- fi |
316 |
-} |
317 |
- |
318 |
-pkg_config() { |
319 |
- if [ "${ROOT}" == "/" ]; then |
320 |
- if [ ! -f "/var/cfengine/ppkeys/localhost.priv" ]; then |
321 |
- einfo "Generating keys for localhost." |
322 |
- /usr/sbin/cf-key |
323 |
- fi |
324 |
- else |
325 |
- die "cfengine cfkey does not support any value of ROOT other than /." |
326 |
- fi |
327 |
-} |