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