* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2016-03-27 17:32 Michael Palimaka
0 siblings, 0 replies; 12+ messages in thread
From: Michael Palimaka @ 2016-03-27 17:32 UTC (permalink / raw
To: gentoo-commits
commit: 0c98a80b0619b004e9b050bb41f871afedef36ba
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 17:29:14 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 17:32:40 2016 +0000
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) \
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2017-02-05 1:25 Anthony G. Basile
0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2017-02-05 1:25 UTC (permalink / raw
To: gentoo-commits
commit: aab6b021890aeb65c0e35543b53bb44c5312450e
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 5 01:16:05 2017 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Feb 5 01:24:56 2017 +0000
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 00000000..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~^\(\#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
+}
diff --git a/net-misc/cgminer/metadata.xml b/net-misc/cgminer/metadata.xml
index 63b6b39..f228aa2 100644
--- a/net-misc/cgminer/metadata.xml
+++ b/net-misc/cgminer/metadata.xml
@@ -20,6 +20,8 @@
<flag name="avalon">Enable support for Avalon ASICs</flag>
<flag name="avalon2">Enable support for Avalon2 ASICs</flag>
<flag name="avalon4">Enable support for Avalon4 ASICs</flag>
+ <flag name="avalon7">Enable support for Avalon7 ASICs</flag>
+ <flag name="avalon-miner">Enable support for Avalon miner ASICs</flag>
<flag name="bab">Enable support for BlackArrow Bitfury</flag>
<flag name="bflsc">Enable support for BFL ASICs</flag>
<flag name="bitforce">Enable support for mining with ButterFly Labs BitFORCE FPGAs</flag>
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2017-02-05 1:25 Anthony G. Basile
0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2017-02-05 1:25 UTC (permalink / raw
To: gentoo-commits
commit: 468db94ffba53af6ce36c3f6b0a6e6c5abf8f609
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 5 01:20:21 2017 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Feb 5 01:25:04 2017 +0000
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..00000000
--- 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() {
- epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch
- eautoreconf
-}
-
-src_configure() {
- use hardened && append-cflags "-nopie"
-
- econf $(use_with ncurses curses) \
- $(use_enable ants1) \
- $(use_enable ants2) \
- $(use_enable avalon) \
- $(use_enable avalon2) \
- $(use_enable bab) \
- $(use_enable bitmine_A1) \
- $(use_enable bflsc) \
- $(use_enable bitforce) \
- $(use_enable bitfury) \
- $(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 spondoolies) \
- --with-system-libusb
- # 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
-
- insinto /lib/udev/rules.d
- use udev && doins 01-cgminer.rules
-
- 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
-}
diff --git a/net-misc/cgminer/cgminer-4.8.0.ebuild b/net-misc/cgminer/cgminer-4.8.0.ebuild
deleted file mode 100644
index d2fb07e..00000000
--- a/net-misc/cgminer/cgminer-4.8.0.ebuild
+++ /dev/null
@@ -1,95 +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[udev] )
- bflsc? ( virtual/libusb:1[udev] )
- bitforce? ( virtual/libusb:1[udev] )
- bitfury? ( virtual/libusb:1[udev] )
- cointerra? ( virtual/libusb:1[udev] )
- drillbit? ( virtual/libusb:1[udev] )
- hashfast? ( virtual/libusb:1[udev] )
- hashratio? ( virtual/libusb:1[udev] )
- icarus? ( virtual/libusb:1[udev] )
- klondike? ( virtual/libusb:1[udev] )
- modminer? ( virtual/libusb:1[udev] )
- spondoolies? ( virtual/libusb:1[udev] )
- udev? ( virtual/libudev )"
-DEPEND="virtual/pkgconfig
- ${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch
- eautoreconf
-}
-
-src_configure() {
- use hardened && append-cflags "-nopie"
-
- econf $(use_with ncurses curses) \
- $(use_enable ants1) \
- $(use_enable ants2) \
- $(use_enable avalon) \
- $(use_enable avalon2) \
- $(use_enable bab) \
- $(use_enable bitmine_A1) \
- $(use_enable bflsc) \
- $(use_enable bitforce) \
- $(use_enable bitfury) \
- $(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 spondoolies) \
- $(use_enable udev) \
- --disable-forcecombo \
- --with-system-libusb
- # 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
-}
diff --git a/net-misc/cgminer/cgminer-4.9.0.ebuild b/net-misc/cgminer/cgminer-4.9.0.ebuild
deleted file mode 100644
index 2677c2a..00000000
--- a/net-misc/cgminer/cgminer-4.9.0.ebuild
+++ /dev/null
@@ -1,102 +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 avalon4 bab bitmine_A1 bflsc bitforce bitfury blockerupter 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 )
- ants1? ( virtual/libusb:1[udev] )
- ants2? ( virtual/libusb:1[udev] )
- avalon? ( virtual/libusb:1[udev] )
- avalon2? ( virtual/libusb:1[udev] )
- avalon4? ( virtual/libusb:1[udev] )
- bflsc? ( virtual/libusb:1[udev] )
- bitforce? ( virtual/libusb:1[udev] )
- bitfury? ( virtual/libusb:1[udev] )
- blockerupter? ( virtual/libusb:1[udev] )
- cointerra? ( virtual/libusb:1[udev] )
- drillbit? ( virtual/libusb:1[udev] )
- hashfast? ( virtual/libusb:1[udev] )
- hashratio? ( virtual/libusb:1[udev] )
- icarus? ( virtual/libusb:1[udev] )
- klondike? ( virtual/libusb:1[udev] )
- modminer? ( virtual/libusb:1[udev] )
- spondoolies? ( virtual/libusb:1[udev] )
- udev? ( virtual/libudev )"
-DEPEND="virtual/pkgconfig
- ${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch
- eautoreconf
-}
-
-src_configure() {
- use hardened && append-cflags "-nopie"
-
- econf $(use_with ncurses curses) \
- $(use_enable ants1) \
- $(use_enable ants2) \
- $(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 spondoolies) \
- $(use_enable udev) \
- --disable-forcecombo \
- --with-system-libusb
- # 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
-}
diff --git a/net-misc/cgminer/cgminer-4.9.1.ebuild b/net-misc/cgminer/cgminer-4.9.1.ebuild
deleted file mode 100644
index 94ab3a0..00000000
--- a/net-misc/cgminer/cgminer-4.9.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2015 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 avalon4 bab bitmine_A1 bflsc bitforce bitfury blockerupter 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 )
- ants1? ( virtual/libusb:1[udev] )
- ants2? ( virtual/libusb:1[udev] )
- avalon? ( virtual/libusb:1[udev] )
- avalon2? ( virtual/libusb:1[udev] )
- avalon4? ( virtual/libusb:1[udev] )
- bflsc? ( virtual/libusb:1[udev] )
- bitforce? ( virtual/libusb:1[udev] )
- bitfury? ( virtual/libusb:1[udev] )
- blockerupter? ( virtual/libusb:1[udev] )
- cointerra? ( virtual/libusb:1[udev] )
- drillbit? ( virtual/libusb:1[udev] )
- hashfast? ( virtual/libusb:1[udev] )
- hashratio? ( virtual/libusb:1[udev] )
- icarus? ( virtual/libusb:1[udev] )
- klondike? ( virtual/libusb:1[udev] )
- modminer? ( virtual/libusb:1[udev] )
- spondoolies? ( virtual/libusb:1[udev] )
- udev? ( virtual/libudev )"
-DEPEND="virtual/pkgconfig
- ${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch
- eautoreconf
-}
-
-src_configure() {
- use hardened && append-cflags "-nopie"
-
- econf $(use_with ncurses curses) \
- $(use_enable ants1) \
- $(use_enable ants2) \
- $(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 spondoolies) \
- $(use_enable udev) \
- --disable-forcecombo \
- --with-system-libusb
- # 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
-}
diff --git a/net-misc/cgminer/cgminer-4.9.2.ebuild b/net-misc/cgminer/cgminer-4.9.2.ebuild
index 541b49c..b0ea6a9 100644
--- a/net-misc/cgminer/cgminer-4.9.2.ebuild
+++ b/net-misc/cgminer/cgminer-4.9.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit autotools eutils flag-o-matic
+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"
@@ -23,7 +23,7 @@ REQUIRED_USE="|| ( ${HARDWARE} )"
RDEPEND="net-misc/curl
>=dev-libs/jansson-2.6
virtual/libusb:1[udev]
- ncurses? ( sys-libs/ncurses )
+ ncurses? ( sys-libs/ncurses:0= )
udev? ( virtual/libudev )"
DEPEND="virtual/pkgconfig
${RDEPEND}"
diff --git a/net-misc/cgminer/metadata.xml b/net-misc/cgminer/metadata.xml
index f228aa2..63f0390 100644
--- a/net-misc/cgminer/metadata.xml
+++ b/net-misc/cgminer/metadata.xml
@@ -37,7 +37,6 @@
<flag name="knc">Enable support for mining with KnC miners</flag>
<flag name="minion">Enable support for mining with BlackArrow Bitfury </flag>
<flag name="modminer">Enable support for mining with ModMiner FPGAs</flag>
- <flag name="spondoolies">Enable support for Spondoolies</flag>
<flag name="sp10">Enable support for Spondoolies SP10</flag>
<flag name="sp30">Enable support for Spondoolies SP30</flag>
</use>
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2018-06-14 21:11 Jonas Stein
0 siblings, 0 replies; 12+ messages in thread
From: Jonas Stein @ 2018-06-14 21:11 UTC (permalink / raw
To: gentoo-commits
commit: 9bdc40c3f9655dc2b0f59300508b7a06dd35c08f
Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 14 21:10:45 2018 +0000
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Thu Jun 14 21:10:45 2018 +0000
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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>ki@baka.bakka.su</email>
- <description>In baka-bakka overlay.</description>
- </maintainer>
<maintainer type="person">
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
<use>
<flag name="ants1">Enable support for Antminer S1 Bitmain</flag>
<flag name="ants2">Enable support for Antminer S2 Bitmain</flag>
@@ -44,3 +36,4 @@
<remote-id type="github">ckolivas/cgminer</remote-id>
</upstream>
</pkgmetadata>
+
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2019-03-24 0:20 Lars Wendler
0 siblings, 0 replies; 12+ messages in thread
From: Lars Wendler @ 2019-03-24 0:20 UTC (permalink / raw
To: gentoo-commits
commit: 151266171d7d362a60034621d89f9809f3690778
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 00:20:11 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 00:20:11 2019 +0000
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 <polynomial-c <AT> 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?
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2019-03-24 0:22 Lars Wendler
0 siblings, 0 replies; 12+ messages in thread
From: Lars Wendler @ 2019-03-24 0:22 UTC (permalink / raw
To: gentoo-commits
commit: 71b1a5c49dbfc9c05dc55673189fac8090a9fedc
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 00:22:24 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 00:22:24 2019 +0000
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 <polynomial-c <AT> 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
}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2019-03-25 5:18 Sven Wegener
0 siblings, 0 replies; 12+ messages in thread
From: Sven Wegener @ 2019-03-25 5:18 UTC (permalink / raw
To: gentoo-commits
commit: a0c25e16323e6ecc948112b65daf79be6d84d520
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 25 05:11:30 2019 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 05:15:49 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0c25e16
net-misc/cgminer: -nopie -> -no-pie
Signed-off-by: Sven Wegener <swegener <AT> 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
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2021-02-14 10:36 David Seifert
0 siblings, 0 replies; 12+ messages in thread
From: David Seifert @ 2021-02-14 10:36 UTC (permalink / raw
To: gentoo-commits
commit: cb4b67edc310230fde780458896b3b5089a58eec
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Feb 14 10:32:54 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 10:32:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4b67ed
net-misc/cgminer: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> 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..00000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2021-02-14 10:36 David Seifert
0 siblings, 0 replies; 12+ messages in thread
From: David Seifert @ 2021-02-14 10:36 UTC (permalink / raw
To: gentoo-commits
commit: 01d46a46cbebb9039d6958046262572caac90cb3
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Feb 14 10:32:51 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 10:32:51 2021 +0000
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 <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> 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)"
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2021-09-24 17:12 Anthony G. Basile
0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2021-09-24 17:12 UTC (permalink / raw
To: gentoo-commits
commit: 0f81e0f41e1b75da359c99a209b0267be9f94672
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 24 17:12:15 2021 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Sep 24 17:12:15 2021 +0000
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 <blueness <AT> 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>blueness@gentoo.org</email>
- <name>Anthony G. Basile</name>
- </maintainer>
+ <!-- maintainer-needed -->
<use>
<flag name="ants1">Enable support for Antminer S1 Bitmain</flag>
<flag name="ants2">Enable support for Antminer S2 Bitmain</flag>
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2021-09-25 19:08 Sam James
0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2021-09-25 19:08 UTC (permalink / raw
To: gentoo-commits
commit: 23916ca0ea0ecf82ed10b5d258b4998136199eac
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 18:50:43 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 19:07:53 2021 +0000
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 <sam <AT> 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 )"
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
@ 2022-04-28 3:34 Sam James
0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2022-04-28 3:34 UTC (permalink / raw
To: gentoo-commits
commit: 3749b6e7ef444608c3d93717b180179ee2eada2f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 03:24:46 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 03:31:51 2022 +0000
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 <sam <AT> 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
+}
^ permalink raw reply related [flat|nested] 12+ messages in thread
end of thread, other threads:[~2022-04-28 3:34 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14 21:11 [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/ Jonas Stein
-- strict thread matches above, loose matches on Subject: below --
2022-04-28 3:34 Sam James
2021-09-25 19:08 Sam James
2021-09-24 17:12 Anthony G. Basile
2021-02-14 10:36 David Seifert
2021-02-14 10:36 David Seifert
2019-03-25 5:18 Sven Wegener
2019-03-24 0:22 Lars Wendler
2019-03-24 0:20 Lars Wendler
2017-02-05 1:25 Anthony G. Basile
2017-02-05 1:25 Anthony G. Basile
2016-03-27 17:32 Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox