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-4.3.0.ebuild cgminer-4.3.2.ebuild ChangeLog
Date: Fri, 02 May 2014 12:41:29
Message-Id: 20140502124124.F3B6C2004C@flycatcher.gentoo.org
1 blueness 14/05/02 12:41:24
2
3 Modified: cgminer-4.3.0.ebuild ChangeLog
4 Added: cgminer-4.3.2.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.2 net-misc/cgminer/cgminer-4.3.0.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.3.0.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.3.0.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.3.0.ebuild?r1=1.1&r2=1.2
16
17 Index: cgminer-4.3.0.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.3.0.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- cgminer-4.3.0.ebuild 19 Apr 2014 11:47:14 -0000 1.1
24 +++ cgminer-4.3.0.ebuild 2 May 2014 12:41:24 -0000 1.2
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-4.3.0.ebuild,v 1.1 2014/04/19 11:47:14 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.3.0.ebuild,v 1.2 2014/05/02 12:41:24 blueness Exp $
30
31 EAPI=5
32
33 @@ -8,8 +8,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/${P}.tar.bz2"
38 -#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.2/${P}.tar.bz2"
39 +#SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
40 +SRC_URI="http://ck.kolivas.org/apps/cgminer/4.3/${P}.tar.bz2"
41
42 LICENSE="GPL-3"
43 SLOT="0"
44
45
46
47 1.72 net-misc/cgminer/ChangeLog
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.72&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.72&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?r1=1.71&r2=1.72
52
53 Index: ChangeLog
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v
56 retrieving revision 1.71
57 retrieving revision 1.72
58 diff -u -r1.71 -r1.72
59 --- ChangeLog 19 Apr 2014 11:47:14 -0000 1.71
60 +++ ChangeLog 2 May 2014 12:41:24 -0000 1.72
61 @@ -1,6 +1,12 @@
62 # ChangeLog for net-misc/cgminer
63 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
64 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.71 2014/04/19 11:47:14 blueness Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.72 2014/05/02 12:41:24 blueness Exp $
66 +
67 +*cgminer-4.3.2 (02 May 2014)
68 +
69 + 02 May 2014; Anthony G. Basile <blueness@g.o> +cgminer-4.3.2.ebuild,
70 + cgminer-4.3.0.ebuild:
71 + Version bump
72
73 *cgminer-4.3.0 (19 Apr 2014)
74
75
76
77
78 1.1 net-misc/cgminer/cgminer-4.3.2.ebuild
79
80 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.3.2.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.3.2.ebuild?rev=1.1&content-type=text/plain
82
83 Index: cgminer-4.3.2.ebuild
84 ===================================================================
85 # Copyright 1999-2014 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.3.2.ebuild,v 1.1 2014/05/02 12:41:24 blueness Exp $
88
89 EAPI=5
90
91 inherit autotools flag-o-matic
92
93 DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
94 HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer"
95 SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
96 #SRC_URI="http://ck.kolivas.org/apps/cgminer/4.3/${P}.tar.bz2"
97
98 LICENSE="GPL-3"
99 SLOT="0"
100 KEYWORDS="~amd64 ~arm ~x86"
101
102 HARDWARE="ants1 avalon avalon2 bab bitmine_A1 bflsc bitforce bitfury cointerra drillbit hashfast icarus klondike knc minion modminer spondoolies"
103 IUSE="doc examples udev hardened ncurses ${HARDWARE}"
104
105 REQUIRED_USE="|| ( ${HARDWARE} )"
106
107 RDEPEND="net-misc/curl
108 dev-libs/jansson
109 ncurses? ( sys-libs/ncurses )
110 avalon? ( virtual/libusb:1 )
111 bflsc? ( virtual/libusb:1 )
112 bitforce? ( virtual/libusb:1 )
113 bitfury? ( virtual/libusb:1 )
114 cointerra? ( virtual/libusb:1 )
115 drillbit? ( virtual/libusb:1 )
116 hashfast? ( virtual/libusb:1 )
117 icarus? ( virtual/libusb:1 )
118 klondike? ( virtual/libusb:1 )
119 modminer? ( virtual/libusb:1 )
120 spondoolies? ( virtual/libusb:1 )"
121 DEPEND="virtual/pkgconfig
122 ${RDEPEND}"
123
124 src_prepare() {
125 eautoreconf
126 }
127
128 src_configure() {
129 use hardened && append-cflags "-nopie"
130
131 econf $(use_with ncurses curses) \
132 $(use_enable ants1) \
133 $(use_enable avalon) \
134 $(use_enable avalon2) \
135 $(use_enable bab) \
136 $(use_enable bitmine_A1) \
137 $(use_enable bflsc) \
138 $(use_enable bitforce) \
139 $(use_enable bitfury) \
140 $(use_enable cointerra) \
141 $(use_enable drillbit) \
142 $(use_enable hashfast) \
143 $(use_enable icarus) \
144 $(use_enable klondike) \
145 $(use_enable knc) \
146 $(use_enable minion) \
147 $(use_enable modminer) \
148 $(use_enable spondoolies)
149 # sanitize directories (is this still needed?)
150 sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h
151 }
152
153 src_install() { # How about using some make install?
154 dobin cgminer
155 insinto /lib/udev/rules.d
156 use udev && doins 01-cgminer.rules
157 if use doc; then
158 dodoc AUTHORS NEWS README API-README
159 use icarus || use bitforce || use modminer && dodoc FPGA-README
160 use avalon || use bflsc && dodoc ASIC-README
161 fi
162
163 if use modminer; then
164 insinto /usr/lib/cgminer/modminer
165 doins bitstreams/*.ncd
166 dodoc bitstreams/COPYING_fpgaminer
167 fi
168 if use examples; then
169 docinto examples
170 dodoc api-example.php miner.php API.java api-example.c example.conf
171 fi
172 }