summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-26 17:09:41 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-06-26 17:09:41 +0000
commitd0188bdca30c8c00b87e2edf513c6d9be666af45 (patch)
treee0ded5efab1db7e6921caeef22f12f0449dd2b88 /net-misc
parentStable for amd64 wrt bug #474420 (diff)
downloadgentoo-2-d0188bdca30c8c00b87e2edf513c6d9be666af45.tar.gz
gentoo-2-d0188bdca30c8c00b87e2edf513c6d9be666af45.tar.bz2
gentoo-2-d0188bdca30c8c00b87e2edf513c6d9be666af45.zip
Version bump, restore arm ppc ppc64 keywords
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/bfgminer/ChangeLog11
-rw-r--r--net-misc/bfgminer/bfgminer-2.10.10.ebuild143
-rw-r--r--net-misc/bfgminer/bfgminer-3.0.0.ebuild4
-rw-r--r--net-misc/bfgminer/bfgminer-3.0.3.ebuild4
-rw-r--r--net-misc/bfgminer/bfgminer-3.0.4.ebuild144
-rw-r--r--net-misc/bfgminer/bfgminer-3.1.0-r1.ebuild4
-rw-r--r--net-misc/bfgminer/bfgminer-3.1.1.ebuild102
7 files changed, 405 insertions, 7 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog
index 5440c2a03afc..a79348c755f5 100644
--- a/net-misc/bfgminer/ChangeLog
+++ b/net-misc/bfgminer/ChangeLog
@@ -1,6 +1,15 @@
# 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.41 2013/06/18 11:36:58 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.42 2013/06/26 17:09:41 blueness Exp $
+
+*bfgminer-3.1.1 (26 Jun 2013)
+*bfgminer-3.0.4 (26 Jun 2013)
+*bfgminer-2.10.10 (26 Jun 2013)
+
+ 26 Jun 2013; Anthony G. Basile <blueness@gentoo.org> +bfgminer-2.10.10.ebuild,
+ +bfgminer-3.0.4.ebuild, +bfgminer-3.1.1.ebuild, bfgminer-3.0.0.ebuild,
+ bfgminer-3.0.3.ebuild, bfgminer-3.1.0-r1.ebuild:
+ Version bump, restore arm ppc ppc64 keywords
*bfgminer-3.1.0-r1 (18 Jun 2013)
diff --git a/net-misc/bfgminer/bfgminer-2.10.10.ebuild b/net-misc/bfgminer/bfgminer-2.10.10.ebuild
new file mode 100644
index 000000000000..d1fd873701ae
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-2.10.10.ebuild
@@ -0,0 +1,143 @@
+# 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.10.ebuild,v 1.1 2013/06/26 17:09:41 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
+ 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
+ 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.java api-example.c
+ fi
+ cd libblkmaker
+ emake DESTDIR="$D" install
+}
diff --git a/net-misc/bfgminer/bfgminer-3.0.0.ebuild b/net-misc/bfgminer/bfgminer-3.0.0.ebuild
index 35870d7ca086..2219523c5f1c 100644
--- a/net-misc/bfgminer/bfgminer-3.0.0.ebuild
+++ b/net-misc/bfgminer/bfgminer-3.0.0.ebuild
@@ -1,6 +1,6 @@
# 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.0.ebuild,v 1.1 2013/04/08 00:24:47 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.0.0.ebuild,v 1.2 2013/06/26 17:09:41 blueness Exp $
EAPI="4"
@@ -12,7 +12,7 @@ SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+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="
diff --git a/net-misc/bfgminer/bfgminer-3.0.3.ebuild b/net-misc/bfgminer/bfgminer-3.0.3.ebuild
index 2798aa714605..cf57ae67a3dd 100644
--- a/net-misc/bfgminer/bfgminer-3.0.3.ebuild
+++ b/net-misc/bfgminer/bfgminer-3.0.3.ebuild
@@ -1,6 +1,6 @@
# 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.3.ebuild,v 1.1 2013/06/14 18:37:53 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.0.3.ebuild,v 1.2 2013/06/26 17:09:41 blueness Exp $
EAPI="4"
@@ -12,7 +12,7 @@ SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+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="
diff --git a/net-misc/bfgminer/bfgminer-3.0.4.ebuild b/net-misc/bfgminer/bfgminer-3.0.4.ebuild
new file mode 100644
index 000000000000..7572802327c3
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-3.0.4.ebuild
@@ -0,0 +1,144 @@
+# 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.4.ebuild,v 1.1 2013/06/26 17:09:41 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
+ 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
+ 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.java api-example.c api-example.py
+ fi
+}
diff --git a/net-misc/bfgminer/bfgminer-3.1.0-r1.ebuild b/net-misc/bfgminer/bfgminer-3.1.0-r1.ebuild
index 928a9fe26a48..98fcd2c9a003 100644
--- a/net-misc/bfgminer/bfgminer-3.1.0-r1.ebuild
+++ b/net-misc/bfgminer/bfgminer-3.1.0-r1.ebuild
@@ -1,6 +1,6 @@
# 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.1.0-r1.ebuild,v 1.1 2013/06/18 11:36:58 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.1.0-r1.ebuild,v 1.2 2013/06/26 17:09:41 blueness Exp $
EAPI="4"
@@ -12,7 +12,7 @@ SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl scrypt +udev x6500 ztex"
REQUIRED_USE="
diff --git a/net-misc/bfgminer/bfgminer-3.1.1.ebuild b/net-misc/bfgminer/bfgminer-3.1.1.ebuild
new file mode 100644
index 000000000000..552ce1262b04
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-3.1.1.ebuild
@@ -0,0 +1,102 @@
+# 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.1.1.ebuild,v 1.1 2013/06/26 17:09:41 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 scrypt +udev x6500 ztex"
+REQUIRED_USE='
+ || ( avalon bitforce cpumining icarus modminer opencl x6500 ztex )
+ adl? ( opencl )
+ lm_sensors? ( opencl )
+ scrypt? ( || ( cpumining opencl ) )
+'
+
+DEPEND='
+ net-misc/curl
+ ncurses? (
+ sys-libs/ncurses
+ )
+ >=dev-libs/jansson-2
+ net-libs/libblkmaker
+ udev? (
+ virtual/udev
+ )
+ lm_sensors? (
+ sys-apps/lm_sensors
+ )
+ 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}"
+ use hardened && CFLAGS="${CFLAGS} -nopie"
+
+ 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_with ncurses curses) \
+ $(use_enable opencl) \
+ $(use_enable scrypt) \
+ --with-system-libblkmaker \
+ $(use_with udev libudev) \
+ $(use_with lm_sensors sensors) \
+ $(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
+}