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