From 510fa408571f97e489e7e99775a7a6d9d275b39f Mon Sep 17 00:00:00 2001 From: Scott Alfter Date: Mon, 9 Feb 2015 21:05:49 -0800 Subject: [PATCH] bugfix for bitcoin-cli ebuild while we wait on https://bugs.gentoo.org/show_bug.cgi?id=539574 --- .gitignore | 1 + net-p2p/bitcoin-cli/ChangeLog | 15 ++++++ net-p2p/bitcoin-cli/Manifest | 5 ++ net-p2p/bitcoin-cli/bitcoin-cli-0.9.3.ebuild | 56 ++++++++++++++++++++ net-p2p/bitcoin-cli/metadata.xml | 13 +++++ 5 files changed, 90 insertions(+) create mode 100644 .gitignore create mode 100644 net-p2p/bitcoin-cli/ChangeLog create mode 100644 net-p2p/bitcoin-cli/Manifest create mode 100644 net-p2p/bitcoin-cli/bitcoin-cli-0.9.3.ebuild create mode 100644 net-p2p/bitcoin-cli/metadata.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..b25c15b8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/net-p2p/bitcoin-cli/ChangeLog b/net-p2p/bitcoin-cli/ChangeLog new file mode 100644 index 00000000..32c7b90a --- /dev/null +++ b/net-p2p/bitcoin-cli/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for net-p2p/bitcoin-cli +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-cli/ChangeLog,v 1.4 2014/11/21 23:31:20 blueness Exp $ + + 21 Nov 2014; Anthony G. Basile bitcoin-cli-9999.ebuild: + Update 9999 + +*bitcoin-cli-9999 (13 Nov 2014) + + 13 Nov 2014; Anthony G. Basile +bitcoin-cli-9999.ebuild, + bitcoin-cli-0.9.3.ebuild: + Add -9999 + + 10 Oct 2014; Anthony G. Basile bitcoin-cli-0.9.3.ebuild: + Fix dependancy on boost's version diff --git a/net-p2p/bitcoin-cli/Manifest b/net-p2p/bitcoin-cli/Manifest new file mode 100644 index 00000000..1e2f66ba --- /dev/null +++ b/net-p2p/bitcoin-cli/Manifest @@ -0,0 +1,5 @@ +DIST bitcoin-0.9.3.ljr20141002.patch.xz 23320 SHA256 d0a480e11159d597a36e300398c858b5713de78d4f00295b46aa6612ed4b28cc SHA512 b6f225c1e6fc4b1b0b53084d62ff6a57af3b45ea48064fb790b51a081bd1a2333ad5ebffdd443da47babac76ca7394d3ccb645fb3e5e532252409de32a3cb768 WHIRLPOOL 2cdb0a3e3b8407ef11a9f6a56c47ca51c38eb7adbf1b0ceaf1b7fec00118a75892782f66a4c85e54f43e3a3107d1b4e3c799eb1171dff8eb9db69d162cde650a +DIST bitcoin-v0.9.3.tgz 4788997 SHA256 3ed92e8323cb4187cae015457c7c5920a5c658438f01c6c45f0ce3aabf9bd428 SHA512 cf6ff5bc586b0614b4e74e1c18b30e8f443f03db348382492e49c70ec31a0ef3a4d1989b34a8fdce289788c894b48b72b94d2562e497220453b668dc28ce0d66 WHIRLPOOL 6ce18de9a2b24cedd88e110088d0747452f8403b6239df9212b673e4a893e059bdea2640b13b6fde659a866d4a6a3b4fa62dde3adbf957b80104d41c0e4aeb18 +EBUILD bitcoin-cli-0.9.3.ebuild 1289 SHA256 d103fd71555490251952b6a707ba1a91c4ee0178360682aafb20f5c0e8698daa SHA512 2dbfd16d6e8761df3d7d51e175be05bb157c2361a156a61c5d4fe4a28d2b4b4f4ec9e65871c17e3d725df24da10871f870cf9216d5dbace9f38a74665365459a WHIRLPOOL bab9504ad9d47c4c62300b09eb1e1bcc35e224aa2c71c7fa0feba8e6b69be2712951d6dd16f47fffc022474e084d5a8e2c905b83c75765456f8020fb70e942fd +MISC ChangeLog 580 SHA256 b8e5e6830b169e371c1585b36e0190cf29bf2501f02bd9bd9a56c669c24a541a SHA512 7fe551eec2e1ef2db26d69941f5bc4b16b0957142dc266e063f53edcc4c1351f3c82691ecf013ef97d279303bccaf2f8c35adb7103989ed0ab094ac7d94f8ed3 WHIRLPOOL 382532ae503b910aef3c1dfad87db3c9c744b57ffe15149c9613751077e102ffd051946d4bd1da543f7c101d73c5f3d44d21c03c8f159d1724796dae1229758c +MISC metadata.xml 374 SHA256 5098edf30adee84f59968d5b6c45adcfa410a32001905dea9c093a5ce74a44b3 SHA512 4315e762ca8061694dd652ddcd1a9f9f4b51a06126207c644a52557fb977b94eda2bea826f326763f99cd7da5e813fd07251d039bece31fc13f8686d7113cea2 WHIRLPOOL a629000079acf2866848adb5f66496970dc515badbd9e624437ea89d06d7a7f106ac50a22eeefaac28012667f86d5938c8e4ebba3df837c70763b93e3e239b6e diff --git a/net-p2p/bitcoin-cli/bitcoin-cli-0.9.3.ebuild b/net-p2p/bitcoin-cli/bitcoin-cli-0.9.3.ebuild new file mode 100644 index 00000000..48d427c2 --- /dev/null +++ b/net-p2p/bitcoin-cli/bitcoin-cli-0.9.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 2010-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-cli/bitcoin-cli-0.9.3.ebuild,v 1.3 2014/11/13 18:19:42 blueness Exp $ + +EAPI=4 + +inherit autotools eutils + +MyPV="${PV/_/}" +MyPN="bitcoin" +MyP="${MyPN}-${MyPV}" +LJR_PV="${PV}.ljr20141002" +LJR_PATCH="bitcoin-${LJR_PV}.patch" + +DESCRIPTION="Command-line JSON-RPC client specifically designed for talking to Bitcoin Core Daemon" +HOMEPAGE="http://bitcoin.org/" +SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz + http://luke.dashjr.org/programs/bitcoin/files/bitcoind/luke-jr/0.9.x/${LJR_PV}/${LJR_PATCH}.xz +" + +LICENSE="MIT ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/boost-1.52.0[threads(+)] + dev-libs/openssl:0[-bindist] + virtual/bitcoin-leveldb +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MyP}" + +src_prepare() { + epatch "${WORKDIR}/${LJR_PATCH}" + rm -r src/leveldb + eautoreconf +} + +src_configure() { + econf \ + --disable-ccache \ + --without-miniupnpc \ + --disable-tests \ + --disable-wallet \ + --without-daemon \ + --without-gui +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc doc/README.md doc/release-notes.md + dodoc doc/assets-attribution.md doc/tor.md +} diff --git a/net-p2p/bitcoin-cli/metadata.xml b/net-p2p/bitcoin-cli/metadata.xml new file mode 100644 index 00000000..f258144b --- /dev/null +++ b/net-p2p/bitcoin-cli/metadata.xml @@ -0,0 +1,13 @@ + + + + proxy-maintainers + + blueness@gentoo.org + Anthony G. Basile + + + luke-jr+gentoobugs@utopios.org + Luke Dashjr + +