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