summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-05-15 00:03:32 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-05-15 00:03:32 +0000
commita2343e4b34ac5d270b5d58b63600956e5bd46763 (patch)
tree1394f50026ed1fcd18a6afd419a6e3e9a8881d5b /net-p2p/bitcoin-qt
parentRemove vulnerable versions, CVE-2012-2459, bug #415973 (diff)
downloadhistorical-a2343e4b34ac5d270b5d58b63600956e5bd46763.tar.gz
historical-a2343e4b34ac5d270b5d58b63600956e5bd46763.tar.bz2
historical-a2343e4b34ac5d270b5d58b63600956e5bd46763.zip
Add new versions that fix CVE-2012-2459, bug #415973
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/bitcoin-qt')
-rw-r--r--net-p2p/bitcoin-qt/ChangeLog14
-rw-r--r--net-p2p/bitcoin-qt/Manifest19
-rw-r--r--net-p2p/bitcoin-qt/bitcoin-qt-0.5.5.ebuild120
-rw-r--r--net-p2p/bitcoin-qt/bitcoin-qt-0.5.6_rc1.ebuild120
-rw-r--r--net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.7.ebuild117
-rw-r--r--net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.8_rc1.ebuild117
-rw-r--r--net-p2p/bitcoin-qt/bitcoin-qt-0.6.2.ebuild116
7 files changed, 618 insertions, 5 deletions
diff --git a/net-p2p/bitcoin-qt/ChangeLog b/net-p2p/bitcoin-qt/ChangeLog
index 1d57475aefbd..551afa092db4 100644
--- a/net-p2p/bitcoin-qt/ChangeLog
+++ b/net-p2p/bitcoin-qt/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for net-p2p/bitcoin-qt
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.24 2012/04/27 09:37:01 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.25 2012/05/15 00:03:32 blueness Exp $
+
+*bitcoin-qt-0.6.2 (15 May 2012)
+*bitcoin-qt-0.6.0.8_rc1 (15 May 2012)
+*bitcoin-qt-0.6.0.7 (15 May 2012)
+*bitcoin-qt-0.5.6_rc1 (15 May 2012)
+*bitcoin-qt-0.5.5 (15 May 2012)
+
+ 15 May 2012; Anthony G. Basile <blueness@gentoo.org>
+ +bitcoin-qt-0.5.5.ebuild, +bitcoin-qt-0.5.6_rc1.ebuild,
+ +bitcoin-qt-0.6.0.7.ebuild, +bitcoin-qt-0.6.0.8_rc1.ebuild,
+ +bitcoin-qt-0.6.2.ebuild:
+ Add new versions that fix CVE-2012-2459, bug #415973
*bitcoin-qt-0.5.4 (27 Apr 2012)
*bitcoin-qt-0.5.0.6 (27 Apr 2012)
diff --git a/net-p2p/bitcoin-qt/Manifest b/net-p2p/bitcoin-qt/Manifest
index af4fca3ce631..fd235e4c6b8e 100644
--- a/net-p2p/bitcoin-qt/Manifest
+++ b/net-p2p/bitcoin-qt/Manifest
@@ -8,13 +8,19 @@ DIST 0.5.0.5-Minimal-support-for-validating-BIP16-pay-to-script-h.patch.xz 6940
DIST 0.5.0.6rc1-eligius_sendfee.patch.xz 2532 RMD160 037893d15de2839de270189a6b2bf42136baecfc SHA1 7c935ba30972ec8248eedabf3d714e2c7ea1c56c SHA256 3bb8ce2945f359af329905d18747ffd934eaf5b68e080ef0d5f0236f2973111b
DIST 0.5.2-eligius_sendfee.patch.xz 2408 RMD160 cc947fd2c62bb842438462dcea654e41e59d0fb5 SHA1 1b44c00615dbdf6775a1a33189715cd118a62f13 SHA256 23495db978f81dc8e029dc260933b6644a4de823734507adff9bcc3c8eef02f8
DIST 0.6.0-eligius_sendfee.patch.xz 1980 RMD160 09e6d35ec5d5ad8c73b160e3c175d348b9fc16a3 SHA1 bbffc7392fd67baeb0e73838ef90b3278fbd4e6a SHA256 049bce0aaa9ba6affa965ec2031ba0c58efef90a1e5cd6d9e6b8c480609088d0
+DIST 0.6.1-eligius_sendfee.patch.xz 1988 RMD160 74adb595508a9a951f33e64c0dde3680f23fac15 SHA1 84d3afe9837d97181d87d323017cafff217c197f SHA256 18c3d8ba7bdf26cff2f32cae9a72edecad56fa584e0b5c690c2c1b14b27f78d1
DIST bitcoin-v0.5.0.4.tgz 902417 RMD160 774637dc953041913b114745436f66993b3736cc SHA1 daabee6998c8d2608bd7f0555891192738ad15be SHA256 48d3c98ba3d778438658528947089c46c12ef2d891b9d0412a1899b95f232331
DIST bitcoin-v0.5.0.5.tgz 903160 RMD160 e6bcd69465b039d2bfa53a9d7356bb4cf1620eda SHA1 857b614594b767177c85e5fb6b8a48ba9b76bc95 SHA256 03781a554d9f514e6f07c59f87463b8a13d7c9f071efe80bd559ba47bc4c048c
DIST bitcoin-v0.5.0.6.tgz 1001515 RMD160 17914287743704ddb6913888a340fe0898ce47df SHA1 782aeea4ff56b7d7addff6ca2644ff5a6e99d974 SHA256 3af52d8ce78d5bd711de7a698ec317581aadc257ff5c829cdca05ec9a5129d7b
DIST bitcoin-v0.5.1.tgz 1007787 RMD160 107944a2f37cc0f873248ef8f2c23a602dfc2dd7 SHA1 27189303b71c6e9c5140c39659ea1f5280e8b4f0 SHA256 e33279066298e0a29e1dcca566d0a0bbcd89ef6e02d43bdbbeaf046f5faf66fe
DIST bitcoin-v0.5.3.tgz 1012843 RMD160 92875b0073ada3771c79960c1a7aac3df511a49d SHA1 ac181eb976780f8af2ea5a3df2d9709accaa283f SHA256 0f39305d3da134a04c2509569f0c65dbe889aff9c91aef2deb3cfaa386094c0c
DIST bitcoin-v0.5.4.tgz 1111855 RMD160 b7be91e9eb67509bcb827c8dcac13ddb461ce220 SHA1 4838f6500506e1fa0d8a9848414d6ee1f2644f23 SHA256 011d42ffb7bd20b350d5b11bb288c7db5c44d0bf78b90c0908e997073db25f4d
+DIST bitcoin-v0.5.5.tgz 1113196 RMD160 1562383a1666c67607c1875b6fd70fba6c6989df SHA1 8debef34ab09bb4d64d7d9e095dc5dba02679a5d SHA256 d1e9f6a9d75f4a8ba646bb77b3301b7179770a116093b8004b8e35412c616bc7
+DIST bitcoin-v0.5.6_rc1.tgz 1062326 RMD160 0ede1c3b94d28369519ae07c89487f182dbcd9d7 SHA1 0765129fb15a41fd6c7082baaf57913d21a3d8fb SHA256 076a894cf731c57c1ecf268900b057f135473b5cead12edb32c784c8cba92b2d
+DIST bitcoin-v0.6.0.7.tgz 1353861 RMD160 8ce2b2e47d75720817d2469d621400eb87a0afbb SHA1 7df561d62b1b779a1e172b839486eae8056d4c09 SHA256 b7e82f8d2c6b306014f206df404d6e93b15482395bc6db30c7eb3d88f93ee5b1
+DIST bitcoin-v0.6.0.8_rc1.tgz 1347231 RMD160 71095e02c07c25bbce42e345cb8b7aecdc74b4c7 SHA1 0b4d93abbd0956f3bbf0c47c12a4142be9c6e179 SHA256 6028751e470308b79e8c4099a59a67d21e80d99531e8fe79eceb2070ddc861e7
DIST bitcoin-v0.6.0.tgz 1259313 RMD160 8173ae7ca66fddbd99edbcf3e860301bf9eb0a10 SHA1 6d4eafbb2d922a92fc0484f0bfbb48b8a4733ded SHA256 b57316e65b9f1f24616c6c10a023db6c1419a628c0e4cff7434de68c0befb861
+DIST bitcoin-v0.6.2.tgz 1359115 RMD160 855951bd6bdccb90bd584f9d17840be5a5f85c83 SHA1 7e35f5c5cc14a416c4ef5853e15583e644e64a2d SHA256 03c72d7bcdec70cb88033abb785b50686880b95d4768e8586891a9728d498c5a
EBUILD bitcoin-qt-0.5.0.4-r1.ebuild 3273 RMD160 e899b4e89661cfc405666129e3b7b4092a7bc40b SHA1 0ddfaeddaa286a8a423bc3f0c9077d97ffebec25 SHA256 aa31cafd1063ad085ef25b8c900f41cc5971f84691f7315e355971b27cf6a0bf
EBUILD bitcoin-qt-0.5.0.5-r1.ebuild 3263 RMD160 29f563fe1a55ce416b85979a1acf68db46bb59a5 SHA1 879614b73b5102bc080fa98c269bdfaa1188d99e SHA256 0e943a70a6154e579526f25dab8af443e4215ebc4f7d17d5b097af7927d82d0f
EBUILD bitcoin-qt-0.5.0.6.ebuild 3059 RMD160 7ff84472710f6b844532b59976f01d7bb720453c SHA1 1b0784e092a764754b52e6dfbfaf6c3544f2b357 SHA256 82f587c1a4e096bf895b2267365caae96c26a0264bf06fe13f369aaa2a192155
@@ -22,13 +28,18 @@ EBUILD bitcoin-qt-0.5.1.ebuild 2541 RMD160 325e98ded3e924b5eebda3b326b6dd42655be
EBUILD bitcoin-qt-0.5.3-r2.ebuild 3271 RMD160 3b02fe84d7c5ab8b7d9e653b72b50dc9b2c1cec1 SHA1 9ad57d54f632866339dd6fc4fb50999e71e34038 SHA256 c3aaea9962644e5b13800224ebebe39e6155a7b31ad6834356d63924a7297d88
EBUILD bitcoin-qt-0.5.3.ebuild 2563 RMD160 00f4829f118455c96ab2e3e0fba8163d416da239 SHA1 645557413a5350a2fa900a4b4760fede837b77b4 SHA256 8c72cc602b5986eca7f0ad38ff3f8cb90991b4eb4fe34a2945adfacf2be53415
EBUILD bitcoin-qt-0.5.4.ebuild 3057 RMD160 654f61e5b37b8bd4e84057e53547873e9b137e4b SHA1 43f00e64b1f945e4b7c7d8fec05d6dc6b27e1d80 SHA256 5d2a12e509b451d4e5b1b14e0cc660e4e140da6a1ecac15ce001a9f7a4dc5caf
+EBUILD bitcoin-qt-0.5.5.ebuild 3055 RMD160 609240b0b58b1b70c3da55296d05084c7157ce17 SHA1 e68e5f987c8fc8c3fc520035bd31b218eb3f918c SHA256 ed3b20494de2f9427a690f2fc5670d04a703cd1c315498d8287bfc6e8846d81d
+EBUILD bitcoin-qt-0.5.6_rc1.ebuild 3059 RMD160 4eaa243b5397c37f35eed5ec8fca2e840b48c150 SHA1 7209d2c62d11bda627962d1525ce78b783980dd7 SHA256 65f23c664865b2cdd211ee5d1f80aa4b755b188b63751ac9bd4fce97ae5d30ea
+EBUILD bitcoin-qt-0.6.0.7.ebuild 2903 RMD160 fbaf0c4049c80b04605416a9a561cb78f3b55d09 SHA1 92123a214c56d3aa084afb698acf3cb4086bda22 SHA256 91611e31f8652dc00c8616e4ee8cd48a1a3260e0d853d29ed8cc87fc645f3ac8
+EBUILD bitcoin-qt-0.6.0.8_rc1.ebuild 2907 RMD160 6f486c5c107f5292ae3f4fd658a16c8ef56fa2c0 SHA1 bf6adedb4f58f43c5c4fcbacff9ebad60bbc77d4 SHA256 95277ec54624e2d020b6c6d477d350b69cfa7230b19b6d54f05feccbc177d9da
EBUILD bitcoin-qt-0.6.0.ebuild 2894 RMD160 a66fc798acfe3ca063f70b6d23a7fba695309b5d SHA1 a27e187b0e43658d8d2cb4c70cdc05d2dd6f0402 SHA256 39cf01edd1fed440773678ae849d745f4dfb70344c491a0f009e1d8712aa3f30
-MISC ChangeLog 5865 RMD160 46e5726975f78e6500be4c399d345c710a1a0b0f SHA1 f63288e1bb597ee7776f9e0af6a731f313c350e7 SHA256 e32f6b6ec5b2257554e7b603a97556bafbe44125cbc2f6a24d5d6712b6925890
+EBUILD bitcoin-qt-0.6.2.ebuild 2857 RMD160 1942c6edfc92823baf79c628e12cba204bdf32fd SHA1 c1ef956913233191f04b739ff08fe42981eb2f46 SHA256 c84e86954f85576c0bca3eb901253c4a76172fc13447140f55cf2c91a9d83d7d
+MISC ChangeLog 6297 RMD160 679998997acf146a6451d9e88dfb84452cd6c383 SHA1 4e9a41e6b3cd8e06f6651bde2d7430beaf4c47ce SHA256 db395e1b8297683503247534863f6d559bc036152b1a41efbb5bee92b646be03
MISC metadata.xml 766 RMD160 4244fe2ce8a8a23d4b4c2c1990d610a40bbf10f5 SHA1 3b26711544880afec32adb729793682b8395745b SHA256 2562d197c5495433afa72ea57a243dd4e917b61ab146ee89670840c22098137d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEAREIAAYFAk+aaM0ACgkQl5yvQNBFVTUYbwCeOf1Hd1OEN5GByFRvXo6O5aec
-rm4AoKI98pBGL8E14b8LEQLNG8PYRv5h
-=tl5i
+iEYEAREIAAYFAk+xnWEACgkQl5yvQNBFVTXqcwCdFWJOBymA3RFbmvC491xZ6rVw
+3xAAoILbTDT6rCPLvGkb7G0NCKkN1myg
+=le+v
-----END PGP SIGNATURE-----
diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.5.5.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.5.5.ebuild
new file mode 100644
index 000000000000..ca6d2e5a3b15
--- /dev/null
+++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.5.5.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.5.ebuild,v 1.1 2012/05/15 00:03:32 blueness Exp $
+
+EAPI=4
+
+DB_VER="4.8"
+
+LANGS="da de en es es_CL hu it nb nl pt_BR ru uk zh_CN zh_TW"
+inherit db-use eutils qt4-r2 versionator
+
+DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
+HOMEPAGE="http://bitcoin.org/"
+SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
+ bip16? ( http://luke.dashjr.org/programs/bitcoin/files/bip16/0.5.0.5-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch.xz )
+ eligius? (
+ !bip16? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.5.0.6rc1-eligius_sendfee.patch.xz )
+ )
+"
+
+LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="$IUSE +bip16 dbus +eligius 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]
+ x11-libs/qt-gui
+ dbus? (
+ x11-libs/qt-dbus
+ )
+"
+DEPEND="${RDEPEND}
+ >=app-shells/bash-4.1
+"
+
+DOCS="doc/README"
+
+S="${WORKDIR}/bitcoin-bitcoind-stable"
+
+src_prepare() {
+ cd src || die
+ if use bip16; then
+ epatch "${WORKDIR}/0.5.0.5-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch"
+ use eligius && epatch "${FILESDIR}/0.5.0.5+bip16-eligius_sendfee.patch"
+ else
+ use eligius && epatch "${WORKDIR}/0.5.0.6rc1-eligius_sendfee.patch"
+ fi
+
+ local filt= yeslang= nolang=
+
+ for lan in $LANGS; do
+ if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
+ ewarn "Language '$lan' no longer supported. Ebuild needs update."
+ fi
+ done
+
+ for ts in $(ls qt/locale/*.ts)
+ do
+ x="${ts/*bitcoin_/}"
+ x="${x/.ts/}"
+ if ! use "linguas_$x"; then
+ nolang="$nolang $x"
+ rm "$ts"
+ filt="$filt\\|$x"
+ else
+ yeslang="$yeslang $x"
+ fi
+ done
+ filt="bitcoin_\\(${filt:2}\\)\\.qm"
+ sed "/${filt}/d" -i 'qt/bitcoin.qrc'
+ einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
+}
+
+src_configure() {
+ OPTS=()
+ local BOOST_PKG BOOST_VER
+
+ use dbus && OPTS+=("USE_DBUS=1")
+ use ssl && OPTS+=("DEFINES+=USE_SSL")
+ if use upnp; then
+ OPTS+=("USE_UPNP=1")
+ else
+ OPTS+=("USE_UPNP=-")
+ fi
+
+ 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}")"
+ OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
+ OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
+
+ eqmake4 "${PN}.pro" "${OPTS[@]}"
+}
+
+src_compile() {
+ emake
+}
+
+src_test() {
+ cd src || die
+ emake -f makefile.unix "${OPTS[@]}" test_bitcoin
+ ./test_bitcoin || die 'Tests failed'
+}
+
+src_install() {
+ qt4-r2_src_install
+ dobin ${PN}
+ insinto /usr/share/pixmaps
+ newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
+ make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P"
+}
diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6_rc1.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6_rc1.ebuild
new file mode 100644
index 000000000000..deaa300c0006
--- /dev/null
+++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6_rc1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6_rc1.ebuild,v 1.1 2012/05/15 00:03:32 blueness Exp $
+
+EAPI=4
+
+DB_VER="4.8"
+
+LANGS="da de en es es_CL hu it nb nl pt_BR ru uk zh_CN zh_TW"
+inherit db-use eutils qt4-r2 versionator
+
+DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
+HOMEPAGE="http://bitcoin.org/"
+SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
+ bip16? ( http://luke.dashjr.org/programs/bitcoin/files/bip16/0.5.0.5-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch.xz )
+ eligius? (
+ !bip16? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.5.0.6rc1-eligius_sendfee.patch.xz )
+ )
+"
+
+LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="$IUSE +bip16 dbus +eligius 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]
+ x11-libs/qt-gui
+ dbus? (
+ x11-libs/qt-dbus
+ )
+"
+DEPEND="${RDEPEND}
+ >=app-shells/bash-4.1
+"
+
+DOCS="doc/README"
+
+S="${WORKDIR}/bitcoin-bitcoind-stable"
+
+src_prepare() {
+ cd src || die
+ if use bip16; then
+ epatch "${WORKDIR}/0.5.0.5-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch"
+ use eligius && epatch "${FILESDIR}/0.5.0.5+bip16-eligius_sendfee.patch"
+ else
+ use eligius && epatch "${WORKDIR}/0.5.0.6rc1-eligius_sendfee.patch"
+ fi
+
+ local filt= yeslang= nolang=
+
+ for lan in $LANGS; do
+ if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
+ ewarn "Language '$lan' no longer supported. Ebuild needs update."
+ fi
+ done
+
+ for ts in $(ls qt/locale/*.ts)
+ do
+ x="${ts/*bitcoin_/}"
+ x="${x/.ts/}"
+ if ! use "linguas_$x"; then
+ nolang="$nolang $x"
+ rm "$ts"
+ filt="$filt\\|$x"
+ else
+ yeslang="$yeslang $x"
+ fi
+ done
+ filt="bitcoin_\\(${filt:2}\\)\\.qm"
+ sed "/${filt}/d" -i 'qt/bitcoin.qrc'
+ einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
+}
+
+src_configure() {
+ OPTS=()
+ local BOOST_PKG BOOST_VER
+
+ use dbus && OPTS+=("USE_DBUS=1")
+ use ssl && OPTS+=("DEFINES+=USE_SSL")
+ if use upnp; then
+ OPTS+=("USE_UPNP=1")
+ else
+ OPTS+=("USE_UPNP=-")
+ fi
+
+ 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}")"
+ OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
+ OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
+
+ eqmake4 "${PN}.pro" "${OPTS[@]}"
+}
+
+src_compile() {
+ emake
+}
+
+src_test() {
+ cd src || die
+ emake -f makefile.unix "${OPTS[@]}" test_bitcoin
+ ./test_bitcoin || die 'Tests failed'
+}
+
+src_install() {
+ qt4-r2_src_install
+ dobin ${PN}
+ insinto /usr/share/pixmaps
+ newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
+ make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P"
+}
diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.7.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.7.ebuild
new file mode 100644
index 000000000000..9fe91ffe65f7
--- /dev/null
+++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.7.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.7.ebuild,v 1.1 2012/05/15 00:03:32 blueness Exp $
+
+EAPI=4
+
+DB_VER="4.8"
+
+LANGS="ca_ES cs da de en es es_CL et eu_ES fa fa_IR fi fr_CA fr_FR he hr hu it lt nb nl pl pt_BR ro_RO ru sk sr sv tr uk zh_CN zh_TW"
+inherit db-use eutils qt4-r2 versionator
+
+DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
+HOMEPAGE="http://bitcoin.org/"
+SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
+ http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.6.0-eligius_sendfee.patch.xz
+"
+
+LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="$IUSE 1stclassmsg dbus +eligius +qrcode ssl upnp"
+
+RDEPEND="
+ >=dev-libs/boost-1.41.0
+ dev-libs/openssl[-bindist]
+ qrcode? (
+ media-gfx/qrencode
+ )
+ upnp? (
+ net-libs/miniupnpc
+ )
+ sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
+ x11-libs/qt-gui
+ dbus? (
+ x11-libs/qt-dbus
+ )
+"
+DEPEND="${RDEPEND}
+ >=app-shells/bash-4.1
+"
+
+DOCS="doc/README"
+
+S="${WORKDIR}/bitcoin-bitcoind-stable"
+
+src_prepare() {
+ cd src || die
+ use eligius && epatch "${WORKDIR}/0.6.0-eligius_sendfee.patch"
+
+ local filt= yeslang= nolang=
+
+ for lan in $LANGS; do
+ if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
+ ewarn "Language '$lan' no longer supported. Ebuild needs update."
+ fi
+ done
+
+ for ts in $(ls qt/locale/*.ts)
+ do
+ x="${ts/*bitcoin_/}"
+ x="${x/.ts/}"
+ if ! use "linguas_$x"; then
+ nolang="$nolang $x"
+ rm "$ts"
+ filt="$filt\\|$x"
+ else
+ yeslang="$yeslang $x"
+ fi
+ done
+ filt="bitcoin_\\(${filt:2}\\)\\.qm"
+ sed "/${filt}/d" -i 'qt/bitcoin.qrc'
+ einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
+}
+
+src_configure() {
+ OPTS=()
+ local BOOST_PKG BOOST_VER
+
+ use dbus && OPTS+=("USE_DBUS=1")
+ use ssl && OPTS+=("DEFINES+=USE_SSL")
+ if use upnp; then
+ OPTS+=("USE_UPNP=1")
+ else
+ OPTS+=("USE_UPNP=-")
+ fi
+ use qrcode && OPTS+=("USE_QRCODE=1")
+ use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1")
+
+ 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}")"
+ OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
+ OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
+
+ eqmake4 "${PN}.pro" "${OPTS[@]}"
+}
+
+src_compile() {
+ emake
+}
+
+src_test() {
+ cd src || die
+ emake -f makefile.unix "${OPTS[@]}" test_bitcoin
+ ./test_bitcoin || die 'Tests failed'
+}
+
+src_install() {
+ qt4-r2_src_install
+ dobin ${PN}
+ insinto /usr/share/pixmaps
+ newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
+ make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P"
+}
diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.8_rc1.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.8_rc1.ebuild
new file mode 100644
index 000000000000..3356ce7f55d8
--- /dev/null
+++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.8_rc1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.8_rc1.ebuild,v 1.1 2012/05/15 00:03:32 blueness Exp $
+
+EAPI=4
+
+DB_VER="4.8"
+
+LANGS="ca_ES cs da de en es es_CL et eu_ES fa fa_IR fi fr_CA fr_FR he hr hu it lt nb nl pl pt_BR ro_RO ru sk sr sv tr uk zh_CN zh_TW"
+inherit db-use eutils qt4-r2 versionator
+
+DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
+HOMEPAGE="http://bitcoin.org/"
+SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
+ http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.6.0-eligius_sendfee.patch.xz
+"
+
+LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="$IUSE 1stclassmsg dbus +eligius +qrcode ssl upnp"
+
+RDEPEND="
+ >=dev-libs/boost-1.41.0
+ dev-libs/openssl[-bindist]
+ qrcode? (
+ media-gfx/qrencode
+ )
+ upnp? (
+ net-libs/miniupnpc
+ )
+ sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
+ x11-libs/qt-gui
+ dbus? (
+ x11-libs/qt-dbus
+ )
+"
+DEPEND="${RDEPEND}
+ >=app-shells/bash-4.1
+"
+
+DOCS="doc/README"
+
+S="${WORKDIR}/bitcoin-bitcoind-stable"
+
+src_prepare() {
+ cd src || die
+ use eligius && epatch "${WORKDIR}/0.6.0-eligius_sendfee.patch"
+
+ local filt= yeslang= nolang=
+
+ for lan in $LANGS; do
+ if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
+ ewarn "Language '$lan' no longer supported. Ebuild needs update."
+ fi
+ done
+
+ for ts in $(ls qt/locale/*.ts)
+ do
+ x="${ts/*bitcoin_/}"
+ x="${x/.ts/}"
+ if ! use "linguas_$x"; then
+ nolang="$nolang $x"
+ rm "$ts"
+ filt="$filt\\|$x"
+ else
+ yeslang="$yeslang $x"
+ fi
+ done
+ filt="bitcoin_\\(${filt:2}\\)\\.qm"
+ sed "/${filt}/d" -i 'qt/bitcoin.qrc'
+ einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
+}
+
+src_configure() {
+ OPTS=()
+ local BOOST_PKG BOOST_VER
+
+ use dbus && OPTS+=("USE_DBUS=1")
+ use ssl && OPTS+=("DEFINES+=USE_SSL")
+ if use upnp; then
+ OPTS+=("USE_UPNP=1")
+ else
+ OPTS+=("USE_UPNP=-")
+ fi
+ use qrcode && OPTS+=("USE_QRCODE=1")
+ use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1")
+
+ 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}")"
+ OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
+ OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
+
+ eqmake4 "${PN}.pro" "${OPTS[@]}"
+}
+
+src_compile() {
+ emake
+}
+
+src_test() {
+ cd src || die
+ emake -f makefile.unix "${OPTS[@]}" test_bitcoin
+ ./test_bitcoin || die 'Tests failed'
+}
+
+src_install() {
+ qt4-r2_src_install
+ dobin ${PN}
+ insinto /usr/share/pixmaps
+ newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
+ make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P"
+}
diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.6.2.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.6.2.ebuild
new file mode 100644
index 000000000000..c6851ece964d
--- /dev/null
+++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.6.2.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.2.ebuild,v 1.1 2012/05/15 00:03:32 blueness Exp $
+
+EAPI=4
+
+DB_VER="4.8"
+
+LANGS="ca_ES cs da de en es es_CL et eu_ES fa fa_IR fi fr_CA fr_FR he hr hu it lt nb nl pl pt_BR ro_RO ru sk sr sv tr uk zh_CN zh_TW"
+inherit db-use eutils qt4-r2 versionator
+
+DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
+HOMEPAGE="http://bitcoin.org/"
+SRC_URI="https://nodeload.github.com/bitcoin/bitcoin/tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
+ http://luke.dashjr.org/programs/bitcoin/files/bitcoind/eligius/sendfee/0.6.1-eligius_sendfee.patch.xz
+"
+
+LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="$IUSE 1stclassmsg dbus +eligius +qrcode upnp"
+
+RDEPEND="
+ >=dev-libs/boost-1.41.0
+ dev-libs/openssl[-bindist]
+ qrcode? (
+ media-gfx/qrencode
+ )
+ upnp? (
+ net-libs/miniupnpc
+ )
+ sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
+ x11-libs/qt-gui
+ dbus? (
+ x11-libs/qt-dbus
+ )
+"
+DEPEND="${RDEPEND}
+ >=app-shells/bash-4.1
+"
+
+DOCS="doc/README"
+
+S="${WORKDIR}/bitcoin-bitcoin-06d764e"
+
+src_prepare() {
+ cd src || die
+ use eligius && epatch "${WORKDIR}/0.6.1-eligius_sendfee.patch"
+
+ local filt= yeslang= nolang=
+
+ for lan in $LANGS; do
+ if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
+ ewarn "Language '$lan' no longer supported. Ebuild needs update."
+ fi
+ done
+
+ for ts in $(ls qt/locale/*.ts)
+ do
+ x="${ts/*bitcoin_/}"
+ x="${x/.ts/}"
+ if ! use "linguas_$x"; then
+ nolang="$nolang $x"
+ rm "$ts"
+ filt="$filt\\|$x"
+ else
+ yeslang="$yeslang $x"
+ fi
+ done
+ filt="bitcoin_\\(${filt:2}\\)\\.qm"
+ sed "/${filt}/d" -i 'qt/bitcoin.qrc'
+ einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
+}
+
+src_configure() {
+ OPTS=()
+ local BOOST_PKG BOOST_VER
+
+ use dbus && OPTS+=("USE_DBUS=1")
+ if use upnp; then
+ OPTS+=("USE_UPNP=1")
+ else
+ OPTS+=("USE_UPNP=-")
+ fi
+ use qrcode && OPTS+=("USE_QRCODE=1")
+ use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1")
+
+ 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}")"
+ OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
+ OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
+
+ eqmake4 "${PN}.pro" "${OPTS[@]}"
+}
+
+src_compile() {
+ emake
+}
+
+src_test() {
+ cd src || die
+ emake -f makefile.unix "${OPTS[@]}" test_bitcoin
+ ./test_bitcoin || die 'Tests failed'
+}
+
+src_install() {
+ qt4-r2_src_install
+ dobin ${PN}
+ insinto /usr/share/pixmaps
+ newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
+ make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P"
+}