Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/bfgminer: metadata.xml bfgminer-4.5.0.ebuild bfgminer-3.10.6.ebuild ChangeLog
Date: Sun, 27 Jul 2014 12:13:04
Message-Id: 20140727121259.46B112004E@flycatcher.gentoo.org
1 blueness 14/07/27 12:12:59
2
3 Modified: metadata.xml ChangeLog
4 Added: bfgminer-4.5.0.ebuild bfgminer-3.10.6.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.21 net-misc/bfgminer/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/metadata.xml?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/metadata.xml?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/metadata.xml?r1=1.20&r2=1.21
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/bfgminer/metadata.xml,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- metadata.xml 22 Jul 2014 15:28:06 -0000 1.20
24 +++ metadata.xml 27 Jul 2014 12:12:59 -0000 1.21
25 @@ -45,6 +45,7 @@
26 <flag name='sse2_4way'>Enable support for CPU SSE2 4way mining algorithm</flag>
27 <flag name='sse4'>Enable support for CPU SSE4 mining algorithm</flag>
28 <flag name='twinfury'>Enable support for mining with Twinfury USB sticks</flag>
29 + <flag name='udev-broad-rules'>Enable broader udev rules that may match non-mining devices</flag>
30 <flag name='x6500'>Enable support for mining with X6500 FPGAs</flag>
31 <flag name='zeusminer'>Enable support for mining with ZeusMiner units</flag>
32 <flag name='ztex'>Enable support for mining with Ztex FPGAs</flag>
33
34
35
36 1.67 net-misc/bfgminer/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/ChangeLog?rev=1.67&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/ChangeLog?rev=1.67&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/ChangeLog?r1=1.66&r2=1.67
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v
45 retrieving revision 1.66
46 retrieving revision 1.67
47 diff -u -r1.66 -r1.67
48 --- ChangeLog 23 Jul 2014 16:54:24 -0000 1.66
49 +++ ChangeLog 27 Jul 2014 12:12:59 -0000 1.67
50 @@ -1,6 +1,13 @@
51 # ChangeLog for net-misc/bfgminer
52 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.66 2014/07/23 16:54:24 nimiux Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.67 2014/07/27 12:12:59 blueness Exp $
55 +
56 +*bfgminer-3.10.6 (27 Jul 2014)
57 +*bfgminer-4.5.0 (27 Jul 2014)
58 +
59 + 27 Jul 2014; Anthony G. Basile <blueness@g.o> +bfgminer-3.10.6.ebuild,
60 + +bfgminer-4.5.0.ebuild, metadata.xml:
61 + Version bump
62
63 23 Jul 2014; Chema Alonso <nimiux@g.o> bfgminer-3.10.5.ebuild:
64 Stable for amd64 wrt bug #516646
65
66
67
68 1.1 net-misc/bfgminer/bfgminer-4.5.0.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-4.5.0.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-4.5.0.ebuild?rev=1.1&content-type=text/plain
72
73 Index: bfgminer-4.5.0.ebuild
74 ===================================================================
75 # Copyright 1999-2014 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-4.5.0.ebuild,v 1.1 2014/07/27 12:12:59 blueness Exp $
78
79 EAPI=5
80
81 inherit eutils
82
83 DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
84 HOMEPAGE="https://bitcointalk.org/?topic=168174"
85 SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.txz -> ${P}.tar.xz"
86
87 LICENSE="GPL-3"
88 SLOT="0"
89 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
90
91 # TODO: knc (needs i2c-tools header)
92 IUSE="adl antminer avalon bfx bifury bitforce bfsb bigpic bitfury cpumining drillbit dualminer examples gridseed hardened hashbuster hashbuster2 hashfast icarus jingtian klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses opencl proxy proxy_getwork proxy_stratum rockminer screen scrypt twinfury +udev udev-broad-rules unicode x6500 zeusminer ztex"
93 REQUIRED_USE='
94 || ( antminer avalon bfsb bfx bifury bigpic bitforce bitfury cpumining drillbit dualminer gridseed hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 ztex )
95 adl? ( opencl )
96 bfsb? ( bitfury )
97 bfx? ( bitfury libusb )
98 bigpic? ( bitfury )
99 drillbit? ( bitfury )
100 dualminer? ( icarus )
101 gridseed? ( scrypt )
102 hashbuster? ( bitfury )
103 hashbuster2? ( bitfury libusb )
104 klondike? ( libusb )
105 littlefury? ( bitfury )
106 lm_sensors? ( opencl )
107 metabank? ( bitfury )
108 nanofury? ( bitfury )
109 scrypt? ( || ( cpumining dualminer gridseed opencl zeusminer ) )
110 twinfury? ( bitfury )
111 unicode? ( ncurses )
112 proxy? ( || ( proxy_getwork proxy_stratum ) )
113 proxy_getwork? ( proxy )
114 proxy_stratum? ( proxy )
115 x6500? ( libusb )
116 zeusminer? ( scrypt )
117 ztex? ( libusb )
118 '
119
120 DEPEND='
121 net-misc/curl
122 ncurses? (
123 sys-libs/ncurses[unicode?]
124 )
125 >=dev-libs/jansson-2
126 net-libs/libblkmaker
127 udev? (
128 virtual/udev
129 )
130 hashbuster? (
131 dev-libs/hidapi
132 )
133 libusb? (
134 virtual/libusb:1
135 )
136 lm_sensors? (
137 sys-apps/lm_sensors
138 )
139 nanofury? (
140 dev-libs/hidapi
141 )
142 proxy_getwork? (
143 net-libs/libmicrohttpd
144 )
145 proxy_stratum? (
146 dev-libs/libevent
147 )
148 screen? (
149 app-misc/screen
150 || (
151 >=sys-apps/coreutils-8.15
152 sys-freebsd/freebsd-bin
153 app-misc/realpath
154 )
155 )
156 '
157 RDEPEND="${DEPEND}
158 opencl? (
159 || (
160 virtual/opencl
161 virtual/opencl-sdk
162 dev-util/ati-stream-sdk
163 dev-util/ati-stream-sdk-bin
164 dev-util/amdstream
165 dev-util/amd-app-sdk
166 dev-util/amd-app-sdk-bin
167 dev-util/nvidia-cuda-sdk[opencl]
168 dev-util/intel-opencl-sdk
169 )
170 )
171 "
172 DEPEND="${DEPEND}
173 virtual/pkgconfig
174 >=dev-libs/uthash-1.9.7
175 sys-apps/sed
176 cpumining? (
177 amd64? (
178 >=dev-lang/yasm-1.0.1
179 )
180 x86? (
181 >=dev-lang/yasm-1.0.1
182 )
183 )
184 "
185
186 src_configure() {
187 local CFLAGS="${CFLAGS}"
188 local with_curses
189 use hardened && CFLAGS="${CFLAGS} -nopie"
190
191 if use ncurses; then
192 if use unicode; then
193 with_curses='--with-curses=ncursesw'
194 else
195 with_curses='--with-curses=ncurses'
196 fi
197 else
198 with_curses='--without-curses'
199 fi
200
201 CFLAGS="${CFLAGS}" \
202 econf \
203 --docdir="/usr/share/doc/${PF}" \
204 $(use_enable adl) \
205 $(use_enable antminer) \
206 $(use_enable avalon) \
207 $(use_enable bifury) \
208 $(use_enable bitforce) \
209 $(use_enable bfsb) \
210 $(use_enable bfx) \
211 $(use_enable bigpic) \
212 $(use_enable bitfury) \
213 $(use_enable cpumining) \
214 $(use_enable drillbit) \
215 $(use_enable dualminer) \
216 $(use_enable gridseed) \
217 $(use_enable hashbuster) \
218 $(use_enable hashbuster2 hashbusterusb) \
219 $(use_enable hashfast) \
220 $(use_enable icarus) \
221 $(use_enable jingtian) \
222 $(use_enable klondike) \
223 $(use_enable littlefury) \
224 $(use_enable metabank) \
225 $(use_enable modminer) \
226 $(use_enable nanofury) \
227 $(use_enable opencl) \
228 $(use_enable rockminer) \
229 $(use_enable scrypt) \
230 $(use_enable twinfury) \
231 --with-system-libblkmaker \
232 $with_curses \
233 $(use_with udev libudev) \
234 $(use_enable udev-broad-rules broad-udevrules) \
235 $(use_with lm_sensors sensors) \
236 $(use_with proxy_getwork libmicrohttpd) \
237 $(use_with proxy_stratum libevent) \
238 $(use_enable x6500) \
239 $(use_enable zeusminer) \
240 $(use_enable ztex)
241 }
242
243 src_install() {
244 emake install DESTDIR="$D"
245 if ! use examples; then
246 rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
247 fi
248 if ! use screen; then
249 rm "${D}/usr/bin/start-bfgminer.sh"
250 fi
251 }
252
253
254
255 1.1 net-misc/bfgminer/bfgminer-3.10.6.ebuild
256
257 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.10.6.ebuild?rev=1.1&view=markup
258 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.10.6.ebuild?rev=1.1&content-type=text/plain
259
260 Index: bfgminer-3.10.6.ebuild
261 ===================================================================
262 # Copyright 1999-2014 Gentoo Foundation
263 # Distributed under the terms of the GNU General Public License v2
264 # $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.10.6.ebuild,v 1.1 2014/07/27 12:12:59 blueness Exp $
265
266 EAPI=5
267
268 inherit eutils
269
270 DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
271 HOMEPAGE="https://bitcointalk.org/?topic=168174"
272 SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
273
274 LICENSE="GPL-3"
275 SLOT="0"
276 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
277
278 # TODO: knc (needs i2c-tools header)
279 IUSE="+adl antminer avalon bifury bitforce bfsb bigpic bitfury cpumining drillbit examples hardened hashbuster hashbuster2 hashfast icarus klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum screen scrypt twinfury +udev unicode x6500 ztex"
280 REQUIRED_USE='
281 || ( antminer avalon bfsb bifury bigpic bitforce bitfury cpumining drillbit hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 ztex )
282 adl? ( opencl )
283 bfsb? ( bitfury )
284 bigpic? ( bitfury )
285 drillbit? ( bitfury )
286 hashbuster? ( bitfury )
287 hashbuster2? ( bitfury libusb )
288 klondike? ( libusb )
289 littlefury? ( bitfury )
290 lm_sensors? ( opencl )
291 metabank? ( bitfury )
292 nanofury? ( bitfury )
293 scrypt? ( || ( cpumining opencl ) )
294 twinfury? ( bitfury )
295 unicode? ( ncurses )
296 proxy? ( || ( proxy_getwork proxy_stratum ) )
297 proxy_getwork? ( proxy )
298 proxy_stratum? ( proxy )
299 x6500? ( libusb )
300 ztex? ( libusb )
301 '
302
303 DEPEND='
304 net-misc/curl
305 ncurses? (
306 sys-libs/ncurses[unicode?]
307 )
308 >=dev-libs/jansson-2
309 net-libs/libblkmaker
310 udev? (
311 virtual/udev
312 )
313 hashbuster? (
314 dev-libs/hidapi
315 )
316 libusb? (
317 virtual/libusb:1
318 )
319 lm_sensors? (
320 sys-apps/lm_sensors
321 )
322 nanofury? (
323 dev-libs/hidapi
324 )
325 proxy_getwork? (
326 net-libs/libmicrohttpd
327 )
328 proxy_stratum? (
329 dev-libs/libevent
330 )
331 screen? (
332 app-misc/screen
333 || (
334 >=sys-apps/coreutils-8.15
335 sys-freebsd/freebsd-bin
336 app-misc/realpath
337 )
338 )
339 '
340 RDEPEND="${DEPEND}
341 opencl? (
342 || (
343 virtual/opencl
344 virtual/opencl-sdk
345 dev-util/ati-stream-sdk
346 dev-util/ati-stream-sdk-bin
347 dev-util/amdstream
348 dev-util/amd-app-sdk
349 dev-util/amd-app-sdk-bin
350 dev-util/nvidia-cuda-sdk[opencl]
351 dev-util/intel-opencl-sdk
352 )
353 )
354 "
355 DEPEND="${DEPEND}
356 virtual/pkgconfig
357 >=dev-libs/uthash-1.9.7
358 sys-apps/sed
359 cpumining? (
360 amd64? (
361 >=dev-lang/yasm-1.0.1
362 )
363 x86? (
364 >=dev-lang/yasm-1.0.1
365 )
366 )
367 "
368
369 src_configure() {
370 local CFLAGS="${CFLAGS}"
371 local with_curses
372 use hardened && CFLAGS="${CFLAGS} -nopie"
373
374 if use ncurses; then
375 if use unicode; then
376 with_curses='--with-curses=ncursesw'
377 else
378 with_curses='--with-curses=ncurses'
379 fi
380 else
381 with_curses='--without-curses'
382 fi
383
384 CFLAGS="${CFLAGS}" \
385 econf \
386 --docdir="/usr/share/doc/${PF}" \
387 $(use_enable adl) \
388 $(use_enable antminer) \
389 $(use_enable avalon) \
390 $(use_enable bifury) \
391 $(use_enable bitforce) \
392 $(use_enable bfsb) \
393 $(use_enable bigpic) \
394 $(use_enable bitfury) \
395 $(use_enable cpumining) \
396 $(use_enable drillbit) \
397 $(use_enable hashbuster) \
398 $(use_enable hashbuster2 hashbusterusb) \
399 $(use_enable hashfast) \
400 $(use_enable icarus) \
401 $(use_enable klondike) \
402 $(use_enable littlefury) \
403 $(use_enable metabank) \
404 $(use_enable modminer) \
405 $(use_enable nanofury) \
406 $(use_enable opencl) \
407 $(use_enable scrypt) \
408 $(use_enable twinfury) \
409 --with-system-libblkmaker \
410 $with_curses \
411 $(use_with udev libudev) \
412 $(use_with lm_sensors sensors) \
413 $(use_with proxy_getwork libmicrohttpd) \
414 $(use_with proxy_stratum libevent) \
415 $(use_enable x6500) \
416 $(use_enable ztex)
417 }
418
419 src_install() {
420 emake install DESTDIR="$D"
421 if ! use examples; then
422 rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
423 fi
424 if ! use screen; then
425 rm "${D}/usr/bin/start-bfgminer.sh"
426 fi
427 }