Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/cgminer: metadata.xml cgminer-4.5.0.ebuild cgminer-4.4.2.ebuild ChangeLog cgminer-4.4.1.ebuild
Date: Wed, 30 Jul 2014 10:39:33
Message-Id: 20140730103927.9F7A02004E@flycatcher.gentoo.org
1 blueness 14/07/30 10:39:26
2
3 Modified: metadata.xml cgminer-4.4.2.ebuild ChangeLog
4 Added: cgminer-4.5.0.ebuild
5 Removed: cgminer-4.4.1.ebuild
6 Log:
7 Version bump, remove older 4.4
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
10
11 Revision Changes Path
12 1.19 net-misc/cgminer/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/metadata.xml?rev=1.19&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/metadata.xml?rev=1.19&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/metadata.xml?r1=1.18&r2=1.19
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/metadata.xml,v
21 retrieving revision 1.18
22 retrieving revision 1.19
23 diff -u -r1.18 -r1.19
24 --- metadata.xml 17 Jun 2014 15:14:31 -0000 1.18
25 +++ metadata.xml 30 Jul 2014 10:39:26 -0000 1.19
26 @@ -24,6 +24,7 @@
27 <flag name="cointerra">Enable support for mining with Cointerra ASICs</flag>
28 <flag name="drillbit">Enable support for mining with Drillbit BitFury ASICs</flag>
29 <flag name="hashfast">Enable support for mining with Hashfast</flag>
30 + <flag name="hashratio">Enable support for mining with Hashratio</flag>
31 <flag name="icarus">Enable support for mining with Icarus FPGAs</flag>
32 <flag name="klondike">Enable support for mining with Klondik ASICs</flag>
33 <flag name="knc">Enable support for mining with KnC miners</flag>
34
35
36
37 1.2 net-misc/cgminer/cgminer-4.4.2.ebuild
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.4.2.ebuild?rev=1.2&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.4.2.ebuild?rev=1.2&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.4.2.ebuild?r1=1.1&r2=1.2
42
43 Index: cgminer-4.4.2.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.4.2.ebuild,v
46 retrieving revision 1.1
47 retrieving revision 1.2
48 diff -u -r1.1 -r1.2
49 --- cgminer-4.4.2.ebuild 18 Jul 2014 11:52:45 -0000 1.1
50 +++ cgminer-4.4.2.ebuild 30 Jul 2014 10:39:26 -0000 1.2
51 @@ -1,6 +1,6 @@
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.4.2.ebuild,v 1.1 2014/07/18 11:52:45 blueness Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.4.2.ebuild,v 1.2 2014/07/30 10:39:26 blueness Exp $
56
57 EAPI=5
58
59 @@ -8,8 +8,8 @@
60
61 DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
62 HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer"
63 -SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
64 -#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.4/${P}.tar.bz2"
65 +#SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
66 +SRC_URI="http://ck.kolivas.org/apps/cgminer/4.4/${P}.tar.bz2"
67
68 LICENSE="GPL-3"
69 SLOT="0"
70
71
72
73 1.78 net-misc/cgminer/ChangeLog
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.78&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.78&content-type=text/plain
77 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?r1=1.77&r2=1.78
78
79 Index: ChangeLog
80 ===================================================================
81 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v
82 retrieving revision 1.77
83 retrieving revision 1.78
84 diff -u -r1.77 -r1.78
85 --- ChangeLog 18 Jul 2014 11:52:45 -0000 1.77
86 +++ ChangeLog 30 Jul 2014 10:39:26 -0000 1.78
87 @@ -1,6 +1,12 @@
88 # ChangeLog for net-misc/cgminer
89 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
90 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.77 2014/07/18 11:52:45 blueness Exp $
91 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.78 2014/07/30 10:39:26 blueness Exp $
92 +
93 +*cgminer-4.5.0 (30 Jul 2014)
94 +
95 + 30 Jul 2014; Anthony G. Basile <blueness@g.o> +cgminer-4.5.0.ebuild,
96 + -cgminer-4.4.1.ebuild, cgminer-4.4.2.ebuild, metadata.xml:
97 + Version bump, remove older 4.4
98
99 *cgminer-4.4.2 (18 Jul 2014)
100
101
102
103
104 1.1 net-misc/cgminer/cgminer-4.5.0.ebuild
105
106 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.5.0.ebuild?rev=1.1&view=markup
107 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.5.0.ebuild?rev=1.1&content-type=text/plain
108
109 Index: cgminer-4.5.0.ebuild
110 ===================================================================
111 # Copyright 1999-2014 Gentoo Foundation
112 # Distributed under the terms of the GNU General Public License v2
113 # $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.5.0.ebuild,v 1.1 2014/07/30 10:39:26 blueness Exp $
114
115 EAPI=5
116
117 inherit autotools eutils flag-o-matic
118
119 DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
120 HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer"
121 SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
122 #SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2"
123
124 LICENSE="GPL-3"
125 SLOT="0"
126 KEYWORDS="~amd64 ~arm ~x86"
127
128 HARDWARE="ants1 ants2 avalon avalon2 bab bitmine_A1 bflsc bitforce bitfury cointerra drillbit hashfast hashratio icarus klondike knc minion modminer spondoolies"
129 IUSE="doc examples udev hardened ncurses ${HARDWARE}"
130
131 REQUIRED_USE="|| ( ${HARDWARE} )"
132
133 RDEPEND="net-misc/curl
134 >=dev-libs/jansson-2.6
135 ncurses? ( sys-libs/ncurses )
136 avalon? ( virtual/libusb:1 )
137 bflsc? ( virtual/libusb:1 )
138 bitforce? ( virtual/libusb:1 )
139 bitfury? ( virtual/libusb:1 )
140 cointerra? ( virtual/libusb:1 )
141 drillbit? ( virtual/libusb:1 )
142 hashfast? ( virtual/libusb:1 )
143 hashratio? ( virtual/libusb:1 )
144 icarus? ( virtual/libusb:1 )
145 klondike? ( virtual/libusb:1 )
146 modminer? ( virtual/libusb:1 )
147 spondoolies? ( virtual/libusb:1 )"
148 DEPEND="virtual/pkgconfig
149 ${RDEPEND}"
150
151 src_prepare() {
152 epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch
153 eautoreconf
154 }
155
156 src_configure() {
157 use hardened && append-cflags "-nopie"
158
159 econf $(use_with ncurses curses) \
160 $(use_enable ants1) \
161 $(use_enable ants2) \
162 $(use_enable avalon) \
163 $(use_enable avalon2) \
164 $(use_enable bab) \
165 $(use_enable bitmine_A1) \
166 $(use_enable bflsc) \
167 $(use_enable bitforce) \
168 $(use_enable bitfury) \
169 $(use_enable cointerra) \
170 $(use_enable drillbit) \
171 $(use_enable hashfast) \
172 $(use_enable hashratio) \
173 $(use_enable icarus) \
174 $(use_enable klondike) \
175 $(use_enable knc) \
176 $(use_enable minion) \
177 $(use_enable modminer) \
178 $(use_enable spondoolies) \
179 --with-system-libusb
180 # sanitize directories (is this still needed?)
181 sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h
182 }
183
184 src_install() { # How about using some make install?
185 dobin cgminer
186
187 insinto /lib/udev/rules.d
188 use udev && doins 01-cgminer.rules
189
190 if use doc; then
191 dodoc AUTHORS NEWS README API-README
192 use icarus || use bitforce || use modminer && dodoc FPGA-README
193 use avalon || use bflsc && dodoc ASIC-README
194 fi
195
196 if use examples; then
197 docinto examples
198 dodoc api-example.php miner.php API.java api-example.c example.conf
199 fi
200 }