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