1 |
blueness 13/03/27 22:52:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bitcoind-0.8.1.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.59 net-p2p/bitcoind/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.59&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.59&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?r1=1.58&r2=1.59 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v |
20 |
retrieving revision 1.58 |
21 |
retrieving revision 1.59 |
22 |
diff -u -r1.58 -r1.59 |
23 |
--- ChangeLog 17 Mar 2013 16:22:48 -0000 1.58 |
24 |
+++ ChangeLog 27 Mar 2013 22:52:42 -0000 1.59 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-p2p/bitcoind |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.58 2013/03/17 16:22:48 hwoarang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.59 2013/03/27 22:52:42 blueness Exp $ |
30 |
+ |
31 |
+*bitcoind-0.8.1 (27 Mar 2013) |
32 |
+ |
33 |
+ 27 Mar 2013; Anthony G. Basile <blueness@g.o> +bitcoind-0.8.1.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
17 Mar 2013; Markos Chandras <hwoarang@g.o> metadata.xml: |
37 |
Add proxy-maintainers to metadata.xml |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-p2p/bitcoind/bitcoind-0.8.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.8.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.8.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: bitcoind-0.8.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 2010-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.8.1.ebuild,v 1.1 2013/03/27 22:52:42 blueness Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
DB_VER="4.8" |
55 |
|
56 |
inherit db-use eutils versionator toolchain-funcs |
57 |
|
58 |
MyPV="${PV/_/}" |
59 |
MyPN="bitcoin" |
60 |
MyP="${MyPN}-${MyPV}" |
61 |
|
62 |
DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" |
63 |
HOMEPAGE="http://bitcoin.org/" |
64 |
SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz |
65 |
" |
66 |
|
67 |
LICENSE="MIT ISC GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~arm ~x86" |
70 |
IUSE="examples ipv6 logrotate upnp" |
71 |
|
72 |
RDEPEND=" |
73 |
>=dev-libs/boost-1.41.0[threads(+)] |
74 |
dev-libs/openssl[-bindist] |
75 |
logrotate? ( |
76 |
app-admin/logrotate |
77 |
) |
78 |
upnp? ( |
79 |
net-libs/miniupnpc |
80 |
) |
81 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
82 |
=dev-libs/leveldb-1.9.0* |
83 |
" |
84 |
DEPEND="${RDEPEND} |
85 |
>=app-shells/bash-4.1 |
86 |
" |
87 |
|
88 |
S="${WORKDIR}/${MyP}" |
89 |
|
90 |
pkg_setup() { |
91 |
local UG='bitcoin' |
92 |
enewgroup "${UG}" |
93 |
enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" |
94 |
} |
95 |
|
96 |
src_prepare() { |
97 |
epatch "${FILESDIR}/0.8.0-sys_leveldb.patch" |
98 |
rm -r src/leveldb |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
OPTS=() |
103 |
|
104 |
OPTS+=("DEBUGFLAGS=") |
105 |
OPTS+=("CXXFLAGS=${CXXFLAGS}") |
106 |
OPTS+=("LDFLAGS=${LDFLAGS}") |
107 |
|
108 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
109 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
110 |
|
111 |
if use upnp; then |
112 |
OPTS+=(USE_UPNP=1) |
113 |
else |
114 |
OPTS+=(USE_UPNP=) |
115 |
fi |
116 |
use ipv6 || OPTS+=("USE_IPV6=-") |
117 |
|
118 |
OPTS+=("USE_SYSTEM_LEVELDB=1") |
119 |
|
120 |
cd src || die |
121 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN} |
122 |
} |
123 |
|
124 |
src_test() { |
125 |
cd src || die |
126 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" test_bitcoin |
127 |
./test_bitcoin || die 'Tests failed' |
128 |
} |
129 |
|
130 |
src_install() { |
131 |
dobin src/${PN} |
132 |
|
133 |
insinto /etc/bitcoin |
134 |
newins "${FILESDIR}/bitcoin.conf" bitcoin.conf |
135 |
fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf |
136 |
fperms 600 /etc/bitcoin/bitcoin.conf |
137 |
|
138 |
newconfd "${FILESDIR}/bitcoin.confd" ${PN} |
139 |
newinitd "${FILESDIR}/bitcoin.initd" ${PN} |
140 |
|
141 |
keepdir /var/lib/bitcoin/.bitcoin |
142 |
fperms 700 /var/lib/bitcoin |
143 |
fowners bitcoin:bitcoin /var/lib/bitcoin/ |
144 |
fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin |
145 |
dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf |
146 |
|
147 |
dodoc doc/README |
148 |
|
149 |
if use examples; then |
150 |
docinto examples |
151 |
dodoc -r contrib/{bitrpc,pyminer,spendfrom,tidy_datadir.sh,wallettools} |
152 |
fi |
153 |
|
154 |
if use logrotate; then |
155 |
insinto /etc/logrotate.d |
156 |
newins "${FILESDIR}/bitcoind.logrotate" bitcoind |
157 |
fi |
158 |
} |