summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-04-27 10:16:47 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-04-27 10:16:47 +0000
commit88cfec3b47150f54e7db9d0c40e5e027864fabef (patch)
treed67c4d8340b34495ad432b3fb97d1fff36dd3718 /net-misc/cgminer
parentAdd missing dep on app-arch/unzip (diff)
downloadhistorical-88cfec3b47150f54e7db9d0c40e5e027864fabef.tar.gz
historical-88cfec3b47150f54e7db9d0c40e5e027864fabef.tar.bz2
historical-88cfec3b47150f54e7db9d0c40e5e027864fabef.zip
Version bump, remove older unstable
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'net-misc/cgminer')
-rw-r--r--net-misc/cgminer/ChangeLog7
-rw-r--r--net-misc/cgminer/Manifest20
-rw-r--r--net-misc/cgminer/cgminer-2.3.0.ebuild96
-rw-r--r--net-misc/cgminer/cgminer-2.3.1.2.ebuild101
-rw-r--r--net-misc/cgminer/cgminer-2.3.3.ebuild104
-rw-r--r--net-misc/cgminer/cgminer-2.3.4.ebuild (renamed from net-misc/cgminer/cgminer-2.3.2.ebuild)29
-rw-r--r--net-misc/cgminer/metadata.xml1
7 files changed, 37 insertions, 321 deletions
diff --git a/net-misc/cgminer/ChangeLog b/net-misc/cgminer/ChangeLog
index f95d96952329..cf4dc0ed55c5 100644
--- a/net-misc/cgminer/ChangeLog
+++ b/net-misc/cgminer/ChangeLog
@@ -1,5 +1,12 @@
+*cgminer-2.3.4 (27 Apr 2012)
+
+ 27 Apr 2012; Anthony G. Basile <blueness@gentoo.org> -cgminer-2.3.0.ebuild,
+ -cgminer-2.3.1.2.ebuild, -cgminer-2.3.2.ebuild, -cgminer-2.3.3.ebuild,
+ +cgminer-2.3.4.ebuild, metadata.xml:
+ Version bump, remove older unstable
+
*cgminer-2.3.3 (15 Apr 2012)
15 Apr 2012; Anthony G. Basile <blueness@gentoo.org> +cgminer-2.3.3.ebuild:
diff --git a/net-misc/cgminer/Manifest b/net-misc/cgminer/Manifest
index 3ceeaeef957b..9611e3f8c6af 100644
--- a/net-misc/cgminer/Manifest
+++ b/net-misc/cgminer/Manifest
@@ -1,20 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST cgminer-2.3.0-1.tar.bz2 403347 RMD160 ead1c245efca9f6bb149a30ab1134bb174a5e8cd SHA1 6e0700619bcf559a6895db7a6a30b20f70c18c54 SHA256 4412eeb90e265331884363656ebc4c5272f16552284cc509e59f0b67867c7f8c
-DIST cgminer-2.3.1-2.tar.bz2 405682 RMD160 29bf3d8f3b5174787ce0959effd20c2b9345eb86 SHA1 abf633af4e49a6ca1885b52ed63f83940b6d10cd SHA256 6eb7436552731ae09712dfae7119d7d9ed741a733f0f7e85cd3f69356f721c6c
-DIST cgminer-2.3.2.tar.bz2 415745 RMD160 77f96ba660e5594b1284226d1aac5a75c90c1009 SHA1 25b937ece784ce2e8a17ff59b916e0c6dbfd8acf SHA256 7debbfbf863821cd357b2fbc689291d44c80a3c685d66a30ee7da702d5f14a40
-DIST cgminer-2.3.3.tar.bz2 418115 RMD160 b3d91e4f2b5859027dabab9111b8ec9e49aed726 SHA1 c7ef15ae73c7110fd70d5eea7fe73de3c209d888 SHA256 a5c7378b30dba77e46f602ce7e41e769df54290c2b50ab4f21bf44a59d2a58c5
-EBUILD cgminer-2.3.0.ebuild 2196 RMD160 48ccbd739f5b85e77d463a0d0c44ffd2d1490d82 SHA1 b0ee079b32b053ccd1f8504972bc17150eaa1c2b SHA256 be7cf2a293c45d83f006530cc98aa8075c7d5646d3d8179561d2d3e9d95ec94e
-EBUILD cgminer-2.3.1.2.ebuild 2299 RMD160 3d8f5833efe21e21abddbd73225f2643537dc646 SHA1 50d09da7dc5694045788226cb4a67204432dedc7 SHA256 9f600fd5bfcfb7028fbf95f69139259850db913146eb08d5cf2fdcb1d662eb7b
-EBUILD cgminer-2.3.2.ebuild 2352 RMD160 1bee9eba369bd6091bb1aa9b50a9fbfa58fb3045 SHA1 e08734e83e203147a3afc4f014416550b77d987c SHA256 166cc143393c9603f7e7b17a57c0cd328e8a01cb991bcfc1c4f66d640b8caef0
-EBUILD cgminer-2.3.3.ebuild 2352 RMD160 a7e3ea0d492b44d35a14a03953e1a08ae31bc46f SHA1 b3dd45bcab45a19dfa301897841730813707aa5b SHA256 a5b521ea9c6135a456c3718014e5d08ce59d3e324b7f0ea4eb5520de752426f0
-MISC ChangeLog 830 RMD160 1591072a654808ce00ab12af7735fd0ef6070e0c SHA1 214409de5c3b58adedf830d0690139c2ae04f7cf SHA256 0e37abc3b917e8f0807af4426ec578ed4566861f414dfeb9abb4d150785d4112
-MISC metadata.xml 1029 RMD160 59e992e1f5cc5eb9afcf6b18fc9c23efdcd5e625 SHA1 7e783b5b6c964239a558eae377ba2c73ccfd52ef SHA256 6400d826664d4943b0cca62516b7a30855c52e528caa0e104e0b8c7787adf0f6
+DIST cgminer-2.3.4.tar.bz2 2702979 RMD160 d399e63f9c50d3807939a3aeee1efe20a25b0239 SHA1 2eea780d34703a0a20ee00991ed378af993329f7 SHA256 5d5ed714144421a543ca31b349c98e3a1e789c6ab3e490557cb870badfb58a3e
+EBUILD cgminer-2.3.4.ebuild 2666 RMD160 af8004d9d4923f59220a261996a00b9ea6b13c34 SHA1 c3d1cba66e966ea35bcdc94b4c2b8e781f9f5c59 SHA256 9f8b6a3b4a7a38da5e5cd5484bbd3f082a768e01922dd1a69a322c0d75234c0b
+MISC ChangeLog 1089 RMD160 d7f9783c060be519d21abc32669fa4005eb74091 SHA1 7960320f7f40a1fe1e0c3aedc650ba27cbc81326 SHA256 2284b55a9c07642d0d5568368e6edfa4048fa1bcb9779087d3b63a6d7273d4b0
+MISC metadata.xml 1098 RMD160 864abfef4005518c2df14acb829db75a38ac3500 SHA1 59ed15a1fbc68fd0bfcaaa4b03bf856d3dc03fff SHA256 ed814f6cd717e693851941385a0349617a99733f948c3a412a9699d01f283dc5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEAREIAAYFAk+K9YgACgkQl5yvQNBFVTV0+gCeNak6+CN5CSg0LxPB6OPFc2TZ
-McAAn3mrl/CMiAgDYgzDhV+d+Ytkxe9q
-=Up81
+iEYEAREIAAYFAk+achkACgkQl5yvQNBFVTW9+ACePPK08nhOjdS5sSDeXSIzPahe
+CF8AnRDvZT2JYgypP5Wlb7J2WkoJPNTY
+=IvVU
-----END PGP SIGNATURE-----
diff --git a/net-misc/cgminer/cgminer-2.3.0.ebuild b/net-misc/cgminer/cgminer-2.3.0.ebuild
deleted file mode 100644
index 1e5db336a19d..000000000000
--- a/net-misc/cgminer/cgminer-2.3.0.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.3.0.ebuild,v 1.3 2012/02/24 22:00:33 blueness Exp $
-
-EAPI="4"
-
-DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C"
-HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0"
-SRC_URI="http://ck.kolivas.org/apps/${PN}/${P}-1.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
-IUSE="+adl altivec bitforce +cpumining examples hardened icarus +opencl padlock sse2 sse2_4way sse4"
-REQUIRED_USE="
- || ( bitforce cpumining icarus opencl )
- adl? ( opencl )
- altivec? ( cpumining ppc ppc64 )
- padlock? ( cpumining || ( amd64 x86 ) )
- sse2? ( cpumining || ( amd64 x86 ) )
- sse4? ( cpumining amd64 )
-"
-
-DEPEND="
- net-misc/curl
- sys-libs/ncurses
- dev-libs/jansson
- opencl? (
- virtual/opencl
- )
-"
-RDEPEND="${DEPEND}"
-DEPEND="${DEPEND}
- dev-util/pkgconfig
- sys-apps/sed
- adl? (
- x11-libs/amd-adl-sdk
- )
- sse2? (
- >=dev-lang/yasm-1.0.1
- )
- sse4? (
- >=dev-lang/yasm-1.0.1
- )
-"
-
-src_prepare() {
- sed -i 's/\(^\#define WANT_.*\(SSE\|PADLOCK\|ALTIVEC\)\)/\/\/ \1/' miner.h
- ln -s /usr/include/ADL/* ADL_SDK/
-}
-
-src_configure() {
- local CFLAGS="${CFLAGS}"
- if ! use altivec; then
- sed -i 's/-faltivec//g' configure
- else
- CFLAGS="${CFLAGS} -DWANT_ALTIVEC=1"
- fi
- use padlock && CFLAGS="${CFLAGS} -DWANT_VIA_PADLOCK=1"
- if use sse2; then
- if use amd64; then
- CFLAGS="${CFLAGS} -DWANT_X8664_SSE2=1"
- else
- CFLAGS="${CFLAGS} -DWANT_X8632_SSE2=1"
- fi
- fi
- use sse2_4way && CFLAGS="${CFLAGS} -DWANT_SSE2_4WAY=1"
- use sse4 && CFLAGS="${CFLAGS} -DWANT_X8664_SSE4=1"
- use hardened && CFLAGS="${CFLAGS} -nopie"
-
- CFLAGS="${CFLAGS}" \
- econf \
- $(use_enable adl) \
- $(use_enable bitforce) \
- $(use_enable cpumining) \
- $(use_enable icarus) \
- $(use_enable opencl)
- if use opencl; then
- # sanitize directories
- sed -i 's/^(\#define CGMINER_PREFIX ).*$/\1"'"${EPREFIX}/usr/share/cgminer"'"/' config.h
- fi
-}
-
-src_install() {
- dobin cgminer
- dodoc AUTHORS NEWS README
- if use opencl; then
- insinto /usr/share/cgminer
- doins *.cl
- fi
- if use examples; then
- docinto examples
- dodoc api-example.php miner.php API.java api-example.c
- fi
-}
diff --git a/net-misc/cgminer/cgminer-2.3.1.2.ebuild b/net-misc/cgminer/cgminer-2.3.1.2.ebuild
deleted file mode 100644
index 4f39d0bf71e4..000000000000
--- a/net-misc/cgminer/cgminer-2.3.1.2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.3.1.2.ebuild,v 1.1 2012/02/24 22:00:33 blueness Exp $
-
-EAPI="4"
-
-inherit versionator
-
-MY_PV="$(replace_version_separator 3 -)"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C"
-HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0"
-SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-${MY_PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
-IUSE="+adl altivec bitforce +cpumining examples hardened icarus +opencl padlock sse2 sse2_4way sse4"
-REQUIRED_USE="
- || ( bitforce cpumining icarus opencl )
- adl? ( opencl )
- altivec? ( cpumining ppc ppc64 )
- padlock? ( cpumining || ( amd64 x86 ) )
- sse2? ( cpumining || ( amd64 x86 ) )
- sse4? ( cpumining amd64 )
-"
-
-DEPEND="
- net-misc/curl
- sys-libs/ncurses
- dev-libs/jansson
- opencl? (
- virtual/opencl
- )
-"
-RDEPEND="${DEPEND}"
-DEPEND="${DEPEND}
- dev-util/pkgconfig
- sys-apps/sed
- adl? (
- x11-libs/amd-adl-sdk
- )
- sse2? (
- >=dev-lang/yasm-1.0.1
- )
- sse4? (
- >=dev-lang/yasm-1.0.1
- )
-"
-
-src_prepare() {
- sed -i 's/\(^\#define WANT_.*\(SSE\|PADLOCK\|ALTIVEC\)\)/\/\/ \1/' miner.h
- ln -s /usr/include/ADL/* ADL_SDK/
-}
-
-src_configure() {
- local CFLAGS="${CFLAGS}"
- if ! use altivec; then
- sed -i 's/-faltivec//g' configure
- else
- CFLAGS="${CFLAGS} -DWANT_ALTIVEC=1"
- fi
- use padlock && CFLAGS="${CFLAGS} -DWANT_VIA_PADLOCK=1"
- if use sse2; then
- if use amd64; then
- CFLAGS="${CFLAGS} -DWANT_X8664_SSE2=1"
- else
- CFLAGS="${CFLAGS} -DWANT_X8632_SSE2=1"
- fi
- fi
- use sse2_4way && CFLAGS="${CFLAGS} -DWANT_SSE2_4WAY=1"
- use sse4 && CFLAGS="${CFLAGS} -DWANT_X8664_SSE4=1"
- use hardened && CFLAGS="${CFLAGS} -nopie"
-
- CFLAGS="${CFLAGS}" \
- econf \
- $(use_enable adl) \
- $(use_enable bitforce) \
- $(use_enable cpumining) \
- $(use_enable icarus) \
- $(use_enable opencl)
- if use opencl; then
- # sanitize directories
- sed -i 's/^(\#define CGMINER_PREFIX ).*$/\1"'"${EPREFIX}/usr/share/cgminer"'"/' config.h
- fi
-}
-
-src_install() {
- dobin cgminer
- dodoc AUTHORS NEWS README
- if use opencl; then
- insinto /usr/share/cgminer
- doins *.cl
- fi
- if use examples; then
- docinto examples
- dodoc api-example.php miner.php API.java api-example.c
- fi
-}
diff --git a/net-misc/cgminer/cgminer-2.3.3.ebuild b/net-misc/cgminer/cgminer-2.3.3.ebuild
deleted file mode 100644
index f6293910350d..000000000000
--- a/net-misc/cgminer/cgminer-2.3.3.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.3.3.ebuild,v 1.1 2012/04/15 16:21:13 blueness Exp $
-
-EAPI="4"
-
-inherit versionator
-
-MY_PV="$(replace_version_separator 3 -)"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C"
-HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0"
-SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-${MY_PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
-IUSE="+adl altivec bitforce +cpumining examples hardened icarus ncurses +opencl padlock sse2 sse2_4way sse4"
-REQUIRED_USE="
- || ( bitforce cpumining icarus opencl )
- adl? ( opencl )
- altivec? ( cpumining ppc ppc64 )
- padlock? ( cpumining || ( amd64 x86 ) )
- sse2? ( cpumining || ( amd64 x86 ) )
- sse4? ( cpumining amd64 )
-"
-
-DEPEND="
- net-misc/curl
- ncurses? (
- sys-libs/ncurses
- )
- dev-libs/jansson
- opencl? (
- virtual/opencl
- )
-"
-RDEPEND="${DEPEND}"
-DEPEND="${DEPEND}
- dev-util/pkgconfig
- sys-apps/sed
- adl? (
- x11-libs/amd-adl-sdk
- )
- sse2? (
- >=dev-lang/yasm-1.0.1
- )
- sse4? (
- >=dev-lang/yasm-1.0.1
- )
-"
-
-src_prepare() {
- sed -i 's/\(^\#define WANT_.*\(SSE\|PADLOCK\|ALTIVEC\)\)/\/\/ \1/' miner.h
- ln -s /usr/include/ADL/* ADL_SDK/
-}
-
-src_configure() {
- local CFLAGS="${CFLAGS}"
- if ! use altivec; then
- sed -i 's/-faltivec//g' configure
- else
- CFLAGS="${CFLAGS} -DWANT_ALTIVEC=1"
- fi
- use padlock && CFLAGS="${CFLAGS} -DWANT_VIA_PADLOCK=1"
- if use sse2; then
- if use amd64; then
- CFLAGS="${CFLAGS} -DWANT_X8664_SSE2=1"
- else
- CFLAGS="${CFLAGS} -DWANT_X8632_SSE2=1"
- fi
- fi
- use sse2_4way && CFLAGS="${CFLAGS} -DWANT_SSE2_4WAY=1"
- use sse4 && CFLAGS="${CFLAGS} -DWANT_X8664_SSE4=1"
- use hardened && CFLAGS="${CFLAGS} -nopie"
-
- CFLAGS="${CFLAGS}" \
- econf \
- $(use_enable adl) \
- $(use_enable bitforce) \
- $(use_enable cpumining) \
- $(use_enable icarus) \
- $(use_with ncurses curses) \
- $(use_enable opencl)
- if use opencl; then
- # sanitize directories
- sed -i 's/^(\#define CGMINER_PREFIX ).*$/\1"'"${EPREFIX}/usr/share/cgminer"'"/' config.h
- fi
-}
-
-src_install() {
- dobin cgminer
- dodoc AUTHORS NEWS README
- if use opencl; then
- insinto /usr/share/cgminer
- doins *.cl
- fi
- if use examples; then
- docinto examples
- dodoc api-example.php miner.php API.java api-example.c
- fi
-}
diff --git a/net-misc/cgminer/cgminer-2.3.2.ebuild b/net-misc/cgminer/cgminer-2.3.4.ebuild
index 3bd169150d55..4ab273910219 100644
--- a/net-misc/cgminer/cgminer-2.3.2.ebuild
+++ b/net-misc/cgminer/cgminer-2.3.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.3.2.ebuild,v 1.1 2012/04/02 13:03:19 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.3.4.ebuild,v 1.1 2012/04/27 10:16:47 blueness Exp $
EAPI="4"
@@ -13,13 +13,13 @@ DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C"
HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0"
SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-${MY_PV}.tar.bz2"
-LICENSE="GPL-2"
+LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
-IUSE="+adl altivec bitforce +cpumining examples hardened icarus ncurses +opencl padlock sse2 sse2_4way sse4"
+IUSE="+adl altivec bitforce +cpumining examples hardened icarus ncurses +opencl padlock sse2 sse2_4way sse4 +udev ztex"
REQUIRED_USE="
- || ( bitforce cpumining icarus opencl )
+ || ( bitforce cpumining icarus opencl ztex )
adl? ( opencl )
altivec? ( cpumining ppc ppc64 )
padlock? ( cpumining || ( amd64 x86 ) )
@@ -36,6 +36,12 @@ DEPEND="
opencl? (
virtual/opencl
)
+ udev? (
+ sys-fs/udev
+ )
+ ztex? (
+ dev-libs/libusb:1
+ )
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
@@ -83,10 +89,15 @@ src_configure() {
$(use_enable cpumining) \
$(use_enable icarus) \
$(use_with ncurses curses) \
- $(use_enable opencl)
+ $(use_enable opencl) \
+ $(use_with udev libudev) \
+ $(use_enable ztex)
if use opencl; then
# sanitize directories
- sed -i 's/^(\#define CGMINER_PREFIX ).*$/\1"'"${EPREFIX}/usr/share/cgminer"'"/' config.h
+ sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer/opencl"'"~' config.h
+ fi
+ if use ztex; then
+ sed -i 's~bitstreams/~'"${EPREFIX}"'/usr/lib/cgminer/ztex/~' libztex.c
fi
}
@@ -94,9 +105,13 @@ src_install() {
dobin cgminer
dodoc AUTHORS NEWS README
if use opencl; then
- insinto /usr/share/cgminer
+ insinto /usr/lib/cgminer/opencl
doins *.cl
fi
+ if use ztex; then
+ insinto /usr/lib/cgminer/ztex
+ doins bitstreams/*.bit
+ fi
if use examples; then
docinto examples
dodoc api-example.php miner.php API.java api-example.c
diff --git a/net-misc/cgminer/metadata.xml b/net-misc/cgminer/metadata.xml
index a3b8340c61b1..d4c0d5fa85f5 100644
--- a/net-misc/cgminer/metadata.xml
+++ b/net-misc/cgminer/metadata.xml
@@ -18,5 +18,6 @@
<flag name='padlock'>Enable support for mining with VIA Padlock CPUs</flag>
<flag name='sse2_4way'>Enable support for CPU SSE2 4way mining algorithm</flag>
<flag name='sse4'>Enable support for CPU SSE4 mining algorithm</flag>
+ <flag name='ztex'>Enable support for mining with Ztex FPGAs</flag>
</use>
</pkgmetadata>