1 |
blueness 12/07/31 02:14:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bitcoind-0.5.6.ebuild bitcoind-0.4.7.ebuild |
5 |
Removed: bitcoind-0.5.6_rc3.ebuild bitcoind-0.4.7_rc3.ebuild |
6 |
Log: |
7 |
Version bump and punt RC's |
8 |
|
9 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.39 net-p2p/bitcoind/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.39&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.39&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?r1=1.38&r2=1.39 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v |
21 |
retrieving revision 1.38 |
22 |
retrieving revision 1.39 |
23 |
diff -u -r1.38 -r1.39 |
24 |
--- ChangeLog 15 Jul 2012 17:05:27 -0000 1.38 |
25 |
+++ ChangeLog 31 Jul 2012 02:14:08 -0000 1.39 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for net-p2p/bitcoind |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.38 2012/07/15 17:05:27 blueness Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.39 2012/07/31 02:14:08 blueness Exp $ |
31 |
+ |
32 |
+*bitcoind-0.5.6 (31 Jul 2012) |
33 |
+*bitcoind-0.4.7 (31 Jul 2012) |
34 |
+ |
35 |
+ 31 Jul 2012; Anthony G. Basile <blueness@g.o> |
36 |
+ -bitcoind-0.4.7_rc3.ebuild, +bitcoind-0.4.7.ebuild, |
37 |
+ -bitcoind-0.5.6_rc3.ebuild, +bitcoind-0.5.6.ebuild: |
38 |
+ Version bump and punt RC's |
39 |
|
40 |
*bitcoind-0.6.0.9 (15 Jul 2012) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 net-p2p/bitcoind/bitcoind-0.5.6.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.6.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.6.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: bitcoind-0.5.6.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2012 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.6.ebuild,v 1.1 2012/07/31 02:14:08 blueness Exp $ |
55 |
|
56 |
EAPI="4" |
57 |
|
58 |
DB_VER="4.8" |
59 |
|
60 |
inherit db-use eutils versionator toolchain-funcs |
61 |
|
62 |
DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" |
63 |
HOMEPAGE="http://bitcoin.org/" |
64 |
SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
65 |
bip16? ( http://luke.dashjr.org/programs/bitcoin/files/bip16/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch.xz ) |
66 |
eligius? ( |
67 |
!bip16? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.5.0.6rc1-eligius_sendfee.patch.xz ) |
68 |
) |
69 |
" |
70 |
|
71 |
LICENSE="MIT ISC GPL-2" |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~arm ~x86" |
74 |
IUSE="+bip16 +eligius examples logrotate ssl upnp" |
75 |
|
76 |
RDEPEND=" |
77 |
>=dev-libs/boost-1.41.0 |
78 |
dev-libs/openssl[-bindist] |
79 |
logrotate? ( |
80 |
app-admin/logrotate |
81 |
) |
82 |
upnp? ( |
83 |
net-libs/miniupnpc |
84 |
) |
85 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
86 |
" |
87 |
DEPEND="${RDEPEND} |
88 |
>=app-shells/bash-4.1 |
89 |
" |
90 |
|
91 |
S="${WORKDIR}/bitcoin-bitcoind-stable" |
92 |
|
93 |
pkg_setup() { |
94 |
local UG='bitcoin' |
95 |
enewgroup "${UG}" |
96 |
enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" |
97 |
} |
98 |
|
99 |
src_prepare() { |
100 |
cd src || die |
101 |
if use bip16; then |
102 |
epatch "${WORKDIR}/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch" |
103 |
use eligius && epatch "${FILESDIR}/0.5.0.5+bip16-eligius_sendfee.patch" |
104 |
else |
105 |
use eligius && epatch "${WORKDIR}/0.5.0.6rc1-eligius_sendfee.patch" |
106 |
fi |
107 |
use logrotate && epatch "${FILESDIR}/0.4.7-reopen_log_file.patch" |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
OPTS=() |
112 |
local BOOST_PKG BOOST_VER BOOST_INC |
113 |
|
114 |
OPTS+=("DEBUGFLAGS=") |
115 |
OPTS+=("CXXFLAGS=${CXXFLAGS}") |
116 |
OPTS+=("LDFLAGS=${LDFLAGS}") |
117 |
|
118 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
119 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
120 |
|
121 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
122 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
123 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
124 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
125 |
OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}") |
126 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
127 |
|
128 |
use ssl && OPTS+=(USE_SSL=1) |
129 |
if use upnp; then |
130 |
OPTS+=(USE_UPNP=1) |
131 |
else |
132 |
OPTS+=(USE_UPNP=) |
133 |
fi |
134 |
|
135 |
cd src || die |
136 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN} |
137 |
} |
138 |
|
139 |
src_test() { |
140 |
cd src || die |
141 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_bitcoin |
142 |
./test_bitcoin || die 'Tests failed' |
143 |
} |
144 |
|
145 |
src_install() { |
146 |
dobin src/${PN} |
147 |
|
148 |
insinto /etc/bitcoin |
149 |
newins "${FILESDIR}/bitcoin.conf" bitcoin.conf |
150 |
fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf |
151 |
fperms 600 /etc/bitcoin/bitcoin.conf |
152 |
|
153 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
154 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
155 |
|
156 |
keepdir /var/lib/bitcoin/.bitcoin |
157 |
fperms 700 /var/lib/bitcoin |
158 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |
159 |
fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin |
160 |
dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf |
161 |
|
162 |
dodoc doc/README |
163 |
|
164 |
if use examples; then |
165 |
docinto examples |
166 |
dodoc -r contrib/{bitrpc,pyminer,wallettools} |
167 |
fi |
168 |
|
169 |
if use logrotate; then |
170 |
insinto /etc/logrotate.d |
171 |
newins "${FILESDIR}/bitcoind.logrotate" bitcoind |
172 |
fi |
173 |
} |
174 |
|
175 |
|
176 |
|
177 |
1.1 net-p2p/bitcoind/bitcoind-0.4.7.ebuild |
178 |
|
179 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.4.7.ebuild?rev=1.1&view=markup |
180 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.4.7.ebuild?rev=1.1&content-type=text/plain |
181 |
|
182 |
Index: bitcoind-0.4.7.ebuild |
183 |
=================================================================== |
184 |
# Copyright 1999-2012 Gentoo Foundation |
185 |
# Distributed under the terms of the GNU General Public License v2 |
186 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.4.7.ebuild,v 1.1 2012/07/31 02:14:08 blueness Exp $ |
187 |
|
188 |
EAPI=4 |
189 |
|
190 |
DB_VER="4.8" |
191 |
|
192 |
inherit db-use eutils versionator |
193 |
|
194 |
DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" |
195 |
HOMEPAGE="http://bitcoin.org/" |
196 |
SRC_URI="http://gitorious.org/bitcoin/${PN}-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
197 |
bip16? ( http://luke.dashjr.org/programs/bitcoin/files/bip16/0.4.7-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch.xz ) |
198 |
eligius? ( |
199 |
!bip16? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.4.5rc1-eligius_sendfee.patch.xz ) |
200 |
) |
201 |
" |
202 |
|
203 |
LICENSE="MIT ISC GPL-2" |
204 |
SLOT="0" |
205 |
KEYWORDS="~amd64 ~x86" |
206 |
IUSE="+bip16 +eligius logrotate ssl upnp" |
207 |
|
208 |
RDEPEND=" |
209 |
>=dev-libs/boost-1.41.0 |
210 |
dev-libs/crypto++ |
211 |
dev-libs/openssl[-bindist] |
212 |
logrotate? ( |
213 |
app-admin/logrotate |
214 |
) |
215 |
upnp? ( |
216 |
net-libs/miniupnpc |
217 |
) |
218 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
219 |
" |
220 |
DEPEND="${RDEPEND} |
221 |
>=app-shells/bash-4.1 |
222 |
" |
223 |
|
224 |
S="${WORKDIR}/bitcoin-${PN}-stable" |
225 |
|
226 |
pkg_setup() { |
227 |
local UG='bitcoin' |
228 |
enewgroup "${UG}" |
229 |
enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" |
230 |
} |
231 |
|
232 |
src_prepare() { |
233 |
cd src || die |
234 |
cp "${FILESDIR}/0.4.2-Makefile.gentoo" "Makefile" || die |
235 |
if use bip16; then |
236 |
epatch "${WORKDIR}/0.4.7-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch" |
237 |
use eligius && epatch "${FILESDIR}/0.4.4+bip16-eligius_sendfee.patch" |
238 |
else |
239 |
use eligius && epatch "${WORKDIR}/0.4.5rc1-eligius_sendfee.patch" |
240 |
fi |
241 |
use logrotate && epatch "${FILESDIR}/0.4.7-reopen_log_file.patch" |
242 |
} |
243 |
|
244 |
src_compile() { |
245 |
local OPTS=() |
246 |
local BOOST_PKG BOOST_VER BOOST_INC |
247 |
|
248 |
OPTS+=("CXXFLAGS=${CXXFLAGS}") |
249 |
OPTS+=( "LDFLAGS=${LDFLAGS}") |
250 |
|
251 |
OPTS+=("DB_CXXFLAGS=-I$(db_includedir "${DB_VER}")") |
252 |
OPTS+=("DB_LDFLAGS=-ldb_cxx-${DB_VER}") |
253 |
|
254 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
255 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
256 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
257 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
258 |
OPTS+=("BOOST_CXXFLAGS=-I${BOOST_INC}") |
259 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
260 |
|
261 |
use ssl && OPTS+=(USE_SSL=1) |
262 |
use upnp && OPTS+=(USE_UPNP=1) |
263 |
|
264 |
cd src || die |
265 |
emake "${OPTS[@]}" ${PN} |
266 |
} |
267 |
|
268 |
src_install() { |
269 |
dobin src/${PN} |
270 |
|
271 |
insinto /etc/bitcoin |
272 |
newins "${FILESDIR}/bitcoin.conf" bitcoin.conf |
273 |
fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf |
274 |
fperms 600 /etc/bitcoin/bitcoin.conf |
275 |
|
276 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
277 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
278 |
|
279 |
keepdir /var/lib/bitcoin/.bitcoin |
280 |
fperms 700 /var/lib/bitcoin |
281 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |
282 |
fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin |
283 |
dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf |
284 |
|
285 |
dodoc doc/README |
286 |
|
287 |
if use logrotate; then |
288 |
insinto /etc/logrotate.d |
289 |
newins "${FILESDIR}/bitcoind.logrotate" bitcoind |
290 |
fi |
291 |
} |