1 |
blueness 12/08/30 21:42:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bitcoind-0.5.7_rc1.ebuild bitcoind-0.6.4_rc1.ebuild |
5 |
bitcoind-0.6.0.10_rc1.ebuild |
6 |
bitcoind-0.4.8_rc1.ebuild bitcoind-0.7.0_rc1.ebuild |
7 |
Log: |
8 |
Version bump RC's |
9 |
|
10 |
(Portage version: 2.1.11.9/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.40 net-p2p/bitcoind/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.40&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.40&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?r1=1.39&r2=1.40 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v |
22 |
retrieving revision 1.39 |
23 |
retrieving revision 1.40 |
24 |
diff -u -r1.39 -r1.40 |
25 |
--- ChangeLog 31 Jul 2012 02:14:08 -0000 1.39 |
26 |
+++ ChangeLog 30 Aug 2012 21:42:19 -0000 1.40 |
27 |
@@ -1,6 +1,18 @@ |
28 |
# ChangeLog for net-p2p/bitcoind |
29 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.39 2012/07/31 02:14:08 blueness Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.40 2012/08/30 21:42:19 blueness Exp $ |
32 |
+ |
33 |
+*bitcoind-0.7.0_rc1 (30 Aug 2012) |
34 |
+*bitcoind-0.6.4_rc1 (30 Aug 2012) |
35 |
+*bitcoind-0.6.0.10_rc1 (30 Aug 2012) |
36 |
+*bitcoind-0.5.7_rc1 (30 Aug 2012) |
37 |
+*bitcoind-0.4.8_rc1 (30 Aug 2012) |
38 |
+ |
39 |
+ 30 Aug 2012; Anthony G. Basile <blueness@g.o> |
40 |
+ +bitcoind-0.4.8_rc1.ebuild, +bitcoind-0.5.7_rc1.ebuild, |
41 |
+ +bitcoind-0.6.0.10_rc1.ebuild, +bitcoind-0.6.4_rc1.ebuild, |
42 |
+ +bitcoind-0.7.0_rc1.ebuild: |
43 |
+ Version bump RC's |
44 |
|
45 |
*bitcoind-0.5.6 (31 Jul 2012) |
46 |
*bitcoind-0.4.7 (31 Jul 2012) |
47 |
|
48 |
|
49 |
|
50 |
1.1 net-p2p/bitcoind/bitcoind-0.5.7_rc1.ebuild |
51 |
|
52 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.7_rc1.ebuild?rev=1.1&view=markup |
53 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.7_rc1.ebuild?rev=1.1&content-type=text/plain |
54 |
|
55 |
Index: bitcoind-0.5.7_rc1.ebuild |
56 |
=================================================================== |
57 |
# Copyright 1999-2012 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.7_rc1.ebuild,v 1.1 2012/08/30 21:42:19 blueness Exp $ |
60 |
|
61 |
EAPI="4" |
62 |
|
63 |
DB_VER="4.8" |
64 |
|
65 |
inherit db-use eutils versionator toolchain-funcs |
66 |
|
67 |
DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" |
68 |
HOMEPAGE="http://bitcoin.org/" |
69 |
SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
70 |
bip16? ( http://luke.dashjr.org/programs/bitcoin/files/bip16/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch.xz ) |
71 |
eligius? ( |
72 |
!bip16? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.5.0.6rc1-eligius_sendfee.patch.xz ) |
73 |
) |
74 |
" |
75 |
|
76 |
LICENSE="MIT ISC GPL-2" |
77 |
SLOT="0" |
78 |
KEYWORDS="~amd64 ~arm ~x86" |
79 |
IUSE="+bip16 +eligius examples logrotate ssl upnp" |
80 |
|
81 |
RDEPEND=" |
82 |
>=dev-libs/boost-1.41.0 |
83 |
dev-libs/openssl[-bindist] |
84 |
logrotate? ( |
85 |
app-admin/logrotate |
86 |
) |
87 |
upnp? ( |
88 |
net-libs/miniupnpc |
89 |
) |
90 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
91 |
" |
92 |
DEPEND="${RDEPEND} |
93 |
>=app-shells/bash-4.1 |
94 |
" |
95 |
|
96 |
S="${WORKDIR}/bitcoin-bitcoind-stable" |
97 |
|
98 |
pkg_setup() { |
99 |
local UG='bitcoin' |
100 |
enewgroup "${UG}" |
101 |
enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" |
102 |
} |
103 |
|
104 |
src_prepare() { |
105 |
cd src || die |
106 |
if use bip16; then |
107 |
epatch "${WORKDIR}/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch" |
108 |
use eligius && epatch "${FILESDIR}/0.5.0.5+bip16-eligius_sendfee.patch" |
109 |
else |
110 |
use eligius && epatch "${WORKDIR}/0.5.0.6rc1-eligius_sendfee.patch" |
111 |
fi |
112 |
use logrotate && epatch "${FILESDIR}/0.4.7-reopen_log_file.patch" |
113 |
} |
114 |
|
115 |
src_compile() { |
116 |
OPTS=() |
117 |
local BOOST_PKG BOOST_VER BOOST_INC |
118 |
|
119 |
OPTS+=("DEBUGFLAGS=") |
120 |
OPTS+=("CXXFLAGS=${CXXFLAGS}") |
121 |
OPTS+=("LDFLAGS=${LDFLAGS}") |
122 |
|
123 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
124 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
125 |
|
126 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
127 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
128 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
129 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
130 |
OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}") |
131 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
132 |
|
133 |
use ssl && OPTS+=(USE_SSL=1) |
134 |
if use upnp; then |
135 |
OPTS+=(USE_UPNP=1) |
136 |
else |
137 |
OPTS+=(USE_UPNP=) |
138 |
fi |
139 |
|
140 |
cd src || die |
141 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN} |
142 |
} |
143 |
|
144 |
src_test() { |
145 |
cd src || die |
146 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_bitcoin |
147 |
./test_bitcoin || die 'Tests failed' |
148 |
} |
149 |
|
150 |
src_install() { |
151 |
dobin src/${PN} |
152 |
|
153 |
insinto /etc/bitcoin |
154 |
newins "${FILESDIR}/bitcoin.conf" bitcoin.conf |
155 |
fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf |
156 |
fperms 600 /etc/bitcoin/bitcoin.conf |
157 |
|
158 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
159 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
160 |
|
161 |
keepdir /var/lib/bitcoin/.bitcoin |
162 |
fperms 700 /var/lib/bitcoin |
163 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |
164 |
fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin |
165 |
dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf |
166 |
|
167 |
dodoc doc/README |
168 |
|
169 |
if use examples; then |
170 |
docinto examples |
171 |
dodoc -r contrib/{bitrpc,pyminer,wallettools} |
172 |
fi |
173 |
|
174 |
if use logrotate; then |
175 |
insinto /etc/logrotate.d |
176 |
newins "${FILESDIR}/bitcoind.logrotate" bitcoind |
177 |
fi |
178 |
} |
179 |
|
180 |
|
181 |
|
182 |
1.1 net-p2p/bitcoind/bitcoind-0.6.4_rc1.ebuild |
183 |
|
184 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.6.4_rc1.ebuild?rev=1.1&view=markup |
185 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.6.4_rc1.ebuild?rev=1.1&content-type=text/plain |
186 |
|
187 |
Index: bitcoind-0.6.4_rc1.ebuild |
188 |
=================================================================== |
189 |
# Copyright 1999-2012 Gentoo Foundation |
190 |
# Distributed under the terms of the GNU General Public License v2 |
191 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.6.4_rc1.ebuild,v 1.1 2012/08/30 21:42:19 blueness Exp $ |
192 |
|
193 |
EAPI="4" |
194 |
|
195 |
DB_VER="4.8" |
196 |
|
197 |
inherit db-use eutils versionator toolchain-funcs |
198 |
|
199 |
DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" |
200 |
HOMEPAGE="http://bitcoin.org/" |
201 |
SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/392d30f0 -> bitcoin-v${PV}.tgz |
202 |
eligius? ( http://luke.dashjr.org/programs/bitcoin/files/bitcoind/eligius/sendfee/0.6.1-eligius_sendfee.patch.xz ) |
203 |
logrotate? ( https://github.com/bitcoin/bitcoin/commit/9af080c351c40a4f56d37174253d33a9f4ffdb69.diff -> 0.6.3-reopen_log_file.patch ) |
204 |
" |
205 |
|
206 |
LICENSE="MIT ISC GPL-2" |
207 |
SLOT="0" |
208 |
KEYWORDS="~amd64 ~arm ~x86" |
209 |
IUSE="+eligius examples logrotate upnp" |
210 |
|
211 |
RDEPEND=" |
212 |
>=dev-libs/boost-1.41.0 |
213 |
dev-libs/openssl[-bindist] |
214 |
logrotate? ( |
215 |
app-admin/logrotate |
216 |
) |
217 |
upnp? ( |
218 |
net-libs/miniupnpc |
219 |
) |
220 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
221 |
" |
222 |
DEPEND="${RDEPEND} |
223 |
>=app-shells/bash-4.1 |
224 |
" |
225 |
|
226 |
S="${WORKDIR}/bitcoin-bitcoind-stable" |
227 |
|
228 |
pkg_setup() { |
229 |
local UG='bitcoin' |
230 |
enewgroup "${UG}" |
231 |
enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" |
232 |
} |
233 |
|
234 |
src_prepare() { |
235 |
cd src || die |
236 |
use eligius && epatch "${WORKDIR}/0.6.1-eligius_sendfee.patch" |
237 |
use logrotate && epatch "${DISTDIR}/0.6.3-reopen_log_file.patch" |
238 |
} |
239 |
|
240 |
src_compile() { |
241 |
OPTS=() |
242 |
local BOOST_PKG BOOST_VER BOOST_INC |
243 |
|
244 |
OPTS+=("DEBUGFLAGS=") |
245 |
OPTS+=("CXXFLAGS=${CXXFLAGS}") |
246 |
OPTS+=("LDFLAGS=${LDFLAGS}") |
247 |
|
248 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
249 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
250 |
|
251 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
252 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
253 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
254 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
255 |
OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}") |
256 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
257 |
|
258 |
if use upnp; then |
259 |
OPTS+=(USE_UPNP=1) |
260 |
else |
261 |
OPTS+=(USE_UPNP=) |
262 |
fi |
263 |
|
264 |
cd src || die |
265 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN} |
266 |
} |
267 |
|
268 |
src_test() { |
269 |
cd src || die |
270 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_bitcoin |
271 |
./test_bitcoin || die 'Tests failed' |
272 |
} |
273 |
|
274 |
src_install() { |
275 |
dobin src/${PN} |
276 |
|
277 |
insinto /etc/bitcoin |
278 |
newins "${FILESDIR}/bitcoin.conf" bitcoin.conf |
279 |
fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf |
280 |
fperms 600 /etc/bitcoin/bitcoin.conf |
281 |
|
282 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
283 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
284 |
|
285 |
keepdir /var/lib/bitcoin/.bitcoin |
286 |
fperms 700 /var/lib/bitcoin |
287 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |
288 |
fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin |
289 |
dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf |
290 |
|
291 |
dodoc doc/README |
292 |
|
293 |
if use examples; then |
294 |
docinto examples |
295 |
dodoc -r contrib/{bitrpc,pyminer,wallettools} |
296 |
fi |
297 |
|
298 |
if use logrotate; then |
299 |
insinto /etc/logrotate.d |
300 |
newins "${FILESDIR}/bitcoind.logrotate" bitcoind |
301 |
fi |
302 |
} |
303 |
|
304 |
|
305 |
|
306 |
1.1 net-p2p/bitcoind/bitcoind-0.6.0.10_rc1.ebuild |
307 |
|
308 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.6.0.10_rc1.ebuild?rev=1.1&view=markup |
309 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.6.0.10_rc1.ebuild?rev=1.1&content-type=text/plain |
310 |
|
311 |
Index: bitcoind-0.6.0.10_rc1.ebuild |
312 |
=================================================================== |
313 |
# Copyright 1999-2012 Gentoo Foundation |
314 |
# Distributed under the terms of the GNU General Public License v2 |
315 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.6.0.10_rc1.ebuild,v 1.1 2012/08/30 21:42:19 blueness Exp $ |
316 |
|
317 |
EAPI="4" |
318 |
|
319 |
DB_VER="4.8" |
320 |
|
321 |
inherit db-use eutils versionator toolchain-funcs |
322 |
|
323 |
DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" |
324 |
HOMEPAGE="http://bitcoin.org/" |
325 |
SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
326 |
eligius? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.6.0-eligius_sendfee.patch.xz ) |
327 |
" |
328 |
|
329 |
LICENSE="MIT ISC GPL-2" |
330 |
SLOT="0" |
331 |
KEYWORDS="~amd64 ~arm ~x86" |
332 |
IUSE="+eligius examples logrotate ssl upnp" |
333 |
|
334 |
RDEPEND=" |
335 |
>=dev-libs/boost-1.41.0 |
336 |
dev-libs/openssl[-bindist] |
337 |
logrotate? ( |
338 |
app-admin/logrotate |
339 |
) |
340 |
upnp? ( |
341 |
net-libs/miniupnpc |
342 |
) |
343 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
344 |
" |
345 |
DEPEND="${RDEPEND} |
346 |
>=app-shells/bash-4.1 |
347 |
" |
348 |
|
349 |
S="${WORKDIR}/bitcoin-bitcoind-stable" |
350 |
|
351 |
pkg_setup() { |
352 |
local UG='bitcoin' |
353 |
enewgroup "${UG}" |
354 |
enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" |
355 |
} |
356 |
|
357 |
src_prepare() { |
358 |
cd src || die |
359 |
use eligius && epatch "${WORKDIR}/0.6.0-eligius_sendfee.patch" |
360 |
use logrotate && epatch "${FILESDIR}/0.6.0.8-reopen_log_file.patch" |
361 |
} |
362 |
|
363 |
src_compile() { |
364 |
OPTS=() |
365 |
local BOOST_PKG BOOST_VER BOOST_INC |
366 |
|
367 |
OPTS+=("DEBUGFLAGS=") |
368 |
OPTS+=("CXXFLAGS=${CXXFLAGS}") |
369 |
OPTS+=("LDFLAGS=${LDFLAGS}") |
370 |
|
371 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
372 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
373 |
|
374 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
375 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
376 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
377 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
378 |
OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}") |
379 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
380 |
|
381 |
use ssl && OPTS+=(USE_SSL=1) |
382 |
if use upnp; then |
383 |
OPTS+=(USE_UPNP=1) |
384 |
else |
385 |
OPTS+=(USE_UPNP=) |
386 |
fi |
387 |
|
388 |
cd src || die |
389 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN} |
390 |
} |
391 |
|
392 |
src_test() { |
393 |
cd src || die |
394 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_bitcoin |
395 |
./test_bitcoin || die 'Tests failed' |
396 |
} |
397 |
|
398 |
src_install() { |
399 |
dobin src/${PN} |
400 |
|
401 |
insinto /etc/bitcoin |
402 |
newins "${FILESDIR}/bitcoin.conf" bitcoin.conf |
403 |
fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf |
404 |
fperms 600 /etc/bitcoin/bitcoin.conf |
405 |
|
406 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
407 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
408 |
|
409 |
keepdir /var/lib/bitcoin/.bitcoin |
410 |
fperms 700 /var/lib/bitcoin |
411 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |
412 |
fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin |
413 |
dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf |
414 |
|
415 |
dodoc doc/README |
416 |
|
417 |
if use examples; then |
418 |
docinto examples |
419 |
dodoc -r contrib/{bitrpc,pyminer,wallettools} |
420 |
fi |
421 |
|
422 |
if use logrotate; then |
423 |
insinto /etc/logrotate.d |
424 |
newins "${FILESDIR}/bitcoind.logrotate" bitcoind |
425 |
fi |
426 |
} |
427 |
|
428 |
|
429 |
|
430 |
1.1 net-p2p/bitcoind/bitcoind-0.4.8_rc1.ebuild |
431 |
|
432 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.4.8_rc1.ebuild?rev=1.1&view=markup |
433 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.4.8_rc1.ebuild?rev=1.1&content-type=text/plain |
434 |
|
435 |
Index: bitcoind-0.4.8_rc1.ebuild |
436 |
=================================================================== |
437 |
# Copyright 1999-2012 Gentoo Foundation |
438 |
# Distributed under the terms of the GNU General Public License v2 |
439 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.4.8_rc1.ebuild,v 1.1 2012/08/30 21:42:19 blueness Exp $ |
440 |
|
441 |
EAPI=4 |
442 |
|
443 |
DB_VER="4.8" |
444 |
|
445 |
inherit db-use eutils versionator |
446 |
|
447 |
DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" |
448 |
HOMEPAGE="http://bitcoin.org/" |
449 |
SRC_URI="http://gitorious.org/bitcoin/${PN}-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
450 |
bip16? ( http://luke.dashjr.org/programs/bitcoin/files/bip16/0.4.7-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch.xz ) |
451 |
eligius? ( |
452 |
!bip16? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.4.5rc1-eligius_sendfee.patch.xz ) |
453 |
) |
454 |
" |
455 |
|
456 |
LICENSE="MIT ISC GPL-2" |
457 |
SLOT="0" |
458 |
KEYWORDS="~amd64 ~x86" |
459 |
IUSE="+bip16 +eligius logrotate ssl upnp" |
460 |
|
461 |
RDEPEND=" |
462 |
>=dev-libs/boost-1.41.0 |
463 |
dev-libs/crypto++ |
464 |
dev-libs/openssl[-bindist] |
465 |
logrotate? ( |
466 |
app-admin/logrotate |
467 |
) |
468 |
upnp? ( |
469 |
net-libs/miniupnpc |
470 |
) |
471 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
472 |
" |
473 |
DEPEND="${RDEPEND} |
474 |
>=app-shells/bash-4.1 |
475 |
" |
476 |
|
477 |
S="${WORKDIR}/bitcoin-${PN}-stable" |
478 |
|
479 |
pkg_setup() { |
480 |
local UG='bitcoin' |
481 |
enewgroup "${UG}" |
482 |
enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" |
483 |
} |
484 |
|
485 |
src_prepare() { |
486 |
cd src || die |
487 |
cp "${FILESDIR}/0.4.2-Makefile.gentoo" "Makefile" || die |
488 |
if use bip16; then |
489 |
epatch "${WORKDIR}/0.4.7-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch" |
490 |
use eligius && epatch "${FILESDIR}/0.4.4+bip16-eligius_sendfee.patch" |
491 |
else |
492 |
use eligius && epatch "${WORKDIR}/0.4.5rc1-eligius_sendfee.patch" |
493 |
fi |
494 |
use logrotate && epatch "${FILESDIR}/0.4.7-reopen_log_file.patch" |
495 |
} |
496 |
|
497 |
src_compile() { |
498 |
local OPTS=() |
499 |
local BOOST_PKG BOOST_VER BOOST_INC |
500 |
|
501 |
OPTS+=("CXXFLAGS=${CXXFLAGS}") |
502 |
OPTS+=( "LDFLAGS=${LDFLAGS}") |
503 |
|
504 |
OPTS+=("DB_CXXFLAGS=-I$(db_includedir "${DB_VER}")") |
505 |
OPTS+=("DB_LDFLAGS=-ldb_cxx-${DB_VER}") |
506 |
|
507 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
508 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
509 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
510 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
511 |
OPTS+=("BOOST_CXXFLAGS=-I${BOOST_INC}") |
512 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
513 |
|
514 |
use ssl && OPTS+=(USE_SSL=1) |
515 |
use upnp && OPTS+=(USE_UPNP=1) |
516 |
|
517 |
cd src || die |
518 |
emake "${OPTS[@]}" ${PN} |
519 |
} |
520 |
|
521 |
src_install() { |
522 |
dobin src/${PN} |
523 |
|
524 |
insinto /etc/bitcoin |
525 |
newins "${FILESDIR}/bitcoin.conf" bitcoin.conf |
526 |
fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf |
527 |
fperms 600 /etc/bitcoin/bitcoin.conf |
528 |
|
529 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
530 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
531 |
|
532 |
keepdir /var/lib/bitcoin/.bitcoin |
533 |
fperms 700 /var/lib/bitcoin |
534 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |
535 |
fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin |
536 |
dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf |
537 |
|
538 |
dodoc doc/README |
539 |
|
540 |
if use logrotate; then |
541 |
insinto /etc/logrotate.d |
542 |
newins "${FILESDIR}/bitcoind.logrotate" bitcoind |
543 |
fi |
544 |
} |
545 |
|
546 |
|
547 |
|
548 |
1.1 net-p2p/bitcoind/bitcoind-0.7.0_rc1.ebuild |
549 |
|
550 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.7.0_rc1.ebuild?rev=1.1&view=markup |
551 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.7.0_rc1.ebuild?rev=1.1&content-type=text/plain |
552 |
|
553 |
Index: bitcoind-0.7.0_rc1.ebuild |
554 |
=================================================================== |
555 |
# Copyright 1999-2012 Gentoo Foundation |
556 |
# Distributed under the terms of the GNU General Public License v2 |
557 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.7.0_rc1.ebuild,v 1.1 2012/08/30 21:42:19 blueness Exp $ |
558 |
|
559 |
EAPI="4" |
560 |
|
561 |
DB_VER="4.8" |
562 |
|
563 |
inherit db-use eutils versionator toolchain-funcs |
564 |
|
565 |
DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" |
566 |
HOMEPAGE="http://bitcoin.org/" |
567 |
SRC_URI="https://nodeload.github.com/bitcoin/bitcoin/tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
568 |
eligius? ( http://luke.dashjr.org/programs/bitcoin/files/bitcoind/eligius/sendfee/0.7.0-eligius_sendfee.patch.xz ) |
569 |
" |
570 |
|
571 |
LICENSE="MIT ISC GPL-2" |
572 |
SLOT="0" |
573 |
KEYWORDS="~amd64 ~arm ~x86" |
574 |
IUSE="+eligius examples ipv6 logrotate upnp" |
575 |
|
576 |
RDEPEND=" |
577 |
>=dev-libs/boost-1.41.0 |
578 |
dev-libs/openssl[-bindist] |
579 |
logrotate? ( |
580 |
app-admin/logrotate |
581 |
) |
582 |
upnp? ( |
583 |
net-libs/miniupnpc |
584 |
) |
585 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
586 |
" |
587 |
DEPEND="${RDEPEND} |
588 |
>=app-shells/bash-4.1 |
589 |
" |
590 |
|
591 |
S="${WORKDIR}/bitcoin-bitcoin-2c124cf" |
592 |
|
593 |
pkg_setup() { |
594 |
local UG='bitcoin' |
595 |
enewgroup "${UG}" |
596 |
enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" |
597 |
} |
598 |
|
599 |
src_prepare() { |
600 |
cd src || die |
601 |
use eligius && epatch "${WORKDIR}/0.7.0-eligius_sendfee.patch" |
602 |
} |
603 |
|
604 |
src_compile() { |
605 |
OPTS=() |
606 |
local BOOST_PKG BOOST_VER BOOST_INC |
607 |
|
608 |
OPTS+=("DEBUGFLAGS=") |
609 |
OPTS+=("CXXFLAGS=${CXXFLAGS}") |
610 |
OPTS+=("LDFLAGS=${LDFLAGS}") |
611 |
|
612 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
613 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
614 |
|
615 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
616 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
617 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
618 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
619 |
OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}") |
620 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
621 |
|
622 |
if use upnp; then |
623 |
OPTS+=(USE_UPNP=1) |
624 |
else |
625 |
OPTS+=(USE_UPNP=) |
626 |
fi |
627 |
use ipv6 || OPTS+=("USE_IPV6=-") |
628 |
|
629 |
cd src || die |
630 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN} |
631 |
} |
632 |
|
633 |
src_test() { |
634 |
cd src || die |
635 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_bitcoin |
636 |
./test_bitcoin || die 'Tests failed' |
637 |
} |
638 |
|
639 |
src_install() { |
640 |
dobin src/${PN} |
641 |
|
642 |
insinto /etc/bitcoin |
643 |
newins "${FILESDIR}/bitcoin.conf" bitcoin.conf |
644 |
fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf |
645 |
fperms 600 /etc/bitcoin/bitcoin.conf |
646 |
|
647 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
648 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
649 |
|
650 |
keepdir /var/lib/bitcoin/.bitcoin |
651 |
fperms 700 /var/lib/bitcoin |
652 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |
653 |
fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin |
654 |
dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf |
655 |
|
656 |
dodoc doc/README |
657 |
|
658 |
if use examples; then |
659 |
docinto examples |
660 |
dodoc -r contrib/{bitrpc,pyminer,wallettools} |
661 |
fi |
662 |
|
663 |
if use logrotate; then |
664 |
insinto /etc/logrotate.d |
665 |
newins "${FILESDIR}/bitcoind.logrotate" bitcoind |
666 |
fi |
667 |
} |