1 |
blueness 12/10/29 02:32:54 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: bfgminer-2.8.3.ebuild bfgminer-2.9.0.ebuild |
5 |
Log: |
6 |
Version bumps |
7 |
|
8 |
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xD0455535) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 net-misc/bfgminer/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/metadata.xml?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/metadata.xml?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/metadata.xml?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/bfgminer/metadata.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- metadata.xml 31 Jul 2012 01:57:54 -0000 1.3 |
24 |
+++ metadata.xml 29 Oct 2012 02:32:54 -0000 1.4 |
25 |
@@ -20,6 +20,7 @@ |
26 |
<flag name='scrypt'>Enable support for scrypt mining algorithm</flag> |
27 |
<flag name='sse2_4way'>Enable support for CPU SSE2 4way mining algorithm</flag> |
28 |
<flag name='sse4'>Enable support for CPU SSE4 mining algorithm</flag> |
29 |
+ <flag name='x6500'>Enable support for CPU X6500 mining algorithm</flag> |
30 |
<flag name='ztex'>Enable support for mining with Ztex FPGAs</flag> |
31 |
</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.24 net-misc/bfgminer/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/ChangeLog?rev=1.24&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/ChangeLog?rev=1.24&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/ChangeLog?r1=1.23&r2=1.24 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v |
45 |
retrieving revision 1.23 |
46 |
retrieving revision 1.24 |
47 |
diff -u -r1.23 -r1.24 |
48 |
--- ChangeLog 16 Sep 2012 17:34:53 -0000 1.23 |
49 |
+++ ChangeLog 29 Oct 2012 02:32:54 -0000 1.24 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for net-misc/bfgminer |
52 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.23 2012/09/16 17:34:53 blueness Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.24 2012/10/29 02:32:54 blueness Exp $ |
55 |
+ |
56 |
+*bfgminer-2.8.3 (29 Oct 2012) |
57 |
+*bfgminer-2.9.0 (29 Oct 2012) |
58 |
+ |
59 |
+ 29 Oct 2012; Anthony G. Basile <blueness@g.o> +bfgminer-2.8.3.ebuild, |
60 |
+ +bfgminer-2.9.0.ebuild, metadata.xml: |
61 |
+ Version bumps |
62 |
|
63 |
*bfgminer-2.8.0 (16 Sep 2012) |
64 |
|
65 |
@@ -116,4 +123,3 @@ |
66 |
27 Apr 2012; Anthony G. Basile <blueness@g.o> +bfgminer-2.3.4.ebuild, |
67 |
+files/Bugfix-Fix-building-without-OpenCL-support.patch, +metadata.xml: |
68 |
Initial commit from luke-jr's bitcoin overlay. Thanks! |
69 |
- |
70 |
|
71 |
|
72 |
|
73 |
1.1 net-misc/bfgminer/bfgminer-2.8.3.ebuild |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-2.8.3.ebuild?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-2.8.3.ebuild?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: bfgminer-2.8.3.ebuild |
79 |
=================================================================== |
80 |
# Copyright 1999-2012 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.8.3.ebuild,v 1.1 2012/10/29 02:32:54 blueness Exp $ |
83 |
|
84 |
EAPI="4" |
85 |
|
86 |
inherit eutils |
87 |
|
88 |
DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C" |
89 |
HOMEPAGE="https://bitcointalk.org/index.php?topic=78192.0" |
90 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
91 |
|
92 |
LICENSE="GPL-3" |
93 |
SLOT="0" |
94 |
KEYWORDS="~amd64 ~x86" |
95 |
|
96 |
IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev ztex" |
97 |
REQUIRED_USE=" |
98 |
|| ( bitforce cpumining icarus modminer opencl ztex ) |
99 |
adl? ( opencl ) |
100 |
altivec? ( cpumining ppc ppc64 ) |
101 |
padlock? ( cpumining || ( amd64 x86 ) ) |
102 |
scrypt? ( || ( cpumining opencl ) ) |
103 |
sse2? ( cpumining || ( amd64 x86 ) ) |
104 |
sse4? ( cpumining amd64 ) |
105 |
" |
106 |
|
107 |
DEPEND=" |
108 |
net-misc/curl |
109 |
ncurses? ( |
110 |
sys-libs/ncurses |
111 |
) |
112 |
>=dev-libs/jansson-2 |
113 |
udev? ( |
114 |
sys-fs/udev |
115 |
) |
116 |
ztex? ( |
117 |
virtual/libusb:1 |
118 |
) |
119 |
" |
120 |
RDEPEND="${DEPEND} |
121 |
opencl? ( |
122 |
virtual/opencl |
123 |
) |
124 |
" |
125 |
DEPEND="${DEPEND} |
126 |
virtual/pkgconfig |
127 |
sys-apps/sed |
128 |
sse2? ( |
129 |
>=dev-lang/yasm-1.0.1 |
130 |
) |
131 |
sse4? ( |
132 |
>=dev-lang/yasm-1.0.1 |
133 |
) |
134 |
" |
135 |
|
136 |
src_prepare() { |
137 |
sed -i 's/\(^\#define WANT_.*\(SSE\|PADLOCK\|ALTIVEC\)\)/\/\/ \1/' miner.h |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
local CFLAGS="${CFLAGS}" |
142 |
if ! use altivec; then |
143 |
sed -i 's/-faltivec//g' configure |
144 |
else |
145 |
CFLAGS="${CFLAGS} -DWANT_ALTIVEC=1" |
146 |
fi |
147 |
use padlock && CFLAGS="${CFLAGS} -DWANT_VIA_PADLOCK=1" |
148 |
if use sse2; then |
149 |
if use amd64; then |
150 |
CFLAGS="${CFLAGS} -DWANT_X8664_SSE2=1" |
151 |
else |
152 |
CFLAGS="${CFLAGS} -DWANT_X8632_SSE2=1" |
153 |
fi |
154 |
fi |
155 |
use sse2_4way && CFLAGS="${CFLAGS} -DWANT_SSE2_4WAY=1" |
156 |
use sse4 && CFLAGS="${CFLAGS} -DWANT_X8664_SSE4=1" |
157 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
158 |
|
159 |
CFLAGS="${CFLAGS}" \ |
160 |
econf \ |
161 |
$(use_enable adl) \ |
162 |
$(use_enable bitforce) \ |
163 |
$(use_enable cpumining) \ |
164 |
$(use_enable icarus) \ |
165 |
$(use_enable modminer) \ |
166 |
$(use_with ncurses curses) \ |
167 |
$(use_enable opencl) \ |
168 |
$(use_enable scrypt) \ |
169 |
$(use_with udev libudev) \ |
170 |
$(use_enable ztex) |
171 |
# sanitize directories |
172 |
sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h |
173 |
} |
174 |
|
175 |
src_install() { |
176 |
dobin bfgminer |
177 |
dodoc AUTHORS NEWS README API-README |
178 |
if use scrypt; then |
179 |
dodoc SCRYPT-README |
180 |
fi |
181 |
if use icarus || use bitforce; then |
182 |
dodoc FPGA-README |
183 |
fi |
184 |
if use bitforce; then |
185 |
dobin bitforce-firmware-flash |
186 |
fi |
187 |
if use modminer; then |
188 |
insinto /usr/lib/bfgminer/modminer |
189 |
doins bitstreams/fpgaminer*.bit |
190 |
dodoc bitstreams/COPYING_fpgaminer |
191 |
fi |
192 |
if use opencl; then |
193 |
insinto /usr/lib/bfgminer |
194 |
doins *.cl |
195 |
fi |
196 |
if use ztex; then |
197 |
insinto /usr/lib/bfgminer/ztex |
198 |
doins bitstreams/ztex*.bit |
199 |
dodoc bitstreams/COPYING_ztex |
200 |
fi |
201 |
if use examples; then |
202 |
docinto examples |
203 |
dodoc api-example.php miner.php API.java api-example.c |
204 |
fi |
205 |
cd libblkmaker |
206 |
emake DESTDIR="$D" install |
207 |
} |
208 |
|
209 |
|
210 |
|
211 |
1.1 net-misc/bfgminer/bfgminer-2.9.0.ebuild |
212 |
|
213 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-2.9.0.ebuild?rev=1.1&view=markup |
214 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-2.9.0.ebuild?rev=1.1&content-type=text/plain |
215 |
|
216 |
Index: bfgminer-2.9.0.ebuild |
217 |
=================================================================== |
218 |
# Copyright 1999-2012 Gentoo Foundation |
219 |
# Distributed under the terms of the GNU General Public License v2 |
220 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.9.0.ebuild,v 1.1 2012/10/29 02:32:54 blueness Exp $ |
221 |
|
222 |
EAPI="4" |
223 |
|
224 |
inherit eutils |
225 |
|
226 |
DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C" |
227 |
HOMEPAGE="https://bitcointalk.org/index.php?topic=78192.0" |
228 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
229 |
|
230 |
LICENSE="GPL-3" |
231 |
SLOT="0" |
232 |
KEYWORDS="~amd64 ~x86" |
233 |
|
234 |
IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev x6500 ztex" |
235 |
REQUIRED_USE=" |
236 |
|| ( bitforce cpumining icarus modminer opencl x6500 ztex ) |
237 |
adl? ( opencl ) |
238 |
altivec? ( cpumining ppc ppc64 ) |
239 |
padlock? ( cpumining || ( amd64 x86 ) ) |
240 |
scrypt? ( || ( cpumining opencl ) ) |
241 |
sse2? ( cpumining || ( amd64 x86 ) ) |
242 |
sse4? ( cpumining amd64 ) |
243 |
" |
244 |
|
245 |
DEPEND=" |
246 |
net-misc/curl |
247 |
ncurses? ( |
248 |
sys-libs/ncurses |
249 |
) |
250 |
>=dev-libs/jansson-2 |
251 |
udev? ( |
252 |
sys-fs/udev |
253 |
) |
254 |
x6500? ( |
255 |
virtual/libusb:1 |
256 |
) |
257 |
ztex? ( |
258 |
virtual/libusb:1 |
259 |
) |
260 |
" |
261 |
RDEPEND="${DEPEND} |
262 |
opencl? ( |
263 |
virtual/opencl |
264 |
) |
265 |
" |
266 |
DEPEND="${DEPEND} |
267 |
virtual/pkgconfig |
268 |
sys-apps/sed |
269 |
sse2? ( |
270 |
>=dev-lang/yasm-1.0.1 |
271 |
) |
272 |
sse4? ( |
273 |
>=dev-lang/yasm-1.0.1 |
274 |
) |
275 |
" |
276 |
|
277 |
src_prepare() { |
278 |
sed -i 's/\(^\#define WANT_.*\(SSE\|PADLOCK\|ALTIVEC\)\)/\/\/ \1/' miner.h |
279 |
} |
280 |
|
281 |
src_configure() { |
282 |
local CFLAGS="${CFLAGS}" |
283 |
if ! use altivec; then |
284 |
sed -i 's/-faltivec//g' configure |
285 |
else |
286 |
CFLAGS="${CFLAGS} -DWANT_ALTIVEC=1" |
287 |
fi |
288 |
use padlock && CFLAGS="${CFLAGS} -DWANT_VIA_PADLOCK=1" |
289 |
if use sse2; then |
290 |
if use amd64; then |
291 |
CFLAGS="${CFLAGS} -DWANT_X8664_SSE2=1" |
292 |
else |
293 |
CFLAGS="${CFLAGS} -DWANT_X8632_SSE2=1" |
294 |
fi |
295 |
fi |
296 |
use sse2_4way && CFLAGS="${CFLAGS} -DWANT_SSE2_4WAY=1" |
297 |
use sse4 && CFLAGS="${CFLAGS} -DWANT_X8664_SSE4=1" |
298 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
299 |
|
300 |
CFLAGS="${CFLAGS}" \ |
301 |
econf \ |
302 |
$(use_enable adl) \ |
303 |
$(use_enable bitforce) \ |
304 |
$(use_enable cpumining) \ |
305 |
$(use_enable icarus) \ |
306 |
$(use_enable modminer) \ |
307 |
$(use_with ncurses curses) \ |
308 |
$(use_enable opencl) \ |
309 |
$(use_enable scrypt) \ |
310 |
$(use_with udev libudev) \ |
311 |
$(use_enable x6500) \ |
312 |
$(use_enable ztex) |
313 |
# sanitize directories |
314 |
sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h |
315 |
} |
316 |
|
317 |
src_install() { |
318 |
dobin bfgminer |
319 |
dodoc AUTHORS NEWS README API-README |
320 |
if use scrypt; then |
321 |
dodoc SCRYPT-README |
322 |
fi |
323 |
if use icarus || use bitforce; then |
324 |
dodoc FPGA-README |
325 |
fi |
326 |
if use bitforce; then |
327 |
dobin bitforce-firmware-flash |
328 |
fi |
329 |
if use modminer || use x6500; then |
330 |
insinto /usr/lib/bfgminer/bitstreams |
331 |
doins bitstreams/fpgaminer*.bit |
332 |
dodoc bitstreams/COPYING_fpgaminer |
333 |
fi |
334 |
if use opencl; then |
335 |
insinto /usr/lib/bfgminer |
336 |
doins *.cl |
337 |
fi |
338 |
if use ztex; then |
339 |
insinto /usr/lib/bfgminer/ztex |
340 |
doins bitstreams/ztex*.bit |
341 |
dodoc bitstreams/COPYING_ztex |
342 |
fi |
343 |
if use examples; then |
344 |
docinto examples |
345 |
dodoc api-example.php miner.php API.java api-example.c |
346 |
fi |
347 |
cd libblkmaker |
348 |
emake DESTDIR="$D" install |
349 |
} |