diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-01-01 23:46:41 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-01-01 23:46:41 +0000 |
commit | 4d3fd921c243140b005989d72655e5c21356459a (patch) | |
tree | e9e4de81d5f7f960662211c8f0f4fced42ef8b9d /net-misc/bfgminer | |
parent | Version bump. (diff) | |
download | gentoo-2-4d3fd921c243140b005989d72655e5c21356459a.tar.gz gentoo-2-4d3fd921c243140b005989d72655e5c21356459a.tar.bz2 gentoo-2-4d3fd921c243140b005989d72655e5c21356459a.zip |
Version bumps, remove older, bring in line with bitcoin overlay
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-misc/bfgminer')
21 files changed, 501 insertions, 890 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog index 111ed162fbeb..71f69955eff7 100644 --- a/net-misc/bfgminer/ChangeLog +++ b/net-misc/bfgminer/ChangeLog @@ -1,6 +1,30 @@ # ChangeLog for net-misc/bfgminer -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.51 2013/11/07 17:49:02 blueness Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.52 2014/01/01 23:46:40 blueness Exp $ + +*bfgminer-3.5.4 (01 Jan 2014) +*bfgminer-3.8.1 (01 Jan 2014) +*bfgminer-3.2.7 (01 Jan 2014) +*bfgminer-3.5.5 (01 Jan 2014) +*bfgminer-3.2.9 (01 Jan 2014) +*bfgminer-3.9.0 (01 Jan 2014) +*bfgminer-3.2.8 (01 Jan 2014) +*bfgminer-3.5.6 (01 Jan 2014) +*bfgminer-3.8.0 (01 Jan 2014) + + 01 Jan 2014; Anthony G. Basile <blueness@gentoo.org> +bfgminer-3.2.7.ebuild, + +bfgminer-3.2.8.ebuild, +bfgminer-3.2.9.ebuild, +bfgminer-3.5.4.ebuild, + +bfgminer-3.5.5.ebuild, +bfgminer-3.5.6.ebuild, +bfgminer-3.8.0.ebuild, + +bfgminer-3.8.1.ebuild, +bfgminer-3.9.0.ebuild, -bfgminer-2.10.14.ebuild, + -bfgminer-3.0.10.ebuild, -bfgminer-3.0.8.ebuild, -bfgminer-3.0.9.ebuild, + -bfgminer-3.2.1-r1.ebuild, -bfgminer-3.2.2-r1.ebuild, + -bfgminer-3.2.3-r1.ebuild, -bfgminer-3.2.4.ebuild, -bfgminer-3.2.5.ebuild, + -bfgminer-3.4.0-r1.ebuild, -bfgminer-3.5.0.ebuild, -bfgminer-3.5.1.ebuild, + -files/3.1.0-Bugfix-opencl-Add-missing-include-for-fpgautils.h-ne.patch, + -files/3.1.0-Bugfix-opencl-Build-fpgautils-even-if-OpenCL-is-the-.patch, + -files/Bugfix-Fix-building-without-OpenCL-support.patch, + bfgminer-2.5.0.ebuild, metadata.xml: + Version bumps, remove older, bring in line with bitcoin overlay *bfgminer-3.3.0-r2 (07 Nov 2013) *bfgminer-3.2.1-r1 (07 Nov 2013) diff --git a/net-misc/bfgminer/bfgminer-2.10.14.ebuild b/net-misc/bfgminer/bfgminer-2.10.14.ebuild deleted file mode 100644 index e4c4dbbe469e..000000000000 --- a/net-misc/bfgminer/bfgminer-2.10.14.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.10.14.ebuild,v 1.1 2013/09/19 16:25:45 blueness Exp $ - -EAPI="4" - -inherit eutils - -DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C" -HOMEPAGE="https://bitcointalk.org/?topic=168174" -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" - -IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev x6500 ztex" -REQUIRED_USE=" - || ( bitforce cpumining icarus modminer opencl x6500 ztex ) - adl? ( opencl ) - altivec? ( cpumining ppc ppc64 ) - padlock? ( cpumining || ( amd64 x86 ) ) - scrypt? ( || ( cpumining opencl ) ) - sse2? ( cpumining || ( amd64 x86 ) ) - sse4? ( cpumining amd64 ) -" - -DEPEND=" - net-misc/curl - ncurses? ( - sys-libs/ncurses - ) - >=dev-libs/jansson-2 - udev? ( - virtual/udev - ) - x6500? ( - virtual/libusb:1 - ) - ztex? ( - virtual/libusb:1 - ) -" -RDEPEND="${DEPEND} - opencl? ( - virtual/opencl - ) -" -DEPEND="${DEPEND} - virtual/pkgconfig - sys-apps/sed - 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 -} - -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 modminer) \ - $(use_with ncurses curses) \ - $(use_enable opencl) \ - $(use_enable scrypt) \ - $(use_with udev libudev) \ - $(use_enable x6500) \ - $(use_enable ztex) - # sanitize directories - sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h -} - -src_install() { - dobin bfgminer - dobin bfgminer-rpc - dodoc AUTHORS NEWS README API-README - if use scrypt; then - dodoc SCRYPT-README - fi - if use icarus || use bitforce; then - dodoc FPGA-README - fi - if use bitforce; then - dobin bitforce-firmware-flash - fi - if use modminer || use x6500; then - insinto /usr/lib/bfgminer/bitstreams - doins bitstreams/fpgaminer*.bit - dodoc bitstreams/COPYING_fpgaminer - fi - if use opencl; then - insinto /usr/lib/bfgminer - doins *.cl - fi - if use ztex; then - insinto /usr/lib/bfgminer/ztex - doins bitstreams/ztex*.bit - dodoc bitstreams/COPYING_ztex - fi - if use examples; then - docinto examples - dodoc api-example.php miner.php api-example.c - fi - cd libblkmaker - emake DESTDIR="$D" install -} diff --git a/net-misc/bfgminer/bfgminer-2.5.0.ebuild b/net-misc/bfgminer/bfgminer-2.5.0.ebuild index 1fb8a40ebe64..b11c1b67510f 100644 --- a/net-misc/bfgminer/bfgminer-2.5.0.ebuild +++ b/net-misc/bfgminer/bfgminer-2.5.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.5.0.ebuild,v 1.8 2013/04/14 18:14:58 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.5.0.ebuild,v 1.9 2014/01/01 23:46:40 blueness Exp $ EAPI="4" diff --git a/net-misc/bfgminer/bfgminer-3.0.10.ebuild b/net-misc/bfgminer/bfgminer-3.0.10.ebuild deleted file mode 100644 index dccb8d5c6563..000000000000 --- a/net-misc/bfgminer/bfgminer-3.0.10.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.0.10.ebuild,v 1.1 2013/10/27 16:30:15 blueness Exp $ - -EAPI="4" - -inherit eutils - -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" -HOMEPAGE="https://bitcointalk.org/?topic=168174" -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" - -IUSE="+adl altivec avalon bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev x6500 ztex" -REQUIRED_USE=" - || ( avalon bitforce cpumining icarus modminer opencl x6500 ztex ) - adl? ( opencl ) - altivec? ( cpumining ppc ppc64 ) - padlock? ( cpumining || ( amd64 x86 ) ) - scrypt? ( || ( cpumining opencl ) ) - sse2? ( cpumining || ( amd64 x86 ) ) - sse4? ( cpumining amd64 ) -" - -DEPEND=" - net-misc/curl - ncurses? ( - sys-libs/ncurses - ) - >=dev-libs/jansson-2 - net-libs/libblkmaker - udev? ( - virtual/udev - ) - x6500? ( - virtual/libusb:1 - ) - ztex? ( - virtual/libusb:1 - ) -" -RDEPEND="${DEPEND} - opencl? ( - virtual/opencl - ) -" -DEPEND="${DEPEND} - virtual/pkgconfig - sys-apps/sed - 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 -} - -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 avalon) \ - $(use_enable bitforce) \ - $(use_enable cpumining) \ - $(use_enable icarus) \ - $(use_enable modminer) \ - $(use_with ncurses curses) \ - $(use_enable opencl) \ - $(use_enable scrypt) \ - --with-system-libblkmaker \ - $(use_with udev libudev) \ - $(use_enable x6500) \ - $(use_enable ztex) - # sanitize directories - sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h -} - -src_install() { - dobin bfgminer - dobin bfgminer-rpc - dodoc AUTHORS HACKING NEWS README README.RPC - if use scrypt; then - dodoc README.scrypt - fi - if use icarus || use bitforce; then - dodoc README.FPGA - fi - if use bitforce; then - dobin bitforce-firmware-flash - fi - if use modminer || use x6500; then - insinto /usr/lib/bfgminer/bitstreams - doins bitstreams/fpgaminer*.bit - dodoc bitstreams/COPYING_fpgaminer - fi - if use opencl; then - insinto /usr/lib/bfgminer - doins *.cl - fi - if use ztex; then - insinto /usr/lib/bfgminer/ztex - doins bitstreams/ztex*.bit - dodoc bitstreams/COPYING_ztex - fi - if use examples; then - docinto examples - dodoc api-example.php miner.php api-example.c api-example.py - fi -} diff --git a/net-misc/bfgminer/bfgminer-3.0.8.ebuild b/net-misc/bfgminer/bfgminer-3.0.8.ebuild deleted file mode 100644 index 06b247ad22e0..000000000000 --- a/net-misc/bfgminer/bfgminer-3.0.8.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.0.8.ebuild,v 1.1 2013/09/19 16:25:45 blueness Exp $ - -EAPI="4" - -inherit eutils - -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" -HOMEPAGE="https://bitcointalk.org/?topic=168174" -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" - -IUSE="+adl altivec avalon bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev x6500 ztex" -REQUIRED_USE=" - || ( avalon bitforce cpumining icarus modminer opencl x6500 ztex ) - adl? ( opencl ) - altivec? ( cpumining ppc ppc64 ) - padlock? ( cpumining || ( amd64 x86 ) ) - scrypt? ( || ( cpumining opencl ) ) - sse2? ( cpumining || ( amd64 x86 ) ) - sse4? ( cpumining amd64 ) -" - -DEPEND=" - net-misc/curl - ncurses? ( - sys-libs/ncurses - ) - >=dev-libs/jansson-2 - net-libs/libblkmaker - udev? ( - virtual/udev - ) - x6500? ( - virtual/libusb:1 - ) - ztex? ( - virtual/libusb:1 - ) -" -RDEPEND="${DEPEND} - opencl? ( - virtual/opencl - ) -" -DEPEND="${DEPEND} - virtual/pkgconfig - sys-apps/sed - 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 -} - -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 avalon) \ - $(use_enable bitforce) \ - $(use_enable cpumining) \ - $(use_enable icarus) \ - $(use_enable modminer) \ - $(use_with ncurses curses) \ - $(use_enable opencl) \ - $(use_enable scrypt) \ - --with-system-libblkmaker \ - $(use_with udev libudev) \ - $(use_enable x6500) \ - $(use_enable ztex) - # sanitize directories - sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h -} - -src_install() { - dobin bfgminer - dobin bfgminer-rpc - dodoc AUTHORS HACKING NEWS README README.RPC - if use scrypt; then - dodoc README.scrypt - fi - if use icarus || use bitforce; then - dodoc README.FPGA - fi - if use bitforce; then - dobin bitforce-firmware-flash - fi - if use modminer || use x6500; then - insinto /usr/lib/bfgminer/bitstreams - doins bitstreams/fpgaminer*.bit - dodoc bitstreams/COPYING_fpgaminer - fi - if use opencl; then - insinto /usr/lib/bfgminer - doins *.cl - fi - if use ztex; then - insinto /usr/lib/bfgminer/ztex - doins bitstreams/ztex*.bit - dodoc bitstreams/COPYING_ztex - fi - if use examples; then - docinto examples - dodoc api-example.php miner.php api-example.c api-example.py - fi -} diff --git a/net-misc/bfgminer/bfgminer-3.0.9.ebuild b/net-misc/bfgminer/bfgminer-3.0.9.ebuild deleted file mode 100644 index d956e78ac417..000000000000 --- a/net-misc/bfgminer/bfgminer-3.0.9.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.0.9.ebuild,v 1.1 2013/10/22 16:25:24 blueness Exp $ - -EAPI="4" - -inherit eutils - -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" -HOMEPAGE="https://bitcointalk.org/?topic=168174" -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" - -IUSE="+adl altivec avalon bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev x6500 ztex" -REQUIRED_USE=" - || ( avalon bitforce cpumining icarus modminer opencl x6500 ztex ) - adl? ( opencl ) - altivec? ( cpumining ppc ppc64 ) - padlock? ( cpumining || ( amd64 x86 ) ) - scrypt? ( || ( cpumining opencl ) ) - sse2? ( cpumining || ( amd64 x86 ) ) - sse4? ( cpumining amd64 ) -" - -DEPEND=" - net-misc/curl - ncurses? ( - sys-libs/ncurses - ) - >=dev-libs/jansson-2 - net-libs/libblkmaker - udev? ( - virtual/udev - ) - x6500? ( - virtual/libusb:1 - ) - ztex? ( - virtual/libusb:1 - ) -" -RDEPEND="${DEPEND} - opencl? ( - virtual/opencl - ) -" -DEPEND="${DEPEND} - virtual/pkgconfig - sys-apps/sed - 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 -} - -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 avalon) \ - $(use_enable bitforce) \ - $(use_enable cpumining) \ - $(use_enable icarus) \ - $(use_enable modminer) \ - $(use_with ncurses curses) \ - $(use_enable opencl) \ - $(use_enable scrypt) \ - --with-system-libblkmaker \ - $(use_with udev libudev) \ - $(use_enable x6500) \ - $(use_enable ztex) - # sanitize directories - sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h -} - -src_install() { - dobin bfgminer - dobin bfgminer-rpc - dodoc AUTHORS HACKING NEWS README README.RPC - if use scrypt; then - dodoc README.scrypt - fi - if use icarus || use bitforce; then - dodoc README.FPGA - fi - if use bitforce; then - dobin bitforce-firmware-flash - fi - if use modminer || use x6500; then - insinto /usr/lib/bfgminer/bitstreams - doins bitstreams/fpgaminer*.bit - dodoc bitstreams/COPYING_fpgaminer - fi - if use opencl; then - insinto /usr/lib/bfgminer - doins *.cl - fi - if use ztex; then - insinto /usr/lib/bfgminer/ztex - doins bitstreams/ztex*.bit - dodoc bitstreams/COPYING_ztex - fi - if use examples; then - docinto examples - dodoc api-example.php miner.php api-example.c api-example.py - fi -} diff --git a/net-misc/bfgminer/bfgminer-3.2.1-r1.ebuild b/net-misc/bfgminer/bfgminer-3.2.1-r1.ebuild deleted file mode 100644 index 64808cd1f3cf..000000000000 --- a/net-misc/bfgminer/bfgminer-3.2.1-r1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.1-r1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ - -EAPI=4 - -inherit eutils - -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" -HOMEPAGE="https://bitcointalk.org/?topic=168174" -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" - -IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" -REQUIRED_USE=' - || ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) - adl? ( opencl ) - lm_sensors? ( opencl ) - scrypt? ( || ( cpumining opencl ) ) - unicode? ( ncurses ) -' - -DEPEND=' - net-misc/curl - ncurses? ( - sys-libs/ncurses[unicode?] - ) - >=dev-libs/jansson-2 - net-libs/libblkmaker - udev? ( - virtual/udev - ) - lm_sensors? ( - sys-apps/lm_sensors - ) - proxy? ( - net-libs/libmicrohttpd - ) - x6500? ( - virtual/libusb:1 - ) - ztex? ( - virtual/libusb:1 - ) -' -RDEPEND="${DEPEND} - opencl? ( - || ( - virtual/opencl - virtual/opencl-sdk - dev-util/ati-stream-sdk - dev-util/ati-stream-sdk-bin - dev-util/amdstream - dev-util/amd-app-sdk - dev-util/amd-app-sdk-bin - dev-util/nvidia-cuda-sdk[opencl] - dev-util/intel-opencl-sdk - ) - ) -" -DEPEND="${DEPEND} - virtual/pkgconfig - >=dev-libs/uthash-1.9.2 - sys-apps/sed - cpumining? ( - amd64? ( - >=dev-lang/yasm-1.0.1 - ) - x86? ( - >=dev-lang/yasm-1.0.1 - ) - ) -" - -src_configure() { - local CFLAGS="${CFLAGS}" - local with_curses - use hardened && CFLAGS="${CFLAGS} -nopie" - - if use ncurses; then - if use unicode; then - with_curses='--with-curses=ncursesw' - else - with_curses='--with-curses=ncurses' - fi - else - with_curses='--without-curses' - fi - - CFLAGS="${CFLAGS}" \ - econf \ - --docdir="/usr/share/doc/${PF}" \ - $(use_enable adl) \ - $(use_enable avalon) \ - $(use_enable bitforce) \ - $(use_enable cpumining) \ - $(use_enable icarus) \ - $(use_enable modminer) \ - $(use_enable opencl) \ - $(use_enable scrypt) \ - --with-system-libblkmaker \ - $with_curses \ - $(use_with udev libudev) \ - $(use_with lm_sensors sensors) \ - $(use_with proxy libmicrohttpd) \ - $(use_enable x6500) \ - $(use_enable ztex) -} - -src_install() { - emake install DESTDIR="$D" - if ! use examples; then - rm -r "${D}/usr/share/doc/${PF}/rpc-examples" - fi -} diff --git a/net-misc/bfgminer/bfgminer-3.2.5.ebuild b/net-misc/bfgminer/bfgminer-3.2.5.ebuild deleted file mode 100644 index 006f9661a986..000000000000 --- a/net-misc/bfgminer/bfgminer-3.2.5.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.5.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ - -EAPI=4 - -inherit eutils - -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" -HOMEPAGE="https://bitcointalk.org/?topic=168174" -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" - -IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" -REQUIRED_USE=' - || ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) - adl? ( opencl ) - lm_sensors? ( opencl ) - scrypt? ( || ( cpumining opencl ) ) - unicode? ( ncurses ) -' - -DEPEND=' - net-misc/curl - ncurses? ( - sys-libs/ncurses[unicode?] - ) - >=dev-libs/jansson-2 - net-libs/libblkmaker - udev? ( - virtual/udev - ) - lm_sensors? ( - sys-apps/lm_sensors - ) - proxy? ( - net-libs/libmicrohttpd - ) - x6500? ( - virtual/libusb:1 - ) - ztex? ( - virtual/libusb:1 - ) -' -RDEPEND="${DEPEND} - opencl? ( - || ( - virtual/opencl - virtual/opencl-sdk - dev-util/ati-stream-sdk - dev-util/ati-stream-sdk-bin - dev-util/amdstream - dev-util/amd-app-sdk - dev-util/amd-app-sdk-bin - dev-util/nvidia-cuda-sdk[opencl] - dev-util/intel-opencl-sdk - ) - ) -" -DEPEND="${DEPEND} - virtual/pkgconfig - >=dev-libs/uthash-1.9.2 - sys-apps/sed - cpumining? ( - amd64? ( - >=dev-lang/yasm-1.0.1 - ) - x86? ( - >=dev-lang/yasm-1.0.1 - ) - ) -" - -src_configure() { - local CFLAGS="${CFLAGS}" - local with_curses - use hardened && CFLAGS="${CFLAGS} -nopie" - - if use ncurses; then - if use unicode; then - with_curses='--with-curses=ncursesw' - else - with_curses='--with-curses=ncurses' - fi - else - with_curses='--without-curses' - fi - - CFLAGS="${CFLAGS}" \ - econf \ - --docdir="/usr/share/doc/${PF}" \ - $(use_enable adl) \ - $(use_enable avalon) \ - $(use_enable bitforce) \ - $(use_enable cpumining) \ - $(use_enable icarus) \ - $(use_enable modminer) \ - $(use_enable opencl) \ - $(use_enable scrypt) \ - --with-system-libblkmaker \ - $with_curses \ - $(use_with udev libudev) \ - $(use_with lm_sensors sensors) \ - $(use_with proxy libmicrohttpd) \ - $(use_enable x6500) \ - $(use_enable ztex) -} - -src_install() { - emake install DESTDIR="$D" - if ! use examples; then - rm -r "${D}/usr/share/doc/${PF}/rpc-examples" - fi -} diff --git a/net-misc/bfgminer/bfgminer-3.2.2-r1.ebuild b/net-misc/bfgminer/bfgminer-3.2.7.ebuild index aaba8e8dbf7b..c964854d35dc 100644 --- a/net-misc/bfgminer/bfgminer-3.2.2-r1.ebuild +++ b/net-misc/bfgminer/bfgminer-3.2.7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.2-r1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.7.ebuild,v 1.1 2014/01/01 23:46:40 blueness Exp $ EAPI="4" @@ -12,7 +12,10 @@ SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +# Waiting for dev-libs/hidapi to be keyworded +#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" REQUIRED_USE=" diff --git a/net-misc/bfgminer/bfgminer-3.2.3-r1.ebuild b/net-misc/bfgminer/bfgminer-3.2.8.ebuild index dbb3bd5bcd0c..8cd75ff5a88a 100644 --- a/net-misc/bfgminer/bfgminer-3.2.3-r1.ebuild +++ b/net-misc/bfgminer/bfgminer-3.2.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.3-r1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.8.ebuild,v 1.1 2014/01/01 23:46:40 blueness Exp $ EAPI="4" @@ -12,7 +12,10 @@ SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +# Waiting for dev-libs/hidapi to be keyworded +#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" REQUIRED_USE=" diff --git a/net-misc/bfgminer/bfgminer-3.2.4.ebuild b/net-misc/bfgminer/bfgminer-3.2.9.ebuild index e590f3e16807..71ffe434d8bc 100644 --- a/net-misc/bfgminer/bfgminer-3.2.4.ebuild +++ b/net-misc/bfgminer/bfgminer-3.2.9.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.4.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.9.ebuild,v 1.1 2014/01/01 23:46:40 blueness Exp $ EAPI="4" @@ -12,7 +12,10 @@ SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +# Waiting for dev-libs/hidapi to be keyworded +#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" REQUIRED_USE=" diff --git a/net-misc/bfgminer/bfgminer-3.5.0.ebuild b/net-misc/bfgminer/bfgminer-3.5.4.ebuild index 82b6f959e71b..334f5d7b6dbe 100644 --- a/net-misc/bfgminer/bfgminer-3.5.0.ebuild +++ b/net-misc/bfgminer/bfgminer-3.5.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.0.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.4.ebuild,v 1.1 2014/01/01 23:46:40 blueness Exp $ EAPI="4" diff --git a/net-misc/bfgminer/bfgminer-3.4.0-r1.ebuild b/net-misc/bfgminer/bfgminer-3.5.5.ebuild index 1833cbcd27b0..14cf0dbe9d23 100644 --- a/net-misc/bfgminer/bfgminer-3.4.0-r1.ebuild +++ b/net-misc/bfgminer/bfgminer-3.5.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.4.0-r1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.5.ebuild,v 1.1 2014/01/01 23:46:40 blueness Exp $ EAPI="4" @@ -18,12 +18,13 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" #KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" # TODO: knc (needs i2c-tools header) -IUSE="+adl avalon bitforce bfsb bigpic bitfury cpumining examples hardened icarus littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt +udev unicode x6500 ztex" +IUSE="+adl avalon bitforce bfsb bigpic bitfury cpumining examples hardened hashbuster icarus littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt +udev unicode x6500 ztex" REQUIRED_USE=" || ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) adl? ( opencl ) bfsb? ( bitfury ) bigpic? ( bitfury ) + hashbuster? ( bitfury ) littlefury? ( bitfury ) lm_sensors? ( opencl ) metabank? ( bitfury ) @@ -45,6 +46,9 @@ DEPEND=" udev? ( virtual/udev ) + hashbuster? ( + dev-libs/hidapi + ) lm_sensors? ( sys-apps/lm_sensors ) @@ -108,6 +112,7 @@ src_configure() { $(use_enable bigpic) \ $(use_enable bitfury) \ $(use_enable cpumining) \ + $(use_enable hashbuster) \ $(use_enable icarus) \ $(use_enable littlefury) \ $(use_enable metabank) \ diff --git a/net-misc/bfgminer/bfgminer-3.5.1.ebuild b/net-misc/bfgminer/bfgminer-3.5.6.ebuild index e0a71560102b..040ab3f27613 100644 --- a/net-misc/bfgminer/bfgminer-3.5.1.ebuild +++ b/net-misc/bfgminer/bfgminer-3.5.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.6.ebuild,v 1.1 2014/01/01 23:46:40 blueness Exp $ -EAPI=4 +EAPI="4" inherit eutils @@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" # TODO: knc (needs i2c-tools header) IUSE="+adl avalon bitforce bfsb bigpic bitfury cpumining examples hardened hashbuster icarus littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt +udev unicode x6500 ztex" -REQUIRED_USE=' +REQUIRED_USE=" || ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) adl? ( opencl ) bfsb? ( bitfury ) @@ -34,9 +34,9 @@ REQUIRED_USE=' proxy? ( || ( proxy_getwork proxy_stratum ) ) proxy_getwork? ( proxy ) proxy_stratum? ( proxy ) -' +" -DEPEND=' +DEPEND=" net-misc/curl ncurses? ( sys-libs/ncurses[unicode?] @@ -67,20 +67,10 @@ DEPEND=' ztex? ( virtual/libusb:1 ) -' +" RDEPEND="${DEPEND} opencl? ( - || ( - virtual/opencl - virtual/opencl-sdk - dev-util/ati-stream-sdk - dev-util/ati-stream-sdk-bin - dev-util/amdstream - dev-util/amd-app-sdk - dev-util/amd-app-sdk-bin - dev-util/nvidia-cuda-sdk[opencl] - dev-util/intel-opencl-sdk - ) + virtual/opencl ) " DEPEND="${DEPEND} diff --git a/net-misc/bfgminer/bfgminer-3.8.0.ebuild b/net-misc/bfgminer/bfgminer-3.8.0.ebuild new file mode 100644 index 000000000000..5194d655aa4e --- /dev/null +++ b/net-misc/bfgminer/bfgminer-3.8.0.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.8.0.ebuild,v 1.1 2014/01/01 23:46:40 blueness Exp $ + +EAPI="4" + +inherit eutils + +DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" +HOMEPAGE="https://bitcointalk.org/?topic=168174" +SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +# Waiting for dev-libs/hidapi to be keyworded +#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" + +# TODO: knc (needs i2c-tools header) +IUSE="+adl avalon bifury bitforce bfsb bigpic bitfury cpumining examples hardened hashbuster hashbuster2 icarus klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt twinfury +udev unicode x6500 ztex" +REQUIRED_USE=" + || ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) + adl? ( opencl ) + bfsb? ( bitfury ) + bigpic? ( bitfury ) + hashbuster? ( bitfury ) + hashbuster2? ( bitfury libusb ) + klondike? ( libusb ) + littlefury? ( bitfury ) + lm_sensors? ( opencl ) + metabank? ( bitfury ) + nanofury? ( bitfury ) + scrypt? ( || ( cpumining opencl ) ) + twinfury? ( bitfury ) + unicode? ( ncurses ) + proxy? ( || ( proxy_getwork proxy_stratum ) ) + proxy_getwork? ( proxy ) + proxy_stratum? ( proxy ) + x6500? ( libusb ) + ztex? ( libusb ) +" + +DEPEND=" + net-misc/curl + ncurses? ( + sys-libs/ncurses[unicode?] + ) + >=dev-libs/jansson-2 + net-libs/libblkmaker + udev? ( + virtual/udev + ) + hashbuster? ( + dev-libs/hidapi + ) + libusb? ( + virtual/libusb:1 + ) + lm_sensors? ( + sys-apps/lm_sensors + ) + nanofury? ( + dev-libs/hidapi + ) + proxy_getwork? ( + net-libs/libmicrohttpd + ) + proxy_stratum? ( + dev-libs/libevent + ) +" +RDEPEND="${DEPEND} + opencl? ( + virtual/opencl + ) +" +DEPEND="${DEPEND} + virtual/pkgconfig + >=dev-libs/uthash-1.9.7 + sys-apps/sed + cpumining? ( + amd64? ( + >=dev-lang/yasm-1.0.1 + ) + x86? ( + >=dev-lang/yasm-1.0.1 + ) + ) +" + +src_configure() { + local CFLAGS="${CFLAGS}" + local with_curses + use hardened && CFLAGS="${CFLAGS} -nopie" + + if use ncurses; then + if use unicode; then + with_curses='--with-curses=ncursesw' + else + with_curses='--with-curses=ncurses' + fi + else + with_curses='--without-curses' + fi + + CFLAGS="${CFLAGS}" \ + econf \ + --docdir="/usr/share/doc/${PF}" \ + $(use_enable adl) \ + $(use_enable avalon) \ + $(use_enable bifury) \ + $(use_enable bitforce) \ + $(use_enable bfsb) \ + $(use_enable bigpic) \ + $(use_enable bitfury) \ + $(use_enable cpumining) \ + $(use_enable hashbuster) \ + $(use_enable hashbuster2) \ + $(use_enable icarus) \ + $(use_enable klondike) \ + $(use_enable littlefury) \ + $(use_enable metabank) \ + $(use_enable modminer) \ + $(use_enable nanofury) \ + $(use_enable opencl) \ + $(use_enable scrypt) \ + $(use_enable twinfury) \ + --with-system-libblkmaker \ + $with_curses \ + $(use_with udev libudev) \ + $(use_with lm_sensors sensors) \ + $(use_with proxy_getwork libmicrohttpd) \ + $(use_with proxy_stratum libevent) \ + $(use_enable x6500) \ + $(use_enable ztex) +} + +src_install() { + emake install DESTDIR="$D" + if ! use examples; then + rm -r "${D}/usr/share/doc/${PF}/rpc-examples" + fi +} diff --git a/net-misc/bfgminer/bfgminer-3.8.1.ebuild b/net-misc/bfgminer/bfgminer-3.8.1.ebuild new file mode 100644 index 000000000000..7bbefe09bec4 --- /dev/null +++ b/net-misc/bfgminer/bfgminer-3.8.1.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.8.1.ebuild,v 1.1 2014/01/01 23:46:40 blueness Exp $ + +EAPI="4" + +inherit eutils + +DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" +HOMEPAGE="https://bitcointalk.org/?topic=168174" +SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +# Waiting for dev-libs/hidapi to be keyworded +#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" + +# TODO: knc (needs i2c-tools header) +IUSE="+adl avalon bifury bitforce bfsb bigpic bitfury cpumining examples hardened hashbuster hashbuster2 icarus klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt twinfury +udev unicode x6500 ztex" +REQUIRED_USE=" + || ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) + adl? ( opencl ) + bfsb? ( bitfury ) + bigpic? ( bitfury ) + hashbuster? ( bitfury ) + hashbuster2? ( bitfury libusb ) + klondike? ( libusb ) + littlefury? ( bitfury ) + lm_sensors? ( opencl ) + metabank? ( bitfury ) + nanofury? ( bitfury ) + scrypt? ( || ( cpumining opencl ) ) + twinfury? ( bitfury ) + unicode? ( ncurses ) + proxy? ( || ( proxy_getwork proxy_stratum ) ) + proxy_getwork? ( proxy ) + proxy_stratum? ( proxy ) + x6500? ( libusb ) + ztex? ( libusb ) +" + +DEPEND=" + net-misc/curl + ncurses? ( + sys-libs/ncurses[unicode?] + ) + >=dev-libs/jansson-2 + net-libs/libblkmaker + udev? ( + virtual/udev + ) + hashbuster? ( + dev-libs/hidapi + ) + libusb? ( + virtual/libusb:1 + ) + lm_sensors? ( + sys-apps/lm_sensors + ) + nanofury? ( + dev-libs/hidapi + ) + proxy_getwork? ( + net-libs/libmicrohttpd + ) + proxy_stratum? ( + dev-libs/libevent + ) +" +RDEPEND="${DEPEND} + opencl? ( + virtual/opencl + ) +" +DEPEND="${DEPEND} + virtual/pkgconfig + >=dev-libs/uthash-1.9.7 + sys-apps/sed + cpumining? ( + amd64? ( + >=dev-lang/yasm-1.0.1 + ) + x86? ( + >=dev-lang/yasm-1.0.1 + ) + ) +" + +src_configure() { + local CFLAGS="${CFLAGS}" + local with_curses + use hardened && CFLAGS="${CFLAGS} -nopie" + + if use ncurses; then + if use unicode; then + with_curses='--with-curses=ncursesw' + else + with_curses='--with-curses=ncurses' + fi + else + with_curses='--without-curses' + fi + + CFLAGS="${CFLAGS}" \ + econf \ + --docdir="/usr/share/doc/${PF}" \ + $(use_enable adl) \ + $(use_enable avalon) \ + $(use_enable bifury) \ + $(use_enable bitforce) \ + $(use_enable bfsb) \ + $(use_enable bigpic) \ + $(use_enable bitfury) \ + $(use_enable cpumining) \ + $(use_enable hashbuster) \ + $(use_enable hashbuster2) \ + $(use_enable icarus) \ + $(use_enable klondike) \ + $(use_enable littlefury) \ + $(use_enable metabank) \ + $(use_enable modminer) \ + $(use_enable nanofury) \ + $(use_enable opencl) \ + $(use_enable scrypt) \ + $(use_enable twinfury) \ + --with-system-libblkmaker \ + $with_curses \ + $(use_with udev libudev) \ + $(use_with lm_sensors sensors) \ + $(use_with proxy_getwork libmicrohttpd) \ + $(use_with proxy_stratum libevent) \ + $(use_enable x6500) \ + $(use_enable ztex) +} + +src_install() { + emake install DESTDIR="$D" + if ! use examples; then + rm -r "${D}/usr/share/doc/${PF}/rpc-examples" + fi +} diff --git a/net-misc/bfgminer/bfgminer-3.9.0.ebuild b/net-misc/bfgminer/bfgminer-3.9.0.ebuild new file mode 100644 index 000000000000..d33d9fcc9797 --- /dev/null +++ b/net-misc/bfgminer/bfgminer-3.9.0.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.9.0.ebuild,v 1.1 2014/01/01 23:46:40 blueness Exp $ + +EAPI="4" + +inherit eutils + +DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" +HOMEPAGE="https://bitcointalk.org/?topic=168174" +SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +# Waiting for dev-libs/hidapi to be keyworded +#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" + +# TODO: knc (needs i2c-tools header) +IUSE="+adl avalon bifury bitforce bfsb bigpic bitfury cpumining examples hardened hashbuster hashbuster2 icarus klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt twinfury +udev unicode x6500 ztex" +REQUIRED_USE=" + || ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) + adl? ( opencl ) + bfsb? ( bitfury ) + bigpic? ( bitfury ) + hashbuster? ( bitfury ) + hashbuster2? ( bitfury libusb ) + klondike? ( libusb ) + littlefury? ( bitfury ) + lm_sensors? ( opencl ) + metabank? ( bitfury ) + nanofury? ( bitfury ) + scrypt? ( || ( cpumining opencl ) ) + twinfury? ( bitfury ) + unicode? ( ncurses ) + proxy? ( || ( proxy_getwork proxy_stratum ) ) + proxy_getwork? ( proxy ) + proxy_stratum? ( proxy ) + x6500? ( libusb ) + ztex? ( libusb ) +" + +DEPEND=" + net-misc/curl + ncurses? ( + sys-libs/ncurses[unicode?] + ) + >=dev-libs/jansson-2 + net-libs/libblkmaker + udev? ( + virtual/udev + ) + hashbuster? ( + dev-libs/hidapi + ) + libusb? ( + virtual/libusb:1 + ) + lm_sensors? ( + sys-apps/lm_sensors + ) + nanofury? ( + dev-libs/hidapi + ) + proxy_getwork? ( + net-libs/libmicrohttpd + ) + proxy_stratum? ( + dev-libs/libevent + ) +" +RDEPEND="${DEPEND} + opencl? ( + virtual/opencl + ) +" +DEPEND="${DEPEND} + virtual/pkgconfig + >=dev-libs/uthash-1.9.7 + sys-apps/sed + cpumining? ( + amd64? ( + >=dev-lang/yasm-1.0.1 + ) + x86? ( + >=dev-lang/yasm-1.0.1 + ) + ) +" + +src_configure() { + local CFLAGS="${CFLAGS}" + local with_curses + use hardened && CFLAGS="${CFLAGS} -nopie" + + if use ncurses; then + if use unicode; then + with_curses='--with-curses=ncursesw' + else + with_curses='--with-curses=ncurses' + fi + else + with_curses='--without-curses' + fi + + CFLAGS="${CFLAGS}" \ + econf \ + --docdir="/usr/share/doc/${PF}" \ + $(use_enable adl) \ + $(use_enable avalon) \ + $(use_enable bifury) \ + $(use_enable bitforce) \ + $(use_enable bfsb) \ + $(use_enable bigpic) \ + $(use_enable bitfury) \ + $(use_enable cpumining) \ + $(use_enable hashbuster) \ + $(use_enable hashbuster2) \ + $(use_enable icarus) \ + $(use_enable klondike) \ + $(use_enable littlefury) \ + $(use_enable metabank) \ + $(use_enable modminer) \ + $(use_enable nanofury) \ + $(use_enable opencl) \ + $(use_enable scrypt) \ + $(use_enable twinfury) \ + --with-system-libblkmaker \ + $with_curses \ + $(use_with udev libudev) \ + $(use_with lm_sensors sensors) \ + $(use_with proxy_getwork libmicrohttpd) \ + $(use_with proxy_stratum libevent) \ + $(use_enable x6500) \ + $(use_enable ztex) +} + +src_install() { + emake install DESTDIR="$D" + if ! use examples; then + rm -r "${D}/usr/share/doc/${PF}/rpc-examples" + fi +} diff --git a/net-misc/bfgminer/files/3.1.0-Bugfix-opencl-Add-missing-include-for-fpgautils.h-ne.patch b/net-misc/bfgminer/files/3.1.0-Bugfix-opencl-Add-missing-include-for-fpgautils.h-ne.patch deleted file mode 100644 index 3c941f386f3d..000000000000 --- a/net-misc/bfgminer/files/3.1.0-Bugfix-opencl-Add-missing-include-for-fpgautils.h-ne.patch +++ /dev/null @@ -1,25 +0,0 @@ -From d65e37e05203a4e88b42680fd9504c54833f28a6 Mon Sep 17 00:00:00 2001 -From: Luke Dashjr <luke-jr+git@utopios.org> -Date: Fri, 14 Jun 2013 18:06:02 +0000 -Subject: [PATCH] Bugfix: opencl: Add missing include for fpgautils.h (needed - for open_bitstream) - ---- - ocl.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/ocl.c b/ocl.c -index 15bd86c..12a3d29 100644 ---- a/ocl.c -+++ b/ocl.c -@@ -34,6 +34,7 @@ - #define OMIT_OPENCL_API - - #include "findnonce.h" -+#include "fpgautils.h" - #include "ocl.h" - - /* Platform API */ --- -1.8.1.5 - diff --git a/net-misc/bfgminer/files/3.1.0-Bugfix-opencl-Build-fpgautils-even-if-OpenCL-is-the-.patch b/net-misc/bfgminer/files/3.1.0-Bugfix-opencl-Build-fpgautils-even-if-OpenCL-is-the-.patch deleted file mode 100644 index 27eef4d50b16..000000000000 --- a/net-misc/bfgminer/files/3.1.0-Bugfix-opencl-Build-fpgautils-even-if-OpenCL-is-the-.patch +++ /dev/null @@ -1,26 +0,0 @@ -From fa2f27dbc7b1bffc77526a752824a7dc7cfa6a77 Mon Sep 17 00:00:00 2001 -From: Luke Dashjr <luke-jr+git@utopios.org> -Date: Sat, 15 Jun 2013 19:20:47 +0000 -Subject: [PATCH] Bugfix: opencl: Build fpgautils even if OpenCL is the only - driver, now that it uses it for kernel-finding - ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 97aa8c7..c69d01d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -525,7 +525,7 @@ AC_SUBST(libblkmaker_LIBS) - - AM_CONDITIONAL([NEED_LIBBLKMAKER], [test x$with_system_libblkmaker != xyes]) - AM_CONDITIONAL([NEED_DYNCLOCK], [test x$icarus$modminer$x6500$ztex != xnonono]) --AM_CONDITIONAL([NEED_FPGAUTILS], [test x$avalon$icarus$bitforce$modminer$x6500$ztex != xnononononono]) -+AM_CONDITIONAL([NEED_FPGAUTILS], [test x$avalon$icarus$bitforce$modminer$opencl$x6500$ztex != xnonononononono]) - AM_CONDITIONAL([HAS_SCRYPT], [test x$scrypt = xyes]) - AM_CONDITIONAL([HAVE_CURSES], [test x$curses = xyes]) - AM_CONDITIONAL([HAVE_SENSORS], [test x$with_sensors = xyes]) --- -1.8.1.5 - diff --git a/net-misc/bfgminer/files/Bugfix-Fix-building-without-OpenCL-support.patch b/net-misc/bfgminer/files/Bugfix-Fix-building-without-OpenCL-support.patch deleted file mode 100644 index 8d09aa39ef86..000000000000 --- a/net-misc/bfgminer/files/Bugfix-Fix-building-without-OpenCL-support.patch +++ /dev/null @@ -1,32 +0,0 @@ -From f7125dc965963bd9860dc92616e2499a02297587 Mon Sep 17 00:00:00 2001 -From: Luke Dashjr <luke-jr+git@utopios.org> -Date: Thu, 26 Apr 2012 21:25:32 -0400 -Subject: [PATCH] Bugfix: Fix building without OpenCL support - ---- - driver-opencl.c | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/driver-opencl.c b/driver-opencl.c -index 82b8cf3..2e1d4cd 100644 ---- a/driver-opencl.c -+++ b/driver-opencl.c -@@ -44,6 +44,7 @@ - /* TODO: cleanup externals ********************/ - - -+#ifdef HAVE_OPENCL - /* Platform API */ - CL_API_ENTRY cl_int CL_API_CALL - (*clGetPlatformIDs)(cl_uint /* num_entries */, -@@ -248,6 +249,7 @@ load_opencl_symbols() { - - return true; - } -+#endif - - - #ifdef HAVE_CURSES --- -1.7.3.4 - diff --git a/net-misc/bfgminer/metadata.xml b/net-misc/bfgminer/metadata.xml index 8d451269d43f..7cba60eeb7f2 100644 --- a/net-misc/bfgminer/metadata.xml +++ b/net-misc/bfgminer/metadata.xml @@ -13,13 +13,17 @@ <use> <flag name='adl'>Enable support for controlling fans and overclocking on AMD cards with AMD Display Library</flag> <flag name='avalon'>Enable support for mining with Avalon ASIC modules</flag> + <flag name='bifury'>Enable support for mining with Bi*fury USB sticks</flag> <flag name='bitforce'>Enable support for mining with ButterFly Labs BitFORCE ASICs and/or FPGAs</flag> <flag name='bfsb'>Enable support for mining on BFSB host Raspberry Pi</flag> <flag name='bigpic'>Enable support for mining with Big Picture Mining USB sticks (Red/BlueFury, BF1, etc)</flag> <flag name='bitfury'>Enable support for mining with 55nm Bitfury-based devices</flag> <flag name='cpumining'>Enable support for mining with CPUs</flag> <flag name='hashbuster'>Enable support for mining with HashBuster nano boards</flag> + <flag name='hashbuster2'>Enable support for mining with HashBuster micro boards</flag> <flag name='icarus'>Enable support for mining with Icarus-compatible devices (including Block Erupter Sapphire ASICs)</flag> + <flag name='klondike'>Enable support for mining with Klondike USB miners</flag> + <flag name='libusb'>Use libusb</flag> <flag name='littlefury'>Enable support for mining with LittleFury USB sticks</flag> <flag name='metabank'>Enable support for mining on Metabank host Raspberry Pi</flag> <flag name='modminer'>Enable support for mining with ModMiner FPGAs</flag> @@ -32,6 +36,7 @@ <flag name='scrypt'>Enable support for scrypt mining algorithm</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='twinfury'>Enable support for mining with Twinfury USB sticks</flag> <flag name='x6500'>Enable support for mining with X6500 FPGAs</flag> <flag name='ztex'>Enable support for mining with Ztex FPGAs</flag> </use> |