summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Roman <davidroman96@gmail.com>2019-01-11 21:41:02 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-01-12 15:17:58 +0000
commitd8ceba0c44613850dbbcd81794f66048c85060e7 (patch)
tree58c6130d3884fffe05e31c726ea72a65facdb015 /dev-util/radare2
parentkde-frameworks/kio: Tarball respun, add kio core crashfix (diff)
downloadgentoo-d8ceba0c44613850dbbcd81794f66048c85060e7.tar.gz
gentoo-d8ceba0c44613850dbbcd81794f66048c85060e7.tar.bz2
gentoo-d8ceba0c44613850dbbcd81794f66048c85060e7.zip
dev-util/radare2: verbump to 3.2.0
Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: David Roman <davidroman96@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10811 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/radare2')
-rw-r--r--dev-util/radare2/Manifest1
-rw-r--r--dev-util/radare2/metadata.xml3
-rw-r--r--dev-util/radare2/radare2-3.2.0.ebuild56
-rw-r--r--dev-util/radare2/radare2-9999.ebuild15
4 files changed, 65 insertions, 10 deletions
diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index e277ec285356..6751eab77861 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -2,3 +2,4 @@ DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 1051e2d948bf312a5d54d03fa20a2fa6954f0e
DIST radare2-3.1.0.tar.gz 6652526 BLAKE2B 8da52e93263b47261cadc28e0de637b177943ce978ff342e305c7c924c062458d4eee18d05a21c9ca5153b7ede13332c87e9cd2f22c6880d47fd8e05db21036e SHA512 ee31de49ff83ca1ed093eaf113201cb3709adcb3315671d88413aa4d5c80c37cf9e981c33b4f472b9aa5f67309cdaf9577c2085a8c58e4faf86b37d1ee19866d
DIST radare2-3.1.2-r1.tar.gz 6664607 BLAKE2B a04bc70eee438e00b59ec0e699b9a4d56091c9698d0abb965a65c20bd28ee604f154f50d8e18d9233594aaf77c72708e864b7dbaaefc7ed7c300f46ef5e02311 SHA512 365d45b3b82551e4e146c5872d0d502f0daca70286682053f8fb4f61a6771d91fd1b1eda34b113125dcfb06e957496f07184a74c532b7872f37fbb305dda52ad
DIST radare2-3.1.3.tar.gz 6662694 BLAKE2B bb4cec7fd05e4d43473ef2e67e8284c4b6a856ca1ef312153fbb236b800ed3e369ac9833d87e00e2aa5a560c7d8f7f9433d4b8aa9a3f01e7fabe3c26c3f3d60e SHA512 75b4966e8d64ffd341c50b22d12653e4ead23352d25a7a1f923ee6cb177bd0a9a16e7c02cbd5b58cf3da03f415168606cd67ed19f594dca75c66114e9c35903f
+DIST radare2-3.2.0.tar.gz 6690470 BLAKE2B edfa7d03d72ab3b7ebda6a2c860165c0c53836f4141674581c0f5f5cc1d6dc7a4ea48530d4825342268e057aeca458a0883f6fd70fb4a2d5d052634f32555442 SHA512 9773068568cf71797b0c86837188604130ef9d63e7b7fd115820d8979dde37d259aaea45002c9984e8c3599e9bade53720d3bb1b3635bdad5a2dc73aff54f048
diff --git a/dev-util/radare2/metadata.xml b/dev-util/radare2/metadata.xml
index dc1faaf6b746..45f16b33e569 100644
--- a/dev-util/radare2/metadata.xml
+++ b/dev-util/radare2/metadata.xml
@@ -9,7 +9,4 @@
<email>davidroman96@gmail.com</email>
<name>David Roman</name>
</maintainer>
- <use>
- <flag name='system-capstone'>Use <pkg>dev-libs/capstone</pkg> instead of bundled copy.</flag>
- </use>
</pkgmetadata>
diff --git a/dev-util/radare2/radare2-3.2.0.ebuild b/dev-util/radare2/radare2-3.2.0.ebuild
new file mode 100644
index 000000000000..0b3f4cfb432b
--- /dev/null
+++ b/dev-util/radare2/radare2-3.2.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/radare/radare2"
+else
+ SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ssl libressl"
+
+RDEPEND="
+ dev-libs/capstone:0=
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --without-libuv \
+ --with-syscapstone \
+ $(use_with ssl openssl)
+}
+
+src_install() {
+ default
+
+ insinto /usr/share/zsh/site-functions
+ doins doc/zsh/_*
+
+ newbashcomp doc/bash_autocompletion.sh "${PN}"
+ bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2
+
+ # a workaround for unstable $(INSTALL) call, bug #574866
+ local d
+ for d in doc/*; do
+ if [[ -d $d ]]; then
+ rm -rfv "$d" || die "failed to delete '$d'"
+ fi
+ done
+}
diff --git a/dev-util/radare2/radare2-9999.ebuild b/dev-util/radare2/radare2-9999.ebuild
index e2ecbd2ce570..0b3f4cfb432b 100644
--- a/dev-util/radare2/radare2-9999.ebuild
+++ b/dev-util/radare2/radare2-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit eutils bash-completion-r1
+inherit bash-completion-r1 eutils
DESCRIPTION="unix-like reverse engineering framework and commandline tools"
HOMEPAGE="http://www.radare.org"
@@ -13,27 +13,28 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/radare/radare2"
else
SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86 ~arm ~arm64"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="ssl libressl +system-capstone"
+IUSE="ssl libressl"
RDEPEND="
+ dev-libs/capstone:0=
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)
- system-capstone? ( dev-libs/capstone:0= )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_configure() {
econf \
- $(use_with ssl openssl) \
- $(use_with system-capstone syscapstone)
+ --without-libuv \
+ --with-syscapstone \
+ $(use_with ssl openssl)
}
src_install() {