1 |
commit: d15a7be1f9446b88a3f77c09f4de2272578df3e5 |
2 |
Author: David Roman <davidroman96 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 10 16:12:44 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 15 18:07:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15a7be1 |
7 |
|
8 |
dev-util/radare2: bump to 2.3.0 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/7148 |
11 |
|
12 |
dev-util/radare2/Manifest | 1 + |
13 |
dev-util/radare2/radare2-2.3.0.ebuild | 56 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest |
17 |
index 9744ce2f744..5fa91b04586 100644 |
18 |
--- a/dev-util/radare2/Manifest |
19 |
+++ b/dev-util/radare2/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST radare2-2.1.0.tar.gz 5954222 BLAKE2B 9128a01d40ef1401d457f1fa5610ad7bbda92021e6e16fd70e9488bdb11be923c3d0f453e49a7bf78203c320ec2f1b2276925db2ae6eeaad90100ae0c2724b56 SHA512 38a907834e21967a83943e62cb29d8097e0522ff71ea61a2e3ab9e5263c3884ce28c17fb3ca9201c2b9f341e1b066ed0899e5152e146e61fc4f650f319299cd0 |
22 |
DIST radare2-2.2.0.tar.gz 6145228 BLAKE2B e85d2243b477f5e233d4cb1989452f3bce798e356b8022eaa7b90ca6027ee01365868c6b933a3c3470ef0d80e107d955d4127e55ee7664e829b44259facd1863 SHA512 e632ca3ffdeefc394e571b5ae7f0619cbbb93c657ff1ef316771e1d10089fbad98dc08b6e7d152e664a4c16e97d4519c1c6445fe737dbd4e3d296bc93c3ee410 |
23 |
+DIST radare2-2.3.0.tar.gz 6175929 BLAKE2B ac52ce32d4161b51adcc988a4adb02d02cef2e05bf90325f032585973874cdaa370f00a5f7734e7c00787beaf579c1745de27271c35f63f54d31003f6328c95a SHA512 4b52ae3678c5bbba1d173f95715807469e88603067faf4f1058606a4235050ec07aebdb6408e24c0c031b9554b4ca095bf77fc2791a9efa498dfff49200b3b1d |
24 |
|
25 |
diff --git a/dev-util/radare2/radare2-2.3.0.ebuild b/dev-util/radare2/radare2-2.3.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2cf3090aec7 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/radare2/radare2-2.3.0.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit eutils bash-completion-r1 |
37 |
+ |
38 |
+DESCRIPTION="unix-like reverse engineering framework and commandline tools" |
39 |
+HOMEPAGE="http://www.radare.org" |
40 |
+ |
41 |
+if [[ ${PV} == *9999 ]]; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://github.com/radare/radare2" |
44 |
+else |
45 |
+ SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ KEYWORDS="~amd64 ~x86 ~arm ~arm64" |
47 |
+fi |
48 |
+ |
49 |
+LICENSE="GPL-2" |
50 |
+SLOT="0" |
51 |
+IUSE="ssl libressl +system-capstone" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ ssl? ( |
55 |
+ !libressl? ( dev-libs/openssl:0= ) |
56 |
+ libressl? ( dev-libs/libressl:0= ) |
57 |
+ ) |
58 |
+ system-capstone? ( dev-libs/capstone:0= ) |
59 |
+" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ virtual/pkgconfig |
62 |
+" |
63 |
+ |
64 |
+src_configure() { |
65 |
+ econf \ |
66 |
+ $(use_with ssl openssl) \ |
67 |
+ $(use_with system-capstone syscapstone) |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ default |
72 |
+ |
73 |
+ insinto /usr/share/zsh/site-functions |
74 |
+ doins doc/zsh/_* |
75 |
+ |
76 |
+ newbashcomp doc/bash_autocompletion.sh "${PN}" |
77 |
+ bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2 |
78 |
+ |
79 |
+ # a workaround for unstable $(INSTALL) call, bug #574866 |
80 |
+ local d |
81 |
+ for d in doc/*; do |
82 |
+ if [[ -d $d ]]; then |
83 |
+ rm -rfv "$d" || die "failed to delete '$d'" |
84 |
+ fi |
85 |
+ done |
86 |
+} |