summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-12-06 13:42:04 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-12-06 13:42:04 +0000
commit38d30edb52753a959ba9f6163f836ac495c74b65 (patch)
tree0698d13e7095daf57c08246865b90a987691479a /net-misc/bfgminer
parentVersion bumps (diff)
downloadhistorical-38d30edb52753a959ba9f6163f836ac495c74b65.tar.gz
historical-38d30edb52753a959ba9f6163f836ac495c74b65.tar.bz2
historical-38d30edb52753a959ba9f6163f836ac495c74b65.zip
Version bumps
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'net-misc/bfgminer')
-rw-r--r--net-misc/bfgminer/ChangeLog11
-rw-r--r--net-misc/bfgminer/Manifest30
-rw-r--r--net-misc/bfgminer/bfgminer-2.8.6.ebuild128
-rw-r--r--net-misc/bfgminer/bfgminer-2.8.7.ebuild128
-rw-r--r--net-misc/bfgminer/bfgminer-2.9.3.ebuild132
-rw-r--r--net-misc/bfgminer/bfgminer-2.9.4.ebuild132
6 files changed, 552 insertions, 9 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog
index 5ca8a4282c5f..c328bbe2f40d 100644
--- a/net-misc/bfgminer/ChangeLog
+++ b/net-misc/bfgminer/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-misc/bfgminer
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.28 2012/12/03 02:26:16 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.29 2012/12/06 13:41:53 blueness Exp $
+
+*bfgminer-2.9.3 (06 Dec 2012)
+*bfgminer-2.8.6 (06 Dec 2012)
+*bfgminer-2.9.4 (06 Dec 2012)
+*bfgminer-2.8.7 (06 Dec 2012)
+
+ 06 Dec 2012; Anthony G. Basile <blueness@gentoo.org> +bfgminer-2.8.6.ebuild,
+ +bfgminer-2.8.7.ebuild, +bfgminer-2.9.3.ebuild, +bfgminer-2.9.4.ebuild:
+ Version bumps
03 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> bfgminer-2.3.6.ebuild,
bfgminer-2.4.4.ebuild, bfgminer-2.5.0.ebuild, bfgminer-2.5.3.ebuild,
diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest
index cf7e9cac421d..0c9ddfca0c18 100644
--- a/net-misc/bfgminer/Manifest
+++ b/net-misc/bfgminer/Manifest
@@ -15,8 +15,12 @@ DIST bfgminer-2.7.5.tbz2 5652670 SHA256 b264333e81689226580b0a49f2d1f4ee4ff9cbc9
DIST bfgminer-2.8.0.tbz2 5976844 SHA256 df679f9441f4ce7e62954a9d8abef382a251c3e6e333d37b20d02ac7de221078 SHA512 7b2684595bdfa2fa4ea3dd4dc4bdf23211c921faf895d6fc8144daea4000561dad69f5ef714f3cf1def73432f39d85ca3dbc0467961fffb43017662cc49e82f0 WHIRLPOOL e14a2505d6028d1d31e77c9e06e9262333c7c24518f61707664ddaf6d0d45495ed410bb4b6d6b16a5b8395a100e45f3bd1d2ac9ed68d68e487ef7158d33d7fb2
DIST bfgminer-2.8.3.tbz2 5997127 SHA256 0d388e6e75476de4f43510e958cf69e7bfb2c09d31e9dc540e211a86857db5fe SHA512 514bb02db5b031f7bfb3325ad5665068ca88f6ca7178258917862af0886e86cb3e1f967e183189e256722bef835412e9316b9470fae54812ecdf444c5999145a WHIRLPOOL 7e269b8e158b21462056c23df52e358f8a722e4f68a573ed4a63013a3e1346feaf1caaa2b9f379b831056910c620c8a3192c7962dcff9969d7d7f46ae848b439
DIST bfgminer-2.8.4.tbz2 5998956 SHA256 bc03812991623ab5e7b6a92f855b9920ae9b2158a3bcae8298755dcacbca6bfe SHA512 1dad142475c40476ec8f910e2c34429d1acbc8ad7008461aa566e168e6590851a702919129b3d0bcac4f393e9d82335f6dced8fdd2c5397e00693a7263b327be WHIRLPOOL 90471cad71a63697dbcb5e45aca0facb9caa40a9a264db24f8042ea8d16453ed6b93057b3a538def573f9e7e0fe8a56de1980f328866e69c4f3ae0cbd2e2eb99
+DIST bfgminer-2.8.6.tbz2 5999903 SHA256 bfdcf618c15ad7c8252ee86e3aa9615c69981acb105d6af6bb878dc1c72fc4c6 SHA512 0c589221277766944ecb90b6fc80d8f3e521c495c0a4a3be1d45754de033ac245cc4c21817cabbf5184d65538016741b5e4bf61da492e1b4805b680e887ce550 WHIRLPOOL faadd90864e825b81647e1aee38764a69f92aec3dd3d16609cc8a4f5b321359d72c21179026bb52b47f060657db62cccc4312a17e366de3c131cad0e448c77c2
+DIST bfgminer-2.8.7.tbz2 6000668 SHA256 d0dca0547bc5a231b2a6c85e8fa94546b4682c3c2fdebc65b61cb4537a36976e SHA512 a9d82d82eee9d02fbe911646d12694cd3f61fe22f177d2964907e83df491b1f055e25f0a7d89e1f96a08a7d13f7d53dab75d5fc079380f6614a6ba7556a09108 WHIRLPOOL 0719780f03b7d501552338f097807ec79aeab2276dc9b72dc483c80e67ea3bc98a5185c3d605f44179b437553219cedd2cea5628e2413adf8603c8a0101a0488
DIST bfgminer-2.9.0.tbz2 6026481 SHA256 aa8ab3a4317553889afa5cf5f0934f122b69c1905f1a545499f08bc7aaeb53f4 SHA512 69cdf37dc5fb2e1721deb58572c330e8e5f0a52779dbed97c9d2200c09ee34c10904e2a64021d812d180abb9953bd4177d14a6d11b9c8e8eff20c0c22283e277 WHIRLPOOL 9ef6e0bcfc79d3e43be86b6192d78658f1da45e623bd5eb0377f39ed5ca3f4d261b7546456192e784e208ef607b3075f12b8192dda7ac71a25b72a988036f4e7
DIST bfgminer-2.9.1.tbz2 6027655 SHA256 4fa2cd299f0ef4b702f5f96855ac140a9c0b418fdb47d412f6de25097035d79f SHA512 779c326623adb479b21658b66d67848cec3f35f0addcc7d0c4a30bf65978ada82c30b4b099d61781729dbb97222834d6bb3e54503e81877c14bf5b100339fe34 WHIRLPOOL 80ac8bc0ad0a76a84f97f87025250738afc1b2ffab35a25157da02b8deb26ed362e0fab89b3e83c7a6f704a826613c8c0cf721b3f06f8b4974c77fe8abd6c5c8
+DIST bfgminer-2.9.3.tbz2 6995172 SHA256 efdd4af9f61ab7082e04c6b52d7d9054c5ede25d2f13655bddc4e6dad92b9f98 SHA512 7cfe1663f825774d46a82202e572e98cffee259262a21756d830702dd1d1a74c24dcb7303c5cede57c1a32a5391acd32f02021d667a55e0201b1cd6fcb8d0e12 WHIRLPOOL 9bcefce281f5b09d6ca99b259e2f8ff3490a69329030235abfd0b564d1f36d7afb6362e1c232b99854bea440544f1624c40f5f43c3eb5b898cb626876a9a2e98
+DIST bfgminer-2.9.4.tbz2 6993878 SHA256 c0ae1ec0c7c897fa7c538a4d07395a195c048cd28a37526f2d8c4791209dcc46 SHA512 4aa43dcb85a3ebb0754a345dec03e20c62a26179fa80aeaa5ee57dba0401f1e67c2957385196e96b0fd57dad1d18322cbeaa539602eb3d4cae19303a058dbe1f WHIRLPOOL 894ecae854d3a5e462255eeea262ee952a108b4cdec656f5939e06488d6b60ae9f029cce73692757781615528b3af1f37f6b7b7cc13081778a2f92617545c2d8
EBUILD bfgminer-2.3.6.ebuild 2638 SHA256 a1246f2ff3853aafe905a490dc7a9a027519084ff22fecd81cb86cadb3f43934 SHA512 13736c63cd5abeb744880834a149c74fe42aa2b23b817948f58148cd349731c07e35d61a8e5e56467047e0a853e717fb1297741649f9fe4d07bbef8c868a2839 WHIRLPOOL e4e5cff3d37432bdf20ed01ce35a43267db42331bbf07ee845d53b8a6446c419a6e6b2b2c2a5fff654bb4d659c75ef0aa259a722d6fc5f90907b0884ff6ef9fc
EBUILD bfgminer-2.4.4.ebuild 2759 SHA256 970e3befee47453247b2d9e860d0802d98e380430d4527e3fa731c728a9612c8 SHA512 6dfe90f0ec124fcd22e6c4daa4be3cc6f260ed6278c28d439a37bdfd9e14663e9b730d68376c7d491748ca4d1d6d3fa85258b1924c8a9affcb1e89a333171dad WHIRLPOOL 44d35463115a33bbaa06e6fba64771681d1b6665eacc291b96e40ff379ed25d03c10e620f6eae865406bd0d4995162cff748051a696a427ef3667dfdc91fe4b6
EBUILD bfgminer-2.5.0.ebuild 2774 SHA256 c0788808a0f96e4513de1910f15aa2fde8655be88e6b752899c016460f87cff4 SHA512 2e51218b912e1516382273951d36d6705d67d718be1e7476276a7835838f5fa065f241a44b414c987fd863070d1041e67e607f5d119a449d7ca424eb196d6f1e WHIRLPOOL a81e996dce0d1b9f09e72b8ef260398a29b8ac4f050c8bb218cffd120ab3b858ab5e67848670c090786eec4cb517f9ba5cea872192a438287cce990c7359d56c
@@ -30,18 +34,28 @@ EBUILD bfgminer-2.7.5.ebuild 2860 SHA256 ce45785f4a07e61e80cb67ccb4694ee709945da
EBUILD bfgminer-2.8.0.ebuild 2908 SHA256 df8e547e9f54bc1f5e9454ff512d097eca5f08351e10fb59c09f55e4d151d82c SHA512 616c6b798bbcf8ecc8473db2f93fef5d79887dea4c9daf8cb47f198b8797ae893d0850329dc1fa5146c48c85c6d575ee1f9cfdb3b4490a9002f497e2f5d842ff WHIRLPOOL f00b8f519b27a0e1e42847c888eee79d8e2b2a1264adbb595e01b8ea364bb7763bb575050753ebd85d9be4039140fe394b2bdc8662bbe09a7ae2e913c68a5e74
EBUILD bfgminer-2.8.3.ebuild 2921 SHA256 85ec5fec5d6ee5e301c2438196cc4dd66ce42f8503817b44eb734bdf3aa89537 SHA512 d65fcf99a7ca0f4b948b993e9aa958776245bf5c222cf2733bf1c759067bdc1f3c77844c60511519664fce8ed25be721f97c6745d8218fd019bb6ae208945ca5 WHIRLPOOL d850a2896f2f072c4c5edfad71e0ba5d3706281c513c30c73f1d2d777843cf157681e85928ae0080032e01443448954564daddca4109d75fcf91f77082ccb0b2
EBUILD bfgminer-2.8.4.ebuild 2921 SHA256 17dbdc02dca34337dc992d7d9bda18b568907b94c6a2d1cb0e8f2c4a16dd331f SHA512 55e2884e5f97695552d15e724b68fe51cc29434467887262c4f9ece37b8dd1de6711b788e2e2f937f9ce6afbb83ae0ff49113d61ec7901564b79ddc1e17383ab WHIRLPOOL 071cf4245d063ca00ff012404ef554608c27bc423bb3978b89514c1414a741b082660931916c3675773ac6d1d9dfea793913f1cc27c65b54405d333d0c66c67d
+EBUILD bfgminer-2.8.6.ebuild 2919 SHA256 2b50ecb7fbb11e91f1a4d0e1636ffa07d1fe0a895893647a23696e524fcc5c6b SHA512 939e4499063ce9a1890fd9bb1b9fa183a1a385206104d60e6a61f3f3d0e5619c992f8991a23af985c24f58ae44ad68db747a3989bc760d18eefced2c065bafae WHIRLPOOL b08c0285db0694693ec34acd20a0120bb092f9fa049eead7e6b8228acf32661f971e69aaaccefbdf37b2a0c89c704217c1b613bb4b185c639465e3e833e31e2f
+EBUILD bfgminer-2.8.7.ebuild 2919 SHA256 e18130b07b3eb2c47fea604094194401c428b51ff3f9cc8a7bf5bc5f6dbc9652 SHA512 22577d2284ca4c9406c2cc79e1a86613673e90ded1d5502baed70350e475edca50041b3e639949d5c512698bb5e93b583bd3cc97327706cd5dd2077d40580c65 WHIRLPOOL 0baaed43a100bc997f134763752dec5ac243a6e281f98d3ed0f6b587511736c784b37af930b19ab9eae5f67021adcde090776b32fb927d06c33daebb1abd01e4
EBUILD bfgminer-2.9.0.ebuild 3004 SHA256 8a9a6380a801facdd7de456a9133b0c9e98826dedf624169de2f126f8c4b1442 SHA512 05cfb48b27cecd8d1d253fb444ef7297aa5f7098739c5a01f04e0985e820390b76f786bd9075cda9639cd4dde878037e1555ffd0842377ab113fb147b8bacfca WHIRLPOOL 8e5688c8fc1dad158779cf7bb5c453b5af59cbf4e6a8363da8d55bb37d661c064b4389e279a2f92f5b94450392dcbe1cb472014e3c2f39f95c073ae6543b0e3e
EBUILD bfgminer-2.9.1.ebuild 3004 SHA256 fc76207e8911326231981bf15065bf3139db37874f8cea3635b202a90fd7ae7f SHA512 948bc272390b7bb7c302af7e69057a7c8630a163e94e9872c5aca82efc001fdcb8748933a0fb5df84772b8ad72e0cb3393405bbad7eac618a24a515b0bdbe7f6 WHIRLPOOL 921c2f6fb3c247c448d802c9d7cc84883f5b41b1d10517ca446cf97c2c845025cc94648e0a25ba18d6b84eafb7c0f49d53d1dc69fdd065c6b38e1b7272f52273
-MISC ChangeLog 5047 SHA256 33c37525a763634830093e3499c688cbf5b5493baac28422b73dc7b7c4da33f0 SHA512 b9fa181f8e47411675737d98f28ec4f8a8d7e0f49ff6f8cf0b558a887e27cff20cfb6396b6ba5de40b4b4d630d61e8cfa3afcb01c125ec86956911c576472b80 WHIRLPOOL 3cd2a14401f0e9079de299b8c07f8ded6dac67d481ac2fbe0c938bbef0a2de4a932a7642ae56fa5398a92bed6b184d8e0d61d989d3bf2f466b0f6f0d7bb65119
+EBUILD bfgminer-2.9.3.ebuild 3002 SHA256 dcab07e2679b68e5006fb07f09c146dba69be97bd8e1ee55b8ddd5cc53d2b5e0 SHA512 8a1ba14e6229e479da2780216115238f532fc1fdc8b45231b216e708d10f536d0ef70cd6780d04f8a47c843800b184ac0b755bc0bc8df6fde031ccea03990a5d WHIRLPOOL 9151a388146bf354c6fda5ab0e2d0e71299509bb8dd6ac3a8b61e282a59281481007c85cc36dea1510d0b015a24f1747eff8d6d44457e515396633c4c7f81f86
+EBUILD bfgminer-2.9.4.ebuild 3002 SHA256 09c8fa416a2835a7c05faa839a555906c562559441823cf53c84501bc6d932d5 SHA512 f629eba797541bcdd6c40d125e33f7054b9aa9b46f6fd3bbb59d52148801c6902192867e9bcca251859000d34fac12fc9ca7e7991f52030564aec4cf4b041e59 WHIRLPOOL 0f32a32b4a4b98c3f9856a51696847f356e622288f9eb1e821802b7ef23b96bcea38f0494a1a9f002003395758beb59d10724a51abff2579737b07051b0fea0b
+MISC ChangeLog 5337 SHA256 28684208e9b5a17da2c56b6dee33dcdc55cc71e1c227d432aadeff0a24ec8c49 SHA512 1633db63bf612366df98a48631e16d3c6733a68ff052af0760a9dce323c1accb224a32345df54c1147b2eadaa725dd3f2b7c2541b793b60cb79714c32d7fcce6 WHIRLPOOL 9978a45d22d8fbab66090964838c1ba02489f53bec9a91278250bbb428779d0c5f7dbcdbbf977f5fc22dbb7505f1a4bec3be5620b89a8180770a63599a3049a7
MISC metadata.xml 1318 SHA256 afedc304b6ff397a6cec12649d9b5f45154d3105fa1e2466a1b38f6e011fa5a0 SHA512 89e4e6ae835eea7a6e412f74a8229337908c6d2be1d9a5d823d2e8a9ff6b3ad3e942cf8d3c3c0a91b2eddb50962dbea2e31a0a655a04bbe09fc25a1fcdb160dd WHIRLPOOL d8c61e0131d1fac8f91a7ca19b55743810bfa5fdcd3a24aa570403ded162213f63d3e102d08ab71bcbd6271408907a84905de6a51776773496a85d6b4f9b73d8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQvA3LAAoJEEdUh39IaPFN9kQH/0+OI90siiJQt+L8TrO5uamJ
-OfbVLVFX22nU2W0gIlo5YD7ndd+SYDipwfAHSFyFdKfbWlZqVRbVj8XV4xPAkouu
-wByntBHLKPRo+P+vsJetCeEXVK9ie5Q0/uLXvKJtslpGNLpdt4NEMvN5cBG909R8
-gvkvbD0YJtdEQl83YrqA3UQdVLstokd3uPeKUzYdr7MG3i71lK0O2nJvL44F6reE
-EyF/01ifTChMpCU8TpjxzVPrD4SMTYuQIhoT5FTsY+mL5SD9FyLRLaEofINj05Zm
-QlMV1CCd0PXSG45tmo2gNwvIylJ/i2ETULDPDUP7LRF4ddRWzsv3KqQ/Edmxags=
-=1VLB
+iQIcBAEBCAAGBQJQwKCnAAoJEJOE+m71LUu6X+sP/jK7XRirPjkJ8M4TYNZlugo/
+e3zeTcDbW+RHZA+CqcMqpEPl7DPnetyQR0KBGSze4EUIKep/16P8Xqzj0G+SinfG
+vPK7KiV3AVP28PS/NmrzbGwxkpinj5z8nt1lS6nYPfvy3UQaI6xndMj/FE8hGS0b
+6lXuXfgk9IVmhJkNQoUB+mSDe636JKM6EZhlPhF3gFMipIDV3UQPCEbPax/nAEZb
+CJnnLbFW1FHb+VN0ovqsrUKlK0l3SEmJGfuqC2J07HFqvYZPqMUqvo7VMXgUNSn+
+8YXVMcb1RnvwH68PNVFHhtxDpBce94ioQ1uz5aWWuw6VWsWaiLeJfbnE7SeeqEQn
+oi3Y6SbOrq0DVf+sr27b6l6GFyReP4NogUIxDB9lqZy9v/xAUDK1SeMkvNHaRAH5
+oH1vXF2l2Ueap2Laedg3wzRZILBWWoBn65aAtuyHpF9V6M1o6IUdtWTGs1yNbRc4
+95qM9f36ptexSNwfNJSD5Rxd5TK9CwwqDWoczwL8zaGEzJP5aJsDB/jr6wNBia0G
+IaTZgEuZLZbxMltMhMuXfZzuDI9fLz08KO/mW+J6SSHKDPvkRXv6OjXhPmRIPATv
+sgq4TyGfeMrycmk8MXHjn1SZJ8yD3JW0Fi5NE1gu0zdVj/YbLQx5Ka+gb/aoujLS
+dgwIQhxXod1qxDvdI2w+
+=hYcc
-----END PGP SIGNATURE-----
diff --git a/net-misc/bfgminer/bfgminer-2.8.6.ebuild b/net-misc/bfgminer/bfgminer-2.8.6.ebuild
new file mode 100644
index 000000000000..95d56380fae8
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-2.8.6.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.8.6.ebuild,v 1.1 2012/12/06 13:41:53 blueness Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C"
+HOMEPAGE="https://bitcointalk.org/index.php?topic=78192.0"
+SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev ztex"
+REQUIRED_USE="
+ || ( bitforce cpumining icarus modminer opencl 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? (
+ sys-fs/udev
+ )
+ 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 ztex)
+ # sanitize directories
+ sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h
+}
+
+src_install() {
+ dobin bfgminer
+ 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; then
+ insinto /usr/lib/bfgminer/modminer
+ 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-2.8.7.ebuild b/net-misc/bfgminer/bfgminer-2.8.7.ebuild
new file mode 100644
index 000000000000..824836b71bd6
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-2.8.7.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.8.7.ebuild,v 1.1 2012/12/06 13:41:53 blueness Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C"
+HOMEPAGE="https://bitcointalk.org/index.php?topic=78192.0"
+SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev ztex"
+REQUIRED_USE="
+ || ( bitforce cpumining icarus modminer opencl 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? (
+ sys-fs/udev
+ )
+ 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 ztex)
+ # sanitize directories
+ sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h
+}
+
+src_install() {
+ dobin bfgminer
+ 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; then
+ insinto /usr/lib/bfgminer/modminer
+ 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-2.9.3.ebuild b/net-misc/bfgminer/bfgminer-2.9.3.ebuild
new file mode 100644
index 000000000000..4c4ab16107f1
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-2.9.3.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.9.3.ebuild,v 1.1 2012/12/06 13:41:53 blueness Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C"
+HOMEPAGE="https://bitcointalk.org/index.php?topic=78192.0"
+SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~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? (
+ sys-fs/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
+ 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-2.9.4.ebuild b/net-misc/bfgminer/bfgminer-2.9.4.ebuild
new file mode 100644
index 000000000000..c3142baa6ebb
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-2.9.4.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.9.4.ebuild,v 1.1 2012/12/06 13:41:53 blueness Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C"
+HOMEPAGE="https://bitcointalk.org/index.php?topic=78192.0"
+SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~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? (
+ sys-fs/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
+ 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
+}