summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/cgminer/ChangeLog8
-rw-r--r--net-misc/cgminer/Manifest34
-rw-r--r--net-misc/cgminer/cgminer-3.4.3.ebuild6
-rw-r--r--net-misc/cgminer/cgminer-3.5.0.ebuild87
4 files changed, 115 insertions, 20 deletions
diff --git a/net-misc/cgminer/ChangeLog b/net-misc/cgminer/ChangeLog
index 3e4fd661e2e8..469c44c51c91 100644
--- a/net-misc/cgminer/ChangeLog
+++ b/net-misc/cgminer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/cgminer
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.41 2013/09/14 11:27:07 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.42 2013/10/01 16:48:25 blueness Exp $
+
+*cgminer-3.5.0 (01 Oct 2013)
+
+ 01 Oct 2013; Anthony G. Basile <blueness@gentoo.org> +cgminer-3.5.0.ebuild,
+ cgminer-3.4.3.ebuild:
+ Version bump
*cgminer-3.4.3 (14 Sep 2013)
diff --git a/net-misc/cgminer/Manifest b/net-misc/cgminer/Manifest
index c16ea1cc93c7..ed925de27745 100644
--- a/net-misc/cgminer/Manifest
+++ b/net-misc/cgminer/Manifest
@@ -1,30 +1,32 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST cgminer-3.4.3.tar.bz2 6065300 SHA256 d8bd330707b18a0ca9b4aa377edcc23c8492f96fbf08a51c64019de12cbf7b0d SHA512 e7871af17ecd17b1f7ddc21e68ed114ec71223e1c2ec0dc57066e9434c9f6955c34fb8d8986e34dc3fd50c48fccac1d36ab7695f62dea2c987bab44c90feb6ff WHIRLPOOL 97f56035448da30a777e0e829134967480148cc95bed24759ff3c3b977f3af3d5daffdb3382e4f47192c6fd6d001bb8e91ee916beb4444c2547fcaec01251572
+DIST cgminer-3.5.0.tar.bz2 6072918 SHA256 ed9716175724a479f43fbfe001235a5c7f8d46b2f73afd00bf144e1a5e4ee471 SHA512 21dbf036012e331676e6dfd85501f04f10e1f0ae7f4fce3bffd3ffe4ccd8c9544b0166f0024cba00177edbe6b70c4d02803ca05af33a2612a5be7bb5a8ec11fc WHIRLPOOL fb7b7b0944e0fb05856349ea6cf58517ee40b1556b7cd317f49e111115a5edd84f760a6647c242d8a3c01170dbb24587f6f81a7988efdcf6397967a4d94c7376
DIST v3.3.3.tar.gz 6251678 SHA256 5ca131517c827486180e7e83aaf2f0ef8bb6df1465d02cb016c6f75da6e68469 SHA512 e718ecca8c452bdac50ee9f6c9e3efd2d46a44a16007005c949644fd4ba90cb758bc09326c779d35daed5d819fe68d668553042af559eae67e44ea3ed12e00c4 WHIRLPOOL 5657e3c31deb2eb6f9f2afb3024080978657a68956128b349e2fbf8f71e46d8d7a20643ab843f0123595060ca26a70c6e1b53b2401eae172ab2c49269c0734ed
DIST v3.3.4.tar.gz 6251911 SHA256 003ec0e9be2eb41a6d2e8388d7cb3730e7a0af01faec6948ba31903b499db503 SHA512 0ec99c955e938408859971c4852d4210a631acacd7fd6c5149313ffcca59105a9a115ea0409b26567c49a050e42f6df1c0b89e634c59a099da28613a0cd6e77a WHIRLPOOL f0cb7292448ffa7437e593e95deadafccca4ebc4b95e49381557fc50c1c6cbf21ac866f7341f359313ab0faa803fa6d18dc6c3dca49e55b7d283070f658ecb86
DIST v3.4.2.tar.gz 6466947 SHA256 ccdb1096971589e9a14642c44b9532a34125042ab7e46ec1f8219af52591d92e SHA512 8ec8c328604dbad91dcf348e18606bfa378d3b78210b69def57da43090b46599b788a2ebd763ad990a21787bdf97187066ed8d04532529c177818de966598055 WHIRLPOOL a552161e56cd2ef4a658d81f254138ae1abebec6e69c4e397c522cf22c5cc8f4d7e4df47249551e61c9342ca5ef4e2ad03dfa0845bd676fb6995faa83492a79e
+DIST v3.4.3.tar.gz 6473497 SHA256 3b44da12e5f24f603eeeefdaa2c573bd566c5c50c9d62946f198e611cd55876b SHA512 72760a9d340b6c76c652bcbc4b36cdf82f551c9edfa824b0c82022f8ab3267ae9891ec822bfbfe96c226ebd554caad02f06e3cbdcae867c832e5739627e29064 WHIRLPOOL df571cde83087c7c430f4098af6708ae772f863599aa0dcf4a9cafbb7303ddf2fd25db2ac58d95b895ca17b94bf56fc843388065f4ed9cec8755961d3470b955
EBUILD cgminer-3.3.3.ebuild 2392 SHA256 cfa4f57b48e6805b92025cd00c8f7ec44c756ad1f69e969ef5e8b9b041daad97 SHA512 b5d927c3621bea63395e879a7083f1417a3c34f9c238b76bc3ea5418d510a2f9c5ae9f80dc59327f5036af71ce6557acdb0856353af8a4508205ec33fa07a3e6 WHIRLPOOL 0683d9351e34f3d2d2d27c6fe88da4b9c64b99713af73dde228a0553207f4cc907d680c303d77bbb6e128f98a428658c3870fe4eb61a387f52e754cac09e8a3f
EBUILD cgminer-3.3.4.ebuild 2392 SHA256 97ebe964fe77cc7871bcc55a78066ce20ef2604c9531bdf50bfc5863e7f85eb0 SHA512 42cb5a7f04d0aeff9045e39e6af2ca47cc5738d777c459743ad7585ccebf3a253d903e383c3995fdeb53adbb5cf1d4950a7e4029dcfabe2f5de586df7a39f632 WHIRLPOOL d0e11701742551478e46bdcc89a55906f13fc57383d3a4c98054c747ec56d02bf7b8eb8d5a68c437ffd160690f5cc1a401bd953d829be9232a43345474cc9a39
EBUILD cgminer-3.4.2.ebuild 2392 SHA256 ec467ecc0783cdd951375e8f09ac680d02e65ffcba678e5f21064f855659a046 SHA512 c07f3b94dee45344a41c72c72a2f1730636a2b50bd56c4838730326ed1b190b6cb5c02ba50b4dc6c5fb8485676b66e5dbc0f3144a4b7036ff7eb758a24e511b0 WHIRLPOOL 51927ed0f9d2a430859542233f68fe5095510bea946e96148e16808d090a583906c550aa0e43e7b74fbb5e9be1011292e894d269dc48886b9f57a3826552a6a1
-EBUILD cgminer-3.4.3.ebuild 2392 SHA256 a88ba1ad92a6ce3ffaf119fb4f3b4a125b58df76dac9f0da3df6a4263c78df7c SHA512 37496737fbe0a780123fe39ee36789522daba6a01a21d0314b19c7a2c5d24404a33a6fe9d07e7758f33f18b13e5f15d6c357864cd4ab3f066dedbc88e4ecdf67 WHIRLPOOL 0d5e1797b3f2d283e50154758308118f16497d413322a5128b9c8cad9277e24932ffe25cb35b97297ac971ba4393ce49ce08090bfca54f5ba63272046825296c
-MISC ChangeLog 6810 SHA256 915d3535bd610ccfa84ac47df8b5dd43de4d3ce95f35877b9330d63b5ff651ff SHA512 763af0804bec07b278afce1ae1ad4166a2acc11c131057926d0fd958e8539d003756029e3011f91c0832c0c240268cfbbe1d02bf74e44b8ce8225ab960427ba6 WHIRLPOOL e7b275f5e057ad5b02c78039157be6067d46cf475d8abb97ade78c563baa82622ce66d5526f2484ab2852657d6bcbdf198d91efdabceae6d0a8566e1b2789a58
+EBUILD cgminer-3.4.3.ebuild 2392 SHA256 e60fa2b32e48794d34afb8cc701565db3c3ce3d464b71f45468a4a3bfaccf101 SHA512 30f48309f9eb27ffaf7fd9274d44a9cb156d1d885453488cfcf4b1f3e9e61fd01abb73dfc5af5210e1d0f40a205ab2e4e351948a262bc887b17c58aa54ad601b WHIRLPOOL 30e266c5872bc3981ffc21e5c3a0259afad4a507c327fd05484d9944a72a0bd2767a5b8c141611075e86cf6c4dcb9f51826254b54c8570a22e0370d2ca74dcae
+EBUILD cgminer-3.5.0.ebuild 2392 SHA256 6aadf53ee4b9776729668fabc73f2b52ba38462eae7ebf1654d08478a5bf2f9c SHA512 5854d90ddc578d8e56d7e973a54988459ad9bdd06ead4a8b81e0e3c6e02ce2cb9e41ea3a4257174f3fe15c56eca53c5256f8f9c6c1a84a5f53bd398fdbbec9e7 WHIRLPOOL e00e1059a319c01a588ff34b8e37e8f265be5f132d2684a47e42832ec4e4181d91b3925c209c86083554edf19da2e46113c178aaf29c18468ff6804ee315fdb0
+MISC ChangeLog 6958 SHA256 d2b017cfcf32458ff5daf3d9bd2fe7aa1eabcd3dc56f95391798316581cc38d5 SHA512 a8b601a9d52f4f799132415d0186b16dc24c962e1668d7ff277d0dd9f10985413b79774e31c976153843e22137f3159a406e7763cedf4959325cebc1d338557b WHIRLPOOL 60b363ca28cd73dbbb36a1be7e7423853c1cca363325c779ca87c8135162edd9d18aa561a9d554b52d89bc34cbe6e24391fea87260bdca9a042b0fee8f803781
MISC metadata.xml 1108 SHA256 e106228c79174b2a22ac7ce964e7a371db344dbb817db955fb14069146811e05 SHA512 cf6967614f7837f8c8533a018d56e08f1e939075781ad1abbe4df44fb25ad2f7cf2fa47a7bb3bd50b29813ef05da586bc92607aa614bff5d86c130d2e0a7ba75 WHIRLPOOL 2e1322c3c5b207e728b819cbac67c5f658759399f55175fc35f41e081c2c74888baa2a2cc32371b766e826aedebe78a2831d5418491d1de03da036942206b0fa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCAAGBQJSNEgsAAoJEJOE+m71LUu6pkQP/1mUKCBzpGptu3SCklsBvKik
-v9gcyiqrqunyd7gLrWWCVlrsjVTUvKBOLRDSzdDpaUb0sG/gZ/vNB1Wf/RH60QT9
-U5Y+ikclNXT/J3mmlMu3EKAlo8rmn4y4nfqFFLhIMUW+BvgtwnTru2Es5+BgcDBK
-aaPC0rtRejWo9V9QCuypuG+eLUOQfQA6+GOH4MOiZRPOBhw7OQ04b2JS+Ux4gjJ+
-x3eUfy5l/vJRO/rTdB2CEwJhzCIOyWlESfX0YVyBMgUppYfQWr7K9+FW8IDBfBUH
-W76Uv/WYEkwIZgMDIlM4XsyPwOU7Dr4R/Uyanh3xnCdohEaYvGqbx4QAUN9GNCHH
-2mMty8FFdN1LmEYbYro/29Je98V/Qniz9P6vaqoSLVKHhBiopPRKECKsSPofznm1
-gPxsbz0Ve/O+MIsoKq2XtpKxchJGvBo0nIwl8fQH0yQOfNaJzrFi4zqoVqZHPuvi
-f3v2cNdBjzW1hBtIKkTEVkydOzPhnOiAiaaKDH2N6aAqsnO8TCRWLZCvYkPhMxKG
-JNaZDHnrkqPeN7Z9Vv3KCUCXocNUCPSKcSnwK3cz1zEsJ+ENAT6FGJI7aGntS2gr
-9ip5r71Da0MmxLb12NXYoDcGNc48xgyiGK7fDGrXCBVrdjCHKoXzCvCXJiMkLPmw
-TwqxZaY12XJo2ny3JU1O
-=hv0h
+iQIcBAEBCAAGBQJSSv0uAAoJEJOE+m71LUu6T98P/0EENWDUh1gchKn9VqXl8tBP
+CL3cwTaK2mCnoyhml+cSSAPWWSAPLb55qYH+Q4gCzb7IGgNITZQ7WMxkBmhYojOb
+1kLMcNuZhibRNYnsObpToW/GFEIvjxOqkPwggby3FUSf5OQvytjDz6dQnsXxmLOe
+WtiBmdIL0hN0yevMdLZUIb8aDwEB7bT1jTMh65BqhBivYYR9i15PWkriU7zI1NkN
+axEd6bRQKS/I3hIcmISH+YgGk0zlUFMd8LUTmgfK3dt2I7vmQl38WIM0pBT+E3Am
+z+LUiKvY8mNO4zdi3C9ySkPg+Rdnw0yuiL8zbSI8ID8r8DByumlPufGAgafikqr8
+RLgOGRJKPh7WJty/QhvlDQ37vFIgfOh5r8w7fsHKjKFPCtloWlPOlf+qfA0nbZ7s
+LPpx4njbVCnVyTogZWAJXUIA0HdE7MhJOzlWaBIjN9HohEU7Duz293bPKAtyeKtg
+CbY/yiL5GGcAGSUJSfGPZv++QbLkws9YU/6SB/p2xPu8NDTOvYJ8eo6zGqYWHCWu
+Ms1VzH6kgsm6NQldAXEvt4eLEsnBn2EAcm3XYlP6jLkcwUe3Lpmf87iTvlcwasQ7
+AYx4kX7rQi+RO2sca8DNdJIBq7wPPqR1Bi0Uz9m9lMNcqy6FRicJBMIXJ1utmp6G
+7ejoT9PtZhjXCC73GO+e
+=+IVS
-----END PGP SIGNATURE-----
diff --git a/net-misc/cgminer/cgminer-3.4.3.ebuild b/net-misc/cgminer/cgminer-3.4.3.ebuild
index b7d497559a12..a035d588bceb 100644
--- a/net-misc/cgminer/cgminer-3.4.3.ebuild
+++ b/net-misc/cgminer/cgminer-3.4.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/cgminer/cgminer-3.4.3.ebuild,v 1.1 2013/09/14 11:27:07 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.4.3.ebuild,v 1.2 2013/10/01 16:48:25 blueness Exp $
EAPI=5
@@ -8,8 +8,8 @@ inherit autotools flag-o-matic
DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer"
-SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
-#SRC_URI="https://github.com/ckolivas/cgminer/archive/v${PV}.tar.gz"
+#SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
+SRC_URI="https://github.com/ckolivas/cgminer/archive/v${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
diff --git a/net-misc/cgminer/cgminer-3.5.0.ebuild b/net-misc/cgminer/cgminer-3.5.0.ebuild
new file mode 100644
index 000000000000..54641c28216d
--- /dev/null
+++ b/net-misc/cgminer/cgminer-3.5.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.5.0.ebuild,v 1.1 2013/10/01 16:48:25 blueness Exp $
+
+EAPI=5
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
+HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer"
+SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
+#SRC_URI="https://github.com/ckolivas/cgminer/archive/v${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples hardened ncurses opencl adl scrypt
+ avalon bflsc bitforce icarus modminer ztex"
+
+REQUIRED_USE="|| ( opencl avalon bflsc bitforce icarus modminer ztex )
+ adl? ( opencl )
+ scrypt? ( opencl )"
+
+DEPEND="net-misc/curl
+ dev-libs/jansson
+ adl? ( x11-libs/amd-adl-sdk )
+ ncurses? ( sys-libs/ncurses )
+ opencl? ( virtual/opencl )
+ avalon? ( virtual/libusb:1 )
+ bflsc? ( virtual/libusb:1 )
+ bitforce? ( virtual/libusb:1 )
+ icarus? ( virtual/libusb:1 )
+ modminer? ( virtual/libusb:1 )
+ ztex? ( virtual/libusb:1 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ ln -s /usr/include/ADL/* ADL_SDK/
+ eautoreconf
+}
+
+src_configure() {
+ use hardened && append-cflags "-nopie"
+
+ econf $(use_with ncurses curses) \
+ $(use_enable opencl) \
+ $(use_enable adl) \
+ $(use_enable scrypt) \
+ $(use_enable avalon) \
+ $(use_enable bflsc) \
+ $(use_enable bitforce) \
+ $(use_enable icarus) \
+ $(use_enable modminer) \
+ $(use_enable ztex)
+ # sanitize directories (is this still needed?)
+ sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h
+}
+
+src_install() { # How about using some make install?
+ dobin cgminer
+ if use doc; then
+ dodoc AUTHORS NEWS README API-README
+ use opencl && dodoc GPU-README
+ use scrypt && dodoc SCRYPT-README
+ use icarus || use bitforce || use ztex || use modminer && dodoc FPGA-README
+ use avalon || use bflsc && dodoc ASIC-README
+ fi
+
+ if use modminer; then
+ insinto /usr/lib/cgminer/modminer
+ doins bitstreams/*.ncd
+ dodoc bitstreams/COPYING_fpgaminer
+ fi
+ if use opencl; then
+ insinto /usr/lib/cgminer
+ doins *.cl
+ fi
+ if use ztex; then
+ insinto /usr/lib/cgminer/ztex
+ doins bitstreams/*.bit
+ dodoc bitstreams/COPYING_ztex
+ fi
+ if use examples; then
+ docinto examples
+ dodoc api-example.php miner.php API.java api-example.c example.conf
+ fi
+}