From 2dac3701c628d473723b4a37bcebf1205e0f84a6 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 6 Jan 2012 15:49:37 +0000 Subject: [PATCH] Moved from luke-jr's bitcoin overlay Package-Manager: portage-2.1.10.41/cvs/Linux x86_64 --- net-p2p/bitcoind/ChangeLog | 9 ++ net-p2p/bitcoind/Manifest | 15 ++- net-p2p/bitcoind/bitcoind-0.4.3_rc1.ebuild | 91 ++++++++++++++++++ net-p2p/bitcoind/bitcoind-0.5.0.3_rc1.ebuild | 98 ++++++++++++++++++++ net-p2p/bitcoind/bitcoind-0.5.2_rc1.ebuild | 98 ++++++++++++++++++++ 5 files changed, 307 insertions(+), 4 deletions(-) create mode 100644 net-p2p/bitcoind/bitcoind-0.4.3_rc1.ebuild create mode 100644 net-p2p/bitcoind/bitcoind-0.5.0.3_rc1.ebuild create mode 100644 net-p2p/bitcoind/bitcoind-0.5.2_rc1.ebuild diff --git a/net-p2p/bitcoind/ChangeLog b/net-p2p/bitcoind/ChangeLog index 0fa3ead85a32..5adcb4c5bb9b 100644 --- a/net-p2p/bitcoind/ChangeLog +++ b/net-p2p/bitcoind/ChangeLog @@ -1,5 +1,14 @@ +*bitcoind-0.5.2_rc1 (06 Jan 2012) +*bitcoind-0.5.0.3_rc1 (06 Jan 2012) +*bitcoind-0.4.3_rc1 (06 Jan 2012) + + 06 Jan 2012; Anthony G. Basile + +bitcoind-0.4.3_rc1.ebuild, +bitcoind-0.5.0.3_rc1.ebuild, + +bitcoind-0.5.2_rc1.ebuild: + Moved from luke-jr's bitcoin overlay + *bitcoind-0.5.1 (23 Dec 2011) *bitcoind-0.4.2 (23 Dec 2011) diff --git a/net-p2p/bitcoind/Manifest b/net-p2p/bitcoind/Manifest index d643097cf6d8..6fadbe420fea 100644 --- a/net-p2p/bitcoind/Manifest +++ b/net-p2p/bitcoind/Manifest @@ -6,16 +6,23 @@ AUX bitcoin.conf 80 RMD160 d55c1ac48956c33cf4bf231f21ea81a7b1adc244 SHA1 12406dc AUX bitcoin.confd 238 RMD160 1f84716f3ac81da9b06b925913550acfe542f4b5 SHA1 138fefcfa996f62bd9113633bd8505df002f545c SHA256 72300b41d57325de5a5f2ddea449d5f414f278549fb665d60746707ee5de2549 AUX bitcoin.initd 2481 RMD160 ea5398f2775eea17ab9a337650eef30e7912244d SHA1 356a3a0509c465bcc0ce67cfcc22aca745346e4e SHA256 5dace582c4bf05d893166794ce620ca13b794b695376030f7d319bb22a0c956a DIST 0.5-eligius_sendfee.patch 6767 RMD160 f084f46860af55f2b23ac1ef0dc4104da8d1c377 SHA1 34fa1567812853e84b53e2fe4940d3374dd42bc9 SHA256 d3503c33528ff6afcd6e5bbb314b8c00c414ed7f1350c2af1594d0e4b6e75e2c +DIST 0.5.2-eligius_sendfee.patch.xz 2408 RMD160 cc947fd2c62bb842438462dcea654e41e59d0fb5 SHA1 1b44c00615dbdf6775a1a33189715cd118a62f13 SHA256 23495db978f81dc8e029dc260933b6644a4de823734507adff9bcc3c8eef02f8 DIST bitcoin-v0.4.2.tgz 901039 RMD160 06af74fdbb443849e141665d7ee53074522dc83c SHA1 4ae770d6194f5c04a1ef8870094c3af853c8c989 SHA256 e5ac2d6ecf15091ada22a1f0dc74ba8776d4d606b09cc57a5e0496b5c570e0ef +DIST bitcoin-v0.4.3_rc1.tgz 901460 RMD160 8f3a1a613110137f1addfaeae35b16d553e07f04 SHA1 28399e38af4ba1571e29ddff097a4016376766b8 SHA256 0830cb2af32e2dfe3574050a3a7192a10257b1a85d88e5e0867282a9c1d6b1aa +DIST bitcoin-v0.5.0.3_rc1.tgz 899254 RMD160 179c58f86ebc5714ec3bcf0b909f6c8b61df06f7 SHA1 0732d8c1172a8537bd962b49e1967c168e29eebd SHA256 fed0e532f34548c4b9d96661bf597491d6dcc85f3293975faae5c5854cd5b4f1 DIST bitcoin-v0.5.1.tgz 1007787 RMD160 107944a2f37cc0f873248ef8f2c23a602dfc2dd7 SHA1 27189303b71c6e9c5140c39659ea1f5280e8b4f0 SHA256 e33279066298e0a29e1dcca566d0a0bbcd89ef6e02d43bdbbeaf046f5faf66fe +DIST bitcoin-v0.5.2_rc1.tgz 1008217 RMD160 0824656c82b7621bf58b4331d96592771d940aad SHA1 867ac6b745c6fc278b2b40b542e55c20433e3f36 SHA256 ad70d1fc93b9195dab64594644a4b804cc521fcb5145f6abde962f3c2aadc5c3 EBUILD bitcoind-0.4.2.ebuild 2340 RMD160 aa09293b16711cc00be462efe678869378913a56 SHA1 46c548b01d3b6a88d1cd16fa573aa8fd9e6cbc14 SHA256 ea7ae03ac5b3f017fc172d01662ca1ab74fa4197d26861341d7316ede8b8062e +EBUILD bitcoind-0.4.3_rc1.ebuild 2351 RMD160 cbaabb448506ca599183bc41dbdc624ab1b72211 SHA1 4880b72eb9c1797b745235c65f7d8d7f0f1b0ec9 SHA256 f7357c9de773da6438da6bf86ce6a86e80e29cf6ec1c328516cfc88221a99684 +EBUILD bitcoind-0.5.0.3_rc1.ebuild 2440 RMD160 e777f3df2f7f433ba2ab4ed47bf5f98a0b7ac9c3 SHA1 2183762bc24af51584cb840250041330eb552222 SHA256 e6a6f1750c8bf934ba485ef0e9be02e04b51432f0ce52398c2c466b6200a2111 EBUILD bitcoind-0.5.1.ebuild 2415 RMD160 c408e0aa560b339f01bf431dd4fd41e822f58870 SHA1 3009a95ec301a7d8af0a037359a44fade8f057b2 SHA256 b7ad045170f22c46b161442646e443a6b84697a3a052d1d96ed3f7a6a315e1a6 -MISC ChangeLog 348 RMD160 f85be9c5a23d7e96f47e270f528a1b59e075cddb SHA1 8d6d06370337bcff6edd9be6ce07522928cf6c36 SHA256 1ce01e8f2a99586edc088945581d0b98af3e4ec7c2211b7a708b12d73485a3ac +EBUILD bitcoind-0.5.2_rc1.ebuild 2444 RMD160 e6c79649f8bc71888047ed2e288b225467ba240c SHA1 7244f8b0473fd413257b97d18fcad84daf2efb96 SHA256 244dd0788358ddbdb7b929b7760cd750b0795a6251006defe030f481341ff0a0 +MISC ChangeLog 638 RMD160 236c51c46306c4e8c3affcd89605786303baeb39 SHA1 e6d975568366b9e91036b7eb7d99268b2ead90a5 SHA256 d776aaa60e0a98bc68c57d22b6acad081f7894aaad09b38bbd3bbd92f3e38f87 MISC metadata.xml 489 RMD160 1bc142d56b8eba454c8b78611dc4a7949e365c4c SHA1 ef5280c637b35e90450c0dfc1b7729b32dac35de SHA256 8625c76579833480ab4a641f5a3723b4d624f23b0c46845637107e216d1560e8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk701FcACgkQl5yvQNBFVTUVvwCfUF+YdSTf6aQWqkFpc4mNEJwp -qQIAn0Q3nPHzElbW374RWnbk6Aj2bUbe -=hJ9G +iEYEAREIAAYFAk8HGBsACgkQl5yvQNBFVTUD1ACfTaBfCYrkMpuLzICxRztU0J3I +gnUAniIoWQ6IgMIL2hgwyR+2zK/lNGgZ +=icWn -----END PGP SIGNATURE----- diff --git a/net-p2p/bitcoind/bitcoind-0.4.3_rc1.ebuild b/net-p2p/bitcoind/bitcoind-0.4.3_rc1.ebuild new file mode 100644 index 000000000000..5279f407beaa --- /dev/null +++ b/net-p2p/bitcoind/bitcoind-0.4.3_rc1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI=4 + +DB_VER="4.8" + +inherit db-use eutils versionator + +DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" +HOMEPAGE="http://bitcoin.org/" +SRC_URI="http://gitorious.org/bitcoin/${PN}-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz + eligius? ( http://luke.dashjr.org/programs/bitcoin/files/0.5.2-eligius_sendfee.patch.xz ) +" + +LICENSE="MIT ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+eligius ssl upnp" + +RDEPEND=" + >=dev-libs/boost-1.41.0 + dev-libs/crypto++ + dev-libs/openssl[-bindist] + upnp? ( + net-libs/miniupnpc + ) + sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] +" +DEPEND="${RDEPEND} + >=app-shells/bash-4.1 +" + +S="${WORKDIR}/bitcoin-${PN}-stable" + +pkg_setup() { + local UG='bitcoin' + enewgroup "${UG}" + enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" +} + +src_prepare() { + cd src || die + cp "${FILESDIR}/0.4.2-Makefile.gentoo" "Makefile" || die + use eligius && epatch "${WORKDIR}/0.5.2-eligius_sendfee.patch" +} + +src_compile() { + local OPTS=() + local BOOST_PKG BOOST_VER BOOST_INC + + OPTS+=("CXXFLAGS=${CXXFLAGS}") + OPTS+=( "LDFLAGS=${LDFLAGS}") + + OPTS+=("DB_CXXFLAGS=-I$(db_includedir "${DB_VER}")") + OPTS+=("DB_LDFLAGS=-ldb_cxx-${DB_VER}") + + BOOST_PKG="$(best_version 'dev-libs/boost')" + BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" + BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" + BOOST_INC="/usr/include/boost-${BOOST_VER}" + OPTS+=("BOOST_CXXFLAGS=-I${BOOST_INC}") + OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") + + use ssl && OPTS+=(USE_SSL=1) + use upnp && OPTS+=(USE_UPNP=1) + + cd src || die + emake "${OPTS[@]}" ${PN} +} + +src_install() { + dobin src/${PN} + + 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} + + 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 +} diff --git a/net-p2p/bitcoind/bitcoind-0.5.0.3_rc1.ebuild b/net-p2p/bitcoind/bitcoind-0.5.0.3_rc1.ebuild new file mode 100644 index 000000000000..59945914675b --- /dev/null +++ b/net-p2p/bitcoind/bitcoind-0.5.0.3_rc1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI=4 + +DB_VER="4.8" + +inherit db-use eutils versionator + +DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" +HOMEPAGE="http://bitcoin.org/" +SRC_URI="http://gitorious.org/bitcoin/${PN}-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz + eligius? ( http://luke.dashjr.org/programs/bitcoin/files/0.5.2-eligius_sendfee.patch.xz ) +" + +LICENSE="MIT ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+eligius examples ssl upnp" + +RDEPEND=" + >=dev-libs/boost-1.41.0 + dev-libs/openssl[-bindist] + upnp? ( + net-libs/miniupnpc + ) + sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] +" +DEPEND="${RDEPEND} + >=app-shells/bash-4.1 +" + +S="${WORKDIR}/bitcoin-${PN}-stable" + +pkg_setup() { + local UG='bitcoin' + enewgroup "${UG}" + enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" +} + +src_prepare() { + cd src || die + use eligius && epatch "${WORKDIR}/0.5.2-eligius_sendfee.patch" +} + +src_compile() { + local OPTS=() + local BOOST_PKG BOOST_VER BOOST_INC + + OPTS+=("CXXFLAGS=${CXXFLAGS}") + OPTS+=("LDFLAGS=${LDFLAGS}") + + OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") + OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") + + BOOST_PKG="$(best_version 'dev-libs/boost')" + BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" + BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" + BOOST_INC="/usr/include/boost-${BOOST_VER}" + OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}") + OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") + + use ssl && OPTS+=(USE_SSL=1) + if use upnp; then + OPTS+=(USE_UPNP=1) + else + OPTS+=(USE_UPNP=) + fi + + cd src || die + emake -f makefile.unix "${OPTS[@]}" ${PN} +} + +src_install() { + dobin src/${PN} + + 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} + + 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 + + if use examples; then + docinto examples + dodoc -r contrib/{bitrpc,pyminer,wallettools} + fi +} diff --git a/net-p2p/bitcoind/bitcoind-0.5.2_rc1.ebuild b/net-p2p/bitcoind/bitcoind-0.5.2_rc1.ebuild new file mode 100644 index 000000000000..57228a3187bc --- /dev/null +++ b/net-p2p/bitcoind/bitcoind-0.5.2_rc1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI=4 + +DB_VER="4.8" + +inherit db-use eutils versionator + +DESCRIPTION="Original Bitcoin crypto-currency wallet for automated services" +HOMEPAGE="http://bitcoin.org/" +SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz + eligius? ( http://luke.dashjr.org/programs/bitcoin/files/0.5.2-eligius_sendfee.patch.xz ) +" + +LICENSE="MIT ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+eligius examples ssl upnp" + +RDEPEND=" + >=dev-libs/boost-1.41.0 + dev-libs/openssl[-bindist] + upnp? ( + net-libs/miniupnpc + ) + sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] +" +DEPEND="${RDEPEND} + >=app-shells/bash-4.1 +" + +S="${WORKDIR}/bitcoin-bitcoind-stable" + +pkg_setup() { + local UG='bitcoin' + enewgroup "${UG}" + enewuser "${UG}" -1 -1 /var/lib/bitcoin "${UG}" +} + +src_prepare() { + cd src || die + use eligius && epatch "${WORKDIR}/0.5.2-eligius_sendfee.patch" +} + +src_compile() { + local OPTS=() + local BOOST_PKG BOOST_VER BOOST_INC + + OPTS+=("CXXFLAGS=${CXXFLAGS}") + OPTS+=("LDFLAGS=${LDFLAGS}") + + OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") + OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") + + BOOST_PKG="$(best_version 'dev-libs/boost')" + BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" + BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" + BOOST_INC="/usr/include/boost-${BOOST_VER}" + OPTS+=("BOOST_INCLUDE_PATH=${BOOST_INC}") + OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") + + use ssl && OPTS+=(USE_SSL=1) + if use upnp; then + OPTS+=(USE_UPNP=1) + else + OPTS+=(USE_UPNP=) + fi + + cd src || die + emake -f makefile.unix "${OPTS[@]}" ${PN} +} + +src_install() { + dobin src/${PN} + + 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} + + 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 + + if use examples; then + docinto examples + dodoc -r contrib/{bitrpc,pyminer,wallettools} + fi +} -- 2.26.2