Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/dnetc/
Date: Sat, 15 Sep 2018 12:57:00
Message-Id: 1537016200.591304448033814712b45c9c347becde015ffa5b.zlogene@gentoo
1 commit: 591304448033814712b45c9c347becde015ffa5b
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 15 12:56:40 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 15 12:56:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59130444
7
8 app-misc/dnetc: Drop old
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-misc/dnetc/Manifest | 3 --
13 app-misc/dnetc/dnetc-2.9109.518.ebuild | 93 ----------------------------------
14 app-misc/dnetc/dnetc-2.9110.519.ebuild | 93 ----------------------------------
15 3 files changed, 189 deletions(-)
16
17 diff --git a/app-misc/dnetc/Manifest b/app-misc/dnetc/Manifest
18 index 7526ff8b9a2..6c0d5efac99 100644
19 --- a/app-misc/dnetc/Manifest
20 +++ b/app-misc/dnetc/Manifest
21 @@ -1,6 +1,3 @@
22 DIST dnetc517-linux-amd64.tar.gz 645416 BLAKE2B a6181c82e7bdb8995930b3c93c88dd588f707ea6429e4f7f27961928129423be571f0c63e7aa5d5d9a8e5e3687a8bd54e6dc6835f5317273aa3f99ee863e8320 SHA512 b22b59af2352a95156ea4b584f48d82e4b64080130d922bbb1797b2c62f7c401ec1263f2f0bd57103134f8fc76ef41a7e09d7da083ef0b46c44be4239005c21b
23 DIST dnetc517-linux-x86-elf-uclibc.tar.gz 676398 BLAKE2B 9edfa3f11b837841b362dd81bdd9a39882b6bd45942f11f6c8ebde4966351a0ea4c003eb27a36c2fe187034571d48a5d851d5931dc6121196f2097a22f9a1c30 SHA512 7b56fa8c6819fd7060612c13c8fb17ca1e949abbca965b7599bb072751acd1d0e95f1a90fb67172c6d406b54e0c52549582489802e538670bdb6d12f8354e2a7
24 -DIST dnetc518-linux-amd64.tar.gz 644073 BLAKE2B 6e33120d54fab253ceee8d26ea1eb266ea10f69383a7735637ca9e905e98f51cd0052904bb695a6989a5a3b8996d6cad8d2b6807bbd88d7abedcdef8566a39d3 SHA512 95ad5144fbb1356806f6fd6f499891b36a0ea7c75794ada40cba9146c830adfd20044d8d3f3689186c9317b477aa95a6aae5d711c19534059b06b5d33367d785
25 -DIST dnetc518-linux-ppc-uclibc.tar.gz 717889 BLAKE2B afc3cfaa3700c03379a10fe72c5939f09ee4bdfb3dd4ea55195ec31a85d1a5797a99abe15acfcb87c081166b6c311913be33f2105f39e212e5fb2060685ad34e SHA512 c0d7592b1a5c98001355e71a1d31bc67bfef6b4c5f73c8e200717424ae4ea5c62558c413753e079f4e0b6bacdb921b395f46c168673e82049dcb69a0512d11eb
26 -DIST dnetc519-linux-x86-elf-uclibc.tar.gz 676925 BLAKE2B f6a5d9bc1a7f1608079a9212c38a1b2854919ce3c0c9c3423c4f42f09976d90c418de966ba8ec86d1ddd1cfac4e40cf090e898297ac1146d2e9efc93bcd17e32 SHA512 87519867e8e993d7b6520d73133196d34391d0694d8d8bbc372bac4e0b21ceb1a22fcd000bd2f29841695ee7232c4584eb1b19a690f723320df023c52a581395
27 DIST dnetc519b-linux-amd64.tar.gz 648333 BLAKE2B 54d787d5e9a98563bba1a0cc62f70900f0fa39becf6f48a66ae888e0ce0f1f2c64a79fc6c6b3fae724ed244e3f0286dc0f266332d851347b982bffcd1807696f SHA512 ea7899772ee8c5fbfbe96b6ec69b1a3237fe5ae96b17bb7e11e387fb833b471f3cce8809cf3c9987dfe33c7ca7082db560c36898094ace3e547077b7a5afc324
28
29 diff --git a/app-misc/dnetc/dnetc-2.9109.518.ebuild b/app-misc/dnetc/dnetc-2.9109.518.ebuild
30 deleted file mode 100644
31 index 071accd0bdd..00000000000
32 --- a/app-misc/dnetc/dnetc-2.9109.518.ebuild
33 +++ /dev/null
34 @@ -1,93 +0,0 @@
35 -# Copyright 1999-2014 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=2
39 -inherit user
40 -
41 -MAJ_PV=${PV:0:6}
42 -MIN_PV=${PV:7:9}
43 -
44 -DESCRIPTION="distributed.net client"
45 -HOMEPAGE="http://www.distributed.net"
46 -#SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
47 -SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )"
48 -SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )"
49 -#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )"
50 -SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}"
51 -
52 -LICENSE="distributed.net GPL-2"
53 -SLOT="0"
54 -KEYWORDS="~amd64 ~ppc" # x86 not available for this version
55 -IUSE=""
56 -RESTRICT="mirror"
57 -
58 -DEPEND=""
59 -RDEPEND="net-dns/bind-tools"
60 -
61 -QA_PRESTRIPPED="opt/distributed.net/dnetc"
62 -
63 -S=${WORKDIR}/dnetc
64 -
65 -src_prepare() {
66 - binname=""
67 - if use amd64; then
68 - binname=dnetc${MIN_PV}-linux-amd64
69 - elif use x86; then
70 - binname=dnetc${MIN_PV}-linux-x86-elf-uclibc
71 - elif use ppc; then
72 - binname=dnetc${MIN_PV}-linux-ppc-elf-uclibc
73 - fi
74 - [[ -z "${binname}" ]] && die "Name of dnetc binary for this platform undefined"
75 - mv "${binname}" dnetc || die "$binname binary is missing"
76 -}
77 -
78 -src_install() {
79 - exeinto /opt/distributed.net
80 - doexe dnetc
81 -
82 - doman dnetc.1
83 - dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
84 -
85 - newinitd "${FILESDIR}"/dnetc.initd dnetc
86 - newconfd "${FILESDIR}"/dnetc.confd dnetc
87 -
88 - keepdir /var/spool/dnetc
89 -}
90 -
91 -pkg_preinst() {
92 - if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
93 - einfo "flushing old buffers"
94 - source /etc/conf.d/dnetc
95 -
96 - if [ -e /opt/distributed.net/dnetc.ini ]; then
97 - # use ini file
98 - /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
99 - elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
100 - # email adress from config
101 - /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
102 - fi
103 -
104 - einfo "removing old buffer files"
105 - rm -f /opt/distributed.net/buff*
106 - fi
107 -
108 - enewgroup dnetc
109 - enewuser dnetc -1 -1 /opt/distributed.net dnetc
110 -}
111 -
112 -pkg_postinst() {
113 - chown -Rf dnetc:dnetc /opt/distributed.net
114 - chmod 0555 /opt/distributed.net/dnetc
115 -
116 - elog "To run distributed.net client in the background at boot:"
117 - elog " rc-update add dnetc default"
118 - elog ""
119 - elog "Either configure your email address in /etc/conf.d/dnetc"
120 - elog "or create the configuration file /opt/distributed.net/dnetc.ini"
121 -}
122 -
123 -pkg_postrm() {
124 - if [ -d /opt/distributed.net ]; then
125 - elog "All files has not been removed from /opt/distributed.net"
126 - fi
127 -}
128
129 diff --git a/app-misc/dnetc/dnetc-2.9110.519.ebuild b/app-misc/dnetc/dnetc-2.9110.519.ebuild
130 deleted file mode 100644
131 index 3785ad20a0b..00000000000
132 --- a/app-misc/dnetc/dnetc-2.9110.519.ebuild
133 +++ /dev/null
134 @@ -1,93 +0,0 @@
135 -# Copyright 1999-2014 Gentoo Foundation
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI=2
139 -inherit user
140 -
141 -MAJ_PV=${PV:0:6}
142 -MIN_PV=${PV:7:9}
143 -
144 -DESCRIPTION="distributed.net client"
145 -HOMEPAGE="http://www.distributed.net"
146 -SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
147 -#SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )"
148 -#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )"
149 -#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )"
150 -SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}"
151 -
152 -LICENSE="distributed.net GPL-2"
153 -SLOT="0"
154 -KEYWORDS="~x86" # ppc,amd64 not available for this version
155 -IUSE=""
156 -RESTRICT="mirror"
157 -
158 -DEPEND=""
159 -RDEPEND="net-dns/bind-tools"
160 -
161 -QA_PRESTRIPPED="opt/distributed.net/dnetc"
162 -
163 -S=${WORKDIR}/dnetc
164 -
165 -src_prepare() {
166 - binname=""
167 - if use amd64; then
168 - binname=dnetc${MIN_PV}-linux-amd64
169 - elif use x86; then
170 - binname=dnetc${MIN_PV}-linux-x86-elf-uclibc
171 - elif use ppc; then
172 - binname=dnetc${MIN_PV}-linux-ppc-elf-uclibc
173 - fi
174 - [[ -z "${binname}" ]] && die "Name of dnetc binary for this platform undefined"
175 - mv "${binname}" dnetc || die "$binname binary is missing"
176 -}
177 -
178 -src_install() {
179 - exeinto /opt/distributed.net
180 - doexe dnetc
181 -
182 - doman dnetc.1
183 - dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
184 -
185 - newinitd "${FILESDIR}"/dnetc.initd dnetc
186 - newconfd "${FILESDIR}"/dnetc.confd dnetc
187 -
188 - keepdir /var/spool/dnetc
189 -}
190 -
191 -pkg_preinst() {
192 - if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
193 - einfo "flushing old buffers"
194 - source /etc/conf.d/dnetc
195 -
196 - if [ -e /opt/distributed.net/dnetc.ini ]; then
197 - # use ini file
198 - /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
199 - elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
200 - # email adress from config
201 - /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
202 - fi
203 -
204 - einfo "removing old buffer files"
205 - rm -f /opt/distributed.net/buff*
206 - fi
207 -
208 - enewgroup dnetc
209 - enewuser dnetc -1 -1 /opt/distributed.net dnetc
210 -}
211 -
212 -pkg_postinst() {
213 - chown -Rf dnetc:dnetc /opt/distributed.net
214 - chmod 0555 /opt/distributed.net/dnetc
215 -
216 - elog "To run distributed.net client in the background at boot:"
217 - elog " rc-update add dnetc default"
218 - elog ""
219 - elog "Either configure your email address in /etc/conf.d/dnetc"
220 - elog "or create the configuration file /opt/distributed.net/dnetc.ini"
221 -}
222 -
223 -pkg_postrm() {
224 - if [ -d /opt/distributed.net ]; then
225 - elog "All files has not been removed from /opt/distributed.net"
226 - fi
227 -}