summaryrefslogtreecommitdiff
path: root/dev-util/radare2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
commit38423c67c8a23f6a1bc42038193182e2da3116eb (patch)
tree04e2cf4bd43601b77daa79fe654e409187093c5e /dev-util/radare2
parent623ee73d661e5ed8475cb264511f683407d87365 (diff)
gentoo resync : 25.04.2020
Diffstat (limited to 'dev-util/radare2')
-rw-r--r--dev-util/radare2/Manifest2
-rw-r--r--dev-util/radare2/radare2-4.4.0.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 6cccb508468a..16ee644f3ee6 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,4 +1,6 @@
DIST radare2-4.3.1.tar.gz 8113591 BLAKE2B 289f6e4e3cb163017454918e7e5e31186cf41435f66a91ca5decf2819a06543908eeb3224041997eeba37e5bb7150874f431f301cf5f6aaa903601735e99d945 SHA512 06009dd2c75cfb2fcadd21041861f9569ff4b0b9438d1d5a1cf49ac8690ef041e18feb2445e6772acd0e217110328660e9de47db54d55c64f64764cb06988db8
+DIST radare2-4.4.0.tar.gz 8135544 BLAKE2B 1a1a4ce97dde4b8985cbe95bb889bfdef8f9d64e2c2257030fda523b1a1aced4e6681bc0f7b14d1a3f25fbce355f2062f0edc33ab396bef98792d29d1f708a11 SHA512 6208d97f8333e72dfd04cccdb0234b60fb8979ca559b92532bf7e47d402f91e0c54678a83e6bafee65666fb7d6008b44b961600f24f9b3275cb2eec32490eaa5
EBUILD radare2-4.3.1.ebuild 1159 BLAKE2B 979869367436022a049bff280f0c2fb72d61ec24546c2aaac9ff588b5677d1feae9f0a60559f7b488ac2c2c0d955e7de4d399b27a9f275918c08118bee020213 SHA512 014d8eb9417ac50fa56161bd1fc48b375126d5090ac2165b940a246756ec58a1bc84f3f5be70756194a602077091543a642e17b141f91dadc72cc8068f723e55
+EBUILD radare2-4.4.0.ebuild 1159 BLAKE2B 979869367436022a049bff280f0c2fb72d61ec24546c2aaac9ff588b5677d1feae9f0a60559f7b488ac2c2c0d955e7de4d399b27a9f275918c08118bee020213 SHA512 014d8eb9417ac50fa56161bd1fc48b375126d5090ac2165b940a246756ec58a1bc84f3f5be70756194a602077091543a642e17b141f91dadc72cc8068f723e55
EBUILD radare2-9999.ebuild 1159 BLAKE2B 60bd15815bc419615783ddd99a7a606c38cacc1c1727a32c1ab6c327172af4922dd1a67c226ad91877fe6a288b4a3240665e8832faa26aed06e18f6ed3577c84 SHA512 656e5f0b705f533d34ebbae4e43943c55d1b6fc8cb7abb808a1be8576719687993ef64aca6c134bd84fe611037d61bc985cfe5bc8c3074e7a93536d4f4721eab
MISC metadata.xml 361 BLAKE2B f92dfa8905623cd3a34f0b61766ae071d09801460b8b2a13bf4c3bb0a4715446b61b79309101b032511851f9d7a15973bca97ce9d1ed667266e2d6a3485933a2 SHA512 fb01d7b5abd1966cf270227640d1e4197a09930afb6f03e18bf4f79ba74e73fd86782b99efbb710b697315c25b63e575ec6120fb1cedaa19d4562831f41f81a4
diff --git a/dev-util/radare2/radare2-4.4.0.ebuild b/dev-util/radare2/radare2-4.4.0.ebuild
new file mode 100644
index 000000000000..c3c2387a8dcf
--- /dev/null
+++ b/dev-util/radare2/radare2-4.4.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 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/radareorg/radare2"
+else
+ SRC_URI="https://github.com/radareorg/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
+}