summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-07-29 16:31:04 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-07-29 16:31:04 +0000
commitde6beda20161a0aa77f1ec679dc2472512f3f7e4 (patch)
treed027237e3c549a05af033b988f83793c322ea3a1 /net-p2p/bitcoind
parentInitial commit: Keeping a list of compat leveldb versions is easier in a virt... (diff)
downloadhistorical-de6beda20161a0aa77f1ec679dc2472512f3f7e4.tar.gz
historical-de6beda20161a0aa77f1ec679dc2472512f3f7e4.tar.bz2
historical-de6beda20161a0aa77f1ec679dc2472512f3f7e4.zip
Version bump, bug #505096
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'net-p2p/bitcoind')
-rw-r--r--net-p2p/bitcoind/ChangeLog8
-rw-r--r--net-p2p/bitcoind/Manifest35
-rw-r--r--net-p2p/bitcoind/bitcoind-0.9.2.1.ebuild107
-rw-r--r--net-p2p/bitcoind/files/0.9.0-sys_leveldb.patch34
-rw-r--r--net-p2p/bitcoind/metadata.xml2
5 files changed, 169 insertions, 17 deletions
diff --git a/net-p2p/bitcoind/ChangeLog b/net-p2p/bitcoind/ChangeLog
index 861f4a3a085e..707f5ad6ca7e 100644
--- a/net-p2p/bitcoind/ChangeLog
+++ b/net-p2p/bitcoind/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/bitcoind
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.84 2014/02/21 14:22:42 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoind/ChangeLog,v 1.85 2014/07/29 16:30:45 blueness Exp $
+
+*bitcoind-0.9.2.1 (29 Jul 2014)
+
+ 29 Jul 2014; Anthony G. Basile <blueness@gentoo.org> +bitcoind-0.9.2.1.ebuild,
+ +files/0.9.0-sys_leveldb.patch, metadata.xml:
+ Version bump, bug #505096
*bitcoind-0.8.6-r1 (21 Feb 2014)
diff --git a/net-p2p/bitcoind/Manifest b/net-p2p/bitcoind/Manifest
index ed97544544f3..a5af7a009b6c 100644
--- a/net-p2p/bitcoind/Manifest
+++ b/net-p2p/bitcoind/Manifest
@@ -2,6 +2,7 @@
Hash: SHA256
AUX 0.8.2-sys_leveldb.patch 6726 SHA256 11322fc7715b9b552075babf60c8261e0343e5ec834188013fb7d77cacf3b4d9 SHA512 e371b6da685c916c5941cfc094d01237f18502597e778b35e1c31cbf93cda1118a97272b56605f7c6da1f2873190415974ebdb4e7ce08a5d04e94dac675a4112 WHIRLPOOL 8579c73d18281b3910c260ef0708842380f8c5001982c94ea51e6b8f99111b11959ffb04fc7812e0c90ba8a919071b13e975ed95ec207017e34bef5844f65068
+AUX 0.9.0-sys_leveldb.patch 1040 SHA256 1355674ba82966b31fd001b12e7bd1bffbfd7f1c6d8dc1679cedba032e6df642 SHA512 26b1b6f8c4fdc228c08982a3172de57e09d963745726c99e1e274f381e242467f84d23c718f8e07675c2fc938f2d6db6b50a05dbb944702238d7b0eb6205cff7 WHIRLPOOL 7d39d39f846f03ffbf3e4c9655c42f298c8196dde8ee621862483a49f386c13cfdd13221ff265745f504a33422aaafac3657b72552f55784c9296daffc248f31
AUX bitcoin.conf 80 SHA256 541ae10cc2246b620de3e7efa97eee59efacf83d28ea5f1297a121d0708226d2 SHA512 43bef890505a1fac88887bb39e9fdd4ec673ae8838a40279b33711e970551f5a75ac25171c41f8c83de2c953b157f7a3f57171e868fd9f626007d9909331a19f WHIRLPOOL 728e38b62da2c7c3a1149ac511b92d156f7b3c51dacfadd7ce74d9e6f915a6547c4cc8d34159243f50eee333c63b35949b311ea5a7f48a6c3bf17a5d4d47c123
AUX bitcoin.confd 238 SHA256 72300b41d57325de5a5f2ddea449d5f414f278549fb665d60746707ee5de2549 SHA512 2b010d8c773a76868a11626ba0552f122cd51293cb39e06b7ed7e17be47f9e3790cc090f8311b32d441d3ff1eb4db266a4b2cd08693f7edbe2dde178254838d1 WHIRLPOOL f51d97b828b4b096d1ca924cb7256f648b94ae098a4f10dcfbac7d6045cf84da0c203b1e2d5569f3b304ba193501c9b9239c5ee1a1c11fbdb62bb9909c384358
AUX bitcoin.initd 2481 SHA256 5dace582c4bf05d893166794ce620ca13b794b695376030f7d319bb22a0c956a SHA512 3e360bf8310f7d2acf9189f9baf87068a6764996cbfe1a0e3ca17fbebd0b6b8cb68212401db15c59c94a0e7ad2f933f90a765a2d653eface74e4ae8f495fda06 WHIRLPOOL 321a903dd85743cb23909614d1d1fe248d30374f0ea5d68c4f25d95b55ad2ec3f2164f5255a428ae79cd1e9b5e7efc10b09204b0bd68c5a557313b47124d0f16
@@ -10,25 +11,27 @@ AUX bitcoind.logrotate 110 SHA256 9b469c67e7af914199d699ac76279f194010f154be91f8
AUX bitcoind.service 869 SHA256 c24332570f8ac155847372a4f9019a47a2e3c8c15435584dac4153b8eb300bc7 SHA512 d0e23b98bc9109e7e4d8a6459f73d1f9a06a3da71593613e22c5d0f31a8ad7473242b07690c6f22f35358ed869ffa7160d0daa65937462442bfc9028794321ea WHIRLPOOL 7992f776ac36277ce83898920ed5a8abc6b031f1d88214150c362c6f5befc869eb9901bd346da74da9fb56bda500fe9d3d9ff8dd46f1b3f257691cb106754a93
DIST bitcoin-v0.8.5.tgz 3181865 SHA256 39f170aa29292d530371d287f2036aa372d1e255cf46c29588b8c5a3afedcea4 SHA512 ac605f202b4b8c2fc3574517018817d7ac6ac9296040052db67232b0fd136446895986e25f1b4aa6a888a0ec510ad2a69bf09c65b95deba1d9b2ea6ece62d9c7 WHIRLPOOL cfe8839fd5bc6e22cfe485c63e2a7f261c8817c0d090766ae2dac6303612a977ebea87df2df473a5cebaaee9a2712b8a97aa3f6613f88732be06b7a9fa18351b
DIST bitcoin-v0.8.6.tgz 3194026 SHA256 26fd485823ee15a823ca51a5ac7ed8664079ef15356a030e74a01f1a7a157170 SHA512 88e1d5dece485beaa95571016f41239db616323508038ea59d0fa3608639c03af06c0d782df3bf5a67d45d25c976bc07b977504ca6390e147e3b8605f3d3ce86 WHIRLPOOL 86a5118dda3f68226d30794bc1b363a75479fd55648146e4347017416d730c23ef4168553a5e70d95466157bf89055def81647790fe414d6182c1baf3e397344
+DIST bitcoin-v0.9.2.1.tgz 5242673 SHA256 7cadbadd90485b7302b86ce041db576aad650f6c621d3a552d09e7231d3fcfd8 SHA512 059be086bacfe39c0983dc4ae768349b8d9213b3cd7b60157c7606a25b8b3156e0ffb86e28711550e20b1e6f692bfed021aa1d4ec583496189fa821fc547ad92 WHIRLPOOL ef828956423b8f2170b6a2f2f861d6c2deab59ba312757c52a20cc6c0381129a30b6e927a82f86f6d4c2ee5fd4344c90cb5fbfc4ba2936d03c25fa9e8bfe3a16
EBUILD bitcoind-0.8.5.ebuild 2909 SHA256 f65b9f559428791e0da364bc576377c84f0cf33b6a1b5363f48d6f1cb95cf98b SHA512 98f9e0a1ffb30a25208a5d7d1188bd86f2a9a7f5500017edc86b0ffcd9e512193874feb8821abc83aab8cb77712998adf75d4445af22c3d8fe892c672cb660bc WHIRLPOOL d1390662bbfe3f87b18b316d91269a456b38b6b31f8cf33864313bf2a3e30b4a8ef8bfa44e7b75ff99b1a1662b56df4d6f9de13303ff0ceeac0ca370f53e0e55
EBUILD bitcoind-0.8.6-r1.ebuild 2920 SHA256 6419cc56b3d94e33774ba349babc38f1eeac7bf2f755c1819da910f17a0a27d1 SHA512 704e2dda94fb1f7d66e6f4ec1a1074a3a0d8ef5a1af51a05cc1b8b9020acfb1c8aaf52f1aa4cdb68995fba2cebfe947ab9bccc7451c844c2ff00ea3b7c4dc48d WHIRLPOOL acce69febef02caeb48a0bfbaa5a92a2d32042e7c441c971fac97eb7e9b85426aa927f2db8970856d0197d1f3135c6fd7f7dc617c95c20b392812e7ebf7c87c7
EBUILD bitcoind-0.8.6.ebuild 2912 SHA256 2471cfefd54aa9beec837b49ecf657d996498a17a9b1d86cd00f53545282d68a SHA512 fa58371585168af084ed32906c9615a8927404c219677acc830f350516139c6e2311be62cd74b902d2990641efeb4add6face8e66fde3a68246e02e0352e4c3e WHIRLPOOL 7c3cc9954b2a553de0f9ba0e8e598e664f43a843b808ddda0d91f1925ff2ade9ed58cc3da4463eff84a5ee89b1b9ab44a0f4d2883c06af065f6d71b40904bc2d
-MISC ChangeLog 19833 SHA256 4a078c3c2b9528810dc43a1fd139995a611e21e92d1000676a6218504c4da476 SHA512 70289c86495d60f821a3e9481fa2bea9cba76d98023af1227edcfb82144ad35af61b0e99ce16b41d894e39d31d4d09ab49922e9130757537886e22ce27187c81 WHIRLPOOL 14ccabe5eccfeb4404c31cece4b6c18e8a26fe8538836dd82a68440ea712c6fc118eb8956f61d1c85f6328b350357021bb6d559470f2e6b3cfa6af66dfe109ce
-MISC metadata.xml 463 SHA256 58c5f6c7895db712324d13345c42443ceb76151773a453ffb09b11da4249a6a9 SHA512 b4dcc40e26df005880c6fa0fdcd1bda4345f893e32f833a4ebb8a0c6160a0a1d92a870552f4c333dec3ba9d5bb271354623bb68c48c153bba08ccae4552ca379 WHIRLPOOL 63e40f19861d142e8501fa8ba5aa8ac8a3dfcf80a56a7834425320ed53be1bdaaea5c9be9e5c0acd8eb27052cb083c49a310444d0f33ae78fd00c44bad193015
+EBUILD bitcoind-0.9.2.1.ebuild 2470 SHA256 fabfa7248f34dc454025c7cb87242d175054da5e68da375825b7bb0255a7173d SHA512 35100a3e52f678e884422213aa6600fc18a1f640655ccbed2a0fa7e853691462ab443ac7933c89f0661cbf80b9cc21bec60c5417d9b6c280dd083394b9ec1b2c WHIRLPOOL d721ebbf859435295ad99b768c6ce964ec59487d80f662868c8f5367133220b816efa97fd0bebee234056a027a89d2e58dcd4c6d21fc246cfbd5bddff9a83762
+MISC ChangeLog 20024 SHA256 a877255a766c11c21a123a71eaed9578901bcf1b613ad98a9999d12231034f96 SHA512 73acf733d94f05fd80f9e0fcdeea6d15ade2a4f32b4ad1a1eefd20313f0440588a68186d4c058d1f7b4915d5fca14eef489d1e6d24fd17da6f9d22c7cf88fcb9 WHIRLPOOL 50352559d0ee545ee64f6ae44db2e6111cd3e0bce373bfa8581243296111703525febd3150d92cb3caec080c2dd9a83a4374834eeaded7c43b9c50a4214a76c9
+MISC metadata.xml 572 SHA256 dbd1f2c39f19bba1cbdf94a00806d48a2d92e84d25fd78ef4e6012c3687de0df SHA512 0539511119eff34642a5a9fc569062fe87da11f857a0df159c0579a4755d3456cc6aac73ba74356a9ab705c765e06fc06923a318a137f67e6b6358a6f6a1b43b WHIRLPOOL 48f395f0d6ee49efd1eacb47332db9fa16eb7dc630f6319180a7a672506fcf92e6cd9817f79f1a47d907e8bd695ebde462a73405dabee89624e27ce03eabbe51
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iQIbBAEBCAAGBQJTB2GyAAoJEJOE+m71LUu6RVkP9j6oMymS7glL9U1RkdJTNUuH
-lVffAIXOcn7IlA4lixa5bk6ZTSdHwEg6IsE/Y4Zkmey4d9YYWYfDdQ3pNG+50Mtv
-kxh8aa9nKqnbjWff1QC5mN6SI9JWtUYbVx5knELRFVv2PlU6WVo5R9PE22bG/H6/
-yWgpGY2CN+iWJfNAYZGxeBsETThGOp5Nh+CedvzyLlPKlC4eqFM/Mex8HosHBhng
-+wwj6P3Bcsvxnksvi+JzH5jEje+y5rJ11fUQ65E7nlHkkHx2xxjsR+B5T5CLWYgR
-kGVJOYzwHu+I+sNptlcfzxzLTZE11lLGMWaPHsWv0jF2o6pzBBSOX6p/XXmzQ4le
-WbnpMZyc6wz4+BZi+5WDuiRXRwClyc3K0FMZgn8KRTBidgQ2IleanMbfXbDstPGz
-nLZaC9fmq2ThuuoC8yahltHnyeqEJYUY/EKMNm/7ODRisnEdCZVzVkYEk5SlNxvF
-wdoGDg9XvR1FUElJNGrNpVuC4MdrMJdQpkovpI1J8L8hlBRBNKFCjbnjip+9bvJs
-TjkUh9htLOsWkRZ2iMAiBc4Bs7ZZYZYtHD1mLc41NxA3voAxXtdKQNmbUFsZPaKa
-nuHMeSY9+lQvGFjhXICZtFKlFgkYIXeo8V/F0XDwOpoUyrc2gr1loe7uL8qpep8D
-fgMIHvL4k/vaJWzlDxQ=
-=Wnaf
+iQIcBAEBCAAGBQJT18yaAAoJEJOE+m71LUu62MIP/REyf1qU3YuXWO4KJ0fzUJZI
+fWLu42gFci3DRs2asqHBF5henrOkZ37csX7nWvRV/WX1eb4T21hBHaFL363U5Rf9
+KEoQilQYg+yhSaiLCpufvpDklHxBCEZim3Lf4mb3Ynyq1NJ2qd/e32uRnvsiGD2K
+DOS413wH34tK0Ujh9AHWXUvx+kLDZRP3SBtAEIDlepgDk/3oyL7r4Gxu/c71TOOK
+e/4YtM6eVEN3UDTvOdqlfXc4Efa1vHLhCRasJgQm7UbnxvonlpYnoztWcYZq33dB
+0BEoD0Qwsyp9RN7skRfRKR7CMzSq79XBT59EEe7WovYR25Z+9aBsDDI449myqHA3
+tvMJqytN7lKnRUufkcYMWalJIQd7cr3Mi/ERdR+cx8e9xVy+amTj6/gd8gXZ0sxT
+tMNZBVGRXB2dKNg63QtK1e6YQCbnbkTTG43c/iH4w1+5W9t5kkaIftxYcQUCGzSz
+JSMGYjXJ+S2oyNh9dCZd52bdV3nykdRHalPKCtQWbWhjOAvQENC5Mrd62JbzefuU
+VHtL0I1DtqLWi5GuSNegkT5hDSBvCqcCF2lhyxRniV76AKvoCR2qPIfuRtroUS/w
+O6cJPoHG4Dy220TAj2M8VgiPRlKSQyqB4oGDSQ8uZd55EgauChLlgvFu8lARP7zZ
+k8FwuN/tBuNzBsXP1iwW
+=cS+X
-----END PGP SIGNATURE-----
diff --git a/net-p2p/bitcoind/bitcoind-0.9.2.1.ebuild b/net-p2p/bitcoind/bitcoind-0.9.2.1.ebuild
new file mode 100644
index 000000000000..70e00f4180dc
--- /dev/null
+++ b/net-p2p/bitcoind/bitcoind-0.9.2.1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 2010-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI=4
+
+DB_VER="4.8"
+
+inherit autotools bash-completion-r1 db-use eutils user versionator systemd
+
+MyPV="${PV/_/}"
+MyPN="bitcoin"
+MyP="${MyPN}-${MyPV}"
+
+DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services"
+HOMEPAGE="http://bitcoin.org/"
+SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz
+"
+
+LICENSE="MIT ISC GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="bash-completion examples logrotate test upnp +wallet"
+
+RDEPEND="
+ >=dev-libs/boost-1.41.0[threads(+)]
+ dev-libs/openssl:0[-bindist]
+ logrotate? (
+ app-admin/logrotate
+ )
+ upnp? (
+ net-libs/miniupnpc
+ )
+ wallet? (
+ sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
+ )
+ virtual/bitcoin-leveldb
+"
+DEPEND="${RDEPEND}
+ >=app-shells/bash-4.1
+ sys-apps/sed
+"
+
+S="${WORKDIR}/${MyP}"
+
+pkg_setup() {
+ local UG='bitcoin'
+ enewgroup "${UG}"
+ enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/0.9.0-sys_leveldb.patch"
+ rm -r src/leveldb
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with upnp miniupnpc) $(use_enable upnp upnp-default) \
+ $(use_enable test tests) \
+ $(use_enable wallet) \
+ --with-system-leveldb \
+ --without-cli \
+ --without-gui
+}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ einstall
+
+ insinto /etc/bitcoin
+ newins "${FILESDIR}/bitcoin.conf" bitcoin.conf
+ fowners bitcoin:bitcoin /etc/bitcoin/bitcoin.conf
+ fperms 600 /etc/bitcoin/bitcoin.conf
+
+ newconfd "${FILESDIR}/bitcoin.confd" ${PN}
+ newinitd "${FILESDIR}/bitcoin.initd" ${PN}
+ systemd_dounit "${FILESDIR}/bitcoind.service"
+
+ keepdir /var/lib/bitcoin/.bitcoin
+ fperms 700 /var/lib/bitcoin
+ fowners bitcoin:bitcoin /var/lib/bitcoin/
+ fowners bitcoin:bitcoin /var/lib/bitcoin/.bitcoin
+ dosym /etc/bitcoin/bitcoin.conf /var/lib/bitcoin/.bitcoin/bitcoin.conf
+
+ dodoc doc/README.md doc/release-notes.md
+ dodoc doc/assets-attribution.md doc/tor.md
+ doman contrib/debian/manpages/{bitcoind.1,bitcoin.conf.5}
+
+ if use bash-completion; then
+ newbashcomp contrib/${PN}.bash-completion ${PN}
+ fi
+
+ if use examples; then
+ docinto examples
+ dodoc -r contrib/{bitrpc,pyminer,qos,spendfrom,tidy_datadir.sh}
+ fi
+
+ if use logrotate; then
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/bitcoind.logrotate" bitcoind
+ fi
+}
diff --git a/net-p2p/bitcoind/files/0.9.0-sys_leveldb.patch b/net-p2p/bitcoind/files/0.9.0-sys_leveldb.patch
new file mode 100644
index 000000000000..60e9f2b20941
--- /dev/null
+++ b/net-p2p/bitcoind/files/0.9.0-sys_leveldb.patch
@@ -0,0 +1,34 @@
+commit c38e0af3e021eb0b2aba846c77b06ca71de06b11 (personal-github/sys_leveldb, sys_leveldb)
+Author: Luke Dashjr <luke-jr+git@utopios.org>
+Date: Mon Sep 9 03:06:17 2013 +0000
+
+ configure: Add unsupported --with-system-leveldb configure flag
+
+diff --git a/configure.ac b/configure.ac
+index 3ed4549..5a5852d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -332,10 +332,22 @@ AC_TRY_COMPILE([#include <sys/socket.h>],
+ [ AC_MSG_RESULT(no)]
+ )
+
++dnl Check for leveldb, only if explicitly requested
+ LEVELDB_CPPFLAGS=
+ LIBLEVELDB=
+ LIBMEMENV=
+-AM_CONDITIONAL([EMBEDDED_LEVELDB],[true])
++AC_ARG_WITH([system-leveldb],
++ [AS_HELP_STRING([--with-system-leveldb],
++ [Build with system LevelDB (default is no; DANGEROUS; NOT SUPPORTED)])],
++ [system_leveldb=$withval],
++ [system_leveldb=no]
++)
++if test x$system_leveldb != xno; then
++ LEVELDB_CPPFLAGS=
++ LIBLEVELDB=-lleveldb
++ LIBMEMENV=-lmemenv
++fi
++AM_CONDITIONAL([EMBEDDED_LEVELDB],[test x$system_leveldb = xno])
+ AC_SUBST(LEVELDB_CPPFLAGS)
+ AC_SUBST(LIBLEVELDB)
+ AC_SUBST(LIBMEMENV)
diff --git a/net-p2p/bitcoind/metadata.xml b/net-p2p/bitcoind/metadata.xml
index 5dc8e01f9c88..d4285805920e 100644
--- a/net-p2p/bitcoind/metadata.xml
+++ b/net-p2p/bitcoind/metadata.xml
@@ -12,5 +12,7 @@
</maintainer>
<use>
<flag name='logrotate'>Use app-admin/logrotate for rotating logs</flag>
+ <flag name='upnp'>Enable Universal Plug and Play</flag>
+ <flag name='wallet'>Enable wallet support</flag>
</use>
</pkgmetadata>