Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bitcoin-tx/
Date: Tue, 23 Oct 2018 20:38:59
Message-Id: 1540327108.6b0b2fb607337ffc92be3d8313498e55616e6963.vdupras@gentoo
1 commit: 6b0b2fb607337ffc92be3d8313498e55616e6963
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 23 20:37:40 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 23 20:38:28 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b0b2fb6
7
8 dev-util/bitcoin-tx: remove old and vulnerable
9
10 Bug: https://bugs.gentoo.org/666669
11 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13
14 dev-util/bitcoin-tx/Manifest | 2 -
15 dev-util/bitcoin-tx/bitcoin-tx-0.15.1.ebuild | 102 ---------------------------
16 2 files changed, 104 deletions(-)
17
18 diff --git a/dev-util/bitcoin-tx/Manifest b/dev-util/bitcoin-tx/Manifest
19 index 8c6c2a5d72d..443491598dd 100644
20 --- a/dev-util/bitcoin-tx/Manifest
21 +++ b/dev-util/bitcoin-tx/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST bitcoin-0.15.1.knots20171111.patches.tar.xz 443024 BLAKE2B 5010c8d0f6a0bc8cd22ca7d7c73d9e4e689e369f0ba39b59f62fa6b6af3dcf938dfc87d33d3fe595a6e54d99734277a34af068dc29a6e984c76d529fbbe2f383 SHA512 455fadeac6ad57be111104680ec6939d6bf235eb49cde89b9716d36f6914c255b1b69cdea459d89b1bbca56099e793be0c8d7aacf592a9d78495068297bb5890
24 DIST bitcoin-0.16.3.knots20180918.patches.tar.xz 466344 BLAKE2B c45b96513e4b6317e6a2a55cc3b47302fbe56fb87717ae0197010694013331b5d071b85a11a73c76f08f39e9f0294d3475e89ee63272047df83893de4dbaa390 SHA512 2c3540acc668aeef4b8f01774219736d95395201ddeaccaf70e0bad4a89f05cdd5ffaf630bae0577656efb3580fae92ce0ee4bb1a720ea757ca59e3fd66e1893
25 -DIST bitcoin-v0.15.1.tar.gz 7550228 BLAKE2B 0cbb7d0e9d0e5e8eb33502a28289c3f9c86b7c531ed179f7e3e8b601a69a423fa736238a2caae890fd8850eb505533995e578e676860a4014922fbc238185ebb SHA512 a09b6cb64a1649d11e3fd6deeb13a07b1bf4bed504a2fc1c585919459ca8ac1af8e5ecc89dee487359e831a8f12625d54f408f95bb341033d6380b82c290c0d9
26 DIST bitcoin-v0.16.3.tar.gz 6658712 BLAKE2B 2c20b32ea30aed264115d1bd336b62fa28de69cbf116385508718efd7ff22537c3bd402c0965e0f6ddd8e79fc8b51f388f52f885847d36207a24523e927ca63e SHA512 2da25f56fe9b1f5a81815c14e70ff1a69ec15f742424e2c24d71303a71d57c8050dea5d5ba57425bbe0a01a3995ad9b30f0beea5dbafd1632a627cd3fd9a984d
27
28 diff --git a/dev-util/bitcoin-tx/bitcoin-tx-0.15.1.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-0.15.1.ebuild
29 deleted file mode 100644
30 index d4d855fafc4..00000000000
31 --- a/dev-util/bitcoin-tx/bitcoin-tx-0.15.1.ebuild
32 +++ /dev/null
33 @@ -1,102 +0,0 @@
34 -# Copyright 2010-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit autotools bash-completion-r1
40 -
41 -MyPV="${PV/_/}"
42 -MyPN="bitcoin"
43 -MyP="${MyPN}-${MyPV}"
44 -BITCOINCORE_COMMITHASH="7b57bc998f334775b50ebc8ca5e78ca728db4c58"
45 -KNOTS_PV="${PV}.knots20171111"
46 -KNOTS_P="${MyPN}-${KNOTS_PV}"
47 -
48 -IUSE="knots libressl"
49 -
50 -DESCRIPTION="Command-line Bitcoin transaction tool"
51 -HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/"
52 -LICENSE="MIT"
53 -SLOT="0"
54 -KEYWORDS="amd64 arm ~arm64 ~mips ~ppc x86 ~amd64-linux ~x86-linux"
55 -
56 -SRC_URI="
57 - https://github.com/${MyPN}/${MyPN}/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> ${MyPN}-v${PV}.tar.gz
58 - https://bitcoinknots.org/files/0.15.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
59 -"
60 -CORE_DESC="https://bitcoincore.org/en/2017/11/11/release-${PV}/"
61 -KNOTS_DESC="https://bitcoinknots.org/files/0.15.x/${KNOTS_PV}/${KNOTS_P}.desc.html"
62 -
63 -RDEPEND="
64 - !libressl? ( dev-libs/openssl:0=[-bindist] )
65 - libressl? ( dev-libs/libressl:0= )
66 - >=dev-libs/libsecp256k1-0.0.0_pre20151118[recovery]
67 - dev-libs/univalue
68 - >=dev-libs/boost-1.52.0:=[threads(+)]
69 -"
70 -DEPEND="${RDEPEND}"
71 -
72 -DOCS=( doc/bips.md doc/release-notes.md )
73 -
74 -S="${WORKDIR}/${MyPN}-${BITCOINCORE_COMMITHASH}"
75 -
76 -pkg_pretend() {
77 - if use knots; then
78 - einfo "You are building ${PN} from Bitcoin Knots."
79 - einfo "For more information, see ${KNOTS_DESC}"
80 - else
81 - einfo "You are building ${PN} from Bitcoin Core."
82 - einfo "For more information, see ${CORE_DESC}"
83 - fi
84 -}
85 -
86 -KNOTS_PATCH() { echo "${WORKDIR}/${KNOTS_P}.patches/${KNOTS_P}.$@.patch"; }
87 -
88 -src_prepare() {
89 - eapply "$(KNOTS_PATCH syslibs)"
90 -
91 - if use knots; then
92 - eapply "$(KNOTS_PATCH f)"
93 - eapply "$(KNOTS_PATCH branding)"
94 - eapply "$(KNOTS_PATCH ts)"
95 - fi
96 -
97 - eapply_user
98 -
99 - echo '#!/bin/true' >share/genbuild.sh || die
100 - mkdir -p src/obj || die
101 - echo "#define BUILD_SUFFIX gentoo${PVR#${PV}}" >src/obj/build.h || die
102 -
103 - eautoreconf
104 - rm -r src/leveldb src/secp256k1 || die
105 -}
106 -
107 -src_configure() {
108 - local my_econf=(
109 - --disable-experimental-asm
110 - --without-qtdbus
111 - --without-libevent
112 - --without-qrencode
113 - --without-miniupnpc
114 - --disable-tests
115 - --disable-wallet
116 - --disable-zmq
117 - --enable-util-tx
118 - --disable-util-cli
119 - --disable-bench
120 - --without-libs
121 - --without-daemon
122 - --without-gui
123 - --disable-ccache
124 - --disable-static
125 - --with-system-libsecp256k1
126 - --with-system-univalue
127 - )
128 - econf "${my_econf[@]}"
129 -}
130 -
131 -src_install() {
132 - default
133 -
134 - newbashcomp contrib/${PN}.bash-completion ${PN}
135 -}