1 |
commit: 446f997c23defe312ab8e5b386dcef06e01a29f1 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 14 23:28:34 2019 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 14 23:29:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=446f997c |
7 |
|
8 |
app-misc/dnetc: Remove last-rited package |
9 |
|
10 |
Closes: https://bugs.gentoo.org/405521 |
11 |
Closes: https://bugs.gentoo.org/691946 |
12 |
Bug: https://bugs.gentoo.org/630808 |
13 |
Closes: https://bugs.gentoo.org/691252 |
14 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
15 |
|
16 |
app-misc/dnetc/Manifest | 6 -- |
17 |
app-misc/dnetc/dnetc-2.9108.517.ebuild | 93 ------------------------------ |
18 |
app-misc/dnetc/dnetc-2.9112.521.ebuild | 100 --------------------------------- |
19 |
app-misc/dnetc/files/dnetc.confd | 18 ------ |
20 |
app-misc/dnetc/files/dnetc.initd | 88 ----------------------------- |
21 |
app-misc/dnetc/metadata.xml | 11 ---- |
22 |
6 files changed, 316 deletions(-) |
23 |
|
24 |
diff --git a/app-misc/dnetc/Manifest b/app-misc/dnetc/Manifest |
25 |
deleted file mode 100644 |
26 |
index b10df722406..00000000000 |
27 |
--- a/app-misc/dnetc/Manifest |
28 |
+++ /dev/null |
29 |
@@ -1,6 +0,0 @@ |
30 |
-DIST dnetc517-linux-amd64.tar.gz 645416 BLAKE2B a6181c82e7bdb8995930b3c93c88dd588f707ea6429e4f7f27961928129423be571f0c63e7aa5d5d9a8e5e3687a8bd54e6dc6835f5317273aa3f99ee863e8320 SHA512 b22b59af2352a95156ea4b584f48d82e4b64080130d922bbb1797b2c62f7c401ec1263f2f0bd57103134f8fc76ef41a7e09d7da083ef0b46c44be4239005c21b |
31 |
-DIST dnetc517-linux-x86-elf-uclibc.tar.gz 676398 BLAKE2B 9edfa3f11b837841b362dd81bdd9a39882b6bd45942f11f6c8ebde4966351a0ea4c003eb27a36c2fe187034571d48a5d851d5931dc6121196f2097a22f9a1c30 SHA512 7b56fa8c6819fd7060612c13c8fb17ca1e949abbca965b7599bb072751acd1d0e95f1a90fb67172c6d406b54e0c52549582489802e538670bdb6d12f8354e2a7 |
32 |
-DIST dnetc521-linux-amd64.tar.gz 679350 BLAKE2B 401b83a893111a4b2d07ace93fc642b30ccd41a0273672e496b91d998ce6d38faa08a7ec13ca172d20bf785d010249b87c562b706783c6d3fe3610ef02b214ed SHA512 c5c4d6da4fd1cb6a648553718e708c8d14023d1824298f8070cdc887cbf9559e77c10908d8d9929bc0b48e2215a02c3376c4cf767ad807816abf3eba96650b1d |
33 |
-DIST dnetc521-linux-arm64.tar.gz 629291 BLAKE2B 12554db6c175b828e9e74864955db7e6f54b21408edc6b32a669d52d17465ed45d7985486855a330b295778656579582f208c0e5ecc34f6a2ea195c2ab1fab68 SHA512 cc9c8b76b9d3ada1ed586132c3cc340d2ada55a28d151fb62013aac44dbf13b764dd80498bce1db36536df366497cdc2aa55e761d92cfdd050b701a23336ad80 |
34 |
-DIST dnetc521-linux-ppc-uclibc.tar.gz 718697 BLAKE2B 15f8438531b8074c8a56b86500c55b95eb33c62e4271023bab98601fadd3bc3d2afd1ae8562cadf8d724943515032c97a78084ddd12ef30c388456333ec60893 SHA512 31ad8999d262f0820275773f3387b0a9531ffaab662fa557cad504ed48d7e764d43ae198559b44ef9fe00a0a417e1780b327d2f1c4b7951ff760eb54393742e4 |
35 |
-DIST dnetc521-linux-x86-elf-uclibc.tar.gz 744639 BLAKE2B 71a317c724b91f17c1e67da63d5da2e04479572c6e8c9e9df16c9a0cf5f1d56622a7d20bd791f46b7baa3147fd18c60c312b16cc311bad2e609945620a843f16 SHA512 9178b0d42989302b82d8c62f978e819f5b30bd6acff60501e947038e655096bed3e3382015b50d53f0f3fa819be22ffbba21419a5175a01dbc449030387629fc |
36 |
|
37 |
diff --git a/app-misc/dnetc/dnetc-2.9108.517.ebuild b/app-misc/dnetc/dnetc-2.9108.517.ebuild |
38 |
deleted file mode 100644 |
39 |
index b8ef427428d..00000000000 |
40 |
--- a/app-misc/dnetc/dnetc-2.9108.517.ebuild |
41 |
+++ /dev/null |
42 |
@@ -1,93 +0,0 @@ |
43 |
-# Copyright 1999-2014 Gentoo Foundation |
44 |
-# Distributed under the terms of the GNU General Public License v2 |
45 |
- |
46 |
-EAPI=2 |
47 |
-inherit user |
48 |
- |
49 |
-MAJ_PV=${PV:0:6} |
50 |
-MIN_PV=${PV:7:9} |
51 |
- |
52 |
-DESCRIPTION="distributed.net client" |
53 |
-HOMEPAGE="http://www.distributed.net" |
54 |
-SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )" |
55 |
-SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )" |
56 |
-#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )" |
57 |
-#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )" |
58 |
-SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}" |
59 |
- |
60 |
-LICENSE="distributed.net GPL-2" |
61 |
-SLOT="0" |
62 |
-KEYWORDS="amd64 x86" # ppc not available for this version |
63 |
-IUSE="" |
64 |
-RESTRICT="mirror" |
65 |
- |
66 |
-DEPEND="" |
67 |
-RDEPEND="net-dns/bind-tools" |
68 |
- |
69 |
-QA_PRESTRIPPED="opt/distributed.net/dnetc" |
70 |
- |
71 |
-S=${WORKDIR}/dnetc |
72 |
- |
73 |
-src_prepare() { |
74 |
- binname="" |
75 |
- if use amd64; then |
76 |
- binname=dnetc${MIN_PV}-linux-amd64 |
77 |
- elif use x86; then |
78 |
- binname=dnetc${MIN_PV}-linux-x86-elf-uclibc |
79 |
- elif use ppc; then |
80 |
- binname=dnetc${MIN_PV}-linux-ppc-elf-uclibc |
81 |
- fi |
82 |
- [[ -z "${binname}" ]] && die "Name of dnetc binary for this platform undefined" |
83 |
- mv "${binname}" dnetc || die "$binname binary is missing" |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- exeinto /opt/distributed.net |
88 |
- doexe dnetc |
89 |
- |
90 |
- doman dnetc.1 |
91 |
- dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.* |
92 |
- |
93 |
- newinitd "${FILESDIR}"/dnetc.initd dnetc |
94 |
- newconfd "${FILESDIR}"/dnetc.confd dnetc |
95 |
- |
96 |
- keepdir /var/spool/dnetc |
97 |
-} |
98 |
- |
99 |
-pkg_preinst() { |
100 |
- if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then |
101 |
- einfo "flushing old buffers" |
102 |
- source /etc/conf.d/dnetc |
103 |
- |
104 |
- if [ -e /opt/distributed.net/dnetc.ini ]; then |
105 |
- # use ini file |
106 |
- /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush |
107 |
- elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then |
108 |
- # email adress from config |
109 |
- /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL} |
110 |
- fi |
111 |
- |
112 |
- einfo "removing old buffer files" |
113 |
- rm -f /opt/distributed.net/buff* |
114 |
- fi |
115 |
- |
116 |
- enewgroup dnetc |
117 |
- enewuser dnetc -1 -1 /opt/distributed.net dnetc |
118 |
-} |
119 |
- |
120 |
-pkg_postinst() { |
121 |
- chown -Rf dnetc:dnetc /opt/distributed.net |
122 |
- chmod 0555 /opt/distributed.net/dnetc |
123 |
- |
124 |
- elog "To run distributed.net client in the background at boot:" |
125 |
- elog " rc-update add dnetc default" |
126 |
- elog "" |
127 |
- elog "Either configure your email address in /etc/conf.d/dnetc" |
128 |
- elog "or create the configuration file /opt/distributed.net/dnetc.ini" |
129 |
-} |
130 |
- |
131 |
-pkg_postrm() { |
132 |
- if [ -d /opt/distributed.net ]; then |
133 |
- elog "All files has not been removed from /opt/distributed.net" |
134 |
- fi |
135 |
-} |
136 |
|
137 |
diff --git a/app-misc/dnetc/dnetc-2.9112.521.ebuild b/app-misc/dnetc/dnetc-2.9112.521.ebuild |
138 |
deleted file mode 100644 |
139 |
index 662d75cd8f5..00000000000 |
140 |
--- a/app-misc/dnetc/dnetc-2.9112.521.ebuild |
141 |
+++ /dev/null |
142 |
@@ -1,100 +0,0 @@ |
143 |
-# Copyright 1999-2019 Gentoo Authors |
144 |
-# Distributed under the terms of the GNU General Public License v2 |
145 |
- |
146 |
-EAPI=7 |
147 |
-inherit user |
148 |
- |
149 |
-MAJ_PV=${PV:0:6} |
150 |
-MIN_PV=${PV:7:9} |
151 |
- |
152 |
-DESCRIPTION="distributed.net client" |
153 |
-HOMEPAGE="http://www.distributed.net" |
154 |
-SRC_URI_BASE="http://http.distributed.net/pub/dcti/v${MAJ_PV}" |
155 |
-SRC_URI_x86="x86? ( ${SRC_URI_BASE}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )" |
156 |
-SRC_URI_arm64="arm64? ( ${SRC_URI_BASE}/dnetc${MIN_PV}-linux-arm64.tar.gz )" |
157 |
-SRC_URI_amd64="amd64? ( ${SRC_URI_BASE}/dnetc${MIN_PV}-linux-amd64.tar.gz )" |
158 |
-SRC_URI_ppc="ppc? ( ${SRC_URI_BASE}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )" |
159 |
-#SRC_URI_sparc="sparc? ( ${SRC_URI_BASE}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )" |
160 |
-SRC_URI="${SRC_URI_amd64} ${SRC_URI_arm64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}" |
161 |
- |
162 |
-LICENSE="distributed.net GPL-2" |
163 |
-SLOT="0" |
164 |
-KEYWORDS="amd64 ~arm64 ~ppc ~x86" # sparc not available for this version |
165 |
-IUSE="" |
166 |
-RESTRICT="mirror" |
167 |
- |
168 |
-DEPEND="" |
169 |
-RDEPEND="net-dns/bind-tools" |
170 |
- |
171 |
-QA_PREBUILT="opt/distributed.net/dnetc" |
172 |
- |
173 |
-case $ARCH in |
174 |
- amd64) suffix=amd64 ;; |
175 |
- arm64) suffix=amd64 ;; |
176 |
- ppc) suffix=ppc-elf-uclibc ;; |
177 |
- x86) suffix=x86-elf-uclibc ;; |
178 |
-esac |
179 |
-S="${WORKDIR}/dnetc${MIN_PV:0:3}-linux-${suffix}" |
180 |
-unset suffix |
181 |
- |
182 |
-src_prepare() { |
183 |
- #export S="${WORKDIR}/$(getS)" |
184 |
- #echo "${S}" |
185 |
- #cd "${S}" |
186 |
- [[ -x dnetc ]] || die "Name of dnetc directory/binary for this platform undefined" |
187 |
- eapply_user |
188 |
-} |
189 |
- |
190 |
-src_install() { |
191 |
- exeinto /opt/distributed.net |
192 |
- doexe dnetc |
193 |
- |
194 |
- doman dnetc.1 |
195 |
- dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.* |
196 |
- |
197 |
- newinitd "${FILESDIR}"/dnetc.initd dnetc |
198 |
- newconfd "${FILESDIR}"/dnetc.confd dnetc |
199 |
- |
200 |
- keepdir /var/spool/dnetc |
201 |
-} |
202 |
- |
203 |
-pkg_preinst() { |
204 |
- # This is the upstream-recommended install process |
205 |
- # Flush buffers first, because the new binary might not be able to read |
206 |
- # them. |
207 |
- if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then |
208 |
- einfo "flushing old buffers" |
209 |
- source /etc/conf.d/dnetc |
210 |
- |
211 |
- if [ -e /opt/distributed.net/dnetc.ini ]; then |
212 |
- # use ini file |
213 |
- /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush |
214 |
- elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then |
215 |
- # email adress from config |
216 |
- /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL} |
217 |
- fi |
218 |
- |
219 |
- einfo "removing old buffer files" |
220 |
- rm -f /opt/distributed.net/buff* |
221 |
- fi |
222 |
- |
223 |
- enewgroup dnetc |
224 |
- enewuser dnetc -1 -1 /opt/distributed.net dnetc |
225 |
-} |
226 |
- |
227 |
-pkg_postinst() { |
228 |
- chown -Rf dnetc:dnetc /opt/distributed.net |
229 |
- chmod 0555 /opt/distributed.net/dnetc |
230 |
- |
231 |
- elog "To run distributed.net client in the background at boot:" |
232 |
- elog " rc-update add dnetc default" |
233 |
- elog "" |
234 |
- elog "Either configure your email address in /etc/conf.d/dnetc" |
235 |
- elog "or create the configuration file /opt/distributed.net/dnetc.ini" |
236 |
-} |
237 |
- |
238 |
-pkg_postrm() { |
239 |
- if [ -d /opt/distributed.net ]; then |
240 |
- elog "All files has not been removed from /opt/distributed.net" |
241 |
- fi |
242 |
-} |
243 |
|
244 |
diff --git a/app-misc/dnetc/files/dnetc.confd b/app-misc/dnetc/files/dnetc.confd |
245 |
deleted file mode 100644 |
246 |
index f6f0da6b7e2..00000000000 |
247 |
--- a/app-misc/dnetc/files/dnetc.confd |
248 |
+++ /dev/null |
249 |
@@ -1,18 +0,0 @@ |
250 |
-# configuration file for dnetc |
251 |
- |
252 |
-# Startup will look for configuration files in the following places, using the |
253 |
-# first one that it finds: |
254 |
-# 1. /etc/dnetc.conf |
255 |
-# 2. /opt/distributed.net/dnetc.ini |
256 |
- |
257 |
-# Values specified here will override those found in any client configuration |
258 |
-# file. |
259 |
- |
260 |
-# email adress |
261 |
-EMAIL= |
262 |
- |
263 |
-# buffer base dir |
264 |
-BUFFER_BASE_DIR=/var/spool/dnetc |
265 |
- |
266 |
-# keyserver address |
267 |
-KEYSERVER_ADDRESS= |
268 |
|
269 |
diff --git a/app-misc/dnetc/files/dnetc.initd b/app-misc/dnetc/files/dnetc.initd |
270 |
deleted file mode 100644 |
271 |
index f3a51207491..00000000000 |
272 |
--- a/app-misc/dnetc/files/dnetc.initd |
273 |
+++ /dev/null |
274 |
@@ -1,88 +0,0 @@ |
275 |
-#!/sbin/openrc-run |
276 |
-# Copyright 1999-2008 Gentoo Foundation |
277 |
-# Distributed under the terms of the GNU General Public License v2 |
278 |
- |
279 |
-opts="${opts} reload fetch flush" |
280 |
- |
281 |
-depend() { |
282 |
- use net |
283 |
-} |
284 |
- |
285 |
-processOpts() { |
286 |
- local retVal=1 |
287 |
- |
288 |
- DNETPATH="/opt/distributed.net" |
289 |
- DNETBIN="${DNETPATH}/dnetc" |
290 |
- |
291 |
- STARTOPTS="--start --chuid dnetc:dnetc --quiet \ |
292 |
- --exec ${DNETBIN}" |
293 |
- |
294 |
- DNETOPTS="-quiet" |
295 |
- |
296 |
- if [ -e /etc/dnetc.ini ] ; then |
297 |
- retVal=0 |
298 |
- DNETOPTS="${DNETOPTS} -ini /etc/dnetc.ini" |
299 |
- elif [ -e ${DNETPATH}/dnetc.ini ]; then |
300 |
- retVal=0 |
301 |
- DNETOPTS="${DNETOPTS} -ini ${DNETPATH}/dnetc.ini" |
302 |
- elif [ ! -z ${EMAIL} ]; then |
303 |
- retVal=0 |
304 |
- fi |
305 |
- |
306 |
- # override ini settings with values in /etc/conf.d/dnetc |
307 |
- |
308 |
- DNETOPTS="${DNETOPTS} ${EMAIL:+-e ${EMAIL}}" |
309 |
- if [ ! -z ${BUFFER_BASE_DIR} ] ; then |
310 |
- local buff_in="${BUFFER_BASE_DIR:+${BUFFER_BASE_DIR}/}buff-in" |
311 |
- local buff_out="${BUFFER_BASE_DIR:+${BUFFER_BASE_DIR}/}buff-out" |
312 |
- DNETOPTS="${DNETOPTS} -inbase ${buff_in}" |
313 |
- DNETOPTS="${DNETOPTS} -outbase ${buff_out}" |
314 |
- fi |
315 |
- DNETOPTS="${DNETOPTS} ${KEYSERVER_ADDRESS:+-a ${KEYSERVER_ADDRESS}}" |
316 |
- |
317 |
- # fair group cpu scheduler |
318 |
- uidpath="/sys/kernel/uids/`id -u dnetc`" |
319 |
- [ -d $uidpath ] && echo 2 >$uidpath/cpu_share |
320 |
- unset uidpath |
321 |
- |
322 |
- if [ ${retVal} -ne 0 ] ; then |
323 |
- eerror "Need some sort of configuration. Check /etc/conf.d/dnetc." |
324 |
- fi |
325 |
- |
326 |
- return ${retVal} |
327 |
-} |
328 |
- |
329 |
-start() { |
330 |
- processOpts || return 1 |
331 |
- ebegin "Starting distributed.net client" |
332 |
- start-stop-daemon ${STARTOPTS} -- ${DNETOPTS} |
333 |
- eend ${?} |
334 |
-} |
335 |
- |
336 |
-stop() { |
337 |
- processOpts || return 1 |
338 |
- ebegin "Stopping distributed.net client" |
339 |
- start-stop-daemon --stop --quiet --exec ${DNETBIN} -- |
340 |
- eend ${?} |
341 |
-} |
342 |
- |
343 |
-reload() { |
344 |
- processOpts || return 1 |
345 |
- ebegin "Reloading distributed.net client" |
346 |
- start-stop-daemon --stop --quiet --signal HUP --exec ${DNETBIN} |
347 |
- eend ${?} |
348 |
-} |
349 |
- |
350 |
-fetch() { |
351 |
- processOpts || return 1 |
352 |
- ebegin "Fetching distributed.net client buffers" |
353 |
- ${DNETBIN} ${DNETOPTS} -fetch |
354 |
- eend ${?} |
355 |
-} |
356 |
- |
357 |
-flush() { |
358 |
- processOpts || return 1 |
359 |
- ebegin "Flushing distributed.net client buffers" |
360 |
- ${DNETBIN} ${DNETOPTS} -flush |
361 |
- eend ${?} |
362 |
-} |
363 |
|
364 |
diff --git a/app-misc/dnetc/metadata.xml b/app-misc/dnetc/metadata.xml |
365 |
deleted file mode 100644 |
366 |
index 40c9f16e028..00000000000 |
367 |
--- a/app-misc/dnetc/metadata.xml |
368 |
+++ /dev/null |
369 |
@@ -1,11 +0,0 @@ |
370 |
-<?xml version="1.0" encoding="UTF-8"?> |
371 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
372 |
-<pkgmetadata> |
373 |
- <maintainer type="person"> |
374 |
- <email>robbat2@g.o</email> |
375 |
- <name>Robin H. Johnson</name> |
376 |
- </maintainer> |
377 |
- <longdescription> |
378 |
- a distributed client for the distributed.net cracking challenges. |
379 |
- </longdescription> |
380 |
-</pkgmetadata> |