1 |
commit: 468db94ffba53af6ce36c3f6b0a6e6c5abf8f609 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 5 01:20:21 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 5 01:25:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468db94f |
7 |
|
8 |
net-misc/cgminer: clean up older versions |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
net-misc/cgminer/Manifest | 4 -- |
13 |
net-misc/cgminer/cgminer-4.7.0.ebuild | 90 ------------------------------ |
14 |
net-misc/cgminer/cgminer-4.8.0.ebuild | 95 ------------------------------- |
15 |
net-misc/cgminer/cgminer-4.9.0.ebuild | 102 ---------------------------------- |
16 |
net-misc/cgminer/cgminer-4.9.1.ebuild | 102 ---------------------------------- |
17 |
net-misc/cgminer/cgminer-4.9.2.ebuild | 8 +-- |
18 |
net-misc/cgminer/metadata.xml | 1 - |
19 |
7 files changed, 4 insertions(+), 398 deletions(-) |
20 |
|
21 |
diff --git a/net-misc/cgminer/Manifest b/net-misc/cgminer/Manifest |
22 |
index 82ab8a1..bbca035 100644 |
23 |
--- a/net-misc/cgminer/Manifest |
24 |
+++ b/net-misc/cgminer/Manifest |
25 |
@@ -1,6 +1,2 @@ |
26 |
DIST cgminer-4.10.0.tar.bz2 1306225 SHA256 debd49291f8335b48496896dc28a43f941d1c981525950497acc89d0d5fc1e84 SHA512 ed39bffa51715756875c101f4aaf984cab566fc1c8b657f6da37d0cdf921faee752c3efadf97c98ca6e749175457fbc2c37e9332cd26d2ff1675752250ac21db WHIRLPOOL 846af94146146809c6d7e150dc0aa26388a9a52f1ec91e4b26fd0191b426db0fa42229a896c65b566147283c97af243f51f9b452f1bbf535a04ab507d6b3195c |
27 |
-DIST cgminer-4.7.0.tar.bz2 1534316 SHA256 604c5e1998e8c7319b3d7b69297ce5d45d47eb0eba9be0c037138ef73cd3749b SHA512 3d2450cab3ad6c455814db4420ce464e06dc910fec0e0be38a626193fbf46e5211bc2f8f2f6bb14daea0aa82622031cc5f44db9aee414236f7ac74cd7d95e847 WHIRLPOOL dc2beab3cb2422371190ed505c615eab24a846301527f428b107ca54f3de69c27905c4c7d1f9ab20af0c9f531aab6059ec7bf8570b1eb2b9439ac77e74a31e48 |
28 |
-DIST cgminer-4.8.0.tar.bz2 1538552 SHA256 172409212dc3cb38260c9dfa4b142f989a32781dc3554a134516451a84bee137 SHA512 fdd43047a0e4c58778fa7ddd95e7521514e4572082cdb49eb802628a7d4390873576a4552d891fefc0b28043f0d15ed229d59287d75f05d5e0ac0e0a55f60d8a WHIRLPOOL 0eae3c8a8159f10f0a211ba24a9b8fa91f7f5aa2b4d6c56cdc4c10f22d69a464c86877afbe73fbed223a850e6dd9b0a45cd175c4ee24c9483ca4899032553078 |
29 |
-DIST cgminer-4.9.0.tar.bz2 1547040 SHA256 67d5016bba0deb6fe432765fd5e10a4679785dc8d352d361af99150fcc3408cf SHA512 29fb31c75beca5d5a4e5c69f8448cea0640c1764561c3dbc553beb97510fda3e6529a935becbd40696f9a529575f53991a8cb704b8ba283a63496430f1d794ca WHIRLPOOL 7bdd5f5697d10acad1f026c4a392913e2d791f694e5c37732f9cf4dc037ad71d2e062b900376bfea4acfc78cf954adda0428785ac6476ee787e866a67108cf98 |
30 |
-DIST cgminer-4.9.1.tar.bz2 1549471 SHA256 68d0d0ac623e5cff450febe4b7143a7def04c952008e2b1b040988a6270ab0e1 SHA512 c94b09f0adf0a73ac8f134cde0594627b0c017863fc652fb6dcb18aaedc0bb7c2c747152b916a690f2097dc0183ec3a2c94aaf7dbff9074ab04290443d9fdad7 WHIRLPOOL b73fc4bd45bfdc96e8bcea6474540eefbc0c9c30e2967d55f60b04b039407ce4f15e35d1794f59e717902d5b7bc9f97b8b3ecda4d5be0b66fe9b7e104d0a01ff |
31 |
DIST cgminer-4.9.2.tar.bz2 1476371 SHA256 7a94719c520c3ebd96fee65e2f737e87c9ae70c8e21865ee0ce16ac9b02e6e62 SHA512 48371657c84f09ad8c500a29ca85f35af70eb8720d9d97b565cd8c5356289d889ee60c06f37c0507a53c8f50ae827a77fa0c41609bac6b1e8849ad26b55d67d4 WHIRLPOOL bc1827049171683a7bae77b7693cf579cc18523dd1db1d54c3de41f3c81d6786f749dcee6e6e74c54ce7aceb5b946d357f8c04ded2d02dc40faddadcb015b828 |
32 |
|
33 |
diff --git a/net-misc/cgminer/cgminer-4.7.0.ebuild b/net-misc/cgminer/cgminer-4.7.0.ebuild |
34 |
deleted file mode 100644 |
35 |
index 3b0d711..00000000 |
36 |
--- a/net-misc/cgminer/cgminer-4.7.0.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,90 +0,0 @@ |
39 |
-# Copyright 1999-2014 Gentoo Foundation |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
-# $Id$ |
42 |
- |
43 |
-EAPI=5 |
44 |
- |
45 |
-inherit autotools eutils flag-o-matic |
46 |
- |
47 |
-DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" |
48 |
-HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer" |
49 |
-SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2" |
50 |
-#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2" |
51 |
- |
52 |
-LICENSE="GPL-3" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="~amd64 ~arm ~x86" |
55 |
- |
56 |
-HARDWARE="ants1 ants2 avalon avalon2 bab bitmine_A1 bflsc bitforce bitfury cointerra drillbit hashfast hashratio icarus klondike knc minion modminer spondoolies" |
57 |
-IUSE="doc examples udev hardened ncurses ${HARDWARE}" |
58 |
- |
59 |
-REQUIRED_USE="|| ( ${HARDWARE} )" |
60 |
- |
61 |
-RDEPEND="net-misc/curl |
62 |
- >=dev-libs/jansson-2.6 |
63 |
- ncurses? ( sys-libs/ncurses ) |
64 |
- avalon? ( virtual/libusb:1 ) |
65 |
- bflsc? ( virtual/libusb:1 ) |
66 |
- bitforce? ( virtual/libusb:1 ) |
67 |
- bitfury? ( virtual/libusb:1 ) |
68 |
- cointerra? ( virtual/libusb:1 ) |
69 |
- drillbit? ( virtual/libusb:1 ) |
70 |
- hashfast? ( virtual/libusb:1 ) |
71 |
- hashratio? ( virtual/libusb:1 ) |
72 |
- icarus? ( virtual/libusb:1 ) |
73 |
- klondike? ( virtual/libusb:1 ) |
74 |
- modminer? ( virtual/libusb:1 ) |
75 |
- spondoolies? ( virtual/libusb:1 )" |
76 |
-DEPEND="virtual/pkgconfig |
77 |
- ${RDEPEND}" |
78 |
- |
79 |
-src_prepare() { |
80 |
- epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch |
81 |
- eautoreconf |
82 |
-} |
83 |
- |
84 |
-src_configure() { |
85 |
- use hardened && append-cflags "-nopie" |
86 |
- |
87 |
- econf $(use_with ncurses curses) \ |
88 |
- $(use_enable ants1) \ |
89 |
- $(use_enable ants2) \ |
90 |
- $(use_enable avalon) \ |
91 |
- $(use_enable avalon2) \ |
92 |
- $(use_enable bab) \ |
93 |
- $(use_enable bitmine_A1) \ |
94 |
- $(use_enable bflsc) \ |
95 |
- $(use_enable bitforce) \ |
96 |
- $(use_enable bitfury) \ |
97 |
- $(use_enable cointerra) \ |
98 |
- $(use_enable drillbit) \ |
99 |
- $(use_enable hashfast) \ |
100 |
- $(use_enable hashratio) \ |
101 |
- $(use_enable icarus) \ |
102 |
- $(use_enable klondike) \ |
103 |
- $(use_enable knc) \ |
104 |
- $(use_enable minion) \ |
105 |
- $(use_enable modminer) \ |
106 |
- $(use_enable spondoolies) \ |
107 |
- --with-system-libusb |
108 |
- # sanitize directories (is this still needed?) |
109 |
- sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h |
110 |
-} |
111 |
- |
112 |
-src_install() { # How about using some make install? |
113 |
- dobin cgminer |
114 |
- |
115 |
- insinto /lib/udev/rules.d |
116 |
- use udev && doins 01-cgminer.rules |
117 |
- |
118 |
- if use doc; then |
119 |
- dodoc AUTHORS NEWS README API-README |
120 |
- use icarus || use bitforce || use modminer && dodoc FPGA-README |
121 |
- use avalon || use bflsc && dodoc ASIC-README |
122 |
- fi |
123 |
- |
124 |
- if use examples; then |
125 |
- docinto examples |
126 |
- dodoc api-example.php miner.php API.java api-example.c example.conf |
127 |
- fi |
128 |
-} |
129 |
|
130 |
diff --git a/net-misc/cgminer/cgminer-4.8.0.ebuild b/net-misc/cgminer/cgminer-4.8.0.ebuild |
131 |
deleted file mode 100644 |
132 |
index d2fb07e..00000000 |
133 |
--- a/net-misc/cgminer/cgminer-4.8.0.ebuild |
134 |
+++ /dev/null |
135 |
@@ -1,95 +0,0 @@ |
136 |
-# Copyright 1999-2014 Gentoo Foundation |
137 |
-# Distributed under the terms of the GNU General Public License v2 |
138 |
-# $Id$ |
139 |
- |
140 |
-EAPI=5 |
141 |
- |
142 |
-inherit autotools eutils flag-o-matic |
143 |
- |
144 |
-DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" |
145 |
-HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer" |
146 |
-SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2" |
147 |
-#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2" |
148 |
- |
149 |
-LICENSE="GPL-3" |
150 |
-SLOT="0" |
151 |
-KEYWORDS="~amd64 ~arm ~x86" |
152 |
- |
153 |
-HARDWARE="ants1 ants2 avalon avalon2 bab bitmine_A1 bflsc bitforce bitfury cointerra drillbit hashfast hashratio icarus klondike knc minion modminer spondoolies" |
154 |
-IUSE="doc examples udev hardened ncurses ${HARDWARE}" |
155 |
- |
156 |
-REQUIRED_USE="|| ( ${HARDWARE} )" |
157 |
- |
158 |
-RDEPEND="net-misc/curl |
159 |
- >=dev-libs/jansson-2.6 |
160 |
- ncurses? ( sys-libs/ncurses ) |
161 |
- avalon? ( virtual/libusb:1[udev] ) |
162 |
- bflsc? ( virtual/libusb:1[udev] ) |
163 |
- bitforce? ( virtual/libusb:1[udev] ) |
164 |
- bitfury? ( virtual/libusb:1[udev] ) |
165 |
- cointerra? ( virtual/libusb:1[udev] ) |
166 |
- drillbit? ( virtual/libusb:1[udev] ) |
167 |
- hashfast? ( virtual/libusb:1[udev] ) |
168 |
- hashratio? ( virtual/libusb:1[udev] ) |
169 |
- icarus? ( virtual/libusb:1[udev] ) |
170 |
- klondike? ( virtual/libusb:1[udev] ) |
171 |
- modminer? ( virtual/libusb:1[udev] ) |
172 |
- spondoolies? ( virtual/libusb:1[udev] ) |
173 |
- udev? ( virtual/libudev )" |
174 |
-DEPEND="virtual/pkgconfig |
175 |
- ${RDEPEND}" |
176 |
- |
177 |
-src_prepare() { |
178 |
- epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch |
179 |
- eautoreconf |
180 |
-} |
181 |
- |
182 |
-src_configure() { |
183 |
- use hardened && append-cflags "-nopie" |
184 |
- |
185 |
- econf $(use_with ncurses curses) \ |
186 |
- $(use_enable ants1) \ |
187 |
- $(use_enable ants2) \ |
188 |
- $(use_enable avalon) \ |
189 |
- $(use_enable avalon2) \ |
190 |
- $(use_enable bab) \ |
191 |
- $(use_enable bitmine_A1) \ |
192 |
- $(use_enable bflsc) \ |
193 |
- $(use_enable bitforce) \ |
194 |
- $(use_enable bitfury) \ |
195 |
- $(use_enable cointerra) \ |
196 |
- $(use_enable drillbit) \ |
197 |
- $(use_enable hashfast) \ |
198 |
- $(use_enable hashratio) \ |
199 |
- $(use_enable icarus) \ |
200 |
- $(use_enable klondike) \ |
201 |
- $(use_enable knc) \ |
202 |
- $(use_enable minion) \ |
203 |
- $(use_enable modminer) \ |
204 |
- $(use_enable spondoolies) \ |
205 |
- $(use_enable udev) \ |
206 |
- --disable-forcecombo \ |
207 |
- --with-system-libusb |
208 |
- # sanitize directories (is this still needed?) |
209 |
- sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h |
210 |
-} |
211 |
- |
212 |
-src_install() { # How about using some make install? |
213 |
- dobin cgminer |
214 |
- |
215 |
- if use udev; then |
216 |
- insinto /lib/udev/rules.d |
217 |
- use udev && doins 01-cgminer.rules |
218 |
- fi |
219 |
- |
220 |
- if use doc; then |
221 |
- dodoc AUTHORS NEWS README API-README |
222 |
- use icarus || use bitforce || use modminer && dodoc FPGA-README |
223 |
- use avalon || use bflsc && dodoc ASIC-README |
224 |
- fi |
225 |
- |
226 |
- if use examples; then |
227 |
- docinto examples |
228 |
- dodoc api-example.php miner.php API.java api-example.c example.conf |
229 |
- fi |
230 |
-} |
231 |
|
232 |
diff --git a/net-misc/cgminer/cgminer-4.9.0.ebuild b/net-misc/cgminer/cgminer-4.9.0.ebuild |
233 |
deleted file mode 100644 |
234 |
index 2677c2a..00000000 |
235 |
--- a/net-misc/cgminer/cgminer-4.9.0.ebuild |
236 |
+++ /dev/null |
237 |
@@ -1,102 +0,0 @@ |
238 |
-# Copyright 1999-2014 Gentoo Foundation |
239 |
-# Distributed under the terms of the GNU General Public License v2 |
240 |
-# $Id$ |
241 |
- |
242 |
-EAPI=5 |
243 |
- |
244 |
-inherit autotools eutils flag-o-matic |
245 |
- |
246 |
-DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" |
247 |
-HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer" |
248 |
-SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2" |
249 |
-#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2" |
250 |
- |
251 |
-LICENSE="GPL-3" |
252 |
-SLOT="0" |
253 |
-KEYWORDS="~amd64 ~arm ~x86" |
254 |
- |
255 |
-HARDWARE="ants1 ants2 avalon avalon2 avalon4 bab bitmine_A1 bflsc bitforce bitfury blockerupter cointerra drillbit hashfast hashratio icarus klondike knc minion modminer spondoolies" |
256 |
-IUSE="doc examples udev hardened ncurses ${HARDWARE}" |
257 |
- |
258 |
-REQUIRED_USE="|| ( ${HARDWARE} )" |
259 |
- |
260 |
-RDEPEND="net-misc/curl |
261 |
- >=dev-libs/jansson-2.6 |
262 |
- ncurses? ( sys-libs/ncurses ) |
263 |
- ants1? ( virtual/libusb:1[udev] ) |
264 |
- ants2? ( virtual/libusb:1[udev] ) |
265 |
- avalon? ( virtual/libusb:1[udev] ) |
266 |
- avalon2? ( virtual/libusb:1[udev] ) |
267 |
- avalon4? ( virtual/libusb:1[udev] ) |
268 |
- bflsc? ( virtual/libusb:1[udev] ) |
269 |
- bitforce? ( virtual/libusb:1[udev] ) |
270 |
- bitfury? ( virtual/libusb:1[udev] ) |
271 |
- blockerupter? ( virtual/libusb:1[udev] ) |
272 |
- cointerra? ( virtual/libusb:1[udev] ) |
273 |
- drillbit? ( virtual/libusb:1[udev] ) |
274 |
- hashfast? ( virtual/libusb:1[udev] ) |
275 |
- hashratio? ( virtual/libusb:1[udev] ) |
276 |
- icarus? ( virtual/libusb:1[udev] ) |
277 |
- klondike? ( virtual/libusb:1[udev] ) |
278 |
- modminer? ( virtual/libusb:1[udev] ) |
279 |
- spondoolies? ( virtual/libusb:1[udev] ) |
280 |
- udev? ( virtual/libudev )" |
281 |
-DEPEND="virtual/pkgconfig |
282 |
- ${RDEPEND}" |
283 |
- |
284 |
-src_prepare() { |
285 |
- epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch |
286 |
- eautoreconf |
287 |
-} |
288 |
- |
289 |
-src_configure() { |
290 |
- use hardened && append-cflags "-nopie" |
291 |
- |
292 |
- econf $(use_with ncurses curses) \ |
293 |
- $(use_enable ants1) \ |
294 |
- $(use_enable ants2) \ |
295 |
- $(use_enable avalon) \ |
296 |
- $(use_enable avalon2) \ |
297 |
- $(use_enable avalon4) \ |
298 |
- $(use_enable bab) \ |
299 |
- $(use_enable bitmine_A1) \ |
300 |
- $(use_enable bflsc) \ |
301 |
- $(use_enable bitforce) \ |
302 |
- $(use_enable bitfury) \ |
303 |
- $(use_enable blockerupter) \ |
304 |
- $(use_enable cointerra) \ |
305 |
- $(use_enable drillbit) \ |
306 |
- $(use_enable hashfast) \ |
307 |
- $(use_enable hashratio) \ |
308 |
- $(use_enable icarus) \ |
309 |
- $(use_enable klondike) \ |
310 |
- $(use_enable knc) \ |
311 |
- $(use_enable minion) \ |
312 |
- $(use_enable modminer) \ |
313 |
- $(use_enable spondoolies) \ |
314 |
- $(use_enable udev) \ |
315 |
- --disable-forcecombo \ |
316 |
- --with-system-libusb |
317 |
- # sanitize directories (is this still needed?) |
318 |
- sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h |
319 |
-} |
320 |
- |
321 |
-src_install() { # How about using some make install? |
322 |
- dobin cgminer |
323 |
- |
324 |
- if use udev; then |
325 |
- insinto /lib/udev/rules.d |
326 |
- use udev && doins 01-cgminer.rules |
327 |
- fi |
328 |
- |
329 |
- if use doc; then |
330 |
- dodoc AUTHORS NEWS README API-README |
331 |
- use icarus || use bitforce || use modminer && dodoc FPGA-README |
332 |
- use avalon || use bflsc && dodoc ASIC-README |
333 |
- fi |
334 |
- |
335 |
- if use examples; then |
336 |
- docinto examples |
337 |
- dodoc api-example.php miner.php API.java api-example.c example.conf |
338 |
- fi |
339 |
-} |
340 |
|
341 |
diff --git a/net-misc/cgminer/cgminer-4.9.1.ebuild b/net-misc/cgminer/cgminer-4.9.1.ebuild |
342 |
deleted file mode 100644 |
343 |
index 94ab3a0..00000000 |
344 |
--- a/net-misc/cgminer/cgminer-4.9.1.ebuild |
345 |
+++ /dev/null |
346 |
@@ -1,102 +0,0 @@ |
347 |
-# Copyright 1999-2015 Gentoo Foundation |
348 |
-# Distributed under the terms of the GNU General Public License v2 |
349 |
-# $Id$ |
350 |
- |
351 |
-EAPI=5 |
352 |
- |
353 |
-inherit autotools eutils flag-o-matic |
354 |
- |
355 |
-DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" |
356 |
-HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer" |
357 |
-SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2" |
358 |
-#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2" |
359 |
- |
360 |
-LICENSE="GPL-3" |
361 |
-SLOT="0" |
362 |
-KEYWORDS="~amd64 ~arm ~x86" |
363 |
- |
364 |
-HARDWARE="ants1 ants2 avalon avalon2 avalon4 bab bitmine_A1 bflsc bitforce bitfury blockerupter cointerra drillbit hashfast hashratio icarus klondike knc minion modminer spondoolies" |
365 |
-IUSE="doc examples udev hardened ncurses ${HARDWARE}" |
366 |
- |
367 |
-REQUIRED_USE="|| ( ${HARDWARE} )" |
368 |
- |
369 |
-RDEPEND="net-misc/curl |
370 |
- >=dev-libs/jansson-2.6 |
371 |
- ncurses? ( sys-libs/ncurses ) |
372 |
- ants1? ( virtual/libusb:1[udev] ) |
373 |
- ants2? ( virtual/libusb:1[udev] ) |
374 |
- avalon? ( virtual/libusb:1[udev] ) |
375 |
- avalon2? ( virtual/libusb:1[udev] ) |
376 |
- avalon4? ( virtual/libusb:1[udev] ) |
377 |
- bflsc? ( virtual/libusb:1[udev] ) |
378 |
- bitforce? ( virtual/libusb:1[udev] ) |
379 |
- bitfury? ( virtual/libusb:1[udev] ) |
380 |
- blockerupter? ( virtual/libusb:1[udev] ) |
381 |
- cointerra? ( virtual/libusb:1[udev] ) |
382 |
- drillbit? ( virtual/libusb:1[udev] ) |
383 |
- hashfast? ( virtual/libusb:1[udev] ) |
384 |
- hashratio? ( virtual/libusb:1[udev] ) |
385 |
- icarus? ( virtual/libusb:1[udev] ) |
386 |
- klondike? ( virtual/libusb:1[udev] ) |
387 |
- modminer? ( virtual/libusb:1[udev] ) |
388 |
- spondoolies? ( virtual/libusb:1[udev] ) |
389 |
- udev? ( virtual/libudev )" |
390 |
-DEPEND="virtual/pkgconfig |
391 |
- ${RDEPEND}" |
392 |
- |
393 |
-src_prepare() { |
394 |
- epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch |
395 |
- eautoreconf |
396 |
-} |
397 |
- |
398 |
-src_configure() { |
399 |
- use hardened && append-cflags "-nopie" |
400 |
- |
401 |
- econf $(use_with ncurses curses) \ |
402 |
- $(use_enable ants1) \ |
403 |
- $(use_enable ants2) \ |
404 |
- $(use_enable avalon) \ |
405 |
- $(use_enable avalon2) \ |
406 |
- $(use_enable avalon4) \ |
407 |
- $(use_enable bab) \ |
408 |
- $(use_enable bitmine_A1) \ |
409 |
- $(use_enable bflsc) \ |
410 |
- $(use_enable bitforce) \ |
411 |
- $(use_enable bitfury) \ |
412 |
- $(use_enable blockerupter) \ |
413 |
- $(use_enable cointerra) \ |
414 |
- $(use_enable drillbit) \ |
415 |
- $(use_enable hashfast) \ |
416 |
- $(use_enable hashratio) \ |
417 |
- $(use_enable icarus) \ |
418 |
- $(use_enable klondike) \ |
419 |
- $(use_enable knc) \ |
420 |
- $(use_enable minion) \ |
421 |
- $(use_enable modminer) \ |
422 |
- $(use_enable spondoolies) \ |
423 |
- $(use_enable udev) \ |
424 |
- --disable-forcecombo \ |
425 |
- --with-system-libusb |
426 |
- # sanitize directories (is this still needed?) |
427 |
- sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h |
428 |
-} |
429 |
- |
430 |
-src_install() { # How about using some make install? |
431 |
- dobin cgminer |
432 |
- |
433 |
- if use udev; then |
434 |
- insinto /lib/udev/rules.d |
435 |
- use udev && doins 01-cgminer.rules |
436 |
- fi |
437 |
- |
438 |
- if use doc; then |
439 |
- dodoc AUTHORS NEWS README API-README |
440 |
- use icarus || use bitforce || use modminer && dodoc FPGA-README |
441 |
- use avalon || use bflsc && dodoc ASIC-README |
442 |
- fi |
443 |
- |
444 |
- if use examples; then |
445 |
- docinto examples |
446 |
- dodoc api-example.php miner.php API.java api-example.c example.conf |
447 |
- fi |
448 |
-} |
449 |
|
450 |
diff --git a/net-misc/cgminer/cgminer-4.9.2.ebuild b/net-misc/cgminer/cgminer-4.9.2.ebuild |
451 |
index 541b49c..b0ea6a9 100644 |
452 |
--- a/net-misc/cgminer/cgminer-4.9.2.ebuild |
453 |
+++ b/net-misc/cgminer/cgminer-4.9.2.ebuild |
454 |
@@ -1,10 +1,10 @@ |
455 |
-# Copyright 1999-2015 Gentoo Foundation |
456 |
+# Copyright 1999-2017 Gentoo Foundation |
457 |
# Distributed under the terms of the GNU General Public License v2 |
458 |
# $Id$ |
459 |
|
460 |
-EAPI=5 |
461 |
+EAPI=6 |
462 |
|
463 |
-inherit autotools eutils flag-o-matic |
464 |
+inherit eutils flag-o-matic |
465 |
|
466 |
DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" |
467 |
HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer" |
468 |
@@ -23,7 +23,7 @@ REQUIRED_USE="|| ( ${HARDWARE} )" |
469 |
RDEPEND="net-misc/curl |
470 |
>=dev-libs/jansson-2.6 |
471 |
virtual/libusb:1[udev] |
472 |
- ncurses? ( sys-libs/ncurses ) |
473 |
+ ncurses? ( sys-libs/ncurses:0= ) |
474 |
udev? ( virtual/libudev )" |
475 |
DEPEND="virtual/pkgconfig |
476 |
${RDEPEND}" |
477 |
|
478 |
diff --git a/net-misc/cgminer/metadata.xml b/net-misc/cgminer/metadata.xml |
479 |
index f228aa2..63f0390 100644 |
480 |
--- a/net-misc/cgminer/metadata.xml |
481 |
+++ b/net-misc/cgminer/metadata.xml |
482 |
@@ -37,7 +37,6 @@ |
483 |
<flag name="knc">Enable support for mining with KnC miners</flag> |
484 |
<flag name="minion">Enable support for mining with BlackArrow Bitfury </flag> |
485 |
<flag name="modminer">Enable support for mining with ModMiner FPGAs</flag> |
486 |
- <flag name="spondoolies">Enable support for Spondoolies</flag> |
487 |
<flag name="sp10">Enable support for Spondoolies SP10</flag> |
488 |
<flag name="sp30">Enable support for Spondoolies SP30</flag> |
489 |
</use> |