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.9.2.1.ebuild metadata.xml ChangeLog
Date: Tue, 29 Jul 2014 16:30:52
Message-Id: 20140729163045.532972004E@flycatcher.gentoo.org
1 blueness 14/07/29 16:30:45
2
3 Modified: metadata.xml ChangeLog
4 Added: bitcoind-0.9.2.1.ebuild
5 Log:
6 Version bump, bug #505096
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.10 net-p2p/bitcoind/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/metadata.xml?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/metadata.xml?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/metadata.xml?r1=1.9&r2=1.10
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/metadata.xml,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- metadata.xml 10 Oct 2013 05:19:24 -0000 1.9
24 +++ metadata.xml 29 Jul 2014 16:30:45 -0000 1.10
25 @@ -12,5 +12,7 @@
26 </maintainer>
27 <use>
28 <flag name='logrotate'>Use app-admin/logrotate for rotating logs</flag>
29 + <flag name='upnp'>Enable Universal Plug and Play</flag>
30 + <flag name='wallet'>Enable wallet support</flag>
31 </use>
32 </pkgmetadata>
33
34
35
36 1.85 net-p2p/bitcoind/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.85&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?rev=1.85&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/ChangeLog?r1=1.84&r2=1.85
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v
45 retrieving revision 1.84
46 retrieving revision 1.85
47 diff -u -r1.84 -r1.85
48 --- ChangeLog 21 Feb 2014 14:22:42 -0000 1.84
49 +++ ChangeLog 29 Jul 2014 16:30:45 -0000 1.85
50 @@ -1,6 +1,12 @@
51 # ChangeLog for net-p2p/bitcoind
52 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.84 2014/02/21 14:22:42 blueness Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.85 2014/07/29 16:30:45 blueness Exp $
55 +
56 +*bitcoind-0.9.2.1 (29 Jul 2014)
57 +
58 + 29 Jul 2014; Anthony G. Basile <blueness@g.o> +bitcoind-0.9.2.1.ebuild,
59 + +files/0.9.0-sys_leveldb.patch, metadata.xml:
60 + Version bump, bug #505096
61
62 *bitcoind-0.8.6-r1 (21 Feb 2014)
63
64
65
66
67 1.1 net-p2p/bitcoind/bitcoind-0.9.2.1.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.9.2.1.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/bitcoind-0.9.2.1.ebuild?rev=1.1&content-type=text/plain
71
72 Index: bitcoind-0.9.2.1.ebuild
73 ===================================================================
74 # Copyright 2010-2014 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/bitcoind-0.9.2.1.ebuild,v 1.1 2014/07/29 16:30:45 blueness Exp $
77
78 EAPI=4
79
80 DB_VER="4.8"
81
82 inherit autotools bash-completion-r1 db-use eutils user versionator systemd
83
84 MyPV="${PV/_/}"
85 MyPN="bitcoin"
86 MyP="${MyPN}-${MyPV}"
87
88 DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services"
89 HOMEPAGE="http://bitcoin.org/"
90 SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz
91 "
92
93 LICENSE="MIT ISC GPL-2"
94 SLOT="0"
95 KEYWORDS="~amd64 ~arm ~x86"
96 IUSE="bash-completion examples logrotate test upnp +wallet"
97
98 RDEPEND="
99 >=dev-libs/boost-1.41.0[threads(+)]
100 dev-libs/openssl:0[-bindist]
101 logrotate? (
102 app-admin/logrotate
103 )
104 upnp? (
105 net-libs/miniupnpc
106 )
107 wallet? (
108 sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
109 )
110 virtual/bitcoin-leveldb
111 "
112 DEPEND="${RDEPEND}
113 >=app-shells/bash-4.1
114 sys-apps/sed
115 "
116
117 S="${WORKDIR}/${MyP}"
118
119 pkg_setup() {
120 local UG='bitcoin'
121 enewgroup "${UG}"
122 enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}"
123 }
124
125 src_prepare() {
126 epatch "${FILESDIR}/0.9.0-sys_leveldb.patch"
127 rm -r src/leveldb
128 eautoreconf
129 }
130
131 src_configure() {
132 econf \
133 $(use_with upnp miniupnpc) $(use_enable upnp upnp-default) \
134 $(use_enable test tests) \
135 $(use_enable wallet) \
136 --with-system-leveldb \
137 --without-cli \
138 --without-gui
139 }
140
141 src_test() {
142 emake check
143 }
144
145 src_install() {
146 einstall
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 systemd_dounit "${FILESDIR}/bitcoind.service"
156
157 keepdir /var/lib/bitcoin/.bitcoin
158 fperms 700 /var/lib/bitcoin
159 fowners bitcoin:bitcoin /var/lib/bitcoin/
160 fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin
161 dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf
162
163 dodoc doc/README.md doc/release-notes.md
164 dodoc doc/assets-attribution.md doc/tor.md
165 doman contrib/debian/manpages/{bitcoind.1,bitcoin.conf.5}
166
167 if use bash-completion; then
168 newbashcomp contrib/${PN}.bash-completion ${PN}
169 fi
170
171 if use examples; then
172 docinto examples
173 dodoc -r contrib/{bitrpc,pyminer,qos,spendfrom,tidy_datadir.sh}
174 fi
175
176 if use logrotate; then
177 insinto /etc/logrotate.d
178 newins "${FILESDIR}/bitcoind.logrotate" bitcoind
179 fi
180 }