diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-06-16 08:37:22 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-06-16 08:37:22 +0000 |
commit | cb273e3e9c280571b4a651ed27011d32a93fc074 (patch) | |
tree | 1f24bde5244a3bb6ca370c195b7dcd5de3df4e67 /net-misc | |
parent | Fix DESCRIPTION, bug #411757 by Jack Hill. (diff) | |
download | historical-cb273e3e9c280571b4a651ed27011d32a93fc074.tar.gz historical-cb273e3e9c280571b4a651ed27011d32a93fc074.tar.bz2 historical-cb273e3e9c280571b4a651ed27011d32a93fc074.zip |
Version bump
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/cgminer/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/cgminer/Manifest | 14 | ||||
-rw-r--r-- | net-misc/cgminer/cgminer-2.4.2-r1.ebuild | 4 | ||||
-rw-r--r-- | net-misc/cgminer/cgminer-2.4.3.ebuild | 122 |
4 files changed, 138 insertions, 8 deletions
diff --git a/net-misc/cgminer/ChangeLog b/net-misc/cgminer/ChangeLog index b2f88bac9ec0..9f179170a889 100644 --- a/net-misc/cgminer/ChangeLog +++ b/net-misc/cgminer/ChangeLog @@ -1,5 +1,11 @@ +*cgminer-2.4.3 (16 Jun 2012) + + 16 Jun 2012; Anthony G. Basile <blueness@gentoo.org> cgminer-2.4.2-r1.ebuild, + +cgminer-2.4.3.ebuild: + Version bump + 04 Jun 2012; Anthony G. Basile <blueness@gentoo.org> cgminer-2.4.1.ebuild: Upstream moved tarball for 2.4.1 diff --git a/net-misc/cgminer/Manifest b/net-misc/cgminer/Manifest index e352a8a6165e..67c05f70b80c 100644 --- a/net-misc/cgminer/Manifest +++ b/net-misc/cgminer/Manifest @@ -6,19 +6,21 @@ DIST cgminer-2.3.5.tar.bz2 4470889 RMD160 49f349ca8e506534426ed0d957b8709f3b50d2 DIST cgminer-2.3.6.tar.bz2 4471825 RMD160 9496c804574d25fd3c79c313d12bd3cbfba44c1e SHA1 4b08cbc2cf5b4e3d1c89dc651e7b8aa8cb76e1d5 SHA256 792c8a2be9f6e8e6e182a6d6459a6becd5263a05e5dedc315b5665a2e0fa105c DIST cgminer-2.4.0.tar.bz2 4473741 RMD160 92789ad524bcd432b6e1957251f8ae93be3f78f3 SHA1 5a8acef5be358a794b42aeb139ea7a37c5ab74e5 SHA256 30a0c018094c93b1f915b67f5cad8cd935838e1ffac862aa6d05ee37f3fbb387 DIST cgminer-2.4.1.tar.bz2 4476025 RMD160 a636e7d0a573c6d6ca4ad667f69f6df339ce81ee SHA1 80fd856484ce311916c071c647bac337395ad2b9 SHA256 41a9aebc13d55358b96bc7cb2b428edf81f61be79918022d2979dee68c71413a -DIST cgminer-2.4.2-1.tar.bz2 4483983 RMD160 f5cec491141c186d66c632ffc4e54038ef101dba SHA1 feceb361950c0ecdfa6da43676797c2aad3a4e69 SHA256 7a1e10b15616d5d5a13242a8efea0c0e3973d419c7076f51e429d2288178762b +DIST cgminer-2.4.2.tar.bz2 4477734 RMD160 8af9961c2baa9dbdabbf1bd90b2054fc3a5c24ef SHA1 e2ca8878452132decaed1daf6d76f99034b8d172 SHA256 f307e314da830a165f2a7bdc3ef3470d2bcf76d159788a100d99f0a0ce72146f +DIST cgminer-2.4.3.tar.bz2 5434203 RMD160 5343049541f814399f5ce6c1e77adc2bc46ae6be SHA1 d8ceb7be250dca43743c3d54f4608b2953640f08 SHA256 d8a7abc27bf5e13873ebce2d1972877967483837ae1b67c0a29c4bcb97e5111b EBUILD cgminer-2.3.4.ebuild 2675 RMD160 08118d903c12b7a5b94ff95c52eede2fe5d3b922 SHA1 9a916429b32ebf865099900b5374ccf6720f8e5d SHA256 3a36721ae61eb336779820306f8bcfb2b3172633dd3849d392c62db4cb01d31e EBUILD cgminer-2.3.5.ebuild 2675 RMD160 07d6154c60d46e2eb3e17077da27b14070c23e56 SHA1 9436bd520ee58c85a6c7dda9778544c74bc773eb SHA256 a3327301db3b42f1f8e85df69e7e7541944f05458c9fe9f4db30906f3d99d8d0 EBUILD cgminer-2.3.6.ebuild 2675 RMD160 3dc23effa211c37176974299f760435fc14fc7ae SHA1 6dab3b438a80f9b75307f6e69c329be489b92b4b SHA256 5661429168331616339616b2605903f17a94ebcd7a7594317dbdc0364a9149ef EBUILD cgminer-2.4.0.ebuild 2675 RMD160 e3037a80ab2297b0e45e7d9fd20ba54cf4cda53c SHA1 4f0dc9119956b739cb28b6667c45ea100dc6af31 SHA256 99f5f19eb532339e77b46bcf9537e108a67b6b738d461aa0069513ac65ada802 EBUILD cgminer-2.4.1.ebuild 2674 RMD160 523275e45e5675afb15765973b6a507683a4d957 SHA1 561b72d6f068aa5fd54cb1a94bc4d6ff3744cb8d SHA256 046577d8c9b8191259c083eec843fa1aa08cb517c78f185ecac098f17e8d55f7 -EBUILD cgminer-2.4.2-r1.ebuild 2725 RMD160 0e74557753eac37733d1052684d013991ae91752 SHA1 55ccfb1a5a0b9b6082b139bac8dfc18928f763fa SHA256 0aa8c402e83ef7cce2a71b22dfe02cb59668497685ea21d9331fa3bfdafea2b5 -MISC ChangeLog 2684 RMD160 75e57425f122413ff8285be1a1414de42534631f SHA1 0fe98237080f1ae4c5cf0ccabde93f95b700b103 SHA256 c3be44fa17d6ea03af5ced0b25c049197bfd1837e3b20c7a184011e902aed219 +EBUILD cgminer-2.4.2-r1.ebuild 2733 RMD160 fd265a7e6c95259bd2a93b88e7b64525dfc8ee28 SHA1 23232ef917003e37238fc5b9d1ca746cab8db10e SHA256 a4661ef6a0d74f1648ad57903cf81f9aa044215cdb33ed775a46333492283f62 +EBUILD cgminer-2.4.3.ebuild 2720 RMD160 1fb9a3c7c8de5ca71ff8be0f8b2a358f0f4d114a SHA1 1ce86a947719e7640161396391f7fe63028a1e72 SHA256 358c21a7de8c6e7e8cdbcf7277425c4b750f2300b3568fb97f8f6afb9401f7b9 +MISC ChangeLog 2835 RMD160 6115a1bf8eeeb486bdca443567bbc69c7065246e SHA1 0cadc54d2bf78b567230ee0de4b73847ca821129 SHA256 9b39ad68026fe3d3a26957dc78b5d3dd68c8829e4f3b4821efd6bc79c91074fb MISC metadata.xml 1098 RMD160 864abfef4005518c2df14acb829db75a38ac3500 SHA1 59ed15a1fbc68fd0bfcaaa4b03bf856d3dc03fff SHA256 ed814f6cd717e693851941385a0349617a99733f948c3a412a9699d01f283dc5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk/MpeQACgkQl5yvQNBFVTUL7gCfTy2Vp8Aw/CMIvU8pD70uPn5h -LsYAnA0PBjtgg0jM1+r4eDe0hoEqldpM -=BRna +iEYEAREIAAYFAk/cRcwACgkQl5yvQNBFVTXJdACeJD0OW6LZY7ymAckR149cAIFs +KmYAnjmBozGL4WYbCBKPJ7wFNLtPpTzX +=8UIl -----END PGP SIGNATURE----- diff --git a/net-misc/cgminer/cgminer-2.4.2-r1.ebuild b/net-misc/cgminer/cgminer-2.4.2-r1.ebuild index bbb87c2fa9e6..d053c9b37c1f 100644 --- a/net-misc/cgminer/cgminer-2.4.2-r1.ebuild +++ b/net-misc/cgminer/cgminer-2.4.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.4.2-r1.ebuild,v 1.1 2012/06/04 12:05:10 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.4.2-r1.ebuild,v 1.2 2012/06/16 08:37:22 blueness Exp $ EAPI="4" @@ -11,7 +11,7 @@ S="${WORKDIR}/${PN}-${MY_PV}" DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C" HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0" -SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-${MY_PV}-1.tar.bz2" +SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-2.4/${PN}-${MY_PV}.tar.bz2" LICENSE="GPL-3" SLOT="0" diff --git a/net-misc/cgminer/cgminer-2.4.3.ebuild b/net-misc/cgminer/cgminer-2.4.3.ebuild new file mode 100644 index 000000000000..db76fdd8ddb5 --- /dev/null +++ b/net-misc/cgminer/cgminer-2.4.3.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.4.3.ebuild,v 1.1 2012/06/16 08:37:22 blueness Exp $ + +EAPI="4" + +inherit versionator + +MY_PV="$(replace_version_separator 3 -)" +S="${WORKDIR}/${PN}-${MY_PV}" + +DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C" +HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0" +SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-${MY_PV}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +IUSE="+adl altivec bitforce +cpumining examples hardened icarus ncurses +opencl padlock sse2 sse2_4way sse4 +udev ztex" +REQUIRED_USE=" + || ( bitforce cpumining icarus opencl ztex ) + adl? ( opencl ) + altivec? ( cpumining ppc ppc64 ) + padlock? ( cpumining || ( amd64 x86 ) ) + sse2? ( cpumining || ( amd64 x86 ) ) + sse4? ( cpumining amd64 ) +" + +DEPEND=" + net-misc/curl + ncurses? ( + sys-libs/ncurses + ) + dev-libs/jansson + opencl? ( + virtual/opencl + ) + udev? ( + sys-fs/udev + ) + ztex? ( + virtual/libusb:1 + ) +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + virtual/pkgconfig + sys-apps/sed + adl? ( + x11-libs/amd-adl-sdk + ) + 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 + ln -s /usr/include/ADL/* ADL_SDK/ +} + +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_with ncurses curses) \ + $(use_enable opencl) \ + $(use_with udev libudev) \ + $(use_enable ztex) + if use opencl; then + # sanitize directories + sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer/opencl"'"~' config.h + fi + if use ztex; then + sed -i 's~bitstreams/~'"${EPREFIX}"'/usr/lib/cgminer/ztex/~' libztex.c + fi +} + +src_install() { + dobin cgminer + dodoc AUTHORS NEWS README API-README + if use icarus; then + dodoc FPGA-README + fi + if use opencl; then + insinto /usr/lib/cgminer/opencl + doins *.cl + fi + if use ztex; then + insinto /usr/lib/cgminer/ztex + doins bitstreams/*.bit + fi + if use examples; then + docinto examples + dodoc api-example.php miner.php API.java api-example.c + fi +} |