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.2.1.ebuild cgminer-4.2.2.ebuild ChangeLog
Date: Sat, 29 Mar 2014 13:35:29
Message-Id: 20140329133523.9C47120054@flycatcher.gentoo.org
1 blueness 14/03/29 13:35:23
2
3 Modified: cgminer-4.2.1.ebuild ChangeLog
4 Added: cgminer-4.2.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.2.1.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.2.1.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.2.1.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.2.1.ebuild?r1=1.1&r2=1.2
16
17 Index: cgminer-4.2.1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.2.1.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- cgminer-4.2.1.ebuild 24 Mar 2014 19:06:15 -0000 1.1
24 +++ cgminer-4.2.1.ebuild 29 Mar 2014 13:35:23 -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.2.1.ebuild,v 1.1 2014/03/24 19:06:15 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-4.2.1.ebuild,v 1.2 2014/03/29 13:35:23 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/3.9/${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.2/${P}.tar.bz2"
41
42 LICENSE="GPL-3"
43 SLOT="0"
44
45
46
47 1.68 net-misc/cgminer/ChangeLog
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.68&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.68&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?r1=1.67&r2=1.68
52
53 Index: ChangeLog
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v
56 retrieving revision 1.67
57 retrieving revision 1.68
58 diff -u -r1.67 -r1.68
59 --- ChangeLog 26 Mar 2014 08:11:02 -0000 1.67
60 +++ ChangeLog 29 Mar 2014 13:35:23 -0000 1.68
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.67 2014/03/26 08:11:02 patrick Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.68 2014/03/29 13:35:23 blueness Exp $
66 +
67 +*cgminer-4.2.2 (29 Mar 2014)
68 +
69 + 29 Mar 2014; Anthony G. Basile <blueness@g.o> +cgminer-4.2.2.ebuild,
70 + cgminer-4.2.1.ebuild:
71 + Version bump
72
73 26 Mar 2014; Patrick Lauer <patrick@g.o> metadata.xml:
74 Remove unneeded useflag descriptions from metadata.xml
75
76
77
78 1.1 net-misc/cgminer/cgminer-4.2.2.ebuild
79
80 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.2.2.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.2.2.ebuild?rev=1.1&content-type=text/plain
82
83 Index: cgminer-4.2.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.2.2.ebuild,v 1.1 2014/03/29 13:35:23 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.2/${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"
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 DEPEND="virtual/pkgconfig
121 ${RDEPEND}"
122
123 src_prepare() {
124 eautoreconf
125 }
126
127 src_configure() {
128 use hardened && append-cflags "-nopie"
129
130 econf $(use_with ncurses curses) \
131 $(use_enable ants1) \
132 $(use_enable avalon) \
133 $(use_enable avalon2) \
134 $(use_enable bab) \
135 $(use_enable bitmine_A1) \
136 $(use_enable bflsc) \
137 $(use_enable bitforce) \
138 $(use_enable bitfury) \
139 $(use_enable cointerra) \
140 $(use_enable drillbit) \
141 $(use_enable hashfast) \
142 $(use_enable icarus) \
143 $(use_enable klondike) \
144 $(use_enable knc) \
145 $(use_enable minion) \
146 $(use_enable modminer)
147 # sanitize directories (is this still needed?)
148 sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h
149 }
150
151 src_install() { # How about using some make install?
152 dobin cgminer
153 insinto /lib/udev/rules.d
154 use udev && doins 01-cgminer.rules
155 if use doc; then
156 dodoc AUTHORS NEWS README API-README
157 use icarus || use bitforce || use modminer && dodoc FPGA-README
158 use avalon || use bflsc && dodoc ASIC-README
159 fi
160
161 if use modminer; then
162 insinto /usr/lib/cgminer/modminer
163 doins bitstreams/*.ncd
164 dodoc bitstreams/COPYING_fpgaminer
165 fi
166 if use examples; then
167 docinto examples
168 dodoc api-example.php miner.php API.java api-example.c example.conf
169 fi
170 }