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