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.4.0.ebuild cgminer-4.4.1.ebuild ChangeLog
Date: Sat, 21 Jun 2014 13:15:14
Message-Id: 20140621131507.7F4552004E@flycatcher.gentoo.org
1 blueness 14/06/21 13:15:07
2
3 Modified: cgminer-4.4.0.ebuild ChangeLog
4 Added: cgminer-4.4.1.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.4.0.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.4.0.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.4.0.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.4.0.ebuild?r1=1.1&r2=1.2
16
17 Index: cgminer-4.4.0.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.4.0.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- cgminer-4.4.0.ebuild 17 Jun 2014 15:14:31 -0000 1.1
24 +++ cgminer-4.4.0.ebuild 21 Jun 2014 13:15:07 -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.4.0.ebuild,v 1.1 2014/06/17 15:14:31 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.4.0.ebuild,v 1.2 2014/06/21 13:15:07 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.4/${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.4/${P}.tar.bz2"
41
42 LICENSE="GPL-3"
43 SLOT="0"
44
45
46
47 1.76 net-misc/cgminer/ChangeLog
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.76&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.76&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?r1=1.75&r2=1.76
52
53 Index: ChangeLog
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v
56 retrieving revision 1.75
57 retrieving revision 1.76
58 diff -u -r1.75 -r1.76
59 --- ChangeLog 17 Jun 2014 15:14:31 -0000 1.75
60 +++ ChangeLog 21 Jun 2014 13:15:07 -0000 1.76
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.75 2014/06/17 15:14:31 blueness Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.76 2014/06/21 13:15:07 blueness Exp $
66 +
67 +*cgminer-4.4.1 (21 Jun 2014)
68 +
69 + 21 Jun 2014; Anthony G. Basile <blueness@g.o> +cgminer-4.4.1.ebuild,
70 + cgminer-4.4.0.ebuild:
71 + Version bump
72
73 *cgminer-4.4.0 (17 Jun 2014)
74
75
76
77
78 1.1 net-misc/cgminer/cgminer-4.4.1.ebuild
79
80 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.4.1.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.4.1.ebuild?rev=1.1&content-type=text/plain
82
83 Index: cgminer-4.4.1.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.4.1.ebuild,v 1.1 2014/06/21 13:15:07 blueness Exp $
88
89 EAPI=5
90
91 inherit autotools eutils 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.4/${P}.tar.bz2"
97
98 LICENSE="GPL-3"
99 SLOT="0"
100 KEYWORDS="~amd64 ~arm ~x86"
101
102 HARDWARE="ants1 ants2 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-2.5
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 epatch "${FILESDIR}"/${PN}-4.3.5-system-jansson.patch
126 eautoreconf
127 }
128
129 src_configure() {
130 use hardened && append-cflags "-nopie"
131
132 econf $(use_with ncurses curses) \
133 $(use_enable ants1) \
134 $(use_enable ants2) \
135 $(use_enable avalon) \
136 $(use_enable avalon2) \
137 $(use_enable bab) \
138 $(use_enable bitmine_A1) \
139 $(use_enable bflsc) \
140 $(use_enable bitforce) \
141 $(use_enable bitfury) \
142 $(use_enable cointerra) \
143 $(use_enable drillbit) \
144 $(use_enable hashfast) \
145 $(use_enable icarus) \
146 $(use_enable klondike) \
147 $(use_enable knc) \
148 $(use_enable minion) \
149 $(use_enable modminer) \
150 $(use_enable spondoolies) \
151 --with-system-libusb
152 # sanitize directories (is this still needed?)
153 sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h
154 }
155
156 src_install() { # How about using some make install?
157 dobin cgminer
158
159 insinto /lib/udev/rules.d
160 use udev && doins 01-cgminer.rules
161
162 if use doc; then
163 dodoc AUTHORS NEWS README API-README
164 use icarus || use bitforce || use modminer && dodoc FPGA-README
165 use avalon || use bflsc && dodoc ASIC-README
166 fi
167
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 }