[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: 3749b6e7ef444608c3d93717b180179ee2eada2f Author: Sam James gentoo org> AuthorDate: Thu Apr 28 03:24:46 2022 + Commit: Sam James gentoo org> CommitDate: Thu Apr 28 03:31:51 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3749b6e7 net-misc/cgminer: use udev.eclass; call udev_reload Signed-off-by: Sam James gentoo.org> net-misc/cgminer/cgminer-4.10.0-r1.ebuild | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/net-misc/cgminer/cgminer-4.10.0-r1.ebuild b/net-misc/cgminer/cgminer-4.10.0-r1.ebuild index 016755b9d44c..7fcba45d1770 100644 --- a/net-misc/cgminer/cgminer-4.10.0-r1.ebuild +++ b/net-misc/cgminer/cgminer-4.10.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit flag-o-matic toolchain-funcs +inherit flag-o-matic toolchain-funcs udev DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" HOMEPAGE="https://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer"; @@ -76,8 +76,7 @@ src_install() { # How about using some make install? dobin cgminer if use udev; then - insinto /lib/udev/rules.d - use udev && doins 01-cgminer.rules + udev_dorules 01-cgminer.rules fi if use doc; then @@ -91,3 +90,7 @@ src_install() { # How about using some make install? dodoc api-example.php miner.php API.java api-example.c example.conf fi } + +pkg_postinst() { + use udev && udev_reload +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: 23916ca0ea0ecf82ed10b5d258b4998136199eac Author: Sam James gentoo org> AuthorDate: Sat Sep 25 18:50:43 2021 + Commit: Sam James gentoo org> CommitDate: Sat Sep 25 19:07:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23916ca0 net-misc/cgminer: add libjansson subslot dep Earlier versions of libjansson lacked symbol versioning, causing crashes. Bug: https://bugs.gentoo.org/812119 Signed-off-by: Sam James gentoo.org> net-misc/cgminer/{cgminer-4.10.0.ebuild => cgminer-4.10.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/cgminer/cgminer-4.10.0.ebuild b/net-misc/cgminer/cgminer-4.10.0-r1.ebuild similarity index 98% rename from net-misc/cgminer/cgminer-4.10.0.ebuild rename to net-misc/cgminer/cgminer-4.10.0-r1.ebuild index bcfc4b2aa99..016755b9d44 100644 --- a/net-misc/cgminer/cgminer-4.10.0.ebuild +++ b/net-misc/cgminer/cgminer-4.10.0-r1.ebuild @@ -21,7 +21,7 @@ REQUIRED_USE="|| ( ${HARDWARE} )" RDEPEND=" net-misc/curl - >=dev-libs/jansson-2.6 + >=dev-libs/jansson-2.6:= virtual/libusb:1[udev] ncurses? ( sys-libs/ncurses:0= ) udev? ( virtual/libudev )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: 0f81e0f41e1b75da359c99a209b0267be9f94672 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Sep 24 17:12:15 2021 + Commit: Anthony G. Basile gentoo org> CommitDate: Fri Sep 24 17:12:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f81e0f4 net-misc/cgminer: drop to maintainer needed Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Anthony G. Basile gentoo.org> net-misc/cgminer/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/net-misc/cgminer/metadata.xml b/net-misc/cgminer/metadata.xml index 79f8665f4a0..ac84dac8329 100644 --- a/net-misc/cgminer/metadata.xml +++ b/net-misc/cgminer/metadata.xml @@ -1,10 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd";> - - bluen...@gentoo.org - Anthony G. Basile - + Enable support for Antminer S1 Bitmain Enable support for Antminer S2 Bitmain
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: cb4b67edc310230fde780458896b3b5089a58eec Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:32:54 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:32:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4b67ed net-misc/cgminer: Remove old Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> net-misc/cgminer/Manifest | 1 - net-misc/cgminer/cgminer-4.9.2.ebuild | 85 --- 2 files changed, 86 deletions(-) diff --git a/net-misc/cgminer/Manifest b/net-misc/cgminer/Manifest index 6a4fa323406..0722bb99c58 100644 --- a/net-misc/cgminer/Manifest +++ b/net-misc/cgminer/Manifest @@ -1,2 +1 @@ DIST cgminer-4.10.0.tar.bz2 1306225 BLAKE2B 29d34e5d9246fc5b0409a1647e4ddf291f1e7610888110c1917ddbc1c30a9d0301bb70dba187690f2685b2fd476d5c0b0cd65e87fafa56b62a7f3a0202a374de SHA512 ed39bffa51715756875c101f4aaf984cab566fc1c8b657f6da37d0cdf921faee752c3efadf97c98ca6e749175457fbc2c37e9332cd26d2ff1675752250ac21db -DIST cgminer-4.9.2.tar.bz2 1476371 BLAKE2B 01ff700cb5dc2fb12709da41aeaa22c6fc6b9dc6fb1e12116eef3a382ad328961b8d6ddd6ac6fce47ab8084c96e1a7be74a697b3d885c7e78dfadf07b678ad24 SHA512 48371657c84f09ad8c500a29ca85f35af70eb8720d9d97b565cd8c5356289d889ee60c06f37c0507a53c8f50ae827a77fa0c41609bac6b1e8849ad26b55d67d4 diff --git a/net-misc/cgminer/cgminer-4.9.2.ebuild b/net-misc/cgminer/cgminer-4.9.2.ebuild deleted file mode 100644 index 6cf544e6b08..000 --- a/net-misc/cgminer/cgminer-4.9.2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils flag-o-matic - -DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" -HOMEPAGE="https://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer"; -SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"; -#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" - -HARDWARE="ants1 ants2 ants3 avalon avalon2 avalon4 bab bflsc bitforce bitfury bitmine_A1 blockerupter cointerra drillbit hashfast hashratio icarus klondike knc minion modminer sp10 sp30" -IUSE="doc examples udev hardened ncurses ${HARDWARE}" - -REQUIRED_USE="|| ( ${HARDWARE} )" - -RDEPEND="net-misc/curl - >=dev-libs/jansson-2.6 - virtual/libusb:1[udev] - ncurses? ( sys-libs/ncurses:0= ) - udev? ( virtual/libudev )" -DEPEND="virtual/pkgconfig - ${RDEPEND}" - -src_configure() { - use hardened && append-cflags "-no-pie" - - # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. - export PKG_CONFIG=/usr/bin/pkg-config - econf $(use_with ncurses curses) \ - $(use_enable ants1) \ - $(use_enable ants2) \ - $(use_enable ants3) \ - $(use_enable avalon) \ - $(use_enable avalon2) \ - $(use_enable avalon4) \ - $(use_enable bab) \ - $(use_enable bitmine_A1) \ - $(use_enable bflsc) \ - $(use_enable bitforce) \ - $(use_enable bitfury) \ - $(use_enable blockerupter) \ - $(use_enable cointerra) \ - $(use_enable drillbit) \ - $(use_enable hashfast) \ - $(use_enable hashratio) \ - $(use_enable icarus) \ - $(use_enable klondike) \ - $(use_enable knc) \ - $(use_enable minion) \ - $(use_enable modminer) \ - $(use_enable sp10) \ - $(use_enable sp30) \ - $(use_enable udev) \ - --disable-forcecombo \ - --with-system-libusb \ - --with-system-jansson - # 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 udev; then - insinto /lib/udev/rules.d - use udev && doins 01-cgminer.rules - fi - - if use doc; then - dodoc AUTHORS NEWS README API-README - use icarus || use bitforce || use modminer && dodoc FPGA-README - use avalon || use bflsc && dodoc ASIC-README - fi - - if use examples; then - docinto examples - dodoc api-example.php miner.php API.java api-example.c example.conf - fi -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: 01d46a46cbebb9039d6958046262572caac90cb3 Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:32:51 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:32:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d46a46 net-misc/cgminer: Apply gcc-10 workaround * Upstream inactive since 2018 Closes: https://bugs.gentoo.org/707436 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> net-misc/cgminer/cgminer-4.10.0.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net-misc/cgminer/cgminer-4.10.0.ebuild b/net-misc/cgminer/cgminer-4.10.0.ebuild index 1ac87f413db..bcfc4b2aa99 100644 --- a/net-misc/cgminer/cgminer-4.10.0.ebuild +++ b/net-misc/cgminer/cgminer-4.10.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,7 +19,8 @@ IUSE="doc examples udev hardened ncurses ${HARDWARE}" REQUIRED_USE="|| ( ${HARDWARE} )" -RDEPEND="net-misc/curl +RDEPEND=" + net-misc/curl >=dev-libs/jansson-2.6 virtual/libusb:1[udev] ncurses? ( sys-libs/ncurses:0= ) @@ -29,6 +30,7 @@ BDEPEND="virtual/pkgconfig" src_configure() { use hardened && append-cflags "-no-pie" + append-cflags -fcommon # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. export PKG_CONFIG="$(tc-getPKG_CONFIG)"
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: a0c25e16323e6ecc948112b65daf79be6d84d520 Author: Sven Wegener gentoo org> AuthorDate: Mon Mar 25 05:11:30 2019 + Commit: Sven Wegener gentoo org> CommitDate: Mon Mar 25 05:15:49 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0c25e16 net-misc/cgminer: -nopie -> -no-pie Signed-off-by: Sven Wegener gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 net-misc/cgminer/cgminer-4.10.0.ebuild | 2 +- net-misc/cgminer/cgminer-4.9.2.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net-misc/cgminer/cgminer-4.10.0.ebuild b/net-misc/cgminer/cgminer-4.10.0.ebuild index 9f112f4a838..1ac87f413db 100644 --- a/net-misc/cgminer/cgminer-4.10.0.ebuild +++ b/net-misc/cgminer/cgminer-4.10.0.ebuild @@ -28,7 +28,7 @@ DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" src_configure() { - use hardened && append-cflags "-nopie" + use hardened && append-cflags "-no-pie" # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. export PKG_CONFIG="$(tc-getPKG_CONFIG)" diff --git a/net-misc/cgminer/cgminer-4.9.2.ebuild b/net-misc/cgminer/cgminer-4.9.2.ebuild index 68b775d5d85..6cf544e6b08 100644 --- a/net-misc/cgminer/cgminer-4.9.2.ebuild +++ b/net-misc/cgminer/cgminer-4.9.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -28,7 +28,7 @@ DEPEND="virtual/pkgconfig ${RDEPEND}" src_configure() { - use hardened && append-cflags "-nopie" + use hardened && append-cflags "-no-pie" # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. export PKG_CONFIG=/usr/bin/pkg-config
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: 71b1a5c49dbfc9c05dc55673189fac8090a9fedc Author: Lars Wendler gentoo org> AuthorDate: Sun Mar 24 00:22:24 2019 + Commit: Lars Wendler gentoo org> CommitDate: Sun Mar 24 00:22:24 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b1a5c4 net-misc/cgminer: Use ${PKG_CONFIG} instead of pkg-config Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> net-misc/cgminer/cgminer-4.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/cgminer/cgminer-4.10.0.ebuild b/net-misc/cgminer/cgminer-4.10.0.ebuild index 4142f3b8957..9f112f4a838 100644 --- a/net-misc/cgminer/cgminer-4.10.0.ebuild +++ b/net-misc/cgminer/cgminer-4.10.0.ebuild @@ -65,7 +65,7 @@ src_configure() { --with-system-jansson ) econf "${myeconfargs[@]}" \ - NCURSES_LIBS="$(pkg-config --libs ncurses)" + NCURSES_LIBS="$(${PKG_CONFIG} --libs ncurses)" # sanitize directories (is this still needed?) sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h || die }
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: 151266171d7d362a60034621d89f9809f3690778 Author: Lars Wendler gentoo org> AuthorDate: Sun Mar 24 00:20:11 2019 + Commit: Lars Wendler gentoo org> CommitDate: Sun Mar 24 00:20:11 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15126617 net-misc/cgminer: Fixed build with sys-libs/ncurses[tinfo] Closes: https://bugs.gentoo.org/652970 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> net-misc/cgminer/cgminer-4.10.0.ebuild | 76 ++ 1 file changed, 40 insertions(+), 36 deletions(-) diff --git a/net-misc/cgminer/cgminer-4.10.0.ebuild b/net-misc/cgminer/cgminer-4.10.0.ebuild index c635781c2f2..4142f3b8957 100644 --- a/net-misc/cgminer/cgminer-4.10.0.ebuild +++ b/net-misc/cgminer/cgminer-4.10.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils flag-o-matic +inherit flag-o-matic toolchain-funcs DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" HOMEPAGE="https://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer"; @@ -24,46 +24,50 @@ RDEPEND="net-misc/curl virtual/libusb:1[udev] ncurses? ( sys-libs/ncurses:0= ) udev? ( virtual/libudev )" -DEPEND="virtual/pkgconfig - ${RDEPEND}" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" src_configure() { use hardened && append-cflags "-nopie" # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. - export PKG_CONFIG=/usr/bin/pkg-config - econf $(use_with ncurses curses) \ - $(use_enable ants1) \ - $(use_enable ants2) \ - $(use_enable ants3) \ - $(use_enable avalon) \ - $(use_enable avalon2) \ - $(use_enable avalon4) \ - $(use_enable avalon7) \ - $(use_enable avalon-miner) \ - $(use_enable bab) \ - $(use_enable bitmine_A1) \ - $(use_enable bflsc) \ - $(use_enable bitforce) \ - $(use_enable bitfury) \ - $(use_enable blockerupter) \ - $(use_enable cointerra) \ - $(use_enable drillbit) \ - $(use_enable hashfast) \ - $(use_enable hashratio) \ - $(use_enable icarus) \ - $(use_enable klondike) \ - $(use_enable knc) \ - $(use_enable minion) \ - $(use_enable modminer) \ - $(use_enable sp10) \ - $(use_enable sp30) \ - $(use_enable udev) \ - --disable-forcecombo \ - --with-system-libusb \ + export PKG_CONFIG="$(tc-getPKG_CONFIG)" + local myeconfargs=( + $(use_with ncurses curses) + $(use_enable ants1) + $(use_enable ants2) + $(use_enable ants3) + $(use_enable avalon) + $(use_enable avalon2) + $(use_enable avalon4) + $(use_enable avalon7) + $(use_enable avalon-miner) + $(use_enable bab) + $(use_enable bitmine_A1) + $(use_enable bflsc) + $(use_enable bitforce) + $(use_enable bitfury) + $(use_enable blockerupter) + $(use_enable cointerra) + $(use_enable drillbit) + $(use_enable hashfast) + $(use_enable hashratio) + $(use_enable icarus) + $(use_enable klondike) + $(use_enable knc) + $(use_enable minion) + $(use_enable modminer) + $(use_enable sp10) + $(use_enable sp30) + $(use_enable udev) + --disable-forcecombo + --with-system-libusb --with-system-jansson + ) + econf "${myeconfargs[@]}" \ + NCURSES_LIBS="$(pkg-config --libs ncurses)" # sanitize directories (is this still needed?) - sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h + sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h || die } src_install() { # How about using some make install?
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: 9bdc40c3f9655dc2b0f59300508b7a06dd35c08f Author: Jonas Stein gentoo org> AuthorDate: Thu Jun 14 21:10:45 2018 + Commit: Jonas Stein gentoo org> CommitDate: Thu Jun 14 21:10:45 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bdc40c3 net-misc/cgminer: Maintainer retired Proxied maintainer retired due to inactivity. Confirmed lack of time/interest by mail. Closes: https://bugs.gentoo.org/633228 Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-misc/cgminer/metadata.xml | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/net-misc/cgminer/metadata.xml b/net-misc/cgminer/metadata.xml index 63f03907d2d..14800d5d5ab 100644 --- a/net-misc/cgminer/metadata.xml +++ b/net-misc/cgminer/metadata.xml @@ -1,18 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - k...@baka.bakka.su - In baka-bakka overlay. - bluen...@gentoo.org Anthony G. Basile - - proxy-ma...@gentoo.org - Proxy Maintainers - Enable support for Antminer S1 Bitmain Enable support for Antminer S2 Bitmain @@ -44,3 +36,4 @@ ckolivas/cgminer +
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/files/
commit: 99b4f590c3ec75b1b535671d7ddcffad329561a3 Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Wed Aug 9 09:08:50 2017 + Commit: Anthony G. Basile gentoo org> CommitDate: Wed Aug 9 12:18:28 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b4f590 net-misc/cgminer: remove unused patch .../files/cgminer-4.4.2-system-jansson.patch | 47 -- 1 file changed, 47 deletions(-) diff --git a/net-misc/cgminer/files/cgminer-4.4.2-system-jansson.patch b/net-misc/cgminer/files/cgminer-4.4.2-system-jansson.patch deleted file mode 100644 index a54054cb630..000 --- a/net-misc/cgminer/files/cgminer-4.4.2-system-jansson.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff -Naur cgminer-4.4.2.orig/compat/Makefile.am cgminer-4.4.2/compat/Makefile.am cgminer-4.4.2.orig/compat/Makefile.am 2014-07-16 23:01:05.0 -0400 -+++ cgminer-4.4.2/compat/Makefile.am 2014-07-17 06:55:09.703029301 -0400 -@@ -1,8 +1,5 @@ -- --SUBDIRS = jansson-2.6 -- - if WANT_USBUTILS - if WANT_STATIC_LIBUSB --SUBDIRS += libusb-1.0 -+SUBDIRS = libusb-1.0 - endif - endif -diff -Naur cgminer-4.4.2.orig/configure.ac cgminer-4.4.2/configure.ac cgminer-4.4.2.orig/configure.ac2014-07-17 00:35:21.0 -0400 -+++ cgminer-4.4.2/configure.ac 2014-07-17 06:55:44.964030906 -0400 -@@ -418,8 +418,7 @@ - - AM_CONDITIONAL([WANT_STATIC_LIBUSB], [test x$dlibusb = xno]) - --AC_CONFIG_SUBDIRS([compat/jansson-2.6]) --JANSSON_LIBS="compat/jansson-2.6/src/.libs/libjansson.a" -+JANSSON_LIBS="-ljansson" - - PKG_PROG_PKG_CONFIG() - -diff -Naur cgminer-4.4.2.orig/Makefile.am cgminer-4.4.2/Makefile.am cgminer-4.4.2.orig/Makefile.am 2014-07-16 23:01:30.0 -0400 -+++ cgminer-4.4.2/Makefile.am 2014-07-17 06:56:01.140031642 -0400 -@@ -1,8 +1,6 @@ - - ACLOCAL_AMFLAGS = -I m4 - --JANSSON_CPPFLAGS= -I$(top_builddir)/compat/jansson-2.6/src -I$(top_srcdir)/compat/jansson-2.6/src -- - if WANT_USBUTILS - USBUTILS_CPPFLAGS = -I$(top_builddir)/compat/libusb-1.0/libusb -I$(top_srcdir)/compat/libusb-1.0/libusb - else -@@ -18,7 +16,7 @@ - - SUBDIRS = lib compat ccan - --cgminer_CPPFLAGS = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_CPPFLAGS) $(USBUTILS_CPPFLAGS) -+cgminer_CPPFLAGS = $(PTHREAD_FLAGS) -fno-strict-aliasing $(USBUTILS_CPPFLAGS) - - bin_PROGRAMS = cgminer -
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: aab6b021890aeb65c0e35543b53bb44c5312450e Author: Anthony G. Basile gentoo org> AuthorDate: Sun Feb 5 01:16:05 2017 + Commit: Anthony G. Basile gentoo org> CommitDate: Sun Feb 5 01:24:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aab6b021 net-misc/cgminer: version bump to 4.10.0 Package-Manager: portage-2.3.3 net-misc/cgminer/Manifest | 1 + net-misc/cgminer/cgminer-4.10.0.ebuild | 88 ++ net-misc/cgminer/metadata.xml | 2 + 3 files changed, 91 insertions(+) diff --git a/net-misc/cgminer/Manifest b/net-misc/cgminer/Manifest index 917562c..82ab8a1 100644 --- a/net-misc/cgminer/Manifest +++ b/net-misc/cgminer/Manifest @@ -1,3 +1,4 @@ +DIST cgminer-4.10.0.tar.bz2 1306225 SHA256 debd49291f8335b48496896dc28a43f941d1c981525950497acc89d0d5fc1e84 SHA512 ed39bffa51715756875c101f4aaf984cab566fc1c8b657f6da37d0cdf921faee752c3efadf97c98ca6e749175457fbc2c37e9332cd26d2ff1675752250ac21db WHIRLPOOL 846af94146146809c6d7e150dc0aa26388a9a52f1ec91e4b26fd0191b426db0fa42229a896c65b566147283c97af243f51f9b452f1bbf535a04ab507d6b3195c DIST cgminer-4.7.0.tar.bz2 1534316 SHA256 604c5e1998e8c7319b3d7b69297ce5d45d47eb0eba9be0c037138ef73cd3749b SHA512 3d2450cab3ad6c455814db4420ce464e06dc910fec0e0be38a626193fbf46e5211bc2f8f2f6bb14daea0aa82622031cc5f44db9aee414236f7ac74cd7d95e847 WHIRLPOOL dc2beab3cb2422371190ed505c615eab24a846301527f428b107ca54f3de69c27905c4c7d1f9ab20af0c9f531aab6059ec7bf8570b1eb2b9439ac77e74a31e48 DIST cgminer-4.8.0.tar.bz2 1538552 SHA256 172409212dc3cb38260c9dfa4b142f989a32781dc3554a134516451a84bee137 SHA512 fdd43047a0e4c58778fa7ddd95e7521514e4572082cdb49eb802628a7d4390873576a4552d891fefc0b28043f0d15ed229d59287d75f05d5e0ac0e0a55f60d8a WHIRLPOOL 0eae3c8a8159f10f0a211ba24a9b8fa91f7f5aa2b4d6c56cdc4c10f22d69a464c86877afbe73fbed223a850e6dd9b0a45cd175c4ee24c9483ca4899032553078 DIST cgminer-4.9.0.tar.bz2 1547040 SHA256 67d5016bba0deb6fe432765fd5e10a4679785dc8d352d361af99150fcc3408cf SHA512 29fb31c75beca5d5a4e5c69f8448cea0640c1764561c3dbc553beb97510fda3e6529a935becbd40696f9a529575f53991a8cb704b8ba283a63496430f1d794ca WHIRLPOOL 7bdd5f5697d10acad1f026c4a392913e2d791f694e5c37732f9cf4dc037ad71d2e062b900376bfea4acfc78cf954adda0428785ac6476ee787e866a67108cf98 diff --git a/net-misc/cgminer/cgminer-4.10.0.ebuild b/net-misc/cgminer/cgminer-4.10.0.ebuild new file mode 100644 index ..b7ab0e1 --- /dev/null +++ b/net-misc/cgminer/cgminer-4.10.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils flag-o-matic + +DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" +HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer"; +SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"; +#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +HARDWARE="ants1 ants2 ants3 avalon avalon2 avalon4 avalon7 avalon-miner bab bflsc bitforce bitfury bitmine_A1 blockerupter cointerra drillbit hashfast hashratio icarus klondike knc minion modminer sp10 sp30" +IUSE="doc examples udev hardened ncurses ${HARDWARE}" + +REQUIRED_USE="|| ( ${HARDWARE} )" + +RDEPEND="net-misc/curl + >=dev-libs/jansson-2.6 + virtual/libusb:1[udev] + ncurses? ( sys-libs/ncurses:0= ) + udev? ( virtual/libudev )" +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_configure() { + use hardened && append-cflags "-nopie" + + # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. + export PKG_CONFIG=/usr/bin/pkg-config + econf $(use_with ncurses curses) \ + $(use_enable ants1) \ + $(use_enable ants2) \ + $(use_enable ants3) \ + $(use_enable avalon) \ + $(use_enable avalon2) \ + $(use_enable avalon4) \ + $(use_enable avalon7) \ + $(use_enable avalon-miner) \ + $(use_enable bab) \ + $(use_enable bitmine_A1) \ + $(use_enable bflsc) \ + $(use_enable bitforce) \ + $(use_enable bitfury) \ + $(use_enable blockerupter) \ + $(use_enable cointerra) \ + $(use_enable drillbit) \ + $(use_enable hashfast) \ + $(use_enable hashratio) \ + $(use_enable icarus) \ + $(use_enable klondike) \ + $(use_enable knc) \ + $(use_enable minion) \ + $(use_enable modminer) \ + $(use_enable sp10) \ + $(use_enable sp30) \ + $(use_enable udev) \ + --disable-forcecombo \ + --with-system-libusb \ + --with-system-jansson + # sanitize directories (is this still needed?) + sed -i 's~^\(\#defin
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: 468db94ffba53af6ce36c3f6b0a6e6c5abf8f609 Author: Anthony G. Basile gentoo org> AuthorDate: Sun Feb 5 01:20:21 2017 + Commit: Anthony G. Basile gentoo org> CommitDate: Sun Feb 5 01:25:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468db94f net-misc/cgminer: clean up older versions Package-Manager: portage-2.3.3 net-misc/cgminer/Manifest | 4 -- net-misc/cgminer/cgminer-4.7.0.ebuild | 90 -- net-misc/cgminer/cgminer-4.8.0.ebuild | 95 --- net-misc/cgminer/cgminer-4.9.0.ebuild | 102 -- net-misc/cgminer/cgminer-4.9.1.ebuild | 102 -- net-misc/cgminer/cgminer-4.9.2.ebuild | 8 +-- net-misc/cgminer/metadata.xml | 1 - 7 files changed, 4 insertions(+), 398 deletions(-) diff --git a/net-misc/cgminer/Manifest b/net-misc/cgminer/Manifest index 82ab8a1..bbca035 100644 --- a/net-misc/cgminer/Manifest +++ b/net-misc/cgminer/Manifest @@ -1,6 +1,2 @@ DIST cgminer-4.10.0.tar.bz2 1306225 SHA256 debd49291f8335b48496896dc28a43f941d1c981525950497acc89d0d5fc1e84 SHA512 ed39bffa51715756875c101f4aaf984cab566fc1c8b657f6da37d0cdf921faee752c3efadf97c98ca6e749175457fbc2c37e9332cd26d2ff1675752250ac21db WHIRLPOOL 846af94146146809c6d7e150dc0aa26388a9a52f1ec91e4b26fd0191b426db0fa42229a896c65b566147283c97af243f51f9b452f1bbf535a04ab507d6b3195c -DIST cgminer-4.7.0.tar.bz2 1534316 SHA256 604c5e1998e8c7319b3d7b69297ce5d45d47eb0eba9be0c037138ef73cd3749b SHA512 3d2450cab3ad6c455814db4420ce464e06dc910fec0e0be38a626193fbf46e5211bc2f8f2f6bb14daea0aa82622031cc5f44db9aee414236f7ac74cd7d95e847 WHIRLPOOL dc2beab3cb2422371190ed505c615eab24a846301527f428b107ca54f3de69c27905c4c7d1f9ab20af0c9f531aab6059ec7bf8570b1eb2b9439ac77e74a31e48 -DIST cgminer-4.8.0.tar.bz2 1538552 SHA256 172409212dc3cb38260c9dfa4b142f989a32781dc3554a134516451a84bee137 SHA512 fdd43047a0e4c58778fa7ddd95e7521514e4572082cdb49eb802628a7d4390873576a4552d891fefc0b28043f0d15ed229d59287d75f05d5e0ac0e0a55f60d8a WHIRLPOOL 0eae3c8a8159f10f0a211ba24a9b8fa91f7f5aa2b4d6c56cdc4c10f22d69a464c86877afbe73fbed223a850e6dd9b0a45cd175c4ee24c9483ca4899032553078 -DIST cgminer-4.9.0.tar.bz2 1547040 SHA256 67d5016bba0deb6fe432765fd5e10a4679785dc8d352d361af99150fcc3408cf SHA512 29fb31c75beca5d5a4e5c69f8448cea0640c1764561c3dbc553beb97510fda3e6529a935becbd40696f9a529575f53991a8cb704b8ba283a63496430f1d794ca WHIRLPOOL 7bdd5f5697d10acad1f026c4a392913e2d791f694e5c37732f9cf4dc037ad71d2e062b900376bfea4acfc78cf954adda0428785ac6476ee787e866a67108cf98 -DIST cgminer-4.9.1.tar.bz2 1549471 SHA256 68d0d0ac623e5cff450febe4b7143a7def04c952008e2b1b040988a6270ab0e1 SHA512 c94b09f0adf0a73ac8f134cde0594627b0c017863fc652fb6dcb18aaedc0bb7c2c747152b916a690f2097dc0183ec3a2c94aaf7dbff9074ab04290443d9fdad7 WHIRLPOOL b73fc4bd45bfdc96e8bcea6474540eefbc0c9c30e2967d55f60b04b039407ce4f15e35d1794f59e717902d5b7bc9f97b8b3ecda4d5be0b66fe9b7e104d0a01ff DIST cgminer-4.9.2.tar.bz2 1476371 SHA256 7a94719c520c3ebd96fee65e2f737e87c9ae70c8e21865ee0ce16ac9b02e6e62 SHA512 48371657c84f09ad8c500a29ca85f35af70eb8720d9d97b565cd8c5356289d889ee60c06f37c0507a53c8f50ae827a77fa0c41609bac6b1e8849ad26b55d67d4 WHIRLPOOL bc1827049171683a7bae77b7693cf579cc18523dd1db1d54c3de41f3c81d6786f749dcee6e6e74c54ce7aceb5b946d357f8c04ded2d02dc40faddadcb015b828 diff --git a/net-misc/cgminer/cgminer-4.7.0.ebuild b/net-misc/cgminer/cgminer-4.7.0.ebuild deleted file mode 100644 index 3b0d711.. --- a/net-misc/cgminer/cgminer-4.7.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit autotools eutils flag-o-matic - -DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" -HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer"; -SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"; -#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" - -HARDWARE="ants1 ants2 avalon avalon2 bab bitmine_A1 bflsc bitforce bitfury cointerra drillbit hashfast hashratio icarus klondike knc minion modminer spondoolies" -IUSE="doc examples udev hardened ncurses ${HARDWARE}" - -REQUIRED_USE="|| ( ${HARDWARE} )" - -RDEPEND="net-misc/curl - >=dev-libs/jansson-2.6 - ncurses? ( sys-libs/ncurses ) - avalon? ( virtual/libusb:1 ) - bflsc? ( virtual/libusb:1 ) - bitforce? ( virtual/libusb:1 ) - bitfury? ( virtual/libusb:1 ) - cointerra? ( virtual/libusb:1 ) - drillbit? ( virtual/libusb:1 ) - hashfast? ( virtual/libusb:1 ) - hashratio? ( virtual/libusb:1 ) - icarus? ( virtual/libusb:1 ) - klondike? ( virtual/libusb:1 ) - modminer? ( virtual/libusb:1 ) - spondoolies? ( virtual/libusb:1 )" -DEPEND="virtual/pkgconfig - ${RDEPEND}" - -src_prepare() { -
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/files/
commit: ff6c9133541f416e6f6ddc1f709e0bdfd99c3f9c Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Sat Jan 7 16:39:20 2017 + Commit: Anthony G. Basile gentoo org> CommitDate: Sat Jan 7 22:27:39 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6c9133 net-misc/cgminer: remove unused patch .../files/cgminer-4.3.5-system-jansson.patch | 47 -- 1 file changed, 47 deletions(-) diff --git a/net-misc/cgminer/files/cgminer-4.3.5-system-jansson.patch b/net-misc/cgminer/files/cgminer-4.3.5-system-jansson.patch deleted file mode 100644 index bfe1431.. --- a/net-misc/cgminer/files/cgminer-4.3.5-system-jansson.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff -Naur cgminer-4.3.5.orig/compat/Makefile.am cgminer-4.3.5/compat/Makefile.am cgminer-4.3.5.orig/compat/Makefile.am 2013-11-30 16:24:45.0 -0500 -+++ cgminer-4.3.5/compat/Makefile.am 2014-06-10 09:50:07.363965296 -0400 -@@ -1,8 +1,5 @@ -- --SUBDIRS = jansson-2.5 -- - if WANT_USBUTILS - if WANT_STATIC_LIBUSB --SUBDIRS += libusb-1.0 -+SUBDIRS = libusb-1.0 - endif - endif -diff -Naur cgminer-4.3.5.orig/configure.ac cgminer-4.3.5/configure.ac cgminer-4.3.5.orig/configure.ac2014-06-09 21:40:35.0 -0400 -+++ cgminer-4.3.5/configure.ac 2014-06-10 09:49:42.306964156 -0400 -@@ -405,8 +405,7 @@ - - AM_CONDITIONAL([WANT_STATIC_LIBUSB], [test x$dlibusb = xno]) - --AC_CONFIG_SUBDIRS([compat/jansson-2.5]) --JANSSON_LIBS="compat/jansson-2.5/src/.libs/libjansson.a" -+JANSSON_LIBS="-ljansson" - - PKG_PROG_PKG_CONFIG() - -diff -Naur cgminer-4.3.5.orig/Makefile.am cgminer-4.3.5/Makefile.am cgminer-4.3.5.orig/Makefile.am 2014-06-09 20:29:40.0 -0400 -+++ cgminer-4.3.5/Makefile.am 2014-06-10 09:49:56.153964786 -0400 -@@ -1,8 +1,6 @@ - - ACLOCAL_AMFLAGS = -I m4 - --JANSSON_CPPFLAGS= -I$(top_builddir)/compat/jansson-2.5/src -I$(top_srcdir)/compat/jansson-2.5/src -- - if WANT_USBUTILS - USBUTILS_CPPFLAGS = -I$(top_builddir)/compat/libusb-1.0/libusb -I$(top_srcdir)/compat/libusb-1.0/libusb - else -@@ -18,7 +16,7 @@ - - SUBDIRS = lib compat ccan - --cgminer_CPPFLAGS = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_CPPFLAGS) $(USBUTILS_CPPFLAGS) -+cgminer_CPPFLAGS = $(PTHREAD_FLAGS) -fno-strict-aliasing $(USBUTILS_CPPFLAGS) - - bin_PROGRAMS = cgminer -
[gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
commit: 0c98a80b0619b004e9b050bb41f871afedef36ba Author: Michael Palimaka gentoo org> AuthorDate: Sun Mar 27 17:29:14 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Sun Mar 27 17:32:40 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c98a80b net-misc/cgminer: whitespace Package-Manager: portage-2.2.28 net-misc/cgminer/cgminer-4.9.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/cgminer/cgminer-4.9.2.ebuild b/net-misc/cgminer/cgminer-4.9.2.ebuild index 66c8053..541b49c 100644 --- a/net-misc/cgminer/cgminer-4.9.2.ebuild +++ b/net-misc/cgminer/cgminer-4.9.2.ebuild @@ -31,7 +31,7 @@ DEPEND="virtual/pkgconfig src_configure() { use hardened && append-cflags "-nopie" - # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. + # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. export PKG_CONFIG=/usr/bin/pkg-config econf $(use_with ncurses curses) \ $(use_enable ants1) \