diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-06-06 11:18:06 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-06-06 11:18:06 +0000 |
commit | 4bf534376243747d1b97aa7bdbbc24b2d289209f (patch) | |
tree | f0280f2af908c8be57bab4960eb6a33ca233ecfd | |
parent | Version bumps (diff) | |
download | historical-4bf534376243747d1b97aa7bdbbc24b2d289209f.tar.gz historical-4bf534376243747d1b97aa7bdbbc24b2d289209f.tar.bz2 historical-4bf534376243747d1b97aa7bdbbc24b2d289209f.zip |
Version bumps
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0xF52D4BBA
-rw-r--r-- | net-misc/bfgminer/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/bfgminer/Manifest | 36 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-3.10.2.ebuild | 155 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-3.5.9.ebuild (renamed from net-misc/bfgminer/bfgminer-3.5.6.ebuild) | 31 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-4.1.0.ebuild | 161 |
5 files changed, 364 insertions, 29 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog index fd231a4b3a98..babe82326724 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.57 2014/05/27 15:28:47 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.58 2014/06/06 11:17:52 blueness Exp $ + +*bfgminer-3.10.2 (06 Jun 2014) +*bfgminer-3.5.9 (06 Jun 2014) +*bfgminer-4.1.0 (06 Jun 2014) + + 06 Jun 2014; Anthony G. Basile <blueness@gentoo.org> +bfgminer-3.10.2.ebuild, + +bfgminer-3.5.9.ebuild, +bfgminer-4.1.0.ebuild, -bfgminer-3.5.6.ebuild: + Version bumps 27 May 2014; Anthony G. Basile <blueness@gentoo.org> bfgminer-3.10.1.ebuild, bfgminer-3.5.8.ebuild, bfgminer-4.0.0.ebuild: diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest index defac6a8d985..a314528f151e 100644 --- a/net-misc/bfgminer/Manifest +++ b/net-misc/bfgminer/Manifest @@ -3,30 +3,34 @@ Hash: SHA256 DIST bfgminer-2.5.0.tbz2 6015548 SHA256 81a23270cac2ad49c5ca70f498c1194d245fff6aba5f3b9e5ef1f3e6fa1c9482 SHA512 6c4517ef36300d68ea721be63380c491932b01666d49dad87f4d1752b70606b6abe2e4a30c5b5ce0b72b9a029a588503ac9dee1f9d9e9b3fefd483ccdda37bdc WHIRLPOOL 3aa165a96cfc60ad126bb17dcb989682be3dd46f556caa7c71791da5e49e87129dd139c3c476894837f4c035a30657d6372a34ef9a79979baccb20ae56b9e543 DIST bfgminer-3.10.1.tbz2 1088855 SHA256 a0d2775472eac9ef7708d239c34125165c15c59780ed136f993e2f1cdccc5b12 SHA512 bab2a4432d909700991f571230a7ebced406c1217cffe46ed30db7e82137097f89b1a92ea81977eb0982024fc40166caab069c195185bd98c715e183a7834f7d WHIRLPOOL 950648508fe31640d3d04f496bc7039d7e26b75e72210abff073508b7c208183acf925afcb64273b92abeb6951243da5f6e8db2c503beb00b105a4689e12bb27 -DIST bfgminer-3.5.6.tbz2 1037975 SHA256 83c6a2d3e2cded9e28873118a91cd7d705a8ad53db2e4301250902712c95eb06 SHA512 9f081f36b17960912fa3626fbf49ce26ee43297073da8e36fe15a2e9a6c5651528d579f371403482728a619af9f82214a68fb38952eb718320add88b28a2b968 WHIRLPOOL 63cb51d9527c48ffd6ff6d4dd2fbc069d1501d7750d119714f3ebc4696bb4505cd1cddee10cd85992d433d3db35a32c0fe59a089e0141aa21ec885f232905e51 +DIST bfgminer-3.10.2.tbz2 1091311 SHA256 d4579f803ad94161328889f1099cafa51d770635fc7819e1c2c04c4f761f5718 SHA512 4d6d247c72e8fb5d89eee0f8692b4317c8940e73cc18788a25184a21d292ea34a322a5899ba57788df9a49849dac4878545f074a752172ed57414c5b18979439 WHIRLPOOL 914bfc7d829c4e238cd11191745e6baf6749571052aecef553694f8246e38f684e807e8b69324b61420df1baa53c223da82b446b29b9138007fc044ee80fc40d DIST bfgminer-3.5.8.tbz2 1039193 SHA256 e338203557c80cd7086a4f6b087b90459d8df70937b6fa0b2d6eb6f98962e9e8 SHA512 51b47bb2ccd01af7c3b12c68a7f677959805a9c473b0ea93a7e9c753f477a8ca48425bf46b7897411442a324a0427e06bf30af5b0ac19547f32a4ef2649b0026 WHIRLPOOL 5a73ed96522ed977374397068345ce7b35785e15b0b6d51b027eb32d9e7a2263e3d522f8d80446d78fbfeb2d6aa3949bfca0e392293f5d5bc7d1597608c0cf83 +DIST bfgminer-3.5.9.tbz2 1039308 SHA256 b851550c473e8a6612b4d7d2f2f31b2a3734b9e871a03b92814d171262ba8d0e SHA512 e0b6baa111a5521709a8f7c16105e6a1577a16692cf5404ec68ddb81139663c8c3ef1d1b24280efca9cd3a0acfaa21945b6a247cf2f9402a7948b8a29e16e375 WHIRLPOOL ec557cc88599ba79a7d7a7f35532be40716a352ea680b048feb8efa7be6f38e4415626866a7b80f90fc898c43403dc9fd166b4f94fda020c73959e905ac5a460 DIST bfgminer-4.0.0.tar.xz 2288444 SHA256 feec7d4ada6ceae456656b68188df05d095bbd7fc9839368f65dcd52b04f7539 SHA512 f47857c86fd43b454161596cb0f76baab0a6195b1353263488fef72b6125e6e95d71ae56a5630808ee4c562eaf6df2965714d1694afea2b5222a884237a67237 WHIRLPOOL 5a7bba5f7ec4fbe46826dd9086d821b3a267571dda869c51eeb449333af74207ec3a7eccd8d478f6c7338e4a73a4510e54738096352b2c54cbcc6cdc313385ca +DIST bfgminer-4.1.0.tar.xz 2290676 SHA256 20eb7c74e343571f3cf3165ac72f436337b219bd132d0e4cff16659e003cc2f8 SHA512 d3d2262bd4b91a07b44fe0c51aa2dc66fcc8c71b04105376b4eb330cd3449107abfb948d1759c3df816b968dc7a55b5fdfc4b6989298e64fd1ae8d20939ecf2f WHIRLPOOL 63fbf343dcaddab9927acdff97edbcb945034eb19087403d1fc983c156fb64a391bdbef071ea4b41bdf7b4f62189ff8cea310324bddc98754d9e8abdf1adb652 EBUILD bfgminer-2.5.0.ebuild 2762 SHA256 aeae06d88e9c1ddaca68657a411acef4e74fba5453f611c0b98bcbf9a47a4dc0 SHA512 948830b45c74fd6302eaea9c4619257074c7c5f0555f0509e4fab226490729e83ab0050d006b9559509390c04b2713e39362643dfd1ad793e33b61e4340982fb WHIRLPOOL 8c7f35099f39f63c0738db827469827cf8a18edcb8bd8a37830e342a752e98e35b082b65b5267124dc2599ce1e34452146f2971bcd6307e0ed6038541677ddb2 EBUILD bfgminer-3.10.1.ebuild 3672 SHA256 59e4b8ab723e5b8e219d060c1e67fe53c5e27b236432899391a95a1286831622 SHA512 7fc136927be2147d33bfa1c88cad684caf5f02909e3c9732168a2617f58f2c643dbc58d0ed1a40b9bcd6ffa14847dbfc41aeedc58ab8aff72fce2e1876614777 WHIRLPOOL cb1b6c53e30ffe2e67ae492d177d1096d2924fc40610c337508dbafe423426723f7b8b62823c798ba4009e65896e5c8cb0aaeb41a06e5ddb60cbb365d8134a7a -EBUILD bfgminer-3.5.6.ebuild 3010 SHA256 345821cca05e43c5c0020a1bb90e3d78009c7d606856a683459c01da1487aebc SHA512 cdb4f45c4e3a1fafb7fef7154898253d2d72b8c414bb1c7de302b6425650567f905d2258094d4b9db51ca48756646b6307a6c57e8e7b7765ec0dd0828f4d6ce3 WHIRLPOOL aa75459d57c4cb4f60f7b71906d3c9cf765ea6aa00b10ca04b41d18df78dc10b90ee9584d14c6ce0117be030ff906e9c5a4c8d3f3d608dbc1676fb89d075df61 +EBUILD bfgminer-3.10.2.ebuild 3672 SHA256 5aa9d34dfa30608abf5fd76f5c662b930ad173e0401306b0a23a719d29578143 SHA512 b9664d4386dede6e0c843655931d037b54a626e73a4966f85aec28449e86702b5d937637eaaeee6fd033294c6b767879733264d4858dcf470c6d1c1b996d68be WHIRLPOOL 981562cf88ee42f8df289eb9ab65f4f6a943b813ef387e5f769377b452533662d33888ccdeee6ad2999d392ff2d960e3268cf2d9a4f248a6a4b0fcfb77d6a3f4 EBUILD bfgminer-3.5.8.ebuild 3223 SHA256 f27b5a033b623b51da115adbbeef635a0164277b8abab813b9f1e6a566c1b6a9 SHA512 37ca448a5bfcc84e33d03f576977ac601aa7251abf913db234cf68170d4c86ba5296a73c26df2255205e85305d244fac704050c6d9d71946fbe6904a0a013c11 WHIRLPOOL ccc7b3454e8765c8488631d040a1a748dd3f042b6b2908da19fa9147181e4a5a3b6763004f83cfb95aaf61f1e1f8d9682f05ffa87c47a0f28f8e7798bbe69960 +EBUILD bfgminer-3.5.9.ebuild 3223 SHA256 c097a708460adf302d8cbfd9d0a5634ad2171c090f97e999e3525f20d20d1729 SHA512 cdeccff10ad6a4b76d42461f20a85a55ea4337611620bc3321a2bbeef83c456c5b095ea48852dfddba34d26f002090255bd0076d1ad57b82161f5d51b19e800e WHIRLPOOL ef1db22aaeff1f932583615378438e8e03cd15063c5050f257d618d688abeb6a30cd1c91314a35ce80f1fe6c37b46c5c20fdc047b4450682b5a002602f9f04ce EBUILD bfgminer-4.0.0.ebuild 3878 SHA256 40381ff3a74bf6e088550ab39849fc40572ff22f4d302960f021a910b961ec3d SHA512 c516a4cddd948c75235a867aec0be3e090c21aaa1a457d975e2ef57691e7451e467ffbd81f715320e89c80a722b85e0341277dc2a6d1e272b772d17b15812599 WHIRLPOOL ddc3c21cb19b7e9a1ff2f55008f45726ac3c9e6f2551e6bac14b11af15cde9815bca363c61ac19b9cbe76cdf3a4b50af16cdf2209ff41234cad3b22e9bc3be5e -MISC ChangeLog 13526 SHA256 230bc8a93952b3db072e11139c096c6bffc1a33458fbcf0eee6d65e554053f98 SHA512 33d3926cb0021770bb2d2f11126ce6bb89923247323c5de0aaade294299c7ea2f02d193cca4c131b9c9facd0ce6a7985d21ee51367d2d39ad580f5a250f75049 WHIRLPOOL d2eefbd8659402576f62199db7b575c12450907240e1b9433bb56e8db823c4550f6732ae23381c6414d5f3079da7ca736054d6d3450c0a60213130f9b4cab1a8 +EBUILD bfgminer-4.1.0.ebuild 3878 SHA256 ee0a54c1566fcc1d76d2a5a8fbeb86e16e761dae7f667f5dd83ad7068e1a3d02 SHA512 3351e6622d6151b39a8234f86db52043f95455906c1addbfc0fd23e998470fa0d0b841103286388b4ca9e0b3e5b5a96757d7a4fb8f3ec7b30053b9119feae653 WHIRLPOOL 1e2beda1cc2140aac368a4bcad8ffed31cf8b726c9550a63379b779e73c66e15111577b2b9e614ab5b02f6b9c200b8c620e94b6cb8874e81cb941f62ded89ed3 +MISC ChangeLog 13789 SHA256 bb2e4c166f9dc8b638ed442f4fba5a0cff921da8b06ef3feea46c9d49ccf3025 SHA512 97428cb99aa11a6d814b2da98fc3af3060468fce2821ad21a48bae0d58da1674f24e99b541530ede8a75345e4c9f238da68ae7979911bbd4d5f7aa10b2182b42 WHIRLPOOL 38cd3a45642bc46320602e236a04b6e8c35a389a32a60f3d546c6a9d8de55187fdb670115eeb341105dbd9d37d8018bb48ee4de27ffae59c0a88cfb4ca435aaf MISC metadata.xml 3202 SHA256 2f87bbf95fe6e90c62c974b7bc1454f0df9811e8bd4ba00ac6d1979df90de617 SHA512 3abca6e157c890606374628651aa3a991506c67053768627a44f5542a0e1f8cdc9b2445cd9d16ec3e5c5350c0e0dbdc55286c1ce7b2ee446129c9bee678642d4 WHIRLPOOL bcea4c3e10466e258e37d89d1bad6ad2a9bb2e1d2ddfa308d70fb66265f27e8291b73e9eb987c1a992b2f7ee072a8e4f5a71aa916089268cd7fa73624193e186 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJThK/KAAoJEJOE+m71LUu6vh8QAK8a1mgwBeb2pbyh1+5AnXP7 -SUv75H/aq+nTNFHU5GaUl9Yh3/cXacQTuX/k/L054v7NL52RSUUtPGPMYnERn5D7 -slsDFzea/46cBwEV1VALvrFgXyrRmVPwuBa+h1wF3e7NBQ86yslsMjEzu2sbhuKm -DELQrgXPG9XGVJdl+/kpZJUd6obp1Hp5aus0pPmlt0fj1ajtobU5UoRb+xmPpN4Y -KNWz2yGaYb9Pxdfh+B+/8rcZGdx3T2q4zOH9nk+3J2yyR2/yHv7+y4v7zXnlAqHY -dGO6K8bPv9yN+m9Gult/BrNTas6Gn3tZdFGysQHEyYNXYGvNc18CIID43AeEfWX2 -wsbbf/ASnPEVyeHNWjtCVm1ShZCFA/t0FS7PBb1dDFyjyFxi0yLJ/n6jCpTPxSSp -Ni+LUG+S1BAVblLnn1w6/LpEjTP9rPAWjJ9/w5M0KnokRNObIMNo803I5b8VTkYK -ugD8NI7g9UnQT4XSNc3wr9pCBjGVJp5XcgyAZbyJxXi2a9SCkfwFui1Wz0D5+Pco -EHr04sOgRHPrRVw/QWRz3IN1sGYtTv8FlamUH8YQfBwfNVN2NoJXXZKJhObzCxkI -n7ZczrRyBbPRhjhQK1GtrLW8KKk6Mq8fdUnIc23tp4nnUeIMKPWRkUq25nYExNkE -D44Br1FpRKKMWhdjmQVQ -=dRWA +iQIcBAEBCAAGBQJTkaOxAAoJEJOE+m71LUu6Le4P/3KziTsZEd8r3XwA8/sJbWMv +Dkpt4EgAAeTOn+zA2nFgg+yj1q/d3dBits9PFCq1KBE4O//K0eByKRahLYYapEou +rR11P3ET5VJ+xMOoni+wkPgiNRKFbYu+4yCdVeilTQJSpHLkDHC/Np39NPe0M4GN +1dbL/+0T4eFvhBGbmgUAN2C8BRhk3+FTmq+5ahmhR4Bzbv9SDIdgzTl/L2G5sQ9g +xpivi+QKjHtcYAI104oZqdbLTbVA/zfcofInxK7KfONXpu6PBhLrr77u8xfdTG+x +ullVZ2SmhKUGoxtlWpzhgBICxfFyFuO4SbTNU0/fgQsJ3/GLwo+d5AIscPpzNw5A +LNf3JFvCZY/FIzfwIHpDAfFbA7opohrHto/agqcuaAQR+PL7qRCQp32v+/GjjKd7 +VWCn84+YA52220N0pnToICStJehxfhkG/fekCr7ulHUqplCcqKyDSRVn97e9jELy +ptKcxElJikf8OjGZz6UTcqtGyR0LUG85kY8WuJ+MhGYqZHfzTD569wNFdVlaN/ZK +LA01IuZhcL6mvdyErOMUzN91Zab9o1IBmZvLdU5UlKwql3DGUV2KpfMiH4C04Tee +ybO3Zl7M717ZFRCXVaT+ZYH4oqa8Yi8FJaQgA79vhlkPXbH+fRZZg5RQHzU29p+Q +m74It+Itpr08NJWsYj0k +=dL6V -----END PGP SIGNATURE----- diff --git a/net-misc/bfgminer/bfgminer-3.10.2.ebuild b/net-misc/bfgminer/bfgminer-3.10.2.ebuild new file mode 100644 index 000000000000..ca0177cdfbd5 --- /dev/null +++ b/net-misc/bfgminer/bfgminer-3.10.2.ebuild @@ -0,0 +1,155 @@ +# 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.2.ebuild,v 1.1 2014/06/06 11:17:52 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" + +# 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 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 ) ) + 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 + 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 +} diff --git a/net-misc/bfgminer/bfgminer-3.5.6.ebuild b/net-misc/bfgminer/bfgminer-3.5.9.ebuild index 7dd432cfddb8..44b47d84d4b4 100644 --- a/net-misc/bfgminer/bfgminer-3.5.6.ebuild +++ b/net-misc/bfgminer/bfgminer-3.5.9.ebuild @@ -1,8 +1,8 @@ # 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.6.ebuild,v 1.3 2014/01/26 11:45:04 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.9.ebuild,v 1.1 2014/06/06 11:17:52 blueness Exp $ -EAPI="4" +EAPI=4 inherit eutils @@ -12,15 +12,12 @@ 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" +KEYWORDS="~amd64 ~arm ~mips ~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=" - || ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) +REQUIRED_USE=' + || ( avalon bfsb bigpic bitforce bitfury cpumining hashbuster icarus littlefury metabank modminer nanofury opencl proxy x6500 ztex ) adl? ( opencl ) bfsb? ( bitfury ) bigpic? ( bitfury ) @@ -34,9 +31,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,10 +64,20 @@ DEPEND=" ztex? ( virtual/libusb:1 ) -" +' RDEPEND="${DEPEND} opencl? ( - virtual/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} diff --git a/net-misc/bfgminer/bfgminer-4.1.0.ebuild b/net-misc/bfgminer/bfgminer-4.1.0.ebuild new file mode 100644 index 000000000000..565ecf35aecd --- /dev/null +++ b/net-misc/bfgminer/bfgminer-4.1.0.ebuild @@ -0,0 +1,161 @@ +# 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.1.0.ebuild,v 1.1 2014/06/06 11:17:52 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}.txz -> ${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" + +# TODO: knc (needs i2c-tools header) +IUSE="+adl antminer avalon bfx bifury bitforce bfsb bigpic bitfury cpumining drillbit dualminer examples gridseed hardened hashbuster hashbuster2 hashfast icarus klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt twinfury +udev unicode x6500 ztex" +REQUIRED_USE=' + || ( antminer avalon bfsb bfx bifury bigpic bitforce bitfury cpumining drillbit dualminer gridseed hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 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 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 + 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 bfx) \ + $(use_enable bigpic) \ + $(use_enable bitfury) \ + $(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 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 +} |