summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-11-30 00:28:06 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-11-30 00:28:06 +0000
commita1737607b5bc483c95da56f89ad2ae4c11c83ba1 (patch)
tree62098f5ec75a5869086d897a430595cbf0dd5cb4 /net-misc/bfgminer
parentNew package, bug 481322 (diff)
downloadhistorical-a1737607b5bc483c95da56f89ad2ae4c11c83ba1.tar.gz
historical-a1737607b5bc483c95da56f89ad2ae4c11c83ba1.tar.bz2
historical-a1737607b5bc483c95da56f89ad2ae4c11c83ba1.zip
Version bump
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'net-misc/bfgminer')
-rw-r--r--net-misc/bfgminer/ChangeLog10
-rw-r--r--net-misc/bfgminer/Manifest30
-rw-r--r--net-misc/bfgminer/bfgminer-3.10.8.ebuild166
-rw-r--r--net-misc/bfgminer/bfgminer-4.10.1.ebuild182
-rw-r--r--net-misc/bfgminer/bfgminer-5.0.0.ebuild202
-rw-r--r--net-misc/bfgminer/metadata.xml3
6 files changed, 570 insertions, 23 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog
index e600db11520b..320367cb0f49 100644
--- a/net-misc/bfgminer/ChangeLog
+++ b/net-misc/bfgminer/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-misc/bfgminer
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.71 2014/10/05 11:56:10 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.72 2014/11/30 00:28:00 blueness Exp $
+
+*bfgminer-3.10.8 (30 Nov 2014)
+*bfgminer-5.0.0 (30 Nov 2014)
+*bfgminer-4.10.1 (30 Nov 2014)
+
+ 30 Nov 2014; Anthony G. Basile <blueness@gentoo.org> +bfgminer-3.10.8.ebuild,
+ +bfgminer-4.10.1.ebuild, +bfgminer-5.0.0.ebuild, metadata.xml:
+ Version bump
*bfgminer-4.7.2 (05 Oct 2014)
*bfgminer-4.9.0 (05 Oct 2014)
diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest
index 5f311e211eb5..1c5b3596399b 100644
--- a/net-misc/bfgminer/Manifest
+++ b/net-misc/bfgminer/Manifest
@@ -1,36 +1,22 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST bfgminer-2.5.0.tbz2 6015548 SHA256 81a23270cac2ad49c5ca70f498c1194d245fff6aba5f3b9e5ef1f3e6fa1c9482 SHA512 6c4517ef36300d68ea721be63380c491932b01666d49dad87f4d1752b70606b6abe2e4a30c5b5ce0b72b9a029a588503ac9dee1f9d9e9b3fefd483ccdda37bdc WHIRLPOOL 3aa165a96cfc60ad126bb17dcb989682be3dd46f556caa7c71791da5e49e87129dd139c3c476894837f4c035a30657d6372a34ef9a79979baccb20ae56b9e543
DIST bfgminer-3.10.5.tbz2 1091287 SHA256 224e02979ed27f7cebe47ca7a17fa9a1ecce7680531c3995daade54cc3be2807 SHA512 500745b09ced2102cb7bfee8dbe3e44bf69c3220fff5d2fdc642a1b4c0674f36a1786c1e384ab641dde5b3149713d9b0a4e520cfd50c2cc89710fe54f1315303 WHIRLPOOL 0b4299b56b86cc4633225a321c957ce47fd719f3132c32f34618de2e7b15fc388a39cc3627959207490d7f8fb263942cc3be5a710b9cbe7114988364ba1a43fa
DIST bfgminer-3.10.7.tbz2 1090760 SHA256 16121ff3ccea4e0e18958abaafdee381a6b8acdee4b761b63b7d1b69a7e2f53e SHA512 ff3d2592fafa52e1a9868e696f78af17132274e8d1ade70077206bbabb18e69235c456b08620e457539ae6f56f4a8e7405e924ae37256c41d780bd975df4ccf9 WHIRLPOOL 12fdd730f260f87727b4a6e1bb7c74e776c974fbb87f2f7002d57567c5173bd18f0ef1fd578f89db33bbc758bf06881aad20de80efde29a4bc975671301c7dc8
+DIST bfgminer-3.10.8.tbz2 1090429 SHA256 d9e67dfab78c3400954285d5f7d931f057bc8f491aacd387eb2ebe0d71414258 SHA512 dd42963d051cd64ab7b93404e2fe65b2de277b1e31af78defc595955a09064102ef006352c91a94c91b77aebbff967eb6ee04c4b625752331ff679a612f762fd WHIRLPOOL 74bdd376d6908c23d3308075e36eacac3523b24991e459b87411ef041a95e4ac07c03aa89a080847e07dfea5032c2093779e52de638374b54e7081b883e1bf33
+DIST bfgminer-4.10.1.tar.xz 986132 SHA256 a7862aabf8470c71fb275e2561ab9c1b1f1c19ba58d054048947c467f270330a SHA512 2e23d57261ce7ebc20b3b5a61e0454a69c06966bd8a04de85102e13f94052e527e04eff0314c323c54ca690b200a16b011b73a821a049993c4db5196b233cc94 WHIRLPOOL 4e82cee09452f1baac54320f3dd2c13e07c44ad395fed5762d5cceb505c593689b981c2ddde920a3f617528a0d2cd7d8c2bf81c1d50ddad8c44a260c4a1f8052
DIST bfgminer-4.7.1.tar.xz 921760 SHA256 51d16bcfd7193c19461ffc69b4d92ebcea80086f378844d067adbb8196489690 SHA512 30800c05980cd6715fc204b0ec58acda48e722e4040e5202a8f8dc18290e17ccc56c4e20df57c3f7e1ed82400b87a3af161a8e3c1c938167a74cf961803e76ff WHIRLPOOL 715cfe000fde2017438d39d52885423280a0fc5c6db233aaaafe2fd3c63fa12640f8438a80b4ffcaec137ce38f0e240cddba90a50aeaf8c397da23c875eee904
DIST bfgminer-4.7.2.tar.xz 922152 SHA256 b17dfa399b6fa707218dd7e3f70083cdbc9616ef30680425207c50ca590d90eb SHA512 6ad9a425f9f500b3f2f5268ebcef0175bfa10a51e04c1d1865cc3397cb9840f1c3fbafc8d4d39d609b9704a5ea53310e05ecd3aef982af0357b7a037aadf3ed1 WHIRLPOOL c3a0711b189affbe457db014bb841165ffa5e10cef3a0ab840e4ee80b57adc36f113d8c559006fb7f224e6b4b12851ef641b5188d3ac21aa29b93f865f7980c8
DIST bfgminer-4.8.0.tar.xz 950564 SHA256 ad6fb0c857b8857764779a8f21d8179fd622a25a6c3142453245d34b722bdc57 SHA512 6c6174805786843ece8e7b4ae5f17bc4ce354d6b563f2778f6975039620795fa84ff9c1e1febb6d30e793a51bd2608b92fafbee2375103ab90011f53d45f1dba WHIRLPOOL f3311dd4956c7f6ce99b5f77a6e0bd3523ee72a2f2f845ae4135fc5338aa6c66d4dd509c1a7aa1913077c9b103c3cd6a5c50f4971fd5405613739b8db1735bf0
DIST bfgminer-4.9.0.tar.xz 981304 SHA256 e406e6584443f5ab49ea936eaab80adb338d0966e0a4862b80434fdaa8e0daa7 SHA512 4221de3ee0a371f03a621955e6a0b11853ec559b677ec56de8870b572bcbf94edaa221b7449ccaf09c2daf56cb1c35463888b5414701aca14ad167d3328ec8a8 WHIRLPOOL 84c69b0409410ba016fd0a07fdc67093a2b0278b4a5cb2493d3a03561d9edacabd369fe8435f4bb9a03f797ba406d3a983387c1cb1a24ffc56fdc8af15d03c9c
+DIST bfgminer-5.0.0.tar.xz 1012092 SHA256 f1dada4d83737f7bc9623ad695a07a88808d8103c9c7617ce18825d241e328fd SHA512 fc1b116347e0b2af4e2c7f895368abe156019be5495e286df2f90708c16c1739e7362682389eb88ce64835d53545a5603eab4818d70018f7f872a28b4ec6c797 WHIRLPOOL 95085f7ddc374579520bae130b12923669c5788c0ea21e7377e57e907ed997936f6a413d9067c0121410bde42b33c0b194774794965a86328b60f3cf0d881165
EBUILD bfgminer-2.5.0.ebuild 2762 SHA256 aeae06d88e9c1ddaca68657a411acef4e74fba5453f611c0b98bcbf9a47a4dc0 SHA512 948830b45c74fd6302eaea9c4619257074c7c5f0555f0509e4fab226490729e83ab0050d006b9559509390c04b2713e39362643dfd1ad793e33b61e4340982fb WHIRLPOOL 8c7f35099f39f63c0738db827469827cf8a18edcb8bd8a37830e342a752e98e35b082b65b5267124dc2599ce1e34452146f2971bcd6307e0ed6038541677ddb2
EBUILD bfgminer-3.10.5.ebuild 3861 SHA256 172db7cb3849b78d7ec1b8d9cf19ae49e45310fbdb56d5df5a3876aa9057bec0 SHA512 3b6b379ab0a246bd6bf3f793e7b7b9dcbf898f5e9403468118078c874a160b873d0ece478eae952c3c24f4781dec1a1e2f3aaae19c76311e6815a0eba30edf5c WHIRLPOOL abfdf9722b461efc2c36772e6eb0005bf3c3da0124616f860442ace3657443c01ec71fdcf111c6959747362d8714842f83e0ca6db3d0ad2bbc26f62e5cf7f455
EBUILD bfgminer-3.10.7.ebuild 3866 SHA256 79838ccc92d06d907632dbdee3b914dc6d5e015e917357adb25f669ef30da5be SHA512 f75305fab143a601146b788edb8d87534fc1d199abb8412dc022dd5607a4650711fc01720ba0e5315edd394151db62c0162674d583bba8cf66885f832e2d245d WHIRLPOOL 2bbb80a588c00af0678e421dc72842fd665fbc1197affea107867d629632a5313b6228ebfe33336999286691d44506edf29305e9ed57ef20335dcfc04920a7cf
+EBUILD bfgminer-3.10.8.ebuild 3872 SHA256 605de8d3534f32ebaa6519c1332eef19d232df0f7bdc5b9862025b62160909ad SHA512 f39c3fca28faebd867a67713f465091eacf35152dd87947802261782fabeab9cbc658198f850d9f3080b8d6e93379e26a355ad4b7fe9f04795af71b4254f7b8f WHIRLPOOL 003cf10e8aaa18cbeb3bab01798f32a6c0be6085d626d4d560f2da80dfe06cee33735bfee2cfa077ad889d4516a4b19a63bdd3e22673069662b17edaa29965fa
+EBUILD bfgminer-4.10.1.ebuild 4488 SHA256 f3feee58b349ae27c29c8d65ce9ab935b1e250421c0fe18c2083e0af7ee44e1b SHA512 ed5c6bb46cd8309ac30907d53e2647f48b0da724acdac3d38ff9d865b9f341ad32ea68f1300784fbaed6973c003b386aca314a5c785bb27696196bfdf28e0a6a WHIRLPOOL d6857c90f32ad5c0081b9e8fab9607823a817a963a3d707321f8f19fcf344e0c6db36b2ea85c3d28de3668feaaa280bc4f4fe8606a07e5c36298567f4c9e21b4
EBUILD bfgminer-4.7.1.ebuild 4401 SHA256 6c3ab3fef54dc22147a5f2ad744fc493809e6ddafd094baea5a1ec382c88e26d SHA512 95be05e987549392a4c4d7ccd2382189ed393c19960d08a4b1c013b59ef8dc440f1a1640aeb3699ac59ed7f4d80e46836523cb4fc6f9769222f1350538ff7763 WHIRLPOOL 45adb6012aaec22c6592eef8dd1bdd999ba571dcc52b4801ffc03b372a4de6f9f0224fa8f98b9a4b95948be5bbd6750e5799b4354a9b6dbb24f667dc5ed5c166
EBUILD bfgminer-4.7.2.ebuild 4399 SHA256 6323df138c5ef6cf683e8fc91037f88198758f07308767499fd75acbf64f8eb3 SHA512 f382e7f964320f97ec812326fc7194ef92fcc729032e459849daf6becb99d0f58eaae33b8aca4a4b09a67dc109a3eeada9c4da44786b7f0c32fc92db048b8946 WHIRLPOOL 73c9a2d3d3e50c0a0b62dccc7f5ec309f5df24243cd9a2d0023249e83a55614c763d6c5e33b2e1c1691a5a191932e0992a529b3bc48e3c35cbe59aac0235cb54
EBUILD bfgminer-4.8.0.ebuild 4469 SHA256 9deffe18ff64ec6030ebcc30ec16c5ba973aa01f7e900bc2cbe99fff35e28197 SHA512 daaa23a9092bf8d3e1f4bd66cdaafbfb67566cea8ed9b5ef8d68d486e0d993f1f7253f072f25cd94ba2162c3e4b22e2228e30c700e00efb4458d83fde35f3665 WHIRLPOOL ac39e47d355a785341f485a9510a8345cf79c7eaa5b2b79646bd60af72142f976d0ec8a3c2d11e811ada83fea9c7a18e86c4a6492936bfdd2590093b922bfcca
EBUILD bfgminer-4.9.0.ebuild 4481 SHA256 5fb58e799211ec8f2bc78dae97dc910eacef468bd29c1b488a2b74b8131f91c7 SHA512 31b4351d3456c4b06e15e71d5f0026a22e58c313a95a6c1fcd0de5577d8421884b048730c3d3f4f655b839282e05b41900c9408b09684683c1f99a843a2ef34c WHIRLPOOL 772bbec71360e974bd4eb60ae0ae7e4b6507b10f359e7982d5c410b7194163aea59b5288b235c764ee9395d52377a4e9fff48e9c9a34fb76bda14af48c49a7ee
-MISC ChangeLog 16430 SHA256 1f5e699e18b3106b3c92cd0fe49fa9d1f8409b0d8c4878c6e95ed3fc76488a08 SHA512 d8782907f153f469245661d69658cbbd889fd15bfcaa1b67093367098b4fe58099c102682a8534738a0624e0af8d15df0ea4225f3b586a99176e65e983dc5685 WHIRLPOOL 94d7fdc7ea10c2b869841563cb7d1341a099f7cfa34b46678868abd7ed4053c967cc7a7415ed8090baf489977331d3a61d7bc84783ef5cdb274d686b16f99e28
-MISC metadata.xml 3823 SHA256 a79c0d5fd4a3129fa9a9ee14d031f3705983e3244c6b7d8489975c449fd039fa SHA512 f23f2f46809f707443add18ecc3da11ae5d9ad1725c36faac3a2cacf8ef8b3ecfb849d1beb916e3464274c86aa527bbf7dc07a37be1a10340932e75737ef2b09 WHIRLPOOL 51a38309794855a9c6e079bc989eedac98b54bac55be116af3c90fd2f64c301468ce24ad6bf86d47a2558e6d30960d6b9ee6c3e5d4fa3bc02339d7f4346e7c3f
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iQIcBAEBCAAGBQJUMTIHAAoJEJOE+m71LUu6JWMP/3DetRKbLMhvDBOkd38Xg29x
-EYjUQHbl9pIzLTxX7qDkb70sy3Iv6NGiMCWyAxPg8EfTCS56cQgtkybNZRSWooR/
-VS06l70e+AjB94J6Tol45kdepYuRYDmORpaxStBTBttepWYkZGSmc6dMlPPz0fdS
-ebLnF/Wu7qe/jZtMb2tm233ty8Yqh99+eQJeA/QIBVwZWQdcMIrA7VhAO+dWMXor
-pVKeeQH/0QPcBbRMlYwzad82hkgm6yofzhTrFJuxKQjwoSBipBPF3uuSJiW/ZD7Y
-v+dZ0OAqgBuwfl0T6R3d23mMBqGFSRCVdeNMZBIBcEzRt+Qfnf5ewXWKbGrXZS+E
-mt65gEcD6PD5JpWCkPA9PPz4Yg/3WF1cNTvc/riAVWDwx0o3k4/4UEI7krZDOcu4
-KxaT4eAvlBxKoMrzNAgjJYvNgORvjlzJgvgAMOdEUuZHt7lhPoWDVExny2L3/gtW
-eRfwJLfWzgWMoiaPaRqOCXrddSI/5DcLWXpxbvR0GGB+tgcVbavUX8YgbqQLVavI
-+YHOniW+wfEageV5xfLVH2Sca/oJe2Syd7oYXNMA6CwjP7z8welIGJDpMKOb9Sad
-6iJ24G0MKfjqPjx2PNfBp3aCEaozv7Fg2LGGv7gBuwSyIilZqbdB3s9xTvaQas5q
-kHi/sW1CVFza09r2okPr
-=ItDw
------END PGP SIGNATURE-----
+EBUILD bfgminer-5.0.0.ebuild 5414 SHA256 f0ce24c694e2e438899fa9951d84d0980bbcb17d70dd55526d1eb1276b568a88 SHA512 139f1f891e85420d4c4ef3d3c13e26e81275455b9ccacac46548f4a5d9c6c1ed00ac8011cc2b412cf67e335c766683229cc541ec9f678ec6106e697de1a9558c WHIRLPOOL c0ae28d6208baa9890fe5a1177c6aad8ac2aa2df733ea3fe42e2efd480607f90ece2647d92ebc16b80005b26203be42b6e48a5c6113c8304f8bbd3b21d684bc2
+MISC ChangeLog 16684 SHA256 925e7f11399ef4519760015c9fdc690572473b6c3f1cb15cfa165681cafbb03a SHA512 d31b95488c1ad681b8b3ad1a3ad9d72db4cfe4ab5ff28a54196e8a19bb1adf2d68f9118047e58eac43f10d16bcd93b47afdf2a14781858334955d7d986c9753a WHIRLPOOL 8aa4b6dc0817b1f54ade04d0a8adcc58f42f5fb0d7fec1d433c5beb338bf16736c8ca14ecb51ed02b723dded54aa19c7936288366a5b44ce8ceab3302dc07833
+MISC metadata.xml 4072 SHA256 15b83bed446e8d4d31767a2f0e50df30d8136bd90f3f2855d834ec20526605eb SHA512 3096c967f902f3624e01e018a15ec7914c6097d78659e141da3ba5b98cd1e0a28e05200fe423cde76736cb7df6f142a89163370f846710ebd58804cd3c17fe9d WHIRLPOOL 3fa78bd4b46bc1520d07569bb7e81a97cff8f942af129dcad63a1d6827006a52dfb11981f845b1fab6c6dac2daa9a3fff22daefc33a2ce27622aaff89ab958cc
diff --git a/net-misc/bfgminer/bfgminer-3.10.8.ebuild b/net-misc/bfgminer/bfgminer-3.10.8.ebuild
new file mode 100644
index 000000000000..9d32c096c792
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-3.10.8.ebuild
@@ -0,0 +1,166 @@
+# 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.10.8.ebuild,v 1.1 2014/11/30 00:28:00 blueness Exp $
+
+EAPI=5
+
+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"
+
+# TODO: knc (needs i2c-tools header)
+IUSE="+adl antminer avalon bifury bitforce bfsb bigpic bitfury cpumining drillbit examples hardened hashbuster hashbuster2 hashfast icarus klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum screen scrypt twinfury +udev unicode x6500 ztex"
+REQUIRED_USE='
+ || ( antminer avalon bfsb bifury bigpic bitforce bitfury cpumining drillbit hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 ztex )
+ adl? ( opencl )
+ bfsb? ( bitfury )
+ bigpic? ( bitfury )
+ drillbit? ( bitfury )
+ hashbuster? ( bitfury )
+ hashbuster2? ( bitfury libusb )
+ klondike? ( libusb )
+ littlefury? ( bitfury )
+ lm_sensors? ( opencl )
+ metabank? ( bitfury )
+ nanofury? ( bitfury )
+ scrypt? ( || ( cpumining opencl proxy ) )
+ 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
+ )
+ screen? (
+ app-misc/screen
+ || (
+ >=sys-apps/coreutils-8.15
+ sys-freebsd/freebsd-bin
+ app-misc/realpath
+ )
+ )
+'
+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.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 antminer) \
+ $(use_enable avalon) \
+ $(use_enable bifury) \
+ $(use_enable bitforce) \
+ $(use_enable bfsb) \
+ $(use_enable bigpic) \
+ $(use_enable bitfury) \
+ $(use_enable cpumining) \
+ $(use_enable drillbit) \
+ $(use_enable hashbuster) \
+ $(use_enable hashbuster2 hashbusterusb) \
+ $(use_enable hashfast) \
+ $(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
+ if ! use screen; then
+ rm "${D}/usr/bin/start-bfgminer.sh"
+ fi
+}
diff --git a/net-misc/bfgminer/bfgminer-4.10.1.ebuild b/net-misc/bfgminer/bfgminer-4.10.1.ebuild
new file mode 100644
index 000000000000..12b6ea2bafc9
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-4.10.1.ebuild
@@ -0,0 +1,182 @@
+# 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-4.10.1.ebuild,v 1.1 2014/11/30 00:28:00 blueness Exp $
+
+EAPI=5
+
+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}.txz -> ${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
+
+# TODO: knc (needs i2c-tools header)
+# TODO: minergate (needs actual miner_gate)
+# TODO: titan
+IUSE="adl antminer avalon avalonmm bfx bifury bitforce bfsb bigpic bitfury cointerra cpumining drillbit dualminer examples gridseed hardened hashbuster hashbuster2 hashfast icarus jingtian klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses opencl proxy proxy_getwork proxy_stratum rockminer screen scrypt twinfury +udev udev-broad-rules unicode x6500 zeusminer ztex"
+REQUIRED_USE='
+ || ( antminer avalon avalonmm bfsb bfx bifury bigpic bitforce bitfury cointerra cpumining drillbit dualminer gridseed hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 zeusminer ztex )
+ adl? ( opencl )
+ bfsb? ( bitfury )
+ bfx? ( bitfury libusb )
+ bigpic? ( bitfury )
+ drillbit? ( bitfury )
+ dualminer? ( icarus )
+ gridseed? ( scrypt )
+ hashbuster? ( bitfury )
+ hashbuster2? ( bitfury libusb )
+ klondike? ( libusb )
+ littlefury? ( bitfury )
+ lm_sensors? ( opencl )
+ metabank? ( bitfury )
+ nanofury? ( bitfury )
+ scrypt? ( || ( cpumining dualminer gridseed opencl proxy zeusminer ) )
+ twinfury? ( bitfury )
+ unicode? ( ncurses )
+ proxy? ( || ( proxy_getwork proxy_stratum ) )
+ proxy_getwork? ( proxy )
+ proxy_stratum? ( proxy )
+ x6500? ( libusb )
+ zeusminer? ( scrypt )
+ ztex? ( libusb )
+'
+
+DEPEND='
+ net-misc/curl
+ ncurses? (
+ sys-libs/ncurses[unicode?]
+ )
+ >=dev-libs/jansson-2
+ dev-libs/libbase58
+ 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
+ )
+ screen? (
+ app-misc/screen
+ || (
+ >=sys-apps/coreutils-8.15
+ sys-freebsd/freebsd-bin
+ app-misc/realpath
+ )
+ )
+'
+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.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 antminer) \
+ $(use_enable avalon) \
+ $(use_enable avalonmm) \
+ $(use_enable bifury) \
+ $(use_enable bitforce) \
+ $(use_enable bfsb) \
+ $(use_enable bfx) \
+ $(use_enable bigpic) \
+ $(use_enable bitfury) \
+ $(use_enable cointerra) \
+ $(use_enable cpumining) \
+ $(use_enable drillbit) \
+ $(use_enable dualminer) \
+ $(use_enable gridseed) \
+ $(use_enable hashbuster) \
+ $(use_enable hashbuster2 hashbusterusb) \
+ $(use_enable hashfast) \
+ $(use_enable icarus) \
+ $(use_enable jingtian) \
+ $(use_enable klondike) \
+ $(use_enable littlefury) \
+ $(use_enable metabank) \
+ $(use_enable modminer) \
+ $(use_enable nanofury) \
+ $(use_enable opencl) \
+ $(use_enable rockminer) \
+ $(use_enable scrypt) \
+ $(use_enable twinfury) \
+ --with-system-libblkmaker \
+ $with_curses \
+ $(use_with udev libudev) \
+ $(use_enable udev-broad-rules broad-udevrules) \
+ $(use_with lm_sensors sensors) \
+ $(use_with proxy_getwork libmicrohttpd) \
+ $(use_with proxy_stratum libevent) \
+ $(use_enable x6500) \
+ $(use_enable zeusminer) \
+ $(use_enable ztex)
+}
+
+src_install() {
+ emake install DESTDIR="$D"
+ if ! use examples; then
+ rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
+ fi
+ if ! use screen; then
+ rm "${D}/usr/bin/start-bfgminer.sh"
+ fi
+}
diff --git a/net-misc/bfgminer/bfgminer-5.0.0.ebuild b/net-misc/bfgminer/bfgminer-5.0.0.ebuild
new file mode 100644
index 000000000000..7aa5f44fcf75
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-5.0.0.ebuild
@@ -0,0 +1,202 @@
+# 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-5.0.0.ebuild,v 1.1 2014/11/30 00:28:00 blueness Exp $
+
+EAPI=5
+
+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}.txz -> ${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
+
+# TODO: knc (needs i2c-tools header)
+# TODO: kncasic & titan (need systemwide knc-asic install)
+# TODO: minergate (needs actual miner_gate)
+IUSE="adl antminer avalon avalonmm bfsb bfx bifury bigpic bitforce bitfury cointerra cpumining drillbit dualminer examples gridseed hardened hashbuster hashbuster2 hashfast icarus jingtian keccak klondike +libusb littlefury lm_sensors metabank minion modminer nanofury ncurses opencl proxy proxy_getwork proxy_stratum rockminer screen scrypt +sha256d twinfury +udev udev-broad-rules unicode x6500 zeusminer ztex"
+REQUIRED_USE='
+ || ( keccak scrypt sha256d )
+ || ( antminer avalon avalonmm bfsb bfx bifury bigpic bitforce bitfury cointerra cpumining drillbit dualminer gridseed hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 zeusminer ztex )
+ adl? ( opencl )
+ antminer? ( sha256d )
+ avalon? ( sha256d )
+ avalonmm? ( sha256d )
+ bfsb? ( sha256d bitfury )
+ bfx? ( sha256d bitfury libusb )
+ bifury? ( sha256d )
+ bigpic? ( sha256d bitfury )
+ bitforce? ( sha256d )
+ bitfury? ( sha256d )
+ cointerra? ( sha256d )
+ drillbit? ( sha256d bitfury )
+ dualminer? ( || ( sha256d scrypt ) icarus )
+ gridseed? ( scrypt )
+ hashbuster? ( sha256d bitfury )
+ hashbuster2? ( sha256d bitfury libusb )
+ hashfast? ( sha256d )
+ icarus? ( || ( scrypt sha256d ) )
+ jingtian? ( sha256d )
+ keccak? ( || ( cpumining opencl proxy ) )
+ klondike? ( sha256d libusb )
+ littlefury? ( sha256d bitfury )
+ lm_sensors? ( opencl )
+ metabank? ( sha256d bitfury )
+ minion? ( sha256d )
+ modminer? ( sha256d )
+ nanofury? ( sha256d bitfury )
+ scrypt? ( || ( cpumining dualminer gridseed opencl proxy zeusminer ) )
+ sha256d? ( || ( antminer avalon avalonmm bfx bifury bitforce bfsb bigpic bitfury cointerra cpumining drillbit dualminer hashbuster hashbuster2 hashfast icarus jingtian klondike littlefury metabank modminer nanofury opencl proxy rockminer twinfury x6500 ztex ) )
+ twinfury? ( bitfury )
+ unicode? ( ncurses )
+ proxy? ( || ( proxy_getwork proxy_stratum ) )
+ proxy_getwork? ( proxy )
+ proxy_stratum? ( proxy )
+ rockminer? ( sha256d )
+ twinfury? ( sha256d )
+ x6500? ( sha256d libusb )
+ zeusminer? ( scrypt )
+ ztex? ( sha256d libusb )
+'
+
+DEPEND='
+ net-misc/curl
+ ncurses? (
+ sys-libs/ncurses[unicode?]
+ )
+ >=dev-libs/jansson-2
+ dev-libs/libbase58
+ 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
+ )
+ screen? (
+ app-misc/screen
+ || (
+ >=sys-apps/coreutils-8.15
+ sys-freebsd/freebsd-bin
+ app-misc/realpath
+ )
+ )
+'
+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.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 antminer) \
+ $(use_enable avalon) \
+ $(use_enable avalonmm) \
+ $(use_enable bifury) \
+ $(use_enable bitforce) \
+ $(use_enable bfsb) \
+ $(use_enable bfx) \
+ $(use_enable bigpic) \
+ $(use_enable bitfury) \
+ $(use_enable cointerra) \
+ $(use_enable cpumining) \
+ $(use_enable drillbit) \
+ $(use_enable dualminer) \
+ $(use_enable gridseed) \
+ $(use_enable hashbuster) \
+ $(use_enable hashbuster2 hashbusterusb) \
+ $(use_enable hashfast) \
+ $(use_enable icarus) \
+ $(use_enable jingtian) \
+ $(use_enable keccak) \
+ $(use_enable klondike) \
+ $(use_enable littlefury) \
+ $(use_enable metabank) \
+ $(use_enable minion) \
+ $(use_enable modminer) \
+ $(use_enable nanofury) \
+ $(use_enable opencl) \
+ $(use_enable rockminer) \
+ $(use_enable scrypt) \
+ $(use_enable sha256d) \
+ $(use_enable twinfury) \
+ --with-system-libblkmaker \
+ $with_curses \
+ $(use_with udev libudev) \
+ $(use_enable udev-broad-rules broad-udevrules) \
+ $(use_with lm_sensors sensors) \
+ $(use_with proxy_getwork libmicrohttpd) \
+ $(use_with proxy_stratum libevent) \
+ $(use_enable x6500) \
+ $(use_enable zeusminer) \
+ $(use_enable ztex)
+}
+
+src_install() {
+ emake install DESTDIR="$D"
+ if ! use examples; then
+ rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
+ fi
+ if ! use screen; then
+ rm "${D}/usr/bin/start-bfgminer.sh"
+ fi
+}
diff --git a/net-misc/bfgminer/metadata.xml b/net-misc/bfgminer/metadata.xml
index abb7b6d22741..30a7ac02230d 100644
--- a/net-misc/bfgminer/metadata.xml
+++ b/net-misc/bfgminer/metadata.xml
@@ -30,10 +30,12 @@
<flag name='hashfast'>Enable support for mining with HashFast devices</flag>
<flag name='icarus'>Enable support for mining with Icarus-compatible devices (including Block Erupter Sapphire ASICs)</flag>
<flag name='jingtian'>Enable support for mining on JingTian boards via SPI/GPIO</flag>
+ <flag name='keccak'>Enable support for mining with Keccak miners</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='minion'>Enable support for mining on minion chips via SPI (BlackArrow Prospero)</flag>
<flag name='modminer'>Enable support for mining with ModMiner FPGAs</flag>
<flag name='nanofury'>Enable support for mining with NanoFury USB sticks</flag>
<flag name='opencl'>Enable support for mining with OpenCL-capable devices (GPUs)</flag>
@@ -44,6 +46,7 @@
<flag name='rockminer'>Enable support for mining with RockMiner devices</flag>
<flag name='screen'>Provide start-bfgminer.sh script to launch BFGMiner in app-misc/screen</flag>
<flag name='scrypt'>Enable support for scrypt mining algorithm</flag>
+ <flag name='sha256d'>Enable support for SHA256d 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>