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-p2p/bitcoind: metadata.xml ChangeLog bitcoind-0.5.0.3-r1.ebuild bitcoind-0.5.2-r1.ebuild bitcoind-0.4.3-r1.ebuild
Date: Wed, 08 Feb 2012 00:07:50
Message-Id: 20120208000739.AE8142004B@flycatcher.gentoo.org
1 blueness 12/02/08 00:07:39
2
3 Modified: metadata.xml ChangeLog
4 Added: bitcoind-0.5.0.3-r1.ebuild bitcoind-0.5.2-r1.ebuild
5 bitcoind-0.4.3-r1.ebuild
6 Log:
7 Add USE=bip17 to validate new P2SH transactions
8
9 (Portage version: 2.1.10.44/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 net-p2p/bitcoind/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/metadata.xml?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/metadata.xml?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/metadata.xml?r1=1.1&r2=1.2
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/metadata.xml,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- metadata.xml 23 Dec 2011 19:19:38 -0000 1.1
25 +++ metadata.xml 8 Feb 2012 00:07:39 -0000 1.2
26 @@ -10,6 +10,7 @@
27 <name>Luke Dashjr</name>
28 </maintainer>
29 <use>
30 + <flag name='bip17'>Enable validation of new P2SH transactions</flag>
31 <flag name='eligius'>Enable using lower fees accepted by Eligius</flag>
32 <flag name='upnp'>Enable Universal Plug and Play</flag>
33 </use>
34
35
36
37 1.4 net-p2p/bitcoind/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.4&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.4&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?r1=1.3&r2=1.4
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v
46 retrieving revision 1.3
47 retrieving revision 1.4
48 diff -u -r1.3 -r1.4
49 --- ChangeLog 11 Jan 2012 15:46:36 -0000 1.3
50 +++ ChangeLog 8 Feb 2012 00:07:39 -0000 1.4
51 @@ -1,5 +1,14 @@
52
53
54 +*bitcoind-0.5.2-r1 (08 Feb 2012)
55 +*bitcoind-0.5.0.3-r1 (08 Feb 2012)
56 +*bitcoind-0.4.3-r1 (08 Feb 2012)
57 +
58 + 08 Feb 2012; Anthony G. Basile <blueness@g.o>
59 + +bitcoind-0.4.3-r1.ebuild, +bitcoind-0.5.0.3-r1.ebuild,
60 + +bitcoind-0.5.2-r1.ebuild, metadata.xml:
61 + Add USE=bip17 to validate new P2SH transactions
62 +
63 *bitcoind-0.5.2 (11 Jan 2012)
64 *bitcoind-0.5.0.3 (11 Jan 2012)
65 *bitcoind-0.4.3 (11 Jan 2012)
66
67
68
69 1.1 net-p2p/bitcoind/bitcoind-0.5.0.3-r1.ebuild
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.0.3-r1.ebuild?rev=1.1&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.0.3-r1.ebuild?rev=1.1&content-type=text/plain
73
74 Index: bitcoind-0.5.0.3-r1.ebuild
75 ===================================================================
76 # Copyright 1999-2012 Gentoo Foundation
77 # Distributed under the terms of the GNU General Public License v2
78 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.0.3-r1.ebuild,v 1.1 2012/02/08 00:07:39 blueness Exp $
79
80 EAPI=4
81
82 DB_VER="4.8"
83
84 inherit db-use eutils versionator
85
86 DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services"
87 HOMEPAGE="http://bitcoin.org/"
88 SRC_URI="http://gitorious.org/bitcoin/${PN}-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
89 bip17? ( http://luke.dashjr.org/programs/bitcoin/files/bip17/bip17_v${PV}.patch )
90 eligius? ( http://luke.dashjr.org/programs/bitcoin/files/0.5.2-eligius_sendfee.patch.xz )
91 "
92
93 LICENSE="MIT ISC"
94 SLOT="0"
95 KEYWORDS="~amd64 ~arm ~x86"
96 IUSE="+bip17 +eligius examples ssl upnp"
97
98 RDEPEND="
99 >=dev-libs/boost-1.41.0
100 dev-libs/openssl[-bindist]
101 upnp? (
102 net-libs/miniupnpc
103 )
104 sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
105 "
106 DEPEND="${RDEPEND}
107 >=app-shells/bash-4.1
108 "
109
110 S="${WORKDIR}/bitcoin-${PN}-stable"
111
112 pkg_setup() {
113 local UG='bitcoin'
114 enewgroup "${UG}"
115 enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}"
116 }
117
118 src_prepare() {
119 cd src || die
120 use bip17 && epatch "${DISTDIR}/bip17_v${PV}.patch"
121 use eligius && epatch "${WORKDIR}/0.5.2-eligius_sendfee.patch"
122 }
123
124 src_compile() {
125 local OPTS=()
126 local BOOST_PKG BOOST_VER BOOST_INC
127
128 OPTS+=("CXXFLAGS=${CXXFLAGS}")
129 OPTS+=("LDFLAGS=${LDFLAGS}")
130
131 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
132 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
133
134 BOOST_PKG="$(best_version 'dev-libs/boost')"
135 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
136 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
137 BOOST_INC="/usr/include/boost-${BOOST_VER}"
138 OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}")
139 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
140
141 use ssl && OPTS+=(USE_SSL=1)
142 if use upnp; then
143 OPTS+=(USE_UPNP=1)
144 else
145 OPTS+=(USE_UPNP=)
146 fi
147
148 cd src || die
149 emake -f makefile.unix "${OPTS[@]}" ${PN}
150 }
151
152 src_install() {
153 dobin src/${PN}
154
155 insinto /etc/bitcoin
156 newins "${FILESDIR}/bitcoin.conf" bitcoin.conf
157 fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf
158 fperms 600 /etc/bitcoin/bitcoin.conf
159
160 newconfd "${FILESDIR}/bitcoin.confd" ${PN}
161 newinitd "${FILESDIR}/bitcoin.initd" ${PN}
162
163 keepdir /var/lib/bitcoin/.bitcoin
164 fperms 700 /var/lib/bitcoin
165 fowners bitcoin:bitcoin /var/lib/bitcoin/
166 fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin
167 dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf
168
169 dodoc doc/README
170
171 if use examples; then
172 docinto examples
173 dodoc -r contrib/{bitrpc,pyminer,wallettools}
174 fi
175 }
176
177
178
179 1.1 net-p2p/bitcoind/bitcoind-0.5.2-r1.ebuild
180
181 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.2-r1.ebuild?rev=1.1&view=markup
182 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.2-r1.ebuild?rev=1.1&content-type=text/plain
183
184 Index: bitcoind-0.5.2-r1.ebuild
185 ===================================================================
186 # Copyright 1999-2012 Gentoo Foundation
187 # Distributed under the terms of the GNU General Public License v2
188 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.5.2-r1.ebuild,v 1.1 2012/02/08 00:07:39 blueness Exp $
189
190 EAPI=4
191
192 DB_VER="4.8"
193
194 inherit db-use eutils versionator
195
196 DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services"
197 HOMEPAGE="http://bitcoin.org/"
198 SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
199 bip17? ( http://luke.dashjr.org/programs/bitcoin/files/bip17/bip17_v${PV}.patch )
200 eligius? ( http://luke.dashjr.org/programs/bitcoin/files/0.5.2-eligius_sendfee.patch.xz )
201 "
202
203 LICENSE="MIT ISC"
204 SLOT="0"
205 KEYWORDS="~amd64 ~arm ~x86"
206 IUSE="+bip17 +eligius examples ssl upnp"
207
208 RDEPEND="
209 >=dev-libs/boost-1.41.0
210 dev-libs/openssl[-bindist]
211 upnp? (
212 net-libs/miniupnpc
213 )
214 sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
215 "
216 DEPEND="${RDEPEND}
217 >=app-shells/bash-4.1
218 "
219
220 S="${WORKDIR}/bitcoin-bitcoind-stable"
221
222 pkg_setup() {
223 local UG='bitcoin'
224 enewgroup "${UG}"
225 enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}"
226 }
227
228 src_prepare() {
229 cd src || die
230 use bip17 && epatch "${DISTDIR}/bip17_v${PV}.patch"
231 use eligius && epatch "${WORKDIR}/0.5.2-eligius_sendfee.patch"
232 }
233
234 src_compile() {
235 local OPTS=()
236 local BOOST_PKG BOOST_VER BOOST_INC
237
238 OPTS+=("CXXFLAGS=${CXXFLAGS}")
239 OPTS+=("LDFLAGS=${LDFLAGS}")
240
241 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
242 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
243
244 BOOST_PKG="$(best_version 'dev-libs/boost')"
245 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
246 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
247 BOOST_INC="/usr/include/boost-${BOOST_VER}"
248 OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}")
249 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
250
251 use ssl && OPTS+=(USE_SSL=1)
252 if use upnp; then
253 OPTS+=(USE_UPNP=1)
254 else
255 OPTS+=(USE_UPNP=)
256 fi
257
258 cd src || die
259 emake -f makefile.unix "${OPTS[@]}" ${PN}
260 }
261
262 src_install() {
263 dobin src/${PN}
264
265 insinto /etc/bitcoin
266 newins "${FILESDIR}/bitcoin.conf" bitcoin.conf
267 fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf
268 fperms 600 /etc/bitcoin/bitcoin.conf
269
270 newconfd "${FILESDIR}/bitcoin.confd" ${PN}
271 newinitd "${FILESDIR}/bitcoin.initd" ${PN}
272
273 keepdir /var/lib/bitcoin/.bitcoin
274 fperms 700 /var/lib/bitcoin
275 fowners bitcoin:bitcoin /var/lib/bitcoin/
276 fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin
277 dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf
278
279 dodoc doc/README
280
281 if use examples; then
282 docinto examples
283 dodoc -r contrib/{bitrpc,pyminer,wallettools}
284 fi
285 }
286
287
288
289 1.1 net-p2p/bitcoind/bitcoind-0.4.3-r1.ebuild
290
291 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.4.3-r1.ebuild?rev=1.1&view=markup
292 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.4.3-r1.ebuild?rev=1.1&content-type=text/plain
293
294 Index: bitcoind-0.4.3-r1.ebuild
295 ===================================================================
296 # Copyright 1999-2012 Gentoo Foundation
297 # Distributed under the terms of the GNU General Public License v2
298 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.4.3-r1.ebuild,v 1.1 2012/02/08 00:07:39 blueness Exp $
299
300 EAPI=4
301
302 DB_VER="4.8"
303
304 inherit db-use eutils versionator
305
306 DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services"
307 HOMEPAGE="http://bitcoin.org/"
308 SRC_URI="http://gitorious.org/bitcoin/${PN}-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
309 bip17? ( http://luke.dashjr.org/programs/bitcoin/files/bip17/bip17_v0.4.0.patch )
310 eligius? ( http://luke.dashjr.org/programs/bitcoin/files/0.5.2-eligius_sendfee.patch.xz )
311 "
312
313 LICENSE="MIT ISC"
314 SLOT="0"
315 KEYWORDS="~amd64 ~x86"
316 IUSE="+bip17 +eligius ssl upnp"
317
318 RDEPEND="
319 >=dev-libs/boost-1.41.0
320 dev-libs/crypto++
321 dev-libs/openssl[-bindist]
322 upnp? (
323 net-libs/miniupnpc
324 )
325 sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
326 "
327 DEPEND="${RDEPEND}
328 >=app-shells/bash-4.1
329 "
330
331 S="${WORKDIR}/bitcoin-${PN}-stable"
332
333 pkg_setup() {
334 local UG='bitcoin'
335 enewgroup "${UG}"
336 enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}"
337 }
338
339 src_prepare() {
340 cd src || die
341 cp "${FILESDIR}/0.4.2-Makefile.gentoo" "Makefile" || die
342 use bip17 && epatch "${DISTDIR}/bip17_v0.4.0.patch"
343 use eligius && epatch "${WORKDIR}/0.5.2-eligius_sendfee.patch"
344 }
345
346 src_compile() {
347 local OPTS=()
348 local BOOST_PKG BOOST_VER BOOST_INC
349
350 OPTS+=("CXXFLAGS=${CXXFLAGS}")
351 OPTS+=( "LDFLAGS=${LDFLAGS}")
352
353 OPTS+=("DB_CXXFLAGS=-I$(db_includedir "${DB_VER}")")
354 OPTS+=("DB_LDFLAGS=-ldb_cxx-${DB_VER}")
355
356 BOOST_PKG="$(best_version 'dev-libs/boost')"
357 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
358 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
359 BOOST_INC="/usr/include/boost-${BOOST_VER}"
360 OPTS+=("BOOST_CXXFLAGS=-I${BOOST_INC}")
361 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
362
363 use ssl && OPTS+=(USE_SSL=1)
364 use upnp && OPTS+=(USE_UPNP=1)
365
366 cd src || die
367 emake "${OPTS[@]}" ${PN}
368 }
369
370 src_install() {
371 dobin src/${PN}
372
373 insinto /etc/bitcoin
374 newins "${FILESDIR}/bitcoin.conf" bitcoin.conf
375 fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf
376 fperms 600 /etc/bitcoin/bitcoin.conf
377
378 newconfd "${FILESDIR}/bitcoin.confd" ${PN}
379 newinitd "${FILESDIR}/bitcoin.initd" ${PN}
380
381 keepdir /var/lib/bitcoin/.bitcoin
382 fperms 700 /var/lib/bitcoin
383 fowners bitcoin:bitcoin /var/lib/bitcoin/
384 fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin
385 dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf
386
387 dodoc doc/README
388 }