[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2024-09-14 Thread Joonas Niilola
commit: 0a11ef02ac80775760ec34b60f02fe221a2310db
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Sep 14 07:14:03 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 14 07:14:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a11ef02

dev-util/radare2: fix src_configure in 5.9.4

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/radare2/radare2-5.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/radare2/radare2-5.9.4.ebuild 
b/dev-util/radare2/radare2-5.9.4.ebuild
index 458415d07af5..40c7727acbf8 100644
--- a/dev-util/radare2/radare2-5.9.4.ebuild
+++ b/dev-util/radare2/radare2-5.9.4.ebuild
@@ -76,7 +76,7 @@ src_configure() {
 
econf \
--with-syscapstone \
-   --with-syslz4
+   --with-syslz4 \
--with-sysmagic \
--with-sysxxhash \
--with-syszip \



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/, dev-util/radare2/files/

2024-09-14 Thread Joonas Niilola
commit: 65759acac1083516c8f0a84297cff3bb8fcb03be
Author: David Roman  gmail  com>
AuthorDate: Sun Sep  1 01:36:02 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 14 07:13:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65759aca

dev-util/radare2: add 5.9.4

Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38363
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/radare2/Manifest   |   4 +
 dev-util/radare2/files/radare2-5.8.4-test.patch |  13 +++
 dev-util/radare2/radare2-5.9.4.ebuild   | 123 
 3 files changed, 140 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index dbf6f474fc92..054e0519f2c8 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -4,5 +4,9 @@ DIST radare2-5.9.0.tar.gz 11425359 BLAKE2B 
4e345eb93f50dd57f65d659e82918a3e83c29
 DIST radare2-5.9.2-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
 DIST radare2-5.9.2-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
 DIST radare2-5.9.2.tar.gz 11461281 BLAKE2B 
ac849ec4bc0e2a1b8447256362d8db2518d72e2a4af3d29f9c8931ac815c1b0c339a072312658bbd725097b3401f28beee31c6f99a5eb5a62ff3eb0cf7ed122f
 SHA512 
e190ec124c6d48e512939782148b23fb0ef50aeb66763c198fdf7a6329d6882bb49a10641902313045b6802fca233c56fbc0142155b52f915dab4099481923c9
+DIST radare2-5.9.4-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
+DIST radare2-5.9.4-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
+DIST radare2-5.9.4.tar.gz 11561430 BLAKE2B 
14903c087fbb140a8b4b6056adcb236b76ebcad0c7821150599c0732b0bb832b26a4fee5edda914ecd1be4dcdbe28087fadb48e623c593cf949cbc421acc5080
 SHA512 
51d42b6d98027d3f3d85570e79ea18a8f220c145e3451fd10d82eea1a0542648f83447bb6cb6f5bbf76241677a2412bf064ffbade75e69b486c6148543aa4b0f
 DIST radare2-testbins-32e2480e3b7b6959cd1ba483a200c792b4cb9236.tar.gz 
156265712 BLAKE2B 
4729c30f56ab9c318f8de83e2a0de820539351cb44aa64c500fa02ed94e4bf6494c60a928b64980767ec3003d72619c98769cfd229d8381524f5175027c03c2e
 SHA512 
d8de16e7aacd2ea4e5ecc85ddc1d38c4b8c47b37964c680084bfcb49144e2da783bccd859cb0a84de6080c7ce893af08f27d170725dcdc5f87ee4f830c5dc6da
+DIST radare2-testbins-bca0e277a234cc71b43d919f88bda03cd4a518fd.tar.gz 
159785408 BLAKE2B 
325b13af8f965f9fa35995c409955a681b0cc0d6fc8d6d7547d7e70547b3d3ba7647c8c3ff6ede8878e1c3a7d394f3be444ce2f418ee6beb60c5047b5f310e63
 SHA512 
06fb363ec2959f605035aa0041f48985a98839a39616ac13838994e28b69a0c34240bc4365755f65743c7b72b59b73d11dba7be83848adc4fee0e8d13689d199
 DIST radare2-testbins-ff7a8fb14610c87f7b2d3b185eb267f2aff381ca.tar.gz 
159774410 BLAKE2B 
65b7712ab444f79f18b3568c790e0cbd250e44cea8fbff5f2ed9caeb0898779928f5018a49fdbd5c2dfba57f01c8b4ceb9c0aa9248612a5c545a147b4f876d90
 SHA512 
666ea966d94c661ed22c400f5cb7e5c5ca6f914d2436007b5510a57e43609ebc2637606e17d49d9c67d880d5229c295e57cef2295c4d093b856ead1f3d0a7f0a

diff --git a/dev-util/radare2/files/radare2-5.8.4-test.patch 
b/dev-util/radare2/files/radare2-5.8.4-test.patch
new file mode 100644
index ..ea8451a17859
--- /dev/null
+++ b/dev-util/radare2/files/radare2-5.8.4-test.patch
@@ -0,0 +1,13 @@
+diff --git a/test/Makefile b/test/Makefile
+index 399d7168ff..80ab108a96 100644
+--- a/test/Makefile
 b/test/Makefile
+@@ -76,7 +76,7 @@ uninstall:
+ unit unit-tests: bins
+   PATH="$(BINDIR):$(PATH)" $(MAKE) rc
+   PKG_CONFIG_PATH=$(PREFIX)/lib/pkgconfig \
+-  LD_LIBRARY_PATH=$(PREFIX)/lib \
++  LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(PREFIX)/lib \
+   PATH="$(BINDIR):$(PATH)" \
+   $(MAKE) -C unit run
+ 

diff --git a/dev-util/radare2/radare2-5.9.4.ebuild 
b/dev-util/radare2/radare2-5.9.4.ebuild
new file mode 100644
index ..458415d07af5
--- /dev/null
+++ b/dev-util/radare2/radare2-5.9.4.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inh

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2024-07-27 Thread Joonas Niilola
commit: d393229dc39713e5104dea41f60ccc9fe78e5d8f
Author: David Roman  gmail  com>
AuthorDate: Tue Jul  9 13:35:06 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jul 27 07:06:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d393229d

dev-util/radare2: add 5.9.2

Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37499
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/radare2/Manifest |   4 ++
 dev-util/radare2/radare2-5.9.2.ebuild | 121 ++
 2 files changed, 125 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 5d673afa380f..dbf6f474fc92 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,4 +1,8 @@
 DIST radare2-5.9.0-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
 DIST radare2-5.9.0-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
 DIST radare2-5.9.0.tar.gz 11425359 BLAKE2B 
4e345eb93f50dd57f65d659e82918a3e83c29f86d758d6b98efbfea8a3ecebf2648d32dac53cc43c2a36b8a71aa969b6e1eaab87dd9bf667570110eb6ed056b1
 SHA512 
f184ad6e066a5113091912c11cca87cb9450eff20e920a00dc9da0efa9de97d6bfdaf44ae4d9e08a4760f4ebca82732832a309fad8452930adb4ee2438d9668e
+DIST radare2-5.9.2-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
+DIST radare2-5.9.2-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
+DIST radare2-5.9.2.tar.gz 11461281 BLAKE2B 
ac849ec4bc0e2a1b8447256362d8db2518d72e2a4af3d29f9c8931ac815c1b0c339a072312658bbd725097b3401f28beee31c6f99a5eb5a62ff3eb0cf7ed122f
 SHA512 
e190ec124c6d48e512939782148b23fb0ef50aeb66763c198fdf7a6329d6882bb49a10641902313045b6802fca233c56fbc0142155b52f915dab4099481923c9
 DIST radare2-testbins-32e2480e3b7b6959cd1ba483a200c792b4cb9236.tar.gz 
156265712 BLAKE2B 
4729c30f56ab9c318f8de83e2a0de820539351cb44aa64c500fa02ed94e4bf6494c60a928b64980767ec3003d72619c98769cfd229d8381524f5175027c03c2e
 SHA512 
d8de16e7aacd2ea4e5ecc85ddc1d38c4b8c47b37964c680084bfcb49144e2da783bccd859cb0a84de6080c7ce893af08f27d170725dcdc5f87ee4f830c5dc6da
+DIST radare2-testbins-ff7a8fb14610c87f7b2d3b185eb267f2aff381ca.tar.gz 
159774410 BLAKE2B 
65b7712ab444f79f18b3568c790e0cbd250e44cea8fbff5f2ed9caeb0898779928f5018a49fdbd5c2dfba57f01c8b4ceb9c0aa9248612a5c545a147b4f876d90
 SHA512 
666ea966d94c661ed22c400f5cb7e5c5ca6f914d2436007b5510a57e43609ebc2637606e17d49d9c67d880d5229c295e57cef2295c4d093b856ead1f3d0a7f0a

diff --git a/dev-util/radare2/radare2-5.9.2.ebuild 
b/dev-util/radare2/radare2-5.9.2.ebuild
new file mode 100644
index ..62dd267271be
--- /dev/null
+++ b/dev-util/radare2/radare2-5.9.2.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="https://www.radare.org";
+
+ARM64_COMMIT=55d73c6bbb94448a5c615933179e73ac618cf876
+ARMV7_COMMIT=f270a6cc99644cb8e76055b6fa632b25abd26024
+BINS_COMMIT=ff7a8fb14610c87f7b2d3b185eb267f2aff381ca
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/radareorg/radare2";
+else
+   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz
 -> ${P}-vector35-arm64.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMMIT}.tar.gz
 -> ${P}-vector35-armv7.tar.gz
+   test? ( 
https://github.com/radareorg/radare2-testbins/archive/${BINS_COMMIT}.tar.gz -> 
radare2-testbins-${BINS_COMMIT}.tar.gz )
+   "
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ssl test"
+
+# Need to audit licenses of the binaries used for testing
+RESTRICT="fetch !test? ( test )"
+
+RDEPEND="
+   >=dev-libs/capstone-5.0

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2024-06-19 Thread John Helmert III
commit: ce0ab67e626fa36fe4b715e9c6cb280dcb32dc87
Author: John Helmert III  gentoo  org>
AuthorDate: Wed Jun 19 18:18:26 2024 +
Commit: John Helmert III  gentoo  org>
CommitDate: Wed Jun 19 18:18:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce0ab67e

dev-util/radare2: drop 5.8.8-r1

Bug: https://bugs.gentoo.org/916508
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/Manifest|   4 -
 dev-util/radare2/radare2-5.8.8-r1.ebuild | 121 ---
 2 files changed, 125 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index bb27f3ab1991..5d673afa380f 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,8 +1,4 @@
-DIST radare2-5.8.8-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
-DIST radare2-5.8.8-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
-DIST radare2-5.8.8.tar.gz 11169182 BLAKE2B 
7730bfefba5e5b9196404219800693fe37bf86b97f196b200dfbda913c07001e970c98f4b999a059e9636983b7311880e37f436890a68397d732a5a463ce7015
 SHA512 
38f3373cc3029a7d92e1ae44ab515f0bea4c897cb981a904b40a7e05c04c29786dc8ac2f46fc97b495c4a2ec4905e0e196633dd3144c557c550239c462c9360b
 DIST radare2-5.9.0-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
 DIST radare2-5.9.0-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
 DIST radare2-5.9.0.tar.gz 11425359 BLAKE2B 
4e345eb93f50dd57f65d659e82918a3e83c29f86d758d6b98efbfea8a3ecebf2648d32dac53cc43c2a36b8a71aa969b6e1eaab87dd9bf667570110eb6ed056b1
 SHA512 
f184ad6e066a5113091912c11cca87cb9450eff20e920a00dc9da0efa9de97d6bfdaf44ae4d9e08a4760f4ebca82732832a309fad8452930adb4ee2438d9668e
 DIST radare2-testbins-32e2480e3b7b6959cd1ba483a200c792b4cb9236.tar.gz 
156265712 BLAKE2B 
4729c30f56ab9c318f8de83e2a0de820539351cb44aa64c500fa02ed94e4bf6494c60a928b64980767ec3003d72619c98769cfd229d8381524f5175027c03c2e
 SHA512 
d8de16e7aacd2ea4e5ecc85ddc1d38c4b8c47b37964c680084bfcb49144e2da783bccd859cb0a84de6080c7ce893af08f27d170725dcdc5f87ee4f830c5dc6da
-DIST radare2-testbins-b598433124fd1fad032e92ca2588b5c0e58674c4.tar.gz 
127941374 BLAKE2B 
5c4a0f804ded455ae90a546b487a49ed8e9fa19144970d271ef78cd7d6796b628aa4673fb1560b3802a3196558c785fdaf32c37f2b43a38f08650dbd0c1b52a9
 SHA512 
4ca82bff1055429c4d19f5dfa6a47664eb9c59ff45869419bcaada7579d785ad9540da81f834b4bb82c0a27602d80feeb0e891489c77bc30de7d7e531b948dc5

diff --git a/dev-util/radare2/radare2-5.8.8-r1.ebuild 
b/dev-util/radare2/radare2-5.8.8-r1.ebuild
deleted file mode 100644
index bf6f1ab75983..
--- a/dev-util/radare2/radare2-5.8.8-r1.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="https://www.radare.org";
-
-ARM64_COMMIT=55d73c6bbb94448a5c615933179e73ac618cf876
-ARMV7_COMMIT=f270a6cc99644cb8e76055b6fa632b25abd26024
-BINS_COMMIT=b598433124fd1fad032e92ca2588b5c0e58674c4
-
-if [[ ${PV} == * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/radareorg/radare2";
-else
-   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
-   
mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz
 -> ${P}-vector35-arm64.tar.gz
-   
mirror+https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMMIT}.tar.gz
 -> ${P}-vector35-armv7.tar.gz
-   test? ( 
https://github.com/radareorg/radare2-testbins/archive/${BINS_COMMIT}.tar.gz -> 
radare2-testbins-${BINS_COMMIT}.tar.gz )
-   "
-
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ssl test"
-
-# Need to audit licenses of the binaries used for testing
-RESTRICT="fetch !test? ( test )"
-
-RDEPEND="
-   >=dev-libs/capstone-5.0_rc4:=
-   dev-libs/lib

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/

2024-04-18 Thread Conrad Kostecki
commit: ef65f14c5b3c6dad7cb9848f20b2bc066cac6923
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu Apr 18 18:06:00 2024 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Apr 18 19:31:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef65f14c

dev-util/radare2: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/radare2-5.8.2-bundled-capstone.patch  | 21 -
 1 file changed, 21 deletions(-)

diff --git a/dev-util/radare2/files/radare2-5.8.2-bundled-capstone.patch 
b/dev-util/radare2/files/radare2-5.8.2-bundled-capstone.patch
deleted file mode 100644
index 31de9b72bb37..
--- a/dev-util/radare2/files/radare2-5.8.2-bundled-capstone.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Need to unbundle capstone due to broken capstone-5 compatibility:
-
-https://github.com/radareorg/radare2/issues/21204
-https://bugs.gentoo.org/891805
-
-diff --git a/shlr/Makefile b/shlr/Makefile
-index 5626a061ff..5e8af3b99b 100644
 a/shlr/Makefile
-+++ b/shlr/Makefile
-@@ -225,10 +225,7 @@ capstone-sync: capstone
- capstone-clean:
-   -$(MAKE) -C capstone clean
- 
--capstone: capstone-$(CS_VER).tar.gz
--  tar xzvf capstone-$(CS_VER).tar.gz
--  rm -rf capstone
--  mv capstone-$(CS_VER) capstone
-+capstone:
-   $(MAKE) patch-capstone
- 
- # already implemented in capstone.sh



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2024-04-14 Thread Matthew Smith
commit: 5473d40ed62097a4a3f2af44fcc4f89a08a66592
Author: David Roman  gmail  com>
AuthorDate: Tue Apr  2 13:04:47 2024 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Apr 14 16:06:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5473d40e

dev-util/radare2: drop 5.8.6, 5.8.8

Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36061
Signed-off-by: Matthew Smith  gentoo.org>

 dev-util/radare2/Manifest |   6 --
 dev-util/radare2/radare2-5.8.6.ebuild | 125 --
 dev-util/radare2/radare2-5.8.8.ebuild | 125 --
 3 files changed, 256 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index cca7e00c8ebc..bb27f3ab1991 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,8 +1,3 @@
-DIST radare2-5.8.6-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9
 SHA512 
7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
-DIST radare2-5.8.6-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
-DIST radare2-5.8.6-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
-DIST radare2-5.8.6.tar.gz 9704 BLAKE2B 
da53500982894a84de0a60640622b6498d3a6cc5236d7141cbd400b76448dc53535c74eef620e13531965c855124065a7f8ccfc3d8622c4e366100dc777e5274
 SHA512 
cd53ed7519d485253182d8d7d414b8d0927e65dd4d0c9716d0d8819e739c8e5e39deb702d93cb5a2a9425804d9798e6eb0acb58a4b904e25a9ba4fcad2315f47
-DIST radare2-5.8.8-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9
 SHA512 
7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
 DIST radare2-5.8.8-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
 DIST radare2-5.8.8-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
 DIST radare2-5.8.8.tar.gz 11169182 BLAKE2B 
7730bfefba5e5b9196404219800693fe37bf86b97f196b200dfbda913c07001e970c98f4b999a059e9636983b7311880e37f436890a68397d732a5a463ce7015
 SHA512 
38f3373cc3029a7d92e1ae44ab515f0bea4c897cb981a904b40a7e05c04c29786dc8ac2f46fc97b495c4a2ec4905e0e196633dd3144c557c550239c462c9360b
@@ -11,4 +6,3 @@ DIST radare2-5.9.0-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f70
 DIST radare2-5.9.0.tar.gz 11425359 BLAKE2B 
4e345eb93f50dd57f65d659e82918a3e83c29f86d758d6b98efbfea8a3ecebf2648d32dac53cc43c2a36b8a71aa969b6e1eaab87dd9bf667570110eb6ed056b1
 SHA512 
f184ad6e066a5113091912c11cca87cb9450eff20e920a00dc9da0efa9de97d6bfdaf44ae4d9e08a4760f4ebca82732832a309fad8452930adb4ee2438d9668e
 DIST radare2-testbins-32e2480e3b7b6959cd1ba483a200c792b4cb9236.tar.gz 
156265712 BLAKE2B 
4729c30f56ab9c318f8de83e2a0de820539351cb44aa64c500fa02ed94e4bf6494c60a928b64980767ec3003d72619c98769cfd229d8381524f5175027c03c2e
 SHA512 
d8de16e7aacd2ea4e5ecc85ddc1d38c4b8c47b37964c680084bfcb49144e2da783bccd859cb0a84de6080c7ce893af08f27d170725dcdc5f87ee4f830c5dc6da
 DIST radare2-testbins-b598433124fd1fad032e92ca2588b5c0e58674c4.tar.gz 
127941374 BLAKE2B 
5c4a0f804ded455ae90a546b487a49ed8e9fa19144970d271ef78cd7d6796b628aa4673fb1560b3802a3196558c785fdaf32c37f2b43a38f08650dbd0c1b52a9
 SHA512 
4ca82bff1055429c4d19f5dfa6a47664eb9c59ff45869419bcaada7579d785ad9540da81f834b4bb82c0a27602d80feeb0e891489c77bc30de7d7e531b948dc5
-DIST radare2-testbins-fbb0059b0a120fbb31d378affd8b47d0996f9676.tar.gz 
127037525 BLAKE2B 
d7387650bb0eeebb2fe247755c9640b1d089f91239a7669da888c13db62147cc0d51bbf17ecf060a789d0319048ee61c8eda9b8477267bd5f53093e1c3b28e98
 SHA512 
50942dd3f17ccf22b71f3e50fa78e12578966f7cdadbc45ba36719de9117fc0455a74038ed4d9436daa43b74050bea72848841787f7aa660ed765d4644da1fe8

diff --git a/dev-util/radare2/radare2-5.8.

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2024-04-14 Thread Matthew Smith
commit: 1de36cd6aec36d4d2b64ab3aaa05b77ecaeb12f2
Author: David Roman  gmail  com>
AuthorDate: Tue Apr  2 13:04:33 2024 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Apr 14 16:06:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de36cd6

dev-util/radare2: add 5.9.0

Bug: https://bugs.gentoo.org/916508
Signed-off-by: David Roman  gmail.com>
Signed-off-by: Matthew Smith  gentoo.org>

 dev-util/radare2/Manifest |   4 ++
 dev-util/radare2/radare2-5.9.0.ebuild | 121 ++
 2 files changed, 125 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 21fd081bc0d1..cca7e00c8ebc 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -6,5 +6,9 @@ DIST radare2-5.8.8-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce64956353
 DIST radare2-5.8.8-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
 DIST radare2-5.8.8-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
 DIST radare2-5.8.8.tar.gz 11169182 BLAKE2B 
7730bfefba5e5b9196404219800693fe37bf86b97f196b200dfbda913c07001e970c98f4b999a059e9636983b7311880e37f436890a68397d732a5a463ce7015
 SHA512 
38f3373cc3029a7d92e1ae44ab515f0bea4c897cb981a904b40a7e05c04c29786dc8ac2f46fc97b495c4a2ec4905e0e196633dd3144c557c550239c462c9360b
+DIST radare2-5.9.0-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
+DIST radare2-5.9.0-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
+DIST radare2-5.9.0.tar.gz 11425359 BLAKE2B 
4e345eb93f50dd57f65d659e82918a3e83c29f86d758d6b98efbfea8a3ecebf2648d32dac53cc43c2a36b8a71aa969b6e1eaab87dd9bf667570110eb6ed056b1
 SHA512 
f184ad6e066a5113091912c11cca87cb9450eff20e920a00dc9da0efa9de97d6bfdaf44ae4d9e08a4760f4ebca82732832a309fad8452930adb4ee2438d9668e
+DIST radare2-testbins-32e2480e3b7b6959cd1ba483a200c792b4cb9236.tar.gz 
156265712 BLAKE2B 
4729c30f56ab9c318f8de83e2a0de820539351cb44aa64c500fa02ed94e4bf6494c60a928b64980767ec3003d72619c98769cfd229d8381524f5175027c03c2e
 SHA512 
d8de16e7aacd2ea4e5ecc85ddc1d38c4b8c47b37964c680084bfcb49144e2da783bccd859cb0a84de6080c7ce893af08f27d170725dcdc5f87ee4f830c5dc6da
 DIST radare2-testbins-b598433124fd1fad032e92ca2588b5c0e58674c4.tar.gz 
127941374 BLAKE2B 
5c4a0f804ded455ae90a546b487a49ed8e9fa19144970d271ef78cd7d6796b628aa4673fb1560b3802a3196558c785fdaf32c37f2b43a38f08650dbd0c1b52a9
 SHA512 
4ca82bff1055429c4d19f5dfa6a47664eb9c59ff45869419bcaada7579d785ad9540da81f834b4bb82c0a27602d80feeb0e891489c77bc30de7d7e531b948dc5
 DIST radare2-testbins-fbb0059b0a120fbb31d378affd8b47d0996f9676.tar.gz 
127037525 BLAKE2B 
d7387650bb0eeebb2fe247755c9640b1d089f91239a7669da888c13db62147cc0d51bbf17ecf060a789d0319048ee61c8eda9b8477267bd5f53093e1c3b28e98
 SHA512 
50942dd3f17ccf22b71f3e50fa78e12578966f7cdadbc45ba36719de9117fc0455a74038ed4d9436daa43b74050bea72848841787f7aa660ed765d4644da1fe8

diff --git a/dev-util/radare2/radare2-5.9.0.ebuild 
b/dev-util/radare2/radare2-5.9.0.ebuild
new file mode 100644
index ..fcd2d8642dc6
--- /dev/null
+++ b/dev-util/radare2/radare2-5.9.0.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="https://www.radare.org";
+
+ARM64_COMMIT=55d73c6bbb94448a5c615933179e73ac618cf876
+ARMV7_COMMIT=f270a6cc99644cb8e76055b6fa632b25abd26024
+BINS_COMMIT=32e2480e3b7b6959cd1ba483a200c792b4cb9236
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/radareorg/radare2";
+else
+   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz
 -> ${P}-vector35-arm64.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMMIT}.tar.gz

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2023-06-18 Thread John Helmert III
commit: 34ac96b281fbbf9c2d22133a3b32136e3884b24e
Author: John Helmert III  gentoo  org>
AuthorDate: Sun Jun 18 18:58:37 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sun Jun 18 19:02:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34ac96b2

dev-util/radare2: use system capstone

Bug: https://bugs.gentoo.org/891805
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/radare2-5.8.8-r1.ebuild | 121 +++
 1 file changed, 121 insertions(+)

diff --git a/dev-util/radare2/radare2-5.8.8-r1.ebuild 
b/dev-util/radare2/radare2-5.8.8-r1.ebuild
new file mode 100644
index ..bf6f1ab75983
--- /dev/null
+++ b/dev-util/radare2/radare2-5.8.8-r1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="https://www.radare.org";
+
+ARM64_COMMIT=55d73c6bbb94448a5c615933179e73ac618cf876
+ARMV7_COMMIT=f270a6cc99644cb8e76055b6fa632b25abd26024
+BINS_COMMIT=b598433124fd1fad032e92ca2588b5c0e58674c4
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/radareorg/radare2";
+else
+   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz
 -> ${P}-vector35-arm64.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMMIT}.tar.gz
 -> ${P}-vector35-armv7.tar.gz
+   test? ( 
https://github.com/radareorg/radare2-testbins/archive/${BINS_COMMIT}.tar.gz -> 
radare2-testbins-${BINS_COMMIT}.tar.gz )
+   "
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ssl test"
+
+# Need to audit licenses of the binaries used for testing
+RESTRICT="fetch !test? ( test )"
+
+RDEPEND="
+   >=dev-libs/capstone-5.0_rc4:=
+   dev-libs/libzip:=
+   dev-libs/xxhash
+   sys-apps/file
+   sys-libs/zlib
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="
+   ${RDEPEND}
+   dev-util/gperf
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-5.8.2-vector35.patch"
+)
+
+src_prepare() {
+   default
+
+   # Hack for vector35 arm plugins
+   mv "${WORKDIR}/vector35-arch-arm64-${ARM64_COMMIT}" 
libr/arch/p/arm/v35/arch-arm64 || die
+   mv "${WORKDIR}/vector35-arch-armv7-${ARMV7_COMMIT}" 
libr/arch/p/arm/v35/arch-armv7 || die
+
+   if use test; then
+   cp -r "${WORKDIR}/radare2-testbins-${BINS_COMMIT}" 
"${S}/test/bins" || die
+   cp -r "${WORKDIR}/radare2-testbins-${BINS_COMMIT}" "${S}" || die
+   fi
+
+   # Fix hardcoded docdir for fortunes
+   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
+   libr/include/r_userconf.h.acr || die
+}
+
+src_configure() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
+   econf \
+   --without-libuv \
+   --with-syscapstone \
+   --with-sysmagic \
+   --with-sysxxhash \
+   --with-syszip \
+   $(use_with ssl openssl)
+}
+
+src_test() {
+   ln -fs "${S}/binr/radare2/radare2" "${S}/binr/radare2/r2" || die
+   LDFLAGS=""
+   for i in "${S}"/libr/*; do
+   if [[ -d ${i} ]]; then
+   LDFLAGS+="-Wl,-rpath=${i} -L${i} "
+   LD_LIBRARY_PATH+=":${i}"
+   fi
+   done
+   export LDFLAGS LD_LIBRARY_PATH
+   export PKG_CONFIG_PATH="${S}/pkgcfg"
+   PATH="${S}/binr/radare2:${PATH}" emake -C test -k unit-tests || die
+}
+
+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
+
+   # These are not really docs. radare assumes
+   # uncompressed files: bug #761250
+   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
+
+   # Create plugins directory although it's currently unsupported by 
radare2
+   keepdir "/usr/$(get_libdir)/radare2/${PV}" || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2023-06-17 Thread John Helmert III
commit: bc244c9b078286cdae2015f649ea59ba01997736
Author: David Roman  gmail  com>
AuthorDate: Tue Jun 13 15:36:19 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sat Jun 17 20:11:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc244c9b

dev-util/radare2: add 5.8.8

Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31420
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/Manifest |   5 ++
 dev-util/radare2/radare2-5.8.8.ebuild | 125 ++
 2 files changed, 130 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 8e30fc18ff5b..21fd081bc0d1 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -2,4 +2,9 @@ DIST radare2-5.8.6-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce64956353
 DIST radare2-5.8.6-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
 DIST radare2-5.8.6-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
 DIST radare2-5.8.6.tar.gz 9704 BLAKE2B 
da53500982894a84de0a60640622b6498d3a6cc5236d7141cbd400b76448dc53535c74eef620e13531965c855124065a7f8ccfc3d8622c4e366100dc777e5274
 SHA512 
cd53ed7519d485253182d8d7d414b8d0927e65dd4d0c9716d0d8819e739c8e5e39deb702d93cb5a2a9425804d9798e6eb0acb58a4b904e25a9ba4fcad2315f47
+DIST radare2-5.8.8-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9
 SHA512 
7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
+DIST radare2-5.8.8-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
+DIST radare2-5.8.8-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
+DIST radare2-5.8.8.tar.gz 11169182 BLAKE2B 
7730bfefba5e5b9196404219800693fe37bf86b97f196b200dfbda913c07001e970c98f4b999a059e9636983b7311880e37f436890a68397d732a5a463ce7015
 SHA512 
38f3373cc3029a7d92e1ae44ab515f0bea4c897cb981a904b40a7e05c04c29786dc8ac2f46fc97b495c4a2ec4905e0e196633dd3144c557c550239c462c9360b
+DIST radare2-testbins-b598433124fd1fad032e92ca2588b5c0e58674c4.tar.gz 
127941374 BLAKE2B 
5c4a0f804ded455ae90a546b487a49ed8e9fa19144970d271ef78cd7d6796b628aa4673fb1560b3802a3196558c785fdaf32c37f2b43a38f08650dbd0c1b52a9
 SHA512 
4ca82bff1055429c4d19f5dfa6a47664eb9c59ff45869419bcaada7579d785ad9540da81f834b4bb82c0a27602d80feeb0e891489c77bc30de7d7e531b948dc5
 DIST radare2-testbins-fbb0059b0a120fbb31d378affd8b47d0996f9676.tar.gz 
127037525 BLAKE2B 
d7387650bb0eeebb2fe247755c9640b1d089f91239a7669da888c13db62147cc0d51bbf17ecf060a789d0319048ee61c8eda9b8477267bd5f53093e1c3b28e98
 SHA512 
50942dd3f17ccf22b71f3e50fa78e12578966f7cdadbc45ba36719de9117fc0455a74038ed4d9436daa43b74050bea72848841787f7aa660ed765d4644da1fe8

diff --git a/dev-util/radare2/radare2-5.8.8.ebuild 
b/dev-util/radare2/radare2-5.8.8.ebuild
new file mode 100644
index ..d74025cdf3b9
--- /dev/null
+++ b/dev-util/radare2/radare2-5.8.8.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="https://www.radare.org";
+
+ARM64_COMMIT=55d73c6bbb94448a5c615933179e73ac618cf876
+ARMV7_COMMIT=f270a6cc99644cb8e76055b6fa632b25abd26024
+BINS_COMMIT=b598433124fd1fad032e92ca2588b5c0e58674c4
+CAPSTONE_VER=4.0.2
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/radareorg/radare2";
+else
+   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz
 -> ${P}-vector35-arm64.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMM

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2023-06-08 Thread John Helmert III
commit: dd0ec87d6d8984f7c89de21f735f487d331ab8ac
Author: John Helmert III  gentoo  org>
AuthorDate: Fri Jun  9 04:43:27 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Fri Jun  9 04:43:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd0ec87d

dev-util/radare2: drop 5.8.2

Bug: https://bugs.gentoo.org/903151
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/Manifest |   5 --
 dev-util/radare2/radare2-5.8.2.ebuild | 125 --
 2 files changed, 130 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index d4cd3ddfd708..8e30fc18ff5b 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,10 +1,5 @@
-DIST radare2-5.8.2-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9
 SHA512 
7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
-DIST radare2-5.8.2-vector35-arm64.tar.gz 1021315 BLAKE2B 
8741de83cddda878536627c0ff6be1f7d4842cf0fefeae2895fe751e39768134f6048167d5aa265169bc22b229a8b66ce37f4ef4df3abc2b3e304dc1f1fe17d1
 SHA512 
9b0fcf9119304e90b3fbed5e0509a819a0a561953681f5e5f408b55db3b0c962dca59c48553cffef21a56772db7871a3987f0f7c07b5538fd4b7d1af005ccdb0
-DIST radare2-5.8.2-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
-DIST radare2-5.8.2.tar.gz 11017554 BLAKE2B 
712941ac5871f2201ba806dc7b68ae1825c8dbe896b11aaa6b086651ff28a6d3b7e54b55621e7cc143748d7760ea7007f4dc70232ef16dfe5523a0ab87f0f266
 SHA512 
3c09d89172ac9a5cee6e52294f10b144237acb31b3d470521a7c8650511a58d1732c73004f2dbb1e6e3c43829e3e310b89d6a8abd5f1fb4fdfd3fea8779a72ec
 DIST radare2-5.8.6-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9
 SHA512 
7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
 DIST radare2-5.8.6-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
 DIST radare2-5.8.6-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
 DIST radare2-5.8.6.tar.gz 9704 BLAKE2B 
da53500982894a84de0a60640622b6498d3a6cc5236d7141cbd400b76448dc53535c74eef620e13531965c855124065a7f8ccfc3d8622c4e366100dc777e5274
 SHA512 
cd53ed7519d485253182d8d7d414b8d0927e65dd4d0c9716d0d8819e739c8e5e39deb702d93cb5a2a9425804d9798e6eb0acb58a4b904e25a9ba4fcad2315f47
-DIST radare2-testbins-1f0ea409f2af83fc4d0b685855de9d3b0f9eee41.tar.gz 
125596301 BLAKE2B 
55b876b09150e780359e753d26143640d410c1c15ace2e29bc06d2163657af2089c5044847f107e20256875c7ea5e7cc72460010df0c662c9da933a0388a3f0e
 SHA512 
44662f0217871a51b856f66e876eb57b2006f6350e6bcfae6629b800197b6f30196caf2474d52881a398fd1d65c68364d870b7de692c9e9a2bd1fab493afe3d0
 DIST radare2-testbins-fbb0059b0a120fbb31d378affd8b47d0996f9676.tar.gz 
127037525 BLAKE2B 
d7387650bb0eeebb2fe247755c9640b1d089f91239a7669da888c13db62147cc0d51bbf17ecf060a789d0319048ee61c8eda9b8477267bd5f53093e1c3b28e98
 SHA512 
50942dd3f17ccf22b71f3e50fa78e12578966f7cdadbc45ba36719de9117fc0455a74038ed4d9436daa43b74050bea72848841787f7aa660ed765d4644da1fe8

diff --git a/dev-util/radare2/radare2-5.8.2.ebuild 
b/dev-util/radare2/radare2-5.8.2.ebuild
deleted file mode 100644
index e54517f249a2..
--- a/dev-util/radare2/radare2-5.8.2.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="https://www.radare.org";
-
-ARM64_COMMIT=c9e7242972837ac11fc94db05fabcb801a8269c9
-ARMV7_COMMIT=f270a6cc99644cb8e76055b6fa632b25abd26024
-BINS_COMMIT=1f0ea409f2af83fc4d0b685855de9d3b0f9eee41
-CAPSTONE_VER=4.0.2
-
-if [[ ${PV} == * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/radareorg/radare2";
-else
-   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
-   
mirror+http

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2023-05-27 Thread Joonas Niilola
commit: e7b7ea34b8674590c9eb28f7ab1e1dea768eae47
Author: David Roman  gmail  com>
AuthorDate: Mon May 22 12:57:56 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat May 27 07:49:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b7ea34

dev-util/radare2: add 5.8.6

Closes: https://bugs.gentoo.org/904279
Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31125
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/radare2/Manifest |   5 ++
 dev-util/radare2/radare2-5.8.6.ebuild | 125 ++
 2 files changed, 130 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 52d2f8271e66..d4cd3ddfd708 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -2,4 +2,9 @@ DIST radare2-5.8.2-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce64956353
 DIST radare2-5.8.2-vector35-arm64.tar.gz 1021315 BLAKE2B 
8741de83cddda878536627c0ff6be1f7d4842cf0fefeae2895fe751e39768134f6048167d5aa265169bc22b229a8b66ce37f4ef4df3abc2b3e304dc1f1fe17d1
 SHA512 
9b0fcf9119304e90b3fbed5e0509a819a0a561953681f5e5f408b55db3b0c962dca59c48553cffef21a56772db7871a3987f0f7c07b5538fd4b7d1af005ccdb0
 DIST radare2-5.8.2-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
 DIST radare2-5.8.2.tar.gz 11017554 BLAKE2B 
712941ac5871f2201ba806dc7b68ae1825c8dbe896b11aaa6b086651ff28a6d3b7e54b55621e7cc143748d7760ea7007f4dc70232ef16dfe5523a0ab87f0f266
 SHA512 
3c09d89172ac9a5cee6e52294f10b144237acb31b3d470521a7c8650511a58d1732c73004f2dbb1e6e3c43829e3e310b89d6a8abd5f1fb4fdfd3fea8779a72ec
+DIST radare2-5.8.6-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9
 SHA512 
7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
+DIST radare2-5.8.6-vector35-arm64.tar.gz 1050988 BLAKE2B 
889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9
 SHA512 
433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
+DIST radare2-5.8.6-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
+DIST radare2-5.8.6.tar.gz 9704 BLAKE2B 
da53500982894a84de0a60640622b6498d3a6cc5236d7141cbd400b76448dc53535c74eef620e13531965c855124065a7f8ccfc3d8622c4e366100dc777e5274
 SHA512 
cd53ed7519d485253182d8d7d414b8d0927e65dd4d0c9716d0d8819e739c8e5e39deb702d93cb5a2a9425804d9798e6eb0acb58a4b904e25a9ba4fcad2315f47
 DIST radare2-testbins-1f0ea409f2af83fc4d0b685855de9d3b0f9eee41.tar.gz 
125596301 BLAKE2B 
55b876b09150e780359e753d26143640d410c1c15ace2e29bc06d2163657af2089c5044847f107e20256875c7ea5e7cc72460010df0c662c9da933a0388a3f0e
 SHA512 
44662f0217871a51b856f66e876eb57b2006f6350e6bcfae6629b800197b6f30196caf2474d52881a398fd1d65c68364d870b7de692c9e9a2bd1fab493afe3d0
+DIST radare2-testbins-fbb0059b0a120fbb31d378affd8b47d0996f9676.tar.gz 
127037525 BLAKE2B 
d7387650bb0eeebb2fe247755c9640b1d089f91239a7669da888c13db62147cc0d51bbf17ecf060a789d0319048ee61c8eda9b8477267bd5f53093e1c3b28e98
 SHA512 
50942dd3f17ccf22b71f3e50fa78e12578966f7cdadbc45ba36719de9117fc0455a74038ed4d9436daa43b74050bea72848841787f7aa660ed765d4644da1fe8

diff --git a/dev-util/radare2/radare2-5.8.6.ebuild 
b/dev-util/radare2/radare2-5.8.6.ebuild
new file mode 100644
index ..83d4c245039c
--- /dev/null
+++ b/dev-util/radare2/radare2-5.8.6.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="https://www.radare.org";
+
+ARM64_COMMIT=55d73c6bbb94448a5c615933179e73ac618cf876
+ARMV7_COMMIT=f270a6cc99644cb8e76055b6fa632b25abd26024
+BINS_COMMIT=fbb0059b0a120fbb31d378affd8b47d0996f9676
+CAPSTONE_VER=4.0.2
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/radareorg/radare2";
+else
+   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz
 -> ${P}-vector35-arm64.tar.gz
+   
mirror+https://github.com/radareorg/vecto

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2023-01-22 Thread John Helmert III
commit: f6b02f1030e87d04391b24bdb861bd6406bf2beb
Author: John Helmert III  gentoo  org>
AuthorDate: Mon Jan 23 04:32:22 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Mon Jan 23 04:32:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6b02f10

dev-util/radare2: drop 5.7.4, 5.7.6, 5.7.8

Bug: https://bugs.gentoo.org/885395
Bug: https://bugs.gentoo.org/889026
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/Manifest  |  11 --
 .../radare2/files/radare2-5.7.0-vector35.patch |  22 
 dev-util/radare2/radare2-5.7.4.ebuild  | 119 -
 dev-util/radare2/radare2-5.7.6.ebuild  | 119 -
 dev-util/radare2/radare2-5.7.8.ebuild  | 119 -
 5 files changed, 390 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 942e4cb4793e..52d2f8271e66 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,16 +1,5 @@
-DIST radare2-5.7.4-vector35-arm64.tar.gz 1050970 BLAKE2B 
17b9f730b514d959640bd259af9ebdb44b951eb839dc62160da167f2ea3906a60b10e20ff32561cc9b625dfffd1a83d25f484c91e1976d61a18dd04b9bed9862
 SHA512 
bee2f8685dc3760fd51eaa2ab9c68aed2833386145fe164ca6dfc4a5aab20596d1c6305167da2c7410c25be1391853f82fddc1cfa2bfa8e473d7f52129c44a3b
-DIST radare2-5.7.4-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
-DIST radare2-5.7.4.tar.gz 9814654 BLAKE2B 
ae8ed1d7b417236c27ee4857f7c33d657d379b46119391037bdb82ddb5b36ab89088c1c0d958757b7cb7fe87a70dd1b288e082af802c818d83d159e7a8460a8a
 SHA512 
e3fc159f2c009ef98c14930086a34cbbb848f779b37206332ee713daa25d803911652d9f1c28b4f23eca02ac103efe9bca4dea65758f1a2077b1eb1279fc1212
-DIST radare2-5.7.6-vector35-arm64.tar.gz 1050960 BLAKE2B 
12faa86a4cdfd9cdc8e307c16d8f797ae3ee800b72e76c6ace84cb7cb5108198dbfbc9a00df6b70448628dc869c94bf8cf9794460d05be99e5a08ee5a3ed40de
 SHA512 
478f06c3fe09232152bbb63e500a440ca8546cc11fe59f9d489a25d327469b1869fe80b4e2e2cfad8a2b96261857cf74b6708628ac30ec8dabc5da05d04c1cfd
-DIST radare2-5.7.6-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
-DIST radare2-5.7.6.tar.gz 10071795 BLAKE2B 
e0bd54fcf4a56b34ec6f3b87ab6a20a8be23514e48842d66d7a30f517fa9ba871bd1e740604840fb16a3ae1329221ee67645774ac7df9f8f8d00dc3548dc7830
 SHA512 
04717ddb4bef9ed415c22aa25a0bf626f05c5d32133ac46d5e8a30ebe83e7b782a2b1835233f17f16315a99a39b33dd4e67c34798eb8ae9fbc6db51ca1051e94
-DIST radare2-5.7.8-vector35-arm64.tar.gz 1050960 BLAKE2B 
12faa86a4cdfd9cdc8e307c16d8f797ae3ee800b72e76c6ace84cb7cb5108198dbfbc9a00df6b70448628dc869c94bf8cf9794460d05be99e5a08ee5a3ed40de
 SHA512 
478f06c3fe09232152bbb63e500a440ca8546cc11fe59f9d489a25d327469b1869fe80b4e2e2cfad8a2b96261857cf74b6708628ac30ec8dabc5da05d04c1cfd
-DIST radare2-5.7.8-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
-DIST radare2-5.7.8.tar.gz 10324020 BLAKE2B 
628b0c146a8e797f34f43f8d76166fb8c5e945a45232c2e4d63b2c2ce89aef96a20349c519ceb62921bad75ce5faaa8ea51ab1dac79156e00eef8f9ef06f5a45
 SHA512 
7c819a052f5e4b3da72b945915fca92a747c52dc2e2fa8483a8c2d8e71479ce374efbbe2bc02b1b4af26db6a891b6e44cdbb9e062de2f13b22a258cceab561f6
 DIST radare2-5.8.2-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9
 SHA512 
7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
 DIST radare2-5.8.2-vector35-arm64.tar.gz 1021315 BLAKE2B 
8741de83cddda878536627c0ff6be1f7d4842cf0fefeae2895fe751e39768134f6048167d5aa265169bc22b229a8b66ce37f4ef4df3abc2b3e304dc1f1fe17d1
 SHA512 
9b0fcf9119304e90b3fbed5e0509a819a0a561953681f5e5f408b55db3b0c962dca59c48553cffef21a56772db7871a3987f0f7c07b5538fd4b7d1af005ccdb0
 DIST radare2-5.8.2-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
 DIST radare2-5.8.2.tar.gz 11017554 BLAKE2B 
712941ac5871f2201ba806dc7b68ae1825c8dbe

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/, dev-util/radare2/files/

2023-01-22 Thread John Helmert III
commit: 309640e8da12494bdc227e238bdbd7435cb415f9
Author: John Helmert III  gentoo  org>
AuthorDate: Mon Jan 23 03:38:19 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Mon Jan 23 04:32:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309640e8

dev-util/radare2: add 5.8.2

Unbundle capstone to avoid upstream requirement of capstone-5 patches
which are not shipped in Gentoo's capstone package.

Bug: https://bugs.gentoo.org/885395
Bug: https://bugs.gentoo.org/889026
Bug: https://bugs.gentoo.org/891805
Closes: https://github.com/gentoo/gentoo/pull/29223
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/Manifest  |   5 +
 .../files/radare2-5.8.2-bundled-capstone.patch |  21 
 .../radare2/files/radare2-5.8.2-vector35.patch |  24 
 dev-util/radare2/radare2-5.8.2.ebuild  | 125 +
 4 files changed, 175 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 8929834b2409..942e4cb4793e 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -7,5 +7,10 @@ DIST radare2-5.7.6.tar.gz 10071795 BLAKE2B 
e0bd54fcf4a56b34ec6f3b87ab6a20a8be235
 DIST radare2-5.7.8-vector35-arm64.tar.gz 1050960 BLAKE2B 
12faa86a4cdfd9cdc8e307c16d8f797ae3ee800b72e76c6ace84cb7cb5108198dbfbc9a00df6b70448628dc869c94bf8cf9794460d05be99e5a08ee5a3ed40de
 SHA512 
478f06c3fe09232152bbb63e500a440ca8546cc11fe59f9d489a25d327469b1869fe80b4e2e2cfad8a2b96261857cf74b6708628ac30ec8dabc5da05d04c1cfd
 DIST radare2-5.7.8-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
 DIST radare2-5.7.8.tar.gz 10324020 BLAKE2B 
628b0c146a8e797f34f43f8d76166fb8c5e945a45232c2e4d63b2c2ce89aef96a20349c519ceb62921bad75ce5faaa8ea51ab1dac79156e00eef8f9ef06f5a45
 SHA512 
7c819a052f5e4b3da72b945915fca92a747c52dc2e2fa8483a8c2d8e71479ce374efbbe2bc02b1b4af26db6a891b6e44cdbb9e062de2f13b22a258cceab561f6
+DIST radare2-5.8.2-capstone-4.0.2.tar.gz 3439542 BLAKE2B 
435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9
 SHA512 
7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
+DIST radare2-5.8.2-vector35-arm64.tar.gz 1021315 BLAKE2B 
8741de83cddda878536627c0ff6be1f7d4842cf0fefeae2895fe751e39768134f6048167d5aa265169bc22b229a8b66ce37f4ef4df3abc2b3e304dc1f1fe17d1
 SHA512 
9b0fcf9119304e90b3fbed5e0509a819a0a561953681f5e5f408b55db3b0c962dca59c48553cffef21a56772db7871a3987f0f7c07b5538fd4b7d1af005ccdb0
+DIST radare2-5.8.2-vector35-armv7.tar.gz 255278 BLAKE2B 
8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21
 SHA512 
40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
+DIST radare2-5.8.2.tar.gz 11017554 BLAKE2B 
712941ac5871f2201ba806dc7b68ae1825c8dbe896b11aaa6b086651ff28a6d3b7e54b55621e7cc143748d7760ea7007f4dc70232ef16dfe5523a0ab87f0f266
 SHA512 
3c09d89172ac9a5cee6e52294f10b144237acb31b3d470521a7c8650511a58d1732c73004f2dbb1e6e3c43829e3e310b89d6a8abd5f1fb4fdfd3fea8779a72ec
+DIST radare2-testbins-1f0ea409f2af83fc4d0b685855de9d3b0f9eee41.tar.gz 
125596301 BLAKE2B 
55b876b09150e780359e753d26143640d410c1c15ace2e29bc06d2163657af2089c5044847f107e20256875c7ea5e7cc72460010df0c662c9da933a0388a3f0e
 SHA512 
44662f0217871a51b856f66e876eb57b2006f6350e6bcfae6629b800197b6f30196caf2474d52881a398fd1d65c68364d870b7de692c9e9a2bd1fab493afe3d0
 DIST radare2-testbins-2fdb78f7f754b3aea90377588d45b774ccb41086.tar.gz 
120580683 BLAKE2B 
ba16206f3c44f43c36fbc3079e43d29cd5b6266f8bd31602d7ec218a2b14601173c9022be9329975bd28de948933deeecc052f56c2acd9d6dfeb5576049ec32f
 SHA512 
2c66c8f68df7c51a52a73b33e854b095a4f5435c60eab2a1456f366376aac0f7c39836699e09eae2918f31e75b7c6562994f0916f45de53ae6a480506da95dcb
 DIST radare2-testbins-602471f72caa60d6ece43c3fa483c43decf7052c.tar.gz 
124090448 BLAKE2B 
446f4b730095dc263f31bbd886b350fbf3cbde0cd3bc6f5ed0c5d65a90a66b4d97a7397798c0f6fb7596722d827a3805c6d4d810d06837cf46e8798cedb1fea4
 SHA512 
b490ec951813827bed940ca4fc772691f8e446ce14cf2f0cc7fe2027a481c91939e6212ce94237f71091c18ac8428c9a4a4f35fc58f41ba076c1da75835d0ff4

diff --git a/dev-util/radare2/files/radare2-5.8.2-bundled-capstone.patch 
b/dev-util/radare2/files/radare2-5.8.2-bundled-capstone.patch
new file mode 100644
index ..31de9b72bb37
--- /dev/null
+++ b/dev-util/radare2/files/radare2-5.8.2-bundled-capstone.patch
@@ -0,0 +1,21 @@
+Need to unbundle capstone due to broken capstone-5 compatibility:
+
+https://github.com/radareorg/radare2/issues/21204
+https://bugs.gentoo.org/891805
+

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2023-01-22 Thread John Helmert III
commit: 19d22289a845fb33f1cb0888261ff0065ceb9c58
Author: John Helmert III  gentoo  org>
AuthorDate: Mon Jan 23 02:56:37 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Mon Jan 23 03:37:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19d22289

dev-util/radare2: add github upstream metadata

Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-util/radare2/metadata.xml b/dev-util/radare2/metadata.xml
index 0ba1db190ab2..0ed6c8845228 100644
--- a/dev-util/radare2/metadata.xml
+++ b/dev-util/radare2/metadata.xml
@@ -9,4 +9,7 @@
proxy-ma...@gentoo.org
Proxy Maintainers

+   
+   radareorg/radare2
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2022-10-02 Thread Florian Schmaus
commit: df630c02c167aa59d498dc041b5fe5b9df9d0dce
Author: David Roman  gmail  com>
AuthorDate: Fri Sep 16 14:54:24 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Oct  2 14:53:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df630c02

dev-util/radare2: add 5.7.8

Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27281
Signed-off-by: Florian Schmaus  gentoo.org>

 dev-util/radare2/Manifest |   3 +
 dev-util/radare2/radare2-5.7.8.ebuild | 119 ++
 2 files changed, 122 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 9da021966bb5..8929834b2409 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -4,5 +4,8 @@ DIST radare2-5.7.4.tar.gz 9814654 BLAKE2B 
ae8ed1d7b417236c27ee4857f7c33d657d379b
 DIST radare2-5.7.6-vector35-arm64.tar.gz 1050960 BLAKE2B 
12faa86a4cdfd9cdc8e307c16d8f797ae3ee800b72e76c6ace84cb7cb5108198dbfbc9a00df6b70448628dc869c94bf8cf9794460d05be99e5a08ee5a3ed40de
 SHA512 
478f06c3fe09232152bbb63e500a440ca8546cc11fe59f9d489a25d327469b1869fe80b4e2e2cfad8a2b96261857cf74b6708628ac30ec8dabc5da05d04c1cfd
 DIST radare2-5.7.6-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
 DIST radare2-5.7.6.tar.gz 10071795 BLAKE2B 
e0bd54fcf4a56b34ec6f3b87ab6a20a8be23514e48842d66d7a30f517fa9ba871bd1e740604840fb16a3ae1329221ee67645774ac7df9f8f8d00dc3548dc7830
 SHA512 
04717ddb4bef9ed415c22aa25a0bf626f05c5d32133ac46d5e8a30ebe83e7b782a2b1835233f17f16315a99a39b33dd4e67c34798eb8ae9fbc6db51ca1051e94
+DIST radare2-5.7.8-vector35-arm64.tar.gz 1050960 BLAKE2B 
12faa86a4cdfd9cdc8e307c16d8f797ae3ee800b72e76c6ace84cb7cb5108198dbfbc9a00df6b70448628dc869c94bf8cf9794460d05be99e5a08ee5a3ed40de
 SHA512 
478f06c3fe09232152bbb63e500a440ca8546cc11fe59f9d489a25d327469b1869fe80b4e2e2cfad8a2b96261857cf74b6708628ac30ec8dabc5da05d04c1cfd
+DIST radare2-5.7.8-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
+DIST radare2-5.7.8.tar.gz 10324020 BLAKE2B 
628b0c146a8e797f34f43f8d76166fb8c5e945a45232c2e4d63b2c2ce89aef96a20349c519ceb62921bad75ce5faaa8ea51ab1dac79156e00eef8f9ef06f5a45
 SHA512 
7c819a052f5e4b3da72b945915fca92a747c52dc2e2fa8483a8c2d8e71479ce374efbbe2bc02b1b4af26db6a891b6e44cdbb9e062de2f13b22a258cceab561f6
 DIST radare2-testbins-2fdb78f7f754b3aea90377588d45b774ccb41086.tar.gz 
120580683 BLAKE2B 
ba16206f3c44f43c36fbc3079e43d29cd5b6266f8bd31602d7ec218a2b14601173c9022be9329975bd28de948933deeecc052f56c2acd9d6dfeb5576049ec32f
 SHA512 
2c66c8f68df7c51a52a73b33e854b095a4f5435c60eab2a1456f366376aac0f7c39836699e09eae2918f31e75b7c6562994f0916f45de53ae6a480506da95dcb
 DIST radare2-testbins-602471f72caa60d6ece43c3fa483c43decf7052c.tar.gz 
124090448 BLAKE2B 
446f4b730095dc263f31bbd886b350fbf3cbde0cd3bc6f5ed0c5d65a90a66b4d97a7397798c0f6fb7596722d827a3805c6d4d810d06837cf46e8798cedb1fea4
 SHA512 
b490ec951813827bed940ca4fc772691f8e446ce14cf2f0cc7fe2027a481c91939e6212ce94237f71091c18ac8428c9a4a4f35fc58f41ba076c1da75835d0ff4

diff --git a/dev-util/radare2/radare2-5.7.8.ebuild 
b/dev-util/radare2/radare2-5.7.8.ebuild
new file mode 100644
index ..8d4bfd6a4e75
--- /dev/null
+++ b/dev-util/radare2/radare2-5.7.8.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="https://www.radare.org";
+
+ARM64_COMMIT=9ab2b0bedde459dc86e079718333de4a63bbbacb
+ARMV7_COMMIT=dde39f69ffea19fc37e681874b12cb4707bc4f30
+BINS_COMMIT=602471f72caa60d6ece43c3fa483c43decf7052c
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/radareorg/radare2";
+else
+   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz
 -> ${P}-vector35-arm64.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMMIT}.tar.gz
 -> ${P}-vector35-armv7.tar.gz
+   test? ( 
https://github.com/radareorg/radare2-testbins/archive/${BINS_COMMIT}.tar.gz -> 
radare2-testbins-${BINS_COMMIT}.tar.gz )
+   "
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ssl test"
+
+# Need to audit licenses of the binaries used for tes

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/

2022-09-12 Thread Joonas Niilola
commit: 38e9deb2dacc988801260f8ded292fe1c2b15f3f
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Sep 12 17:21:04 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Sep 12 17:26:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e9deb2

dev-util/radare2: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.36 / pkgdev 0.2.1 / pkgcheck 0.10.14
Closes: https://github.com/gentoo/gentoo/pull/27227
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/radare2/files/CVE-2022-1437.patch | 72 --
 .../radare2/files/radare2-5.5.0-vector35.patch | 22 ---
 2 files changed, 94 deletions(-)

diff --git a/dev-util/radare2/files/CVE-2022-1437.patch 
b/dev-util/radare2/files/CVE-2022-1437.patch
deleted file mode 100644
index 16e67c5d3193..
--- a/dev-util/radare2/files/CVE-2022-1437.patch
+++ /dev/null
@@ -1,72 +0,0 @@
 a/libr/bin/format/mach0/coresymbolication.c
-+++ b/libr/bin/format/mach0/coresymbolication.c
-@@ -269,6 +269,9 @@ RCoreSymCacheElement *r_coresym_cache_element_new(RBinFile 
*bf, RBuffer *buf, ut
-   for (i = 0; i < hdr->n_sections && cursor < end; i++) {
-   ut8 *sect_start = cursor;
-   RCoreSymCacheElementSection *sect = 
&result->sections[i];
-+  if (cursor + (word_size * 4) > end) {
-+  goto beach;
-+  }
-   sect->vaddr = sect->paddr = r_read_ble (cursor, false, 
bits);
-   if (sect->vaddr < page_zero_size) {
-   sect->vaddr += page_zero_size;
-@@ -359,6 +362,10 @@ RCoreSymCacheElement 
*r_coresym_cache_element_new(RBinFile *bf, RBuffer *buf, ut
-   continue;
-   }
-   string_origin = relative_to_strings? b + 
start_of_strings : cursor;
-+  if (!string_origin) {
-+  cursor += R_CS_EL_SIZE_LSYM;
-+  continue;
-+  }
-   lsym->flc.file = str_dup_safe (b, string_origin + 
file_name_off, end);
-   if (!lsym->flc.file) {
-   cursor += R_CS_EL_SIZE_LSYM;
 a/libr/bin/p/bin_symbols.c
-+++ b/libr/bin/p/bin_symbols.c
-@@ -353,28 +353,30 @@ static bool check_buffer(RBinFile *bf, RBuffer *b) {
- }
- 
- static RList *symbols(RBinFile *bf) {
--  RList *res = r_list_newf ((RListFree)r_bin_symbol_free);
--  r_return_val_if_fail (res && bf->o && bf->o->bin_obj, res);
-+  r_return_val_if_fail (bf && bf->o && bf->o->bin_obj, NULL);
-   RCoreSymCacheElement *element = bf->o->bin_obj;
-   size_t i;
-   HtUU *hash = ht_uu_new0 ();
-   if (!hash) {
--  return res;
-+  return NULL;
-   }
-+  RList *res = r_list_newf ((RListFree)r_bin_symbol_free);
-   bool found = false;
--  for (i = 0; i < element->hdr->n_lined_symbols; i++) {
--  RCoreSymCacheElementSymbol *sym = (RCoreSymCacheElementSymbol 
*)&element->lined_symbols[i];
--  if (!sym) {
--  break;
--  }
--  ht_uu_find (hash, sym->paddr, &found);
--  if (found) {
--  continue;
--  }
--  RBinSymbol *s = bin_symbol_from_symbol (element, sym);
--  if (s) {
--  r_list_append (res, s);
--  ht_uu_insert (hash, sym->paddr, 1);
-+  if (element->lined_symbols) {
-+  for (i = 0; i < element->hdr->n_lined_symbols; i++) {
-+  RCoreSymCacheElementSymbol *sym = 
(RCoreSymCacheElementSymbol *)&element->lined_symbols[i];
-+  if (!sym) {
-+  break;
-+  }
-+  ht_uu_find (hash, sym->paddr, &found);
-+  if (found) {
-+  continue;
-+  }
-+  RBinSymbol *s = bin_symbol_from_symbol (element, sym);
-+  if (s) {
-+  r_list_append (res, s);
-+  ht_uu_insert (hash, sym->paddr, 1);
-+  }
-   }
-   }
-   if (element->symbols) {

diff --git a/dev-util/radare2/files/radare2-5.5.0-vector35.patch 
b/dev-util/radare2/files/radare2-5.5.0-vector35.patch
deleted file mode 100644
index 5ebf58020d4d..
--- a/dev-util/radare2/files/radare2-5.5.0-vector35.patch
+++ /dev/null
@@ -1,22 +0,0 @@
 a/libr/asm/arch/arm/v35arm64/Makefile
-+++ b/libr/asm/arch/arm/v35arm64/Makefile
-@@ -30,8 +30,7 @@ $(ALIBS): arch-arm64 arch-armv7
- 
- ## ARM64
- arch-arm64:
--  git clone -q https://github.com/radareorg/vector35-arch-arm64 arch-arm64
--  cd arch-arm64 && git checkout -q ra

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2022-09-07 Thread John Helmert III
commit: 0a99ad2d50445f19fc828c0782dafdeb6eccc3f1
Author: David Roman  ifae  es>
AuthorDate: Mon Sep  5 13:14:11 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Wed Sep  7 18:52:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a99ad2d

dev-util/radare2: add 5.7.6

Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27162
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/Manifest |   4 ++
 dev-util/radare2/radare2-5.7.6.ebuild | 119 ++
 2 files changed, 123 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index e02a5f21b9a5..9da021966bb5 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,4 +1,8 @@
 DIST radare2-5.7.4-vector35-arm64.tar.gz 1050970 BLAKE2B 
17b9f730b514d959640bd259af9ebdb44b951eb839dc62160da167f2ea3906a60b10e20ff32561cc9b625dfffd1a83d25f484c91e1976d61a18dd04b9bed9862
 SHA512 
bee2f8685dc3760fd51eaa2ab9c68aed2833386145fe164ca6dfc4a5aab20596d1c6305167da2c7410c25be1391853f82fddc1cfa2bfa8e473d7f52129c44a3b
 DIST radare2-5.7.4-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
 DIST radare2-5.7.4.tar.gz 9814654 BLAKE2B 
ae8ed1d7b417236c27ee4857f7c33d657d379b46119391037bdb82ddb5b36ab89088c1c0d958757b7cb7fe87a70dd1b288e082af802c818d83d159e7a8460a8a
 SHA512 
e3fc159f2c009ef98c14930086a34cbbb848f779b37206332ee713daa25d803911652d9f1c28b4f23eca02ac103efe9bca4dea65758f1a2077b1eb1279fc1212
+DIST radare2-5.7.6-vector35-arm64.tar.gz 1050960 BLAKE2B 
12faa86a4cdfd9cdc8e307c16d8f797ae3ee800b72e76c6ace84cb7cb5108198dbfbc9a00df6b70448628dc869c94bf8cf9794460d05be99e5a08ee5a3ed40de
 SHA512 
478f06c3fe09232152bbb63e500a440ca8546cc11fe59f9d489a25d327469b1869fe80b4e2e2cfad8a2b96261857cf74b6708628ac30ec8dabc5da05d04c1cfd
+DIST radare2-5.7.6-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
+DIST radare2-5.7.6.tar.gz 10071795 BLAKE2B 
e0bd54fcf4a56b34ec6f3b87ab6a20a8be23514e48842d66d7a30f517fa9ba871bd1e740604840fb16a3ae1329221ee67645774ac7df9f8f8d00dc3548dc7830
 SHA512 
04717ddb4bef9ed415c22aa25a0bf626f05c5d32133ac46d5e8a30ebe83e7b782a2b1835233f17f16315a99a39b33dd4e67c34798eb8ae9fbc6db51ca1051e94
 DIST radare2-testbins-2fdb78f7f754b3aea90377588d45b774ccb41086.tar.gz 
120580683 BLAKE2B 
ba16206f3c44f43c36fbc3079e43d29cd5b6266f8bd31602d7ec218a2b14601173c9022be9329975bd28de948933deeecc052f56c2acd9d6dfeb5576049ec32f
 SHA512 
2c66c8f68df7c51a52a73b33e854b095a4f5435c60eab2a1456f366376aac0f7c39836699e09eae2918f31e75b7c6562994f0916f45de53ae6a480506da95dcb
+DIST radare2-testbins-602471f72caa60d6ece43c3fa483c43decf7052c.tar.gz 
124090448 BLAKE2B 
446f4b730095dc263f31bbd886b350fbf3cbde0cd3bc6f5ed0c5d65a90a66b4d97a7397798c0f6fb7596722d827a3805c6d4d810d06837cf46e8798cedb1fea4
 SHA512 
b490ec951813827bed940ca4fc772691f8e446ce14cf2f0cc7fe2027a481c91939e6212ce94237f71091c18ac8428c9a4a4f35fc58f41ba076c1da75835d0ff4

diff --git a/dev-util/radare2/radare2-5.7.6.ebuild 
b/dev-util/radare2/radare2-5.7.6.ebuild
new file mode 100644
index ..8d4bfd6a4e75
--- /dev/null
+++ b/dev-util/radare2/radare2-5.7.6.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="https://www.radare.org";
+
+ARM64_COMMIT=9ab2b0bedde459dc86e079718333de4a63bbbacb
+ARMV7_COMMIT=dde39f69ffea19fc37e681874b12cb4707bc4f30
+BINS_COMMIT=602471f72caa60d6ece43c3fa483c43decf7052c
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/radareorg/radare2";
+else
+   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz
 -> ${P}-vector35-arm64.tar.gz
+   
mirror+https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMMIT}.tar.gz
 -> ${P}-vector35-armv7.tar.gz
+   test? ( 
https://github.com/radareorg/radare2-testbins/archive/${BINS_COMMIT}.tar.gz -> 
radare2-testbins-${BINS_COMMIT}.tar.gz )
+   "
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ssl test"
+
+# Need to audit licenses of the binaries used for testing
+RESTRICT="fetch !test? ( test )"
+
+RDEPEND="
+   dev-libs/libzip:=
+   

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2022-09-07 Thread John Helmert III
commit: 132f49dbc5e43468c8f7223ccbef3850ca1f5499
Author: David Roman  ifae  es>
AuthorDate: Mon Sep  5 13:10:34 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Wed Sep  7 18:52:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132f49db

dev-util/radare2: drop 5.6.8-r1

Signed-off-by: David Roman  gmail.com>
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/Manifest|   4 --
 dev-util/radare2/radare2-5.6.8-r1.ebuild | 109 ---
 2 files changed, 113 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 67c1e169c2c2..e02a5f21b9a5 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,8 +1,4 @@
-DIST radare2-5.6.8-vector35-arm64.tar.gz 1021299 BLAKE2B 
389bdc43e90ba71961e5d8afca495bd63b25d4c0dc9513c5e9cc0770f091199197dc1e4b8a9d4c57206acfd892a6b4ff9ba8b0f925e493f540956c64edfcd809
 SHA512 
7762cee60acc7605c2c127acab646c5c58c5736e6801058eec69c2da52901d0ecab85b0496d798be6403bedf27ffd4fe4e3a8d47c8802af1fe3805a4ac32ae26
-DIST radare2-5.6.8-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
-DIST radare2-5.6.8.tar.gz 9627480 BLAKE2B 
4de904ee779b72f0a0e305170cdf62b3a4c3fdad768bb2c9a96a90b429c94c2bae1523439d5b869d2fefed89849fde1d996dd1de400fe47ea657bee3dd258fe1
 SHA512 
e29a3ff235f37bcde4ec6c1c97d1b9c521b57e93512ca40d71be9e88ac1c002f41af905865fdf4685ee94287425cff32500b5a111eec5594bdd7f32f05631910
 DIST radare2-5.7.4-vector35-arm64.tar.gz 1050970 BLAKE2B 
17b9f730b514d959640bd259af9ebdb44b951eb839dc62160da167f2ea3906a60b10e20ff32561cc9b625dfffd1a83d25f484c91e1976d61a18dd04b9bed9862
 SHA512 
bee2f8685dc3760fd51eaa2ab9c68aed2833386145fe164ca6dfc4a5aab20596d1c6305167da2c7410c25be1391853f82fddc1cfa2bfa8e473d7f52129c44a3b
 DIST radare2-5.7.4-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
 DIST radare2-5.7.4.tar.gz 9814654 BLAKE2B 
ae8ed1d7b417236c27ee4857f7c33d657d379b46119391037bdb82ddb5b36ab89088c1c0d958757b7cb7fe87a70dd1b288e082af802c818d83d159e7a8460a8a
 SHA512 
e3fc159f2c009ef98c14930086a34cbbb848f779b37206332ee713daa25d803911652d9f1c28b4f23eca02ac103efe9bca4dea65758f1a2077b1eb1279fc1212
 DIST radare2-testbins-2fdb78f7f754b3aea90377588d45b774ccb41086.tar.gz 
120580683 BLAKE2B 
ba16206f3c44f43c36fbc3079e43d29cd5b6266f8bd31602d7ec218a2b14601173c9022be9329975bd28de948933deeecc052f56c2acd9d6dfeb5576049ec32f
 SHA512 
2c66c8f68df7c51a52a73b33e854b095a4f5435c60eab2a1456f366376aac0f7c39836699e09eae2918f31e75b7c6562994f0916f45de53ae6a480506da95dcb
-DIST radare2-testbins-a6d1a0331605b4a5db9aa9260386c850d484dc70.tar.gz 
118148516 BLAKE2B 
9b1a1861b4aea7db1cc364d16577a2b7afe082b0838178d307ed24704710edfa572533bab9b194d38c1b294e5a4fb522d1a93e92a1c577ca6622a16d94209bd5
 SHA512 
fab0d2295e92c4bd0ab4c2ba646951e41cc4c1f9915d501a27fbff21e82d5340d1a9255d998dcf0e209a57bb35fc714adcb31ed7adb58aa412f6202e69c6

diff --git a/dev-util/radare2/radare2-5.6.8-r1.ebuild 
b/dev-util/radare2/radare2-5.6.8-r1.ebuild
deleted file mode 100644
index ca2dc386f02c..
--- a/dev-util/radare2/radare2-5.6.8-r1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="https://www.radare.org";
-
-ARM64_COMMIT=3c5eaba46dab72ecb7d5f5b865a13fdeee95b464
-ARMV7_COMMIT=dde39f69ffea19fc37e681874b12cb4707bc4f30
-BINS_COMMIT=a6d1a0331605b4a5db9aa9260386c850d484dc70
-
-if [[ ${PV} == * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/radareorg/radare2";
-else
-   
SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz
-   
mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz
 -> ${P}-vector35-arm64.tar.gz
-   
mirror+https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMMIT}.tar.gz
 -> ${P}-vector35-armv7.tar.gz
-   test? ( 
https://github.com/radareorg/radare2-testbins/archive/${BINS_COMMIT}.tar.gz -> 
radare2-testbins-${BINS_COMMIT}.tar.gz )
-   "
-
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ssl test"
-
-# Need to audit licenses of the binaries used for testing
-RESTRICT="fetch test"
-
-RDEPEND="
-   dev-libs/libzip:=
-   dev-libs/xxhash
-   sys-apps/file
-  

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2022-08-11 Thread Sam James
commit: 517fccfeffe65b1192a3eee325d77526b28dcb1a
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug 11 10:42:40 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 11 10:54:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517fccfe

dev-util/radare2: fix UnquotedVariable

Signed-off-by: Sam James  gentoo.org>

 dev-util/radare2/radare2-5.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/radare2/radare2-5.7.4.ebuild 
b/dev-util/radare2/radare2-5.7.4.ebuild
index e3053ad0136f..26de380f0f15 100644
--- a/dev-util/radare2/radare2-5.7.4.ebuild
+++ b/dev-util/radare2/radare2-5.7.4.ebuild
@@ -82,7 +82,7 @@ src_configure() {
 src_test() {
ln -fs "${S}/binr/radare2/radare2" "${S}/binr/radare2/r2" || die
LDFLAGS=""
-   for i in ${S}/libr/*; do
+   for i in "${S}"/libr/*; do
if [[ -d ${i} ]]; then
LDFLAGS+="-R${i} -L${i} "
LD_LIBRARY_PATH+=":${i}"



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2022-07-16 Thread John Helmert III
commit: 854e68efe040fd62c8443ff150b35d3883c26b55
Author: John Helmert III  gentoo  org>
AuthorDate: Sat Jul 16 16:49:58 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sat Jul 16 16:51:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854e68ef

dev-util/radare2: unrestrict capstone dep

Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/radare2-5.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/radare2/radare2-5.7.4.ebuild 
b/dev-util/radare2/radare2-5.7.4.ebuild
index 18d2d68effc4..e3053ad0136f 100644
--- a/dev-util/radare2/radare2-5.7.4.ebuild
+++ b/dev-util/radare2/radare2-5.7.4.ebuild
@@ -37,7 +37,7 @@ RDEPEND="
dev-libs/xxhash
sys-apps/file
sys-libs/zlib
-   

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2022-07-16 Thread John Helmert III
commit: 6fd32965aba1d1c11af8c7df5ba828dfb5d0ad60
Author: David Roman  gmail  com>
AuthorDate: Tue May 31 17:51:43 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sat Jul 16 16:51:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fd32965

dev-util/radare2: add 5.7.4

Bug: https://bugs.gentoo.org/841023
Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25703
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/Manifest  |   4 +
 .../radare2/files/radare2-5.7.0-vector35.patch |  22 
 dev-util/radare2/radare2-5.7.4.ebuild  | 119 +
 3 files changed, 145 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 4795b198ad39..67c1e169c2c2 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,4 +1,8 @@
 DIST radare2-5.6.8-vector35-arm64.tar.gz 1021299 BLAKE2B 
389bdc43e90ba71961e5d8afca495bd63b25d4c0dc9513c5e9cc0770f091199197dc1e4b8a9d4c57206acfd892a6b4ff9ba8b0f925e493f540956c64edfcd809
 SHA512 
7762cee60acc7605c2c127acab646c5c58c5736e6801058eec69c2da52901d0ecab85b0496d798be6403bedf27ffd4fe4e3a8d47c8802af1fe3805a4ac32ae26
 DIST radare2-5.6.8-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
 DIST radare2-5.6.8.tar.gz 9627480 BLAKE2B 
4de904ee779b72f0a0e305170cdf62b3a4c3fdad768bb2c9a96a90b429c94c2bae1523439d5b869d2fefed89849fde1d996dd1de400fe47ea657bee3dd258fe1
 SHA512 
e29a3ff235f37bcde4ec6c1c97d1b9c521b57e93512ca40d71be9e88ac1c002f41af905865fdf4685ee94287425cff32500b5a111eec5594bdd7f32f05631910
+DIST radare2-5.7.4-vector35-arm64.tar.gz 1050970 BLAKE2B 
17b9f730b514d959640bd259af9ebdb44b951eb839dc62160da167f2ea3906a60b10e20ff32561cc9b625dfffd1a83d25f484c91e1976d61a18dd04b9bed9862
 SHA512 
bee2f8685dc3760fd51eaa2ab9c68aed2833386145fe164ca6dfc4a5aab20596d1c6305167da2c7410c25be1391853f82fddc1cfa2bfa8e473d7f52129c44a3b
+DIST radare2-5.7.4-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
+DIST radare2-5.7.4.tar.gz 9814654 BLAKE2B 
ae8ed1d7b417236c27ee4857f7c33d657d379b46119391037bdb82ddb5b36ab89088c1c0d958757b7cb7fe87a70dd1b288e082af802c818d83d159e7a8460a8a
 SHA512 
e3fc159f2c009ef98c14930086a34cbbb848f779b37206332ee713daa25d803911652d9f1c28b4f23eca02ac103efe9bca4dea65758f1a2077b1eb1279fc1212
+DIST radare2-testbins-2fdb78f7f754b3aea90377588d45b774ccb41086.tar.gz 
120580683 BLAKE2B 
ba16206f3c44f43c36fbc3079e43d29cd5b6266f8bd31602d7ec218a2b14601173c9022be9329975bd28de948933deeecc052f56c2acd9d6dfeb5576049ec32f
 SHA512 
2c66c8f68df7c51a52a73b33e854b095a4f5435c60eab2a1456f366376aac0f7c39836699e09eae2918f31e75b7c6562994f0916f45de53ae6a480506da95dcb
 DIST radare2-testbins-a6d1a0331605b4a5db9aa9260386c850d484dc70.tar.gz 
118148516 BLAKE2B 
9b1a1861b4aea7db1cc364d16577a2b7afe082b0838178d307ed24704710edfa572533bab9b194d38c1b294e5a4fb522d1a93e92a1c577ca6622a16d94209bd5
 SHA512 
fab0d2295e92c4bd0ab4c2ba646951e41cc4c1f9915d501a27fbff21e82d5340d1a9255d998dcf0e209a57bb35fc714adcb31ed7adb58aa412f6202e69c6

diff --git a/dev-util/radare2/files/radare2-5.7.0-vector35.patch 
b/dev-util/radare2/files/radare2-5.7.0-vector35.patch
new file mode 100644
index ..c358d94ff427
--- /dev/null
+++ b/dev-util/radare2/files/radare2-5.7.0-vector35.patch
@@ -0,0 +1,22 @@
+diff --git a/libr/asm/arch/arm/v35arm64/Makefile 
b/libr/asm/arch/arm/v35arm64/Makefile
+index afc4322b83..fe77126a08 100644
+--- a/libr/asm/arch/arm/v35arm64/Makefile
 b/libr/asm/arch/arm/v35arm64/Makefile
+@@ -31,7 +31,7 @@ $(ALIBS): arch-arm64 arch-armv7
+ ## ARM64
+ arch-arm64:
+   git clone -q https://github.com/radareorg/vector35-arch-arm64 arch-arm64
+-  cd arch-arm64 && git checkout -q radare2-wip > /dev/null && git reset 
--hard $(ARCH_ARM64_COMMIT)
++  cd arch-arm64
+ 
+ $(V35ARM64_HOME)/arm64dis.a arm64dis.a: $(ALIBS)
+   rm -f arm64dis.$(EXT_AR)
+@@ -41,7 +41,7 @@ $(V35ARM64_HOME)/arm64dis.a arm64dis.a: $(ALIBS)
+ ## ARMV7
+ arch-armv7:
+   git clone -q https://github.com/radareorg/vector35-arch-armv7 arch-armv7
+-  cd arch-armv7 && git checkout -q radare2 > /dev/null && git reset 
--hard $(ARCH_ARMV7_COMMIT)
++  cd arch-armv7   
+ 
+ $(V35ARMV7_HOME)/armv7dis.a armv7dis.a: $(ALIBS)
+   rm -f armv7dis.$(EXT_AR)

diff --git a/dev-util/radare2/radare2-5.7.4.ebuild 
b/dev-util/radare2/radare2-5.7.4.ebuild
new file mode 100644
index ..18d2d68effc4
--- /dev/null
+++ b/dev-util/radare2/radare2-5.7.4.

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2022-05-10 Thread Sam James
commit: ff85539ac05f7bc6de715227498dda98f31ee7d4
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Tue May 10 21:31:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 11 02:10:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff85539a

dev-util/radare2: restrict to Capstone 4

Code doesn't build yet with Capstone 5.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 dev-util/radare2/{radare2-5.6.8.ebuild => radare2-5.6.8-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/radare2/radare2-5.6.8.ebuild 
b/dev-util/radare2/radare2-5.6.8-r1.ebuild
similarity index 99%
rename from dev-util/radare2/radare2-5.6.8.ebuild
rename to dev-util/radare2/radare2-5.6.8-r1.ebuild
index f767f59da719..ca2dc386f02c 100644
--- a/dev-util/radare2/radare2-5.6.8.ebuild
+++ b/dev-util/radare2/radare2-5.6.8-r1.ebuild
@@ -37,7 +37,7 @@ RDEPEND="
dev-libs/xxhash
sys-apps/file
sys-libs/zlib
-   dev-libs/capstone:0=
+   

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2022-04-25 Thread Joonas Niilola
commit: 12dee7b9dcd337b5bd8014904dedda597122049b
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Apr 26 05:49:50 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Apr 26 05:49:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12dee7b9

dev-util/radare2: drop 5.5.4

Bug: https://bugs.gentoo.org/831057
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/radare2/Manifest |   3 -
 dev-util/radare2/radare2-5.5.4.ebuild | 106 --
 2 files changed, 109 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 37816a87aff6..4795b198ad39 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,6 +1,3 @@
-DIST radare2-5.5.4-vector35-arm64.tar.gz 1021299 BLAKE2B 
389bdc43e90ba71961e5d8afca495bd63b25d4c0dc9513c5e9cc0770f091199197dc1e4b8a9d4c57206acfd892a6b4ff9ba8b0f925e493f540956c64edfcd809
 SHA512 
7762cee60acc7605c2c127acab646c5c58c5736e6801058eec69c2da52901d0ecab85b0496d798be6403bedf27ffd4fe4e3a8d47c8802af1fe3805a4ac32ae26
-DIST radare2-5.5.4-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
-DIST radare2-5.5.4.tar.gz 9610424 BLAKE2B 
4e113d854a55597270663f9c18f1d71da21fa8e539a997773f30178e93de54d397f56103813ec2c60cfabdf2d811151ad7285fc479e1ee681687831030e18da2
 SHA512 
b64268a8fcfbd89455b991557c82bb24d5f42471f4424cd971c1143ff604720fb4c00216a7054d72df6bbbdace1b814a6c3538708926c229dd2f8476b7d325da
 DIST radare2-5.6.8-vector35-arm64.tar.gz 1021299 BLAKE2B 
389bdc43e90ba71961e5d8afca495bd63b25d4c0dc9513c5e9cc0770f091199197dc1e4b8a9d4c57206acfd892a6b4ff9ba8b0f925e493f540956c64edfcd809
 SHA512 
7762cee60acc7605c2c127acab646c5c58c5736e6801058eec69c2da52901d0ecab85b0496d798be6403bedf27ffd4fe4e3a8d47c8802af1fe3805a4ac32ae26
 DIST radare2-5.6.8-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
 DIST radare2-5.6.8.tar.gz 9627480 BLAKE2B 
4de904ee779b72f0a0e305170cdf62b3a4c3fdad768bb2c9a96a90b429c94c2bae1523439d5b869d2fefed89849fde1d996dd1de400fe47ea657bee3dd258fe1
 SHA512 
e29a3ff235f37bcde4ec6c1c97d1b9c521b57e93512ca40d71be9e88ac1c002f41af905865fdf4685ee94287425cff32500b5a111eec5594bdd7f32f05631910

diff --git a/dev-util/radare2/radare2-5.5.4.ebuild 
b/dev-util/radare2/radare2-5.5.4.ebuild
deleted file mode 100644
index 3a2f15599169..
--- a/dev-util/radare2/radare2-5.5.4.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-ARM64_COMMIT=3c5eaba46dab72ecb7d5f5b865a13fdeee95b464
-ARMV7_COMMIT=dde39f69ffea19fc37e681874b12cb4707bc4f30
-BINS_COMMIT=a6d1a0331605b4a5db9aa9260386c850d484dc70
-
-if [[ ${PV} == * ]]; 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
-   
https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz 
-> ${P}-vector35-arm64.tar.gz
-   
https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMMIT}.tar.gz 
-> ${P}-vector35-armv7.tar.gz
-   test? ( 
https://github.com/radareorg/radare2-testbins/archive/${BINS_COMMIT}.tar.gz -> 
radare2-testbins-${BINS_COMMIT}.tar.gz )
-   "
-
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ssl test"
-
-# Need to audit licenses of the binaries used for testing
-RESTRICT="test"
-
-RDEPEND="
-   dev-libs/libzip:=
-   dev-libs/xxhash
-   sys-apps/file
-   sys-libs/zlib
-   dev-libs/capstone:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="
-   ${RDEPEND}
-   dev-util/gperf
-"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}/${PN}-5.5.0-vector35.patch" )
-
-src_prepare() {
-   default
-
-   # Hack for vector35 arm plugins
-   mv "${WORKDIR}/vector35-arch-arm64-${ARM64_COMMIT}" 
libr/asm/arch/arm/v35arm64/arch-arm64 || die
-   mv "${WORKDIR}/vector35-arch-armv7-${ARMV7_COMMIT}" 
libr/asm/arch/arm/v35arm64/arch-armv7 || die
-
-   if use test; then
-   cp -r "${WORKDIR}/radare2-testbins-${BINS_COMMIT}" 
"${S}/test/bins" || die
-   cp -r "${WORKDIR}/radare2-testbins-${BINS_COMMIT}" "${S}" || die
-   fi
-
-   # Fix hardcoded docdir 

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2022-04-25 Thread Joonas Niilola
commit: 8c7da57c2098e8d803608b0720d738c71e159126
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Apr 26 05:50:05 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Apr 26 05:50:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c7da57c

dev-util/radare2: drop 

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/radare2/radare2-.ebuild | 78 
 1 file changed, 78 deletions(-)

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
deleted file mode 100644
index 470b4d0d33f8..
--- a/dev-util/radare2/radare2-.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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"
-
-RDEPEND="
-   dev-libs/libzip
-   dev-libs/xxhash
-   sys-apps/file
-   sys-libs/zlib
-   dev-libs/capstone:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="
-   ${RDEPEND}
-   dev-util/gperf
-"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   # Fix hardcoded docdir for fortunes
-   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
-   libr/include/r_userconf.h.acr
-   default
-}
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   econf \
-   --without-libuv \
-   --with-syscapstone \
-   --with-sysmagic \
-   --with-sysxxhash \
-   --with-syszip \
-   $(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
-
-   # These are not really docs. radare assumes
-   # uncompressed files: bug #761250
-   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2022-04-24 Thread Joonas Niilola
commit: 4591d7788eca504a240b1b078e13ca2f87a4b1d0
Author: David Roman  gmail  com>
AuthorDate: Fri Apr 22 10:43:27 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 25 06:56:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4591d778

dev-util/radare2: cleanup old ebuilds

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: David Roman  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/radare2/Manifest|  2 -
 dev-util/radare2/radare2-4.5.1-r1.ebuild | 75 --
 dev-util/radare2/radare2-5.3.1.ebuild| 78 
 3 files changed, 155 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 3ade9bbc8226..38f5a0afce87 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,5 +1,3 @@
-DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
-DIST radare2-5.3.1.tar.gz 8500461 BLAKE2B 
8b29e81c90f477e313f5d14dea707f3e8d47c9abbe1f9ca2c7caef98a85b38a5b5e37a31063be289c55fda041e10b8403895f863dd602091ab5307213605260d
 SHA512 
34c96c7c863fb8a59f1d03539375d5b8f31f6021dc84ce943daa163d8a0227bf3156963cc187c366790abec4381da6aa987248e76570a498cfcdeb982cb2ffc0
 DIST radare2-5.5.4-vector35-arm64.tar.gz 1021299 BLAKE2B 
389bdc43e90ba71961e5d8afca495bd63b25d4c0dc9513c5e9cc0770f091199197dc1e4b8a9d4c57206acfd892a6b4ff9ba8b0f925e493f540956c64edfcd809
 SHA512 
7762cee60acc7605c2c127acab646c5c58c5736e6801058eec69c2da52901d0ecab85b0496d798be6403bedf27ffd4fe4e3a8d47c8802af1fe3805a4ac32ae26
 DIST radare2-5.5.4-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
 DIST radare2-5.5.4.tar.gz 9610424 BLAKE2B 
4e113d854a55597270663f9c18f1d71da21fa8e539a997773f30178e93de54d397f56103813ec2c60cfabdf2d811151ad7285fc479e1ee681687831030e18da2
 SHA512 
b64268a8fcfbd89455b991557c82bb24d5f42471f4424cd971c1143ff604720fb4c00216a7054d72df6bbbdace1b814a6c3538708926c229dd2f8476b7d325da

diff --git a/dev-util/radare2/radare2-4.5.1-r1.ebuild 
b/dev-util/radare2/radare2-4.5.1-r1.ebuild
deleted file mode 100644
index a5b8b7c3cfd6..
--- a/dev-util/radare2/radare2-4.5.1-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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"
-
-RDEPEND="
-   dev-libs/libzip
-   dev-libs/xxhash
-   sys-apps/file
-   sys-libs/zlib
-   dev-libs/capstone:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   # Fix hardcoded docdir for fortunes
-   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
-   libr/include/r_userconf.h.acr
-   default
-}
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   econf \
-   --without-libuv \
-   --with-syscapstone \
-   --with-sysmagic \
-   --with-sysxxhash \
-   --with-syszip \
-   $(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
-
-   # These are not really docs. radare assumes
-   # uncompressed files: bug #761250
-   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
-}

diff --git a/dev-util/radare2/radare2-5.3.1.ebuild 
b/dev-util/radare2/radare2-5.3.1.ebuild
deleted file mode 100644
index 470b4d0d33f8..
--- a/dev-util/radare2/radare2-5.3.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/, dev-util/radare2/files/

2022-04-24 Thread Joonas Niilola
commit: 48627ba2203445afedb3eb0e99c24cf931896f1e
Author: David Roman  gmail  com>
AuthorDate: Fri Apr 22 10:45:36 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 25 06:56:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48627ba2

dev-util/radare2: verbump to 5.6.8

Bug: https://bugs.gentoo.org/831057
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25155
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-util/radare2/Manifest  |   3 +
 dev-util/radare2/files/CVE-2022-1437.patch |  72 +++
 dev-util/radare2/radare2-5.6.8.ebuild  | 109 +
 3 files changed, 184 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 38f5a0afce87..37816a87aff6 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,4 +1,7 @@
 DIST radare2-5.5.4-vector35-arm64.tar.gz 1021299 BLAKE2B 
389bdc43e90ba71961e5d8afca495bd63b25d4c0dc9513c5e9cc0770f091199197dc1e4b8a9d4c57206acfd892a6b4ff9ba8b0f925e493f540956c64edfcd809
 SHA512 
7762cee60acc7605c2c127acab646c5c58c5736e6801058eec69c2da52901d0ecab85b0496d798be6403bedf27ffd4fe4e3a8d47c8802af1fe3805a4ac32ae26
 DIST radare2-5.5.4-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
 DIST radare2-5.5.4.tar.gz 9610424 BLAKE2B 
4e113d854a55597270663f9c18f1d71da21fa8e539a997773f30178e93de54d397f56103813ec2c60cfabdf2d811151ad7285fc479e1ee681687831030e18da2
 SHA512 
b64268a8fcfbd89455b991557c82bb24d5f42471f4424cd971c1143ff604720fb4c00216a7054d72df6bbbdace1b814a6c3538708926c229dd2f8476b7d325da
+DIST radare2-5.6.8-vector35-arm64.tar.gz 1021299 BLAKE2B 
389bdc43e90ba71961e5d8afca495bd63b25d4c0dc9513c5e9cc0770f091199197dc1e4b8a9d4c57206acfd892a6b4ff9ba8b0f925e493f540956c64edfcd809
 SHA512 
7762cee60acc7605c2c127acab646c5c58c5736e6801058eec69c2da52901d0ecab85b0496d798be6403bedf27ffd4fe4e3a8d47c8802af1fe3805a4ac32ae26
+DIST radare2-5.6.8-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
+DIST radare2-5.6.8.tar.gz 9627480 BLAKE2B 
4de904ee779b72f0a0e305170cdf62b3a4c3fdad768bb2c9a96a90b429c94c2bae1523439d5b869d2fefed89849fde1d996dd1de400fe47ea657bee3dd258fe1
 SHA512 
e29a3ff235f37bcde4ec6c1c97d1b9c521b57e93512ca40d71be9e88ac1c002f41af905865fdf4685ee94287425cff32500b5a111eec5594bdd7f32f05631910
 DIST radare2-testbins-a6d1a0331605b4a5db9aa9260386c850d484dc70.tar.gz 
118148516 BLAKE2B 
9b1a1861b4aea7db1cc364d16577a2b7afe082b0838178d307ed24704710edfa572533bab9b194d38c1b294e5a4fb522d1a93e92a1c577ca6622a16d94209bd5
 SHA512 
fab0d2295e92c4bd0ab4c2ba646951e41cc4c1f9915d501a27fbff21e82d5340d1a9255d998dcf0e209a57bb35fc714adcb31ed7adb58aa412f6202e69c6

diff --git a/dev-util/radare2/files/CVE-2022-1437.patch 
b/dev-util/radare2/files/CVE-2022-1437.patch
new file mode 100644
index ..16e67c5d3193
--- /dev/null
+++ b/dev-util/radare2/files/CVE-2022-1437.patch
@@ -0,0 +1,72 @@
+--- a/libr/bin/format/mach0/coresymbolication.c
 b/libr/bin/format/mach0/coresymbolication.c
+@@ -269,6 +269,9 @@ RCoreSymCacheElement *r_coresym_cache_element_new(RBinFile 
*bf, RBuffer *buf, ut
+   for (i = 0; i < hdr->n_sections && cursor < end; i++) {
+   ut8 *sect_start = cursor;
+   RCoreSymCacheElementSection *sect = 
&result->sections[i];
++  if (cursor + (word_size * 4) > end) {
++  goto beach;
++  }
+   sect->vaddr = sect->paddr = r_read_ble (cursor, false, 
bits);
+   if (sect->vaddr < page_zero_size) {
+   sect->vaddr += page_zero_size;
+@@ -359,6 +362,10 @@ RCoreSymCacheElement 
*r_coresym_cache_element_new(RBinFile *bf, RBuffer *buf, ut
+   continue;
+   }
+   string_origin = relative_to_strings? b + 
start_of_strings : cursor;
++  if (!string_origin) {
++  cursor += R_CS_EL_SIZE_LSYM;
++  continue;
++  }
+   lsym->flc.file = str_dup_safe (b, string_origin + 
file_name_off, end);
+   if (!lsym->flc.file) {
+   cursor += R_CS_EL_SIZE_LSYM;
+--- a/libr/bin/p/bin_symbols.c
 b/libr/bin/p/bin_symbols.c
+@@ -353,28 +353,30 @@ static bool check_buffer(RBin

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2022-01-05 Thread John Helmert III
commit: 6857fe494583e031f9402e81777e91416902df95
Author: David Roman  gmail  com>
AuthorDate: Sat Dec  4 20:29:43 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Thu Jan  6 04:37:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6857fe49

dev-util/radare2: verbump to 5.5.4

Closes: https://bugs.gentoo.org/815046
Bug: https://bugs.gentoo.org/790284
Bug: https://bugs.gentoo.org/807061

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23184
Signed-off-by: John Helmert III  gentoo.org>

 dev-util/radare2/Manifest  |   4 +
 .../radare2/files/radare2-5.5.0-vector35.patch |  22 +
 dev-util/radare2/radare2-5.5.4.ebuild  | 106 +
 3 files changed, 132 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index f7e1e52e590e..3ade9bbc8226 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,6 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
 DIST radare2-5.3.1.tar.gz 8500461 BLAKE2B 
8b29e81c90f477e313f5d14dea707f3e8d47c9abbe1f9ca2c7caef98a85b38a5b5e37a31063be289c55fda041e10b8403895f863dd602091ab5307213605260d
 SHA512 
34c96c7c863fb8a59f1d03539375d5b8f31f6021dc84ce943daa163d8a0227bf3156963cc187c366790abec4381da6aa987248e76570a498cfcdeb982cb2ffc0
+DIST radare2-5.5.4-vector35-arm64.tar.gz 1021299 BLAKE2B 
389bdc43e90ba71961e5d8afca495bd63b25d4c0dc9513c5e9cc0770f091199197dc1e4b8a9d4c57206acfd892a6b4ff9ba8b0f925e493f540956c64edfcd809
 SHA512 
7762cee60acc7605c2c127acab646c5c58c5736e6801058eec69c2da52901d0ecab85b0496d798be6403bedf27ffd4fe4e3a8d47c8802af1fe3805a4ac32ae26
+DIST radare2-5.5.4-vector35-armv7.tar.gz 255288 BLAKE2B 
ca96b3f68381a0987c4efa10dcb798194486019762e89d1eb19a3fd24f6983535eea792099c60e4c1a9d2bdb5baab119fe2e9a7a889fad5a14023e5f984959b8
 SHA512 
e9eb6cee02265914b1f9118c7a143ed76a201c085af5516855475bf7f3ad5f9c82d1548e85a0339fbc33e029ef0e4be9d8cef68d212ae16ce1a7f18453ff
+DIST radare2-5.5.4.tar.gz 9610424 BLAKE2B 
4e113d854a55597270663f9c18f1d71da21fa8e539a997773f30178e93de54d397f56103813ec2c60cfabdf2d811151ad7285fc479e1ee681687831030e18da2
 SHA512 
b64268a8fcfbd89455b991557c82bb24d5f42471f4424cd971c1143ff604720fb4c00216a7054d72df6bbbdace1b814a6c3538708926c229dd2f8476b7d325da
+DIST radare2-testbins-a6d1a0331605b4a5db9aa9260386c850d484dc70.tar.gz 
118148516 BLAKE2B 
9b1a1861b4aea7db1cc364d16577a2b7afe082b0838178d307ed24704710edfa572533bab9b194d38c1b294e5a4fb522d1a93e92a1c577ca6622a16d94209bd5
 SHA512 
fab0d2295e92c4bd0ab4c2ba646951e41cc4c1f9915d501a27fbff21e82d5340d1a9255d998dcf0e209a57bb35fc714adcb31ed7adb58aa412f6202e69c6

diff --git a/dev-util/radare2/files/radare2-5.5.0-vector35.patch 
b/dev-util/radare2/files/radare2-5.5.0-vector35.patch
new file mode 100644
index ..5ebf58020d4d
--- /dev/null
+++ b/dev-util/radare2/files/radare2-5.5.0-vector35.patch
@@ -0,0 +1,22 @@
+--- a/libr/asm/arch/arm/v35arm64/Makefile
 b/libr/asm/arch/arm/v35arm64/Makefile
+@@ -30,8 +30,7 @@ $(ALIBS): arch-arm64 arch-armv7
+ 
+ ## ARM64
+ arch-arm64:
+-  git clone -q https://github.com/radareorg/vector35-arch-arm64 arch-arm64
+-  cd arch-arm64 && git checkout -q radare2 > /dev/null && git reset 
--hard $(ARCH_ARM64_COMMIT)
++  cd arch-arm64 
+ 
+ $(V35ARM64_HOME)/arm64dis.a arm64dis.a: $(ALIBS)
+   rm -f arm64dis.$(EXT_AR)
+@@ -40,8 +39,7 @@ $(V35ARM64_HOME)/arm64dis.a arm64dis.a: $(ALIBS)
+ 
+ ## ARMV7
+ arch-armv7:
+-  git clone -q https://github.com/radareorg/vector35-arch-armv7 arch-armv7
+-  cd arch-armv7 && git checkout -q radare2 > /dev/null && git reset 
--hard $(ARCH_ARMV7_COMMIT)
++  cd arch-armv7 
+ 
+ $(V35ARMV7_HOME)/armv7dis.a armv7dis.a: $(ALIBS)
+   rm -f armv7dis.$(EXT_AR)

diff --git a/dev-util/radare2/radare2-5.5.4.ebuild 
b/dev-util/radare2/radare2-5.5.4.ebuild
new file mode 100644
index ..3a2f15599169
--- /dev/null
+++ b/dev-util/radare2/radare2-5.5.4.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+ARM64_COMMIT=3c5eaba46dab72ecb7d5f5b865a13fdeee95b464
+ARMV7_COMMIT=dde39f69ffea19fc37e681874b12cb4707bc4f30
+BINS_COMMIT=a6d1a0331605b4a5db9aa9260386c850d484dc70
+
+if [[ ${PV} == * ]]; 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
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-07-23 Thread Sergei Trofimovich
commit: f0cbbc9603cf1096e613b01da62831fe3bdf86cf
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Jul 23 08:05:19 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jul 23 08:05:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0cbbc96

dev-util/radare2: add proxy-maint@

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-util/radare2/metadata.xml b/dev-util/radare2/metadata.xml
index e3097f8933d..72bff73de1e 100644
--- a/dev-util/radare2/metadata.xml
+++ b/dev-util/radare2/metadata.xml
@@ -5,4 +5,8 @@
davidroma...@gmail.com
David Roman

+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-07-23 Thread Sergei Trofimovich
commit: b906c653964943653503827404094a413cec46ef
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Jul 23 07:28:05 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jul 23 07:33:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b906c653

dev-util/radare2: drop slyfox@ from maintainers

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-util/radare2/metadata.xml b/dev-util/radare2/metadata.xml
index 4f934568ee5..e3097f8933d 100644
--- a/dev-util/radare2/metadata.xml
+++ b/dev-util/radare2/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   sly...@gentoo.org
-   Sergei Trofimovich
-   

davidroma...@gmail.com
David Roman



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-06-19 Thread Sergei Trofimovich
commit: edd192ebcd07f3a61c15a4c8d79631f372f6927b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jun 19 09:00:44 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun 19 09:01:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edd192eb

dev-util/radare2: drop old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-5.3.0.ebuild | 78 ---
 2 files changed, 79 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 85a7082bd91..f7e1e52e590 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,2 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
-DIST radare2-5.3.0.tar.gz 8498461 BLAKE2B 
eabee04f347a71cefac4dbd3516cb3161b6e4f1f831285039ece81981121a058d3b39224c68afd4cea38fea2d99b23e770210ebca6b01e73c21882e80de757b5
 SHA512 
f9d5ffd6f39efdcd447c2bc65ad3129576292a11942c99da8d0c10217621a6d1db72baaf7badadcbbaf75c54be0439a9257de4f56d47cefdce457ffb08167ff8
 DIST radare2-5.3.1.tar.gz 8500461 BLAKE2B 
8b29e81c90f477e313f5d14dea707f3e8d47c9abbe1f9ca2c7caef98a85b38a5b5e37a31063be289c55fda041e10b8403895f863dd602091ab5307213605260d
 SHA512 
34c96c7c863fb8a59f1d03539375d5b8f31f6021dc84ce943daa163d8a0227bf3156963cc187c366790abec4381da6aa987248e76570a498cfcdeb982cb2ffc0

diff --git a/dev-util/radare2/radare2-5.3.0.ebuild 
b/dev-util/radare2/radare2-5.3.0.ebuild
deleted file mode 100644
index 470b4d0d33f..000
--- a/dev-util/radare2/radare2-5.3.0.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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"
-
-RDEPEND="
-   dev-libs/libzip
-   dev-libs/xxhash
-   sys-apps/file
-   sys-libs/zlib
-   dev-libs/capstone:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="
-   ${RDEPEND}
-   dev-util/gperf
-"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   # Fix hardcoded docdir for fortunes
-   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
-   libr/include/r_userconf.h.acr
-   default
-}
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   econf \
-   --without-libuv \
-   --with-syscapstone \
-   --with-sysmagic \
-   --with-sysxxhash \
-   --with-syszip \
-   $(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
-
-   # These are not really docs. radare assumes
-   # uncompressed files: bug #761250
-   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-06-11 Thread Sergei Trofimovich
commit: ef8a03c4762168674fdcd74aa17f8a4d8efc017c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Jun 11 21:01:19 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jun 11 21:01:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8a03c4

dev-util/radare2: drop old

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-5.2.1.ebuild | 75 ---
 2 files changed, 76 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index ee8bc11230f..85a7082bd91 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,4 +1,3 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
-DIST radare2-5.2.1.tar.gz 8302475 BLAKE2B 
2edfa30d15214ac4dac6065349c808b539619413e7a100459efd5bf74e95c2483edb1ec13de8387d3a7dcfe25a2922ee377c37f4781c374df04e63fe98910b7e
 SHA512 
c744f5c8fff163022a7a9a913fe34dfa0dee0d9ab3b18bd4cc038c2d487dbfeba2f1523aa12a3166a2c22c45bcc71e802fae101b72fc2e6adab96b522c0de17b
 DIST radare2-5.3.0.tar.gz 8498461 BLAKE2B 
eabee04f347a71cefac4dbd3516cb3161b6e4f1f831285039ece81981121a058d3b39224c68afd4cea38fea2d99b23e770210ebca6b01e73c21882e80de757b5
 SHA512 
f9d5ffd6f39efdcd447c2bc65ad3129576292a11942c99da8d0c10217621a6d1db72baaf7badadcbbaf75c54be0439a9257de4f56d47cefdce457ffb08167ff8
 DIST radare2-5.3.1.tar.gz 8500461 BLAKE2B 
8b29e81c90f477e313f5d14dea707f3e8d47c9abbe1f9ca2c7caef98a85b38a5b5e37a31063be289c55fda041e10b8403895f863dd602091ab5307213605260d
 SHA512 
34c96c7c863fb8a59f1d03539375d5b8f31f6021dc84ce943daa163d8a0227bf3156963cc187c366790abec4381da6aa987248e76570a498cfcdeb982cb2ffc0

diff --git a/dev-util/radare2/radare2-5.2.1.ebuild 
b/dev-util/radare2/radare2-5.2.1.ebuild
deleted file mode 100644
index a5b8b7c3cfd..000
--- a/dev-util/radare2/radare2-5.2.1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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"
-
-RDEPEND="
-   dev-libs/libzip
-   dev-libs/xxhash
-   sys-apps/file
-   sys-libs/zlib
-   dev-libs/capstone:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   # Fix hardcoded docdir for fortunes
-   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
-   libr/include/r_userconf.h.acr
-   default
-}
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   econf \
-   --without-libuv \
-   --with-syscapstone \
-   --with-sysmagic \
-   --with-sysxxhash \
-   --with-syszip \
-   $(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
-
-   # These are not really docs. radare assumes
-   # uncompressed files: bug #761250
-   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-06-11 Thread Sergei Trofimovich
commit: 9ba90652332bde86a298db25799e8b673ad0727a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Jun 11 21:00:57 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jun 11 21:00:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba90652

dev-util/radare2: bump up to 5.3.1

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest  | 1 +
 dev-util/radare2/{radare2-.ebuild => radare2-5.3.1.ebuild} | 5 -
 dev-util/radare2/radare2-.ebuild   | 5 -
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 96c1183830c..ee8bc11230f 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,4 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
 DIST radare2-5.2.1.tar.gz 8302475 BLAKE2B 
2edfa30d15214ac4dac6065349c808b539619413e7a100459efd5bf74e95c2483edb1ec13de8387d3a7dcfe25a2922ee377c37f4781c374df04e63fe98910b7e
 SHA512 
c744f5c8fff163022a7a9a913fe34dfa0dee0d9ab3b18bd4cc038c2d487dbfeba2f1523aa12a3166a2c22c45bcc71e802fae101b72fc2e6adab96b522c0de17b
 DIST radare2-5.3.0.tar.gz 8498461 BLAKE2B 
eabee04f347a71cefac4dbd3516cb3161b6e4f1f831285039ece81981121a058d3b39224c68afd4cea38fea2d99b23e770210ebca6b01e73c21882e80de757b5
 SHA512 
f9d5ffd6f39efdcd447c2bc65ad3129576292a11942c99da8d0c10217621a6d1db72baaf7badadcbbaf75c54be0439a9257de4f56d47cefdce457ffb08167ff8
+DIST radare2-5.3.1.tar.gz 8500461 BLAKE2B 
8b29e81c90f477e313f5d14dea707f3e8d47c9abbe1f9ca2c7caef98a85b38a5b5e37a31063be289c55fda041e10b8403895f863dd602091ab5307213605260d
 SHA512 
34c96c7c863fb8a59f1d03539375d5b8f31f6021dc84ce943daa163d8a0227bf3156963cc187c366790abec4381da6aa987248e76570a498cfcdeb982cb2ffc0

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-5.3.1.ebuild
similarity index 97%
copy from dev-util/radare2/radare2-.ebuild
copy to dev-util/radare2/radare2-5.3.1.ebuild
index a5b8b7c3cfd..470b4d0d33f 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-5.3.1.ebuild
@@ -28,7 +28,10 @@ RDEPEND="
dev-libs/capstone:0=
ssl? ( dev-libs/openssl:0= )
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+   ${RDEPEND}
+   dev-util/gperf
+"
 BDEPEND="virtual/pkgconfig"
 
 src_prepare() {

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index a5b8b7c3cfd..470b4d0d33f 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.ebuild
@@ -28,7 +28,10 @@ RDEPEND="
dev-libs/capstone:0=
ssl? ( dev-libs/openssl:0= )
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+   ${RDEPEND}
+   dev-util/gperf
+"
 BDEPEND="virtual/pkgconfig"
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-06-05 Thread Sergei Trofimovich
commit: 0cfa17d1f9b26adc97b0f09c3ecc7b59aca805c0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jun  5 10:45:14 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun  5 10:50:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cfa17d1

dev-util/radare2: bump up to 5.3.0

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-5.3.0.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index dda473a6264..96c1183830c 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
 DIST radare2-5.2.1.tar.gz 8302475 BLAKE2B 
2edfa30d15214ac4dac6065349c808b539619413e7a100459efd5bf74e95c2483edb1ec13de8387d3a7dcfe25a2922ee377c37f4781c374df04e63fe98910b7e
 SHA512 
c744f5c8fff163022a7a9a913fe34dfa0dee0d9ab3b18bd4cc038c2d487dbfeba2f1523aa12a3166a2c22c45bcc71e802fae101b72fc2e6adab96b522c0de17b
+DIST radare2-5.3.0.tar.gz 8498461 BLAKE2B 
eabee04f347a71cefac4dbd3516cb3161b6e4f1f831285039ece81981121a058d3b39224c68afd4cea38fea2d99b23e770210ebca6b01e73c21882e80de757b5
 SHA512 
f9d5ffd6f39efdcd447c2bc65ad3129576292a11942c99da8d0c10217621a6d1db72baaf7badadcbbaf75c54be0439a9257de4f56d47cefdce457ffb08167ff8

diff --git a/dev-util/radare2/radare2-5.3.0.ebuild 
b/dev-util/radare2/radare2-5.3.0.ebuild
new file mode 100644
index 000..470b4d0d33f
--- /dev/null
+++ b/dev-util/radare2/radare2-5.3.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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"
+
+RDEPEND="
+   dev-libs/libzip
+   dev-libs/xxhash
+   sys-apps/file
+   sys-libs/zlib
+   dev-libs/capstone:0=
+   ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="
+   ${RDEPEND}
+   dev-util/gperf
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   # Fix hardcoded docdir for fortunes
+   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
+   libr/include/r_userconf.h.acr
+   default
+}
+
+src_configure() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
+   econf \
+   --without-libuv \
+   --with-syscapstone \
+   --with-sysmagic \
+   --with-sysxxhash \
+   --with-syszip \
+   $(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
+
+   # These are not really docs. radare assumes
+   # uncompressed files: bug #761250
+   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/

2021-05-15 Thread Sergei Trofimovich
commit: 16affe90b644281efc5b4d2daf15e1c21afdc049
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat May 15 15:42:36 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat May 15 17:46:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16affe90

dev-util/radare2: remove unused patch(es)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/20819
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../radare2/files/radare2-5.2.0-ssl-build.patch| 54 --
 1 file changed, 54 deletions(-)

diff --git a/dev-util/radare2/files/radare2-5.2.0-ssl-build.patch 
b/dev-util/radare2/files/radare2-5.2.0-ssl-build.patch
deleted file mode 100644
index 8701adb6266..000
--- a/dev-util/radare2/files/radare2-5.2.0-ssl-build.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 7273429e4ba85318f0da2ae03ecc154834aaa73b Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich 
-Date: Mon, 12 Apr 2021 23:48:09 +0100
-Subject: [PATCH] state.c: fix --with-openssl build
-
-Build failure happens at:
-
-```
-$ ./configure --with-openssl && make
-
-state.c: In function 'r_hash_do_hmac_sha256':
-state.c:155:19: error: 'r_SHA256_BLOCK_LENGTH' undeclared (first use in this 
function); did you mean 'SHA256_BLOCK_LENGTH'?
-  155 | ut8 bskey[r_SHA256_BLOCK_LENGTH]; // block-sized key
-  |   ^
-  |   SHA256_BLOCK_LENGTH
-```
-
-The change defines r2_.* aliases for openssl implementation.

- libr/hash/state.c | 18 ++
- 1 file changed, 18 insertions(+)
-
-diff --git a/libr/hash/state.c b/libr/hash/state.c
-index 6f3ae6b4c..93adafc81 100644
 a/libr/hash/state.c
-+++ b/libr/hash/state.c
-@@ -7,6 +7,24 @@
- #include 
- #include 
- #include 
-+
-+#  define r_SHA256_BLOCK_LENGTH SHA256_BLOCK_LENGTH
-+
-+#  define r_SHA1_Init   SHA1_Init
-+#  define r_SHA1_Update SHA1_Update
-+#  define r_SHA1_Final  SHA1_Final
-+
-+#  define r_SHA256_Init SHA256_Init
-+#  define r_SHA256_Update   SHA256_Update
-+#  define r_SHA256_FinalSHA256_Final
-+
-+#  define r_SHA384_Init SHA384_Init
-+#  define r_SHA384_Update   SHA384_Update
-+#  define r_SHA384_FinalSHA384_Final
-+
-+#  define r_SHA512_Init SHA512_Init
-+#  define r_SHA512_Update   SHA512_Update
-+#  define r_SHA512_FinalSHA512_Final
- #else
- #include "md4.h"
- #include "md5.h"
--- 
-2.31.1
-



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-05-09 Thread Sergei Trofimovich
commit: 4e0a7ad522766053f9881d3a18e34d0553dc2eb0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May  9 11:50:23 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May  9 11:53:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0a7ad5

dev-util/radare2: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-5.2.0.ebuild | 77 ---
 2 files changed, 78 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 13de9974974..dda473a6264 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,2 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
-DIST radare2-5.2.0.tar.gz 8254980 BLAKE2B 
51335b5560ea9085a7cb6ae998657d62353ad65e10f715ca25ec34cde75d48cd06d8312a898de71096138365d3ea13de45e6e48b2c0f06cea7d593cca43a0ef9
 SHA512 
664ea6df65c1ea8d13a80d281c3dbbcae16fb308826b9276e68d63f26f239f4a5c0d59abcf9325c299894ad4ebf1098b964aa3cad0bbe58b6c96cbd6e7b25952
 DIST radare2-5.2.1.tar.gz 8302475 BLAKE2B 
2edfa30d15214ac4dac6065349c808b539619413e7a100459efd5bf74e95c2483edb1ec13de8387d3a7dcfe25a2922ee377c37f4781c374df04e63fe98910b7e
 SHA512 
c744f5c8fff163022a7a9a913fe34dfa0dee0d9ab3b18bd4cc038c2d487dbfeba2f1523aa12a3166a2c22c45bcc71e802fae101b72fc2e6adab96b522c0de17b

diff --git a/dev-util/radare2/radare2-5.2.0.ebuild 
b/dev-util/radare2/radare2-5.2.0.ebuild
deleted file mode 100644
index ce046dd6d93..000
--- a/dev-util/radare2/radare2-5.2.0.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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"
-
-RDEPEND="
-   dev-libs/libzip
-   dev-libs/xxhash
-   sys-apps/file
-   sys-libs/zlib
-   dev-libs/capstone:0=
-   ssl? ( dev-libs/openssl:0= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=("${FILESDIR}"/${P}-ssl-build.patch)
-
-src_prepare() {
-   # Fix hardcoded docdir for fortunes
-   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
-   libr/include/r_userconf.h.acr
-   default
-}
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   econf \
-   --without-libuv \
-   --with-syscapstone \
-   --with-sysmagic \
-   --with-sysxxhash \
-   --with-syszip \
-   $(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
-
-   # These are not really docs. radare assumes
-   # uncompressed files: bug #761250
-   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-05-01 Thread Sergei Trofimovich
commit: 67130fc2be580c2535266165b3d6f86fac474639
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat May  1 20:14:26 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat May  1 20:44:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67130fc2

dev-util/radare2: drop deleted dev-libs/libressl

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/radare2-4.5.1-r1.ebuild | 7 ++-
 dev-util/radare2/radare2-5.2.0.ebuild| 7 ++-
 dev-util/radare2/radare2-5.2.1.ebuild| 7 ++-
 dev-util/radare2/radare2-.ebuild | 7 ++-
 4 files changed, 8 insertions(+), 20 deletions(-)

diff --git a/dev-util/radare2/radare2-4.5.1-r1.ebuild 
b/dev-util/radare2/radare2-4.5.1-r1.ebuild
index 5dc5b337d6a..a5b8b7c3cfd 100644
--- a/dev-util/radare2/radare2-4.5.1-r1.ebuild
+++ b/dev-util/radare2/radare2-4.5.1-r1.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="ssl libressl"
+IUSE="ssl"
 
 RDEPEND="
dev-libs/libzip
@@ -26,10 +26,7 @@ RDEPEND="
sys-apps/file
sys-libs/zlib
dev-libs/capstone:0=
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
+   ssl? ( dev-libs/openssl:0= )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"

diff --git a/dev-util/radare2/radare2-5.2.0.ebuild 
b/dev-util/radare2/radare2-5.2.0.ebuild
index 21ead643e77..ce046dd6d93 100644
--- a/dev-util/radare2/radare2-5.2.0.ebuild
+++ b/dev-util/radare2/radare2-5.2.0.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="ssl libressl"
+IUSE="ssl"
 
 RDEPEND="
dev-libs/libzip
@@ -26,10 +26,7 @@ RDEPEND="
sys-apps/file
sys-libs/zlib
dev-libs/capstone:0=
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
+   ssl? ( dev-libs/openssl:0= )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"

diff --git a/dev-util/radare2/radare2-5.2.1.ebuild 
b/dev-util/radare2/radare2-5.2.1.ebuild
index 5dc5b337d6a..a5b8b7c3cfd 100644
--- a/dev-util/radare2/radare2-5.2.1.ebuild
+++ b/dev-util/radare2/radare2-5.2.1.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="ssl libressl"
+IUSE="ssl"
 
 RDEPEND="
dev-libs/libzip
@@ -26,10 +26,7 @@ RDEPEND="
sys-apps/file
sys-libs/zlib
dev-libs/capstone:0=
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
+   ssl? ( dev-libs/openssl:0= )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index 5dc5b337d6a..a5b8b7c3cfd 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="ssl libressl"
+IUSE="ssl"
 
 RDEPEND="
dev-libs/libzip
@@ -26,10 +26,7 @@ RDEPEND="
sys-apps/file
sys-libs/zlib
dev-libs/capstone:0=
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
+   ssl? ( dev-libs/openssl:0= )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-04-24 Thread Sergei Trofimovich
commit: 73a1bdc0de509acdff692441d48fb869dc9e812c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Apr 24 23:04:45 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr 24 23:11:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a1bdc0

dev-util/radare2: bump up to 5.2.0

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-5.2.1.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index e0a542c7a7d..13de9974974 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
 DIST radare2-5.2.0.tar.gz 8254980 BLAKE2B 
51335b5560ea9085a7cb6ae998657d62353ad65e10f715ca25ec34cde75d48cd06d8312a898de71096138365d3ea13de45e6e48b2c0f06cea7d593cca43a0ef9
 SHA512 
664ea6df65c1ea8d13a80d281c3dbbcae16fb308826b9276e68d63f26f239f4a5c0d59abcf9325c299894ad4ebf1098b964aa3cad0bbe58b6c96cbd6e7b25952
+DIST radare2-5.2.1.tar.gz 8302475 BLAKE2B 
2edfa30d15214ac4dac6065349c808b539619413e7a100459efd5bf74e95c2483edb1ec13de8387d3a7dcfe25a2922ee377c37f4781c374df04e63fe98910b7e
 SHA512 
c744f5c8fff163022a7a9a913fe34dfa0dee0d9ab3b18bd4cc038c2d487dbfeba2f1523aa12a3166a2c22c45bcc71e802fae101b72fc2e6adab96b522c0de17b

diff --git a/dev-util/radare2/radare2-5.2.1.ebuild 
b/dev-util/radare2/radare2-5.2.1.ebuild
new file mode 100644
index 000..5dc5b337d6a
--- /dev/null
+++ b/dev-util/radare2/radare2-5.2.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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/libzip
+   dev-libs/xxhash
+   sys-apps/file
+   sys-libs/zlib
+   dev-libs/capstone:0=
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   # Fix hardcoded docdir for fortunes
+   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
+   libr/include/r_userconf.h.acr
+   default
+}
+
+src_configure() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
+   econf \
+   --without-libuv \
+   --with-syscapstone \
+   --with-sysmagic \
+   --with-sysxxhash \
+   --with-syszip \
+   $(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
+
+   # These are not really docs. radare assumes
+   # uncompressed files: bug #761250
+   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-04-24 Thread Sergei Trofimovich
commit: 4c367d00206bcba74c916c19743f03d0a963b74b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Apr 24 12:28:45 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr 24 12:37:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c367d00

dev-util/radare2: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-5.1.1.ebuild | 78 ---
 2 files changed, 79 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index f17fb782b4a..e0a542c7a7d 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,2 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
-DIST radare2-5.1.1.tar.gz 7920840 BLAKE2B 
c6109453d3da6a08f8169bfdc610614f2aee2d6ef13a975ed89e5337c79ad1a8340a08df1ba9d08cbb0db7b61db8c0357a4878e7b948a988c08b895c24ec366b
 SHA512 
b6728bb59788804f5442d5eec8141f62c3b51f589955589b310733b3aeb28beedb969af540649f454dad96710231df384e389d8b4a1d55627d8370e4d3da454f
 DIST radare2-5.2.0.tar.gz 8254980 BLAKE2B 
51335b5560ea9085a7cb6ae998657d62353ad65e10f715ca25ec34cde75d48cd06d8312a898de71096138365d3ea13de45e6e48b2c0f06cea7d593cca43a0ef9
 SHA512 
664ea6df65c1ea8d13a80d281c3dbbcae16fb308826b9276e68d63f26f239f4a5c0d59abcf9325c299894ad4ebf1098b964aa3cad0bbe58b6c96cbd6e7b25952

diff --git a/dev-util/radare2/radare2-5.1.1.ebuild 
b/dev-util/radare2/radare2-5.1.1.ebuild
deleted file mode 100644
index 5dc5b337d6a..000
--- a/dev-util/radare2/radare2-5.1.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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/libzip
-   dev-libs/xxhash
-   sys-apps/file
-   sys-libs/zlib
-   dev-libs/capstone:0=
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   # Fix hardcoded docdir for fortunes
-   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
-   libr/include/r_userconf.h.acr
-   default
-}
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   econf \
-   --without-libuv \
-   --with-syscapstone \
-   --with-sysmagic \
-   --with-sysxxhash \
-   --with-syszip \
-   $(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
-
-   # These are not really docs. radare assumes
-   # uncompressed files: bug #761250
-   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/, dev-util/radare2/files/

2021-04-12 Thread Sergei Trofimovich
commit: e0bdceebac52482046dc9291ecc1bbdbbdb55f48
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Apr 12 23:04:21 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Apr 12 23:05:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0bdceeb

dev-util/radare2: bump up to 5.2.0

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest  |  1 +
 .../radare2/files/radare2-5.2.0-ssl-build.patch| 54 +++
 dev-util/radare2/radare2-5.2.0.ebuild  | 80 ++
 3 files changed, 135 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index ad15617c38f..f17fb782b4a 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
 DIST radare2-5.1.1.tar.gz 7920840 BLAKE2B 
c6109453d3da6a08f8169bfdc610614f2aee2d6ef13a975ed89e5337c79ad1a8340a08df1ba9d08cbb0db7b61db8c0357a4878e7b948a988c08b895c24ec366b
 SHA512 
b6728bb59788804f5442d5eec8141f62c3b51f589955589b310733b3aeb28beedb969af540649f454dad96710231df384e389d8b4a1d55627d8370e4d3da454f
+DIST radare2-5.2.0.tar.gz 8254980 BLAKE2B 
51335b5560ea9085a7cb6ae998657d62353ad65e10f715ca25ec34cde75d48cd06d8312a898de71096138365d3ea13de45e6e48b2c0f06cea7d593cca43a0ef9
 SHA512 
664ea6df65c1ea8d13a80d281c3dbbcae16fb308826b9276e68d63f26f239f4a5c0d59abcf9325c299894ad4ebf1098b964aa3cad0bbe58b6c96cbd6e7b25952

diff --git a/dev-util/radare2/files/radare2-5.2.0-ssl-build.patch 
b/dev-util/radare2/files/radare2-5.2.0-ssl-build.patch
new file mode 100644
index 000..8701adb6266
--- /dev/null
+++ b/dev-util/radare2/files/radare2-5.2.0-ssl-build.patch
@@ -0,0 +1,54 @@
+From 7273429e4ba85318f0da2ae03ecc154834aaa73b Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich 
+Date: Mon, 12 Apr 2021 23:48:09 +0100
+Subject: [PATCH] state.c: fix --with-openssl build
+
+Build failure happens at:
+
+```
+$ ./configure --with-openssl && make
+
+state.c: In function 'r_hash_do_hmac_sha256':
+state.c:155:19: error: 'r_SHA256_BLOCK_LENGTH' undeclared (first use in this 
function); did you mean 'SHA256_BLOCK_LENGTH'?
+  155 | ut8 bskey[r_SHA256_BLOCK_LENGTH]; // block-sized key
+  |   ^
+  |   SHA256_BLOCK_LENGTH
+```
+
+The change defines r2_.* aliases for openssl implementation.
+---
+ libr/hash/state.c | 18 ++
+ 1 file changed, 18 insertions(+)
+
+diff --git a/libr/hash/state.c b/libr/hash/state.c
+index 6f3ae6b4c..93adafc81 100644
+--- a/libr/hash/state.c
 b/libr/hash/state.c
+@@ -7,6 +7,24 @@
+ #include 
+ #include 
+ #include 
++
++#  define r_SHA256_BLOCK_LENGTH SHA256_BLOCK_LENGTH
++
++#  define r_SHA1_Init   SHA1_Init
++#  define r_SHA1_Update SHA1_Update
++#  define r_SHA1_Final  SHA1_Final
++
++#  define r_SHA256_Init SHA256_Init
++#  define r_SHA256_Update   SHA256_Update
++#  define r_SHA256_FinalSHA256_Final
++
++#  define r_SHA384_Init SHA384_Init
++#  define r_SHA384_Update   SHA384_Update
++#  define r_SHA384_FinalSHA384_Final
++
++#  define r_SHA512_Init SHA512_Init
++#  define r_SHA512_Update   SHA512_Update
++#  define r_SHA512_FinalSHA512_Final
+ #else
+ #include "md4.h"
+ #include "md5.h"
+-- 
+2.31.1
+

diff --git a/dev-util/radare2/radare2-5.2.0.ebuild 
b/dev-util/radare2/radare2-5.2.0.ebuild
new file mode 100644
index 000..21ead643e77
--- /dev/null
+++ b/dev-util/radare2/radare2-5.2.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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/libzip
+   dev-libs/xxhash
+   sys-apps/file
+   sys-libs/zlib
+   dev-libs/capstone:0=
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=("${FILESDIR}"/${P}-ssl-build.patch)
+
+src_prepare() {
+   # Fix hardcoded docdir for fortunes
+   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-04-12 Thread Sam James
commit: ad650aa03e628de3b66849d7a21e1aaf1402a113
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  2 06:26:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 12 22:50:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad650aa0

dev-util/radare2: fix variable references, eutils--

Signed-off-by: Sam James  gentoo.org>

 dev-util/radare2/radare2-4.5.1-r1.ebuild | 8 
 dev-util/radare2/radare2-5.1.1.ebuild| 6 +++---
 dev-util/radare2/radare2-.ebuild | 8 
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/dev-util/radare2/radare2-4.5.1-r1.ebuild 
b/dev-util/radare2/radare2-4.5.1-r1.ebuild
index 963c0b6b6e7..5dc5b337d6a 100644
--- a/dev-util/radare2/radare2-4.5.1-r1.ebuild
+++ b/dev-util/radare2/radare2-4.5.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit bash-completion-r1 eutils toolchain-funcs
+inherit bash-completion-r1 toolchain-funcs
 
 DESCRIPTION="unix-like reverse engineering framework and commandline tools"
 HOMEPAGE="http://www.radare.org";
@@ -67,8 +67,8 @@ src_install() {
# 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'"
+   if [[ -d ${d} ]]; then
+   rm -rfv "${d}" || die "failed to delete '${d}'"
fi
done
 

diff --git a/dev-util/radare2/radare2-5.1.1.ebuild 
b/dev-util/radare2/radare2-5.1.1.ebuild
index fb93a9ece98..5dc5b337d6a 100644
--- a/dev-util/radare2/radare2-5.1.1.ebuild
+++ b/dev-util/radare2/radare2-5.1.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit bash-completion-r1 eutils toolchain-funcs
+inherit bash-completion-r1 toolchain-funcs
 
 DESCRIPTION="unix-like reverse engineering framework and commandline tools"
 HOMEPAGE="http://www.radare.org";
@@ -67,8 +67,8 @@ src_install() {
# 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'"
+   if [[ -d ${d} ]]; then
+   rm -rfv "${d}" || die "failed to delete '${d}'"
fi
done
 

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index 963c0b6b6e7..5dc5b337d6a 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit bash-completion-r1 eutils toolchain-funcs
+inherit bash-completion-r1 toolchain-funcs
 
 DESCRIPTION="unix-like reverse engineering framework and commandline tools"
 HOMEPAGE="http://www.radare.org";
@@ -67,8 +67,8 @@ src_install() {
# 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'"
+   if [[ -d ${d} ]]; then
+   rm -rfv "${d}" || die "failed to delete '${d}'"
fi
done
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-02-12 Thread Sergei Trofimovich
commit: e29364f6145dfedecd84c4321b5e90a8d4c8fba9
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Feb 12 08:20:36 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Feb 12 08:20:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e29364f6

dev-util/radare2: drop old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-5.1.0.ebuild | 78 ---
 2 files changed, 79 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 88812023dce..ad15617c38f 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,2 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
-DIST radare2-5.1.0.tar.gz 7908690 BLAKE2B 
4757eb0f729d6fa0de9bdf41b697c2ba722f8a2815e4ddb267ee1e68d50530596eaf549a7b062fd798aede214f982e309693f27df4f26257968559d35afe3076
 SHA512 
f973aeeb4d3a1e9eaf889a14bba4d54568dc2527d1160c7d999a7b2c870270cec7dc11a0eed12ae8f1d0aeacf63f14a92c7ca99f44e38573a6ce2276a08180f1
 DIST radare2-5.1.1.tar.gz 7920840 BLAKE2B 
c6109453d3da6a08f8169bfdc610614f2aee2d6ef13a975ed89e5337c79ad1a8340a08df1ba9d08cbb0db7b61db8c0357a4878e7b948a988c08b895c24ec366b
 SHA512 
b6728bb59788804f5442d5eec8141f62c3b51f589955589b310733b3aeb28beedb969af540649f454dad96710231df384e389d8b4a1d55627d8370e4d3da454f

diff --git a/dev-util/radare2/radare2-5.1.0.ebuild 
b/dev-util/radare2/radare2-5.1.0.ebuild
deleted file mode 100644
index fb93a9ece98..000
--- a/dev-util/radare2/radare2-5.1.0.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 eutils toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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/libzip
-   dev-libs/xxhash
-   sys-apps/file
-   sys-libs/zlib
-   dev-libs/capstone:0=
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   # Fix hardcoded docdir for fortunes
-   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
-   libr/include/r_userconf.h.acr
-   default
-}
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   econf \
-   --without-libuv \
-   --with-syscapstone \
-   --with-sysmagic \
-   --with-sysxxhash \
-   --with-syszip \
-   $(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
-
-   # These are not really docs. radare assumes
-   # uncompressed files: bug #761250
-   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-02-11 Thread Sergei Trofimovich
commit: ae7c1bf8d85d7cf093978b1b88177ee673efacd7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Feb 11 22:46:53 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Feb 11 22:57:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7c1bf8

dev-util/radare2: bump up to 5.1.1

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-5.1.1.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 5fdf05a1673..88812023dce 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
 DIST radare2-5.1.0.tar.gz 7908690 BLAKE2B 
4757eb0f729d6fa0de9bdf41b697c2ba722f8a2815e4ddb267ee1e68d50530596eaf549a7b062fd798aede214f982e309693f27df4f26257968559d35afe3076
 SHA512 
f973aeeb4d3a1e9eaf889a14bba4d54568dc2527d1160c7d999a7b2c870270cec7dc11a0eed12ae8f1d0aeacf63f14a92c7ca99f44e38573a6ce2276a08180f1
+DIST radare2-5.1.1.tar.gz 7920840 BLAKE2B 
c6109453d3da6a08f8169bfdc610614f2aee2d6ef13a975ed89e5337c79ad1a8340a08df1ba9d08cbb0db7b61db8c0357a4878e7b948a988c08b895c24ec366b
 SHA512 
b6728bb59788804f5442d5eec8141f62c3b51f589955589b310733b3aeb28beedb969af540649f454dad96710231df384e389d8b4a1d55627d8370e4d3da454f

diff --git a/dev-util/radare2/radare2-5.1.1.ebuild 
b/dev-util/radare2/radare2-5.1.1.ebuild
new file mode 100644
index 000..fb93a9ece98
--- /dev/null
+++ b/dev-util/radare2/radare2-5.1.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 eutils toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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/libzip
+   dev-libs/xxhash
+   sys-apps/file
+   sys-libs/zlib
+   dev-libs/capstone:0=
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   # Fix hardcoded docdir for fortunes
+   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
+   libr/include/r_userconf.h.acr
+   default
+}
+
+src_configure() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
+   econf \
+   --without-libuv \
+   --with-syscapstone \
+   --with-sysmagic \
+   --with-sysxxhash \
+   --with-syszip \
+   $(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
+
+   # These are not really docs. radare assumes
+   # uncompressed files: bug #761250
+   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-01-28 Thread Sergei Trofimovich
commit: 74c695ca881ff764992b642ce284384312264bdd
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Jan 28 08:06:06 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jan 28 08:09:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74c695ca

dev-util/radare2: drop old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-5.0.0.ebuild | 78 ---
 2 files changed, 79 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index a8c3e0fba80..5fdf05a1673 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,2 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
-DIST radare2-5.0.0.tar.gz 7897849 BLAKE2B 
be785b693e9de7264f21b857291286849e054e807d87b4c56a6177a132f9fa141c25661f9d28ea10b61fd298161693794f2ee70279cfd076a2b1a98c563dd2a9
 SHA512 
059bc341bc34c5f39ef7493af9e2d3b7e52667a2d16f12ef19c9c6ba83c911fd02e07cd527599caea503d5e81a5fedbd8ff343db4d41257e0f48ace9dd52f3ba
 DIST radare2-5.1.0.tar.gz 7908690 BLAKE2B 
4757eb0f729d6fa0de9bdf41b697c2ba722f8a2815e4ddb267ee1e68d50530596eaf549a7b062fd798aede214f982e309693f27df4f26257968559d35afe3076
 SHA512 
f973aeeb4d3a1e9eaf889a14bba4d54568dc2527d1160c7d999a7b2c870270cec7dc11a0eed12ae8f1d0aeacf63f14a92c7ca99f44e38573a6ce2276a08180f1

diff --git a/dev-util/radare2/radare2-5.0.0.ebuild 
b/dev-util/radare2/radare2-5.0.0.ebuild
deleted file mode 100644
index 963c0b6b6e7..000
--- a/dev-util/radare2/radare2-5.0.0.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 eutils toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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/libzip
-   dev-libs/xxhash
-   sys-apps/file
-   sys-libs/zlib
-   dev-libs/capstone:0=
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-   # Fix hardcoded docdir for fortunes
-   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
-   libr/include/r_userconf.h.acr
-   default
-}
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   econf \
-   --without-libuv \
-   --with-syscapstone \
-   --with-sysmagic \
-   --with-sysxxhash \
-   --with-syszip \
-   $(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
-
-   # These are not really docs. radare assumes
-   # uncompressed files: bug #761250
-   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/

2021-01-27 Thread Conrad Kostecki
commit: abce9280e3a145e6d51cd99e9e804c066b671fcd
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Jan 27 12:52:31 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jan 27 18:17:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abce9280

dev-util/radare2: remove unused patch(es)

Closes: https://github.com/gentoo/gentoo/pull/19240
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-util/radare2/files/radare2-4.5.1-docdir.patch | 12 
 1 file changed, 12 deletions(-)

diff --git a/dev-util/radare2/files/radare2-4.5.1-docdir.patch 
b/dev-util/radare2/files/radare2-4.5.1-docdir.patch
deleted file mode 100644
index 51dcd7b16e1..000
--- a/dev-util/radare2/files/radare2-4.5.1-docdir.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Be closer to ${PF} than ${PN}.
 a/libr/include/r_userconf.h.acr
-+++ b/libr/include/r_userconf.h.acr
-@@ -53,7 +53,7 @@
- #define R2_ZIGNSR_JOIN_4_PATHS ("share", "radare2", R2_VERSION, 
"zigns")
- #define R2_THEMES   R_JOIN_4_PATHS ("share", "radare2", R2_VERSION, 
"cons")
- #define R2_FLAGSR_JOIN_4_PATHS ("share", "radare2", R2_VERSION, 
"flag")
--#define R2_FORTUNES R_JOIN_3_PATHS ("share", "doc", "radare2")
-+#define R2_FORTUNES R_JOIN_3_PATHS ("share", "doc", "radare2-" 
R2_VERSION)
- #define R2_HUD  R_JOIN_4_PATHS ("share", "radare2", R2_VERSION, 
"hud")
- #endif
- 



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-01-26 Thread Sergei Trofimovich
commit: 7b6202e5d9222af95545350f3f34f52d18788173
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Jan 27 07:28:43 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jan 27 07:31:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b6202e5

dev-util/radare2: bump up to 5.1.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-5.1.0.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 13664a54135..a8c3e0fba80 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
 DIST radare2-5.0.0.tar.gz 7897849 BLAKE2B 
be785b693e9de7264f21b857291286849e054e807d87b4c56a6177a132f9fa141c25661f9d28ea10b61fd298161693794f2ee70279cfd076a2b1a98c563dd2a9
 SHA512 
059bc341bc34c5f39ef7493af9e2d3b7e52667a2d16f12ef19c9c6ba83c911fd02e07cd527599caea503d5e81a5fedbd8ff343db4d41257e0f48ace9dd52f3ba
+DIST radare2-5.1.0.tar.gz 7908690 BLAKE2B 
4757eb0f729d6fa0de9bdf41b697c2ba722f8a2815e4ddb267ee1e68d50530596eaf549a7b062fd798aede214f982e309693f27df4f26257968559d35afe3076
 SHA512 
f973aeeb4d3a1e9eaf889a14bba4d54568dc2527d1160c7d999a7b2c870270cec7dc11a0eed12ae8f1d0aeacf63f14a92c7ca99f44e38573a6ce2276a08180f1

diff --git a/dev-util/radare2/radare2-5.1.0.ebuild 
b/dev-util/radare2/radare2-5.1.0.ebuild
new file mode 100644
index 000..fb93a9ece98
--- /dev/null
+++ b/dev-util/radare2/radare2-5.1.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 eutils toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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/libzip
+   dev-libs/xxhash
+   sys-apps/file
+   sys-libs/zlib
+   dev-libs/capstone:0=
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   # Fix hardcoded docdir for fortunes
+   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
+   libr/include/r_userconf.h.acr
+   default
+}
+
+src_configure() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
+   econf \
+   --without-libuv \
+   --with-syscapstone \
+   --with-sysmagic \
+   --with-sysxxhash \
+   --with-syszip \
+   $(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
+
+   # These are not really docs. radare assumes
+   # uncompressed files: bug #761250
+   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2021-01-23 Thread Sergei Trofimovich
commit: 3f70c4ccad1db8ba3525532b2681153ab7256620
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jan 23 11:00:20 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jan 23 11:28:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f70c4cc

dev-util/radare2: drop old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/radare2-4.5.1.ebuild | 66 ---
 1 file changed, 66 deletions(-)

diff --git a/dev-util/radare2/radare2-4.5.1.ebuild 
b/dev-util/radare2/radare2-4.5.1.ebuild
deleted file mode 100644
index 036a151c8c7..000
--- a/dev-util/radare2/radare2-4.5.1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 eutils toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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"
-
-PATCHES=("${FILESDIR}"/${PN}-4.5.1-docdir.patch)
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   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
-
-   # These are not really docs. radare assumes
-   # uncompressed files: bug #761250
-   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-12-26 Thread Sergei Trofimovich
commit: 1d61083e0c98c0e7aaf6fdba588555bcc6ed527e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Dec 26 19:02:31 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Dec 26 19:26:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d61083e

dev-util/radare2: bump up to 5.0.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-5.0.0.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 2eb220c54e8..13664a54135 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1 +1,2 @@
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
+DIST radare2-5.0.0.tar.gz 7897849 BLAKE2B 
be785b693e9de7264f21b857291286849e054e807d87b4c56a6177a132f9fa141c25661f9d28ea10b61fd298161693794f2ee70279cfd076a2b1a98c563dd2a9
 SHA512 
059bc341bc34c5f39ef7493af9e2d3b7e52667a2d16f12ef19c9c6ba83c911fd02e07cd527599caea503d5e81a5fedbd8ff343db4d41257e0f48ace9dd52f3ba

diff --git a/dev-util/radare2/radare2-5.0.0.ebuild 
b/dev-util/radare2/radare2-5.0.0.ebuild
new file mode 100644
index 000..963c0b6b6e7
--- /dev/null
+++ b/dev-util/radare2/radare2-5.0.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 eutils toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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/libzip
+   dev-libs/xxhash
+   sys-apps/file
+   sys-libs/zlib
+   dev-libs/capstone:0=
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+   # Fix hardcoded docdir for fortunes
+   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
+   libr/include/r_userconf.h.acr
+   default
+}
+
+src_configure() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
+   econf \
+   --without-libuv \
+   --with-syscapstone \
+   --with-sysmagic \
+   --with-sysxxhash \
+   --with-syszip \
+   $(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
+
+   # These are not really docs. radare assumes
+   # uncompressed files: bug #761250
+   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-12-24 Thread Sergei Trofimovich
commit: b65a733dff63706b0f5025107a50e9e4b9afae9f
Author: mid-kid  gmail  com>
AuthorDate: Thu Dec 24 17:02:10 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Dec 24 18:00:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65a733d

dev-util/radare2: Replace docdir patch with sed line

This fixes fetching the fortunes when the package has a -r revision
number.

Signed-off-by: mid-kid  gmail.com>

 100.0% dev-util/radare2/

Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/radare2-4.5.1-r1.ebuild | 7 ++-
 dev-util/radare2/radare2-.ebuild | 7 +++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-util/radare2/radare2-4.5.1-r1.ebuild 
b/dev-util/radare2/radare2-4.5.1-r1.ebuild
index 2979f0f39ad..963c0b6b6e7 100644
--- a/dev-util/radare2/radare2-4.5.1-r1.ebuild
+++ b/dev-util/radare2/radare2-4.5.1-r1.ebuild
@@ -34,7 +34,12 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-PATCHES=("${FILESDIR}"/${PN}-4.5.1-docdir.patch)
+src_prepare() {
+   # Fix hardcoded docdir for fortunes
+   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
+   libr/include/r_userconf.h.acr
+   default
+}
 
 src_configure() {
# Ideally these should be set by ./configure

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index e7065fb50ac..963c0b6b6e7 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.ebuild
@@ -34,6 +34,13 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+src_prepare() {
+   # Fix hardcoded docdir for fortunes
+   sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
+   libr/include/r_userconf.h.acr
+   default
+}
+
 src_configure() {
# Ideally these should be set by ./configure
tc-export CC AR LD OBJCOPY RANLIB



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-12-24 Thread Sergei Trofimovich
commit: bd1c0bf77415b5b34ad39d1cfbb5a082c052
Author: mid-kid  gmail  com>
AuthorDate: Thu Dec 24 16:41:05 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Dec 24 18:00:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd1c0bf7

dev-util/radare2: Unbundle some libraries (bug #761247)

Libraries in question:
- dev-libs/libzip
- dev-libs/xxhash
- sys-apps/file (libmagic)
- sys-libs/zlib

Signed-off-by: mid-kid  gmail.com>

 100.0% dev-util/radare2/

Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../radare2/{radare2-.ebuild => radare2-4.5.1-r1.ebuild} | 9 +
 dev-util/radare2/radare2-.ebuild | 7 +++
 2 files changed, 16 insertions(+)

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-4.5.1-r1.ebuild
similarity index 89%
copy from dev-util/radare2/radare2-.ebuild
copy to dev-util/radare2/radare2-4.5.1-r1.ebuild
index 3c24d71a337..2979f0f39ad 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-4.5.1-r1.ebuild
@@ -21,6 +21,10 @@ SLOT="0"
 IUSE="ssl libressl"
 
 RDEPEND="
+   dev-libs/libzip
+   dev-libs/xxhash
+   sys-apps/file
+   sys-libs/zlib
dev-libs/capstone:0=
ssl? (
!libressl? ( dev-libs/openssl:0= )
@@ -30,6 +34,8 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+PATCHES=("${FILESDIR}"/${PN}-4.5.1-docdir.patch)
+
 src_configure() {
# Ideally these should be set by ./configure
tc-export CC AR LD OBJCOPY RANLIB
@@ -38,6 +44,9 @@ src_configure() {
econf \
--without-libuv \
--with-syscapstone \
+   --with-sysmagic \
+   --with-sysxxhash \
+   --with-syszip \
$(use_with ssl openssl)
 }
 

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index 3c24d71a337..e7065fb50ac 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.ebuild
@@ -21,6 +21,10 @@ SLOT="0"
 IUSE="ssl libressl"
 
 RDEPEND="
+   dev-libs/libzip
+   dev-libs/xxhash
+   sys-apps/file
+   sys-libs/zlib
dev-libs/capstone:0=
ssl? (
!libressl? ( dev-libs/openssl:0= )
@@ -38,6 +42,9 @@ src_configure() {
econf \
--without-libuv \
--with-syscapstone \
+   --with-sysmagic \
+   --with-sysxxhash \
+   --with-syszip \
$(use_with ssl openssl)
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2020-12-22 Thread Sergei Trofimovich
commit: fb689df7977dc3a88f8a8fecd1cc6d0095dfbe07
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Dec 22 23:06:18 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Dec 22 23:34:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb689df7

dev-util/radare2: don't compress fortunes

radare2 reads and parses files as is. Compression breaks it.

Reported-by: Esteve Varela Colominas
Closes: https://bugs.gentoo.org/761250
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/files/radare2-4.5.1-docdir.patch | 12 
 dev-util/radare2/radare2-4.5.1.ebuild |  6 ++
 dev-util/radare2/radare2-.ebuild  | 12 ++--
 3 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/dev-util/radare2/files/radare2-4.5.1-docdir.patch 
b/dev-util/radare2/files/radare2-4.5.1-docdir.patch
new file mode 100644
index 000..51dcd7b16e1
--- /dev/null
+++ b/dev-util/radare2/files/radare2-4.5.1-docdir.patch
@@ -0,0 +1,12 @@
+Be closer to ${PF} than ${PN}.
+--- a/libr/include/r_userconf.h.acr
 b/libr/include/r_userconf.h.acr
+@@ -53,7 +53,7 @@
+ #define R2_ZIGNSR_JOIN_4_PATHS ("share", "radare2", R2_VERSION, 
"zigns")
+ #define R2_THEMES   R_JOIN_4_PATHS ("share", "radare2", R2_VERSION, 
"cons")
+ #define R2_FLAGSR_JOIN_4_PATHS ("share", "radare2", R2_VERSION, 
"flag")
+-#define R2_FORTUNES R_JOIN_3_PATHS ("share", "doc", "radare2")
++#define R2_FORTUNES R_JOIN_3_PATHS ("share", "doc", "radare2-" 
R2_VERSION)
+ #define R2_HUD  R_JOIN_4_PATHS ("share", "radare2", R2_VERSION, 
"hud")
+ #endif
+ 

diff --git a/dev-util/radare2/radare2-4.5.1.ebuild 
b/dev-util/radare2/radare2-4.5.1.ebuild
index 302e356bc8b..036a151c8c7 100644
--- a/dev-util/radare2/radare2-4.5.1.ebuild
+++ b/dev-util/radare2/radare2-4.5.1.ebuild
@@ -30,6 +30,8 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+PATCHES=("${FILESDIR}"/${PN}-4.5.1-docdir.patch)
+
 src_configure() {
# Ideally these should be set by ./configure
tc-export CC AR LD OBJCOPY RANLIB
@@ -57,4 +59,8 @@ src_install() {
rm -rfv "$d" || die "failed to delete '$d'"
fi
done
+
+   # These are not really docs. radare assumes
+   # uncompressed files: bug #761250
+   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
 }

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index 36cda6bb0ae..3c24d71a337 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit bash-completion-r1 eutils
+inherit bash-completion-r1 eutils toolchain-funcs
 
 DESCRIPTION="unix-like reverse engineering framework and commandline tools"
 HOMEPAGE="http://www.radare.org";
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 src_configure() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
econf \
--without-libuv \
--with-syscapstone \
@@ -53,4 +57,8 @@ src_install() {
rm -rfv "$d" || die "failed to delete '$d'"
fi
done
+
+   # These are not really docs. radare assumes
+   # uncompressed files: bug #761250
+   docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
 }



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-10-18 Thread Sergei Trofimovich
commit: 962601992ebe74f65e47cee7097234967b7a0ce6
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Oct 18 12:31:12 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Oct 18 12:31:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96260199

dev-util/radare2: drop old

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-4.5.0.ebuild | 60 ---
 2 files changed, 61 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index c8c4026f39d..2eb220c54e8 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1 @@
-DIST radare2-4.5.0.tar.gz 8265716 BLAKE2B 
5288b393eb40f0f9355ad44a102a768924775ce11d126477d89a77d4dbb885556371125ea9f54ce81216bcef25387b816ab679b99a2e6c31c7f48db13ccc4774
 SHA512 
84d4ffc28f499f4360f57f31ad1b1f4b2a14e7fcbde7198bfb9ec4a85ac6606ceb5b28602624d6419b14b1586afd50330ace6232a183d7bfb876fefe07ea7bf4
 DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899

diff --git a/dev-util/radare2/radare2-4.5.0.ebuild 
b/dev-util/radare2/radare2-4.5.0.ebuild
deleted file mode 100644
index 302e356bc8b..000
--- a/dev-util/radare2/radare2-4.5.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 eutils toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-09-03 Thread Sergei Trofimovich
commit: c91258e80eec42917d139e7d0ff77ab7bd245e1b
Author: Petr Vaněk  atlas  cz>
AuthorDate: Thu Sep  3 15:40:25 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Sep  3 22:28:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c91258e8

dev-util/radare2: bump up to 4.5.1

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Petr Vaněk  atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/17401
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-4.5.1.ebuild | 60 +++
 2 files changed, 61 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 2d065a4b603..c8c4026f39d 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1 +1,2 @@
 DIST radare2-4.5.0.tar.gz 8265716 BLAKE2B 
5288b393eb40f0f9355ad44a102a768924775ce11d126477d89a77d4dbb885556371125ea9f54ce81216bcef25387b816ab679b99a2e6c31c7f48db13ccc4774
 SHA512 
84d4ffc28f499f4360f57f31ad1b1f4b2a14e7fcbde7198bfb9ec4a85ac6606ceb5b28602624d6419b14b1586afd50330ace6232a183d7bfb876fefe07ea7bf4
+DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 
0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046dab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1
 SHA512 
f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899

diff --git a/dev-util/radare2/radare2-4.5.1.ebuild 
b/dev-util/radare2/radare2-4.5.1.ebuild
new file mode 100644
index 000..302e356bc8b
--- /dev/null
+++ b/dev-util/radare2/radare2-4.5.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 eutils toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2020-07-20 Thread Sergei Trofimovich
commit: f8b1eb856f923a61e2d1c5bf1f12145e89232c5c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jul 20 21:30:44 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul 20 21:31:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8b1eb85

dev-util/radare2: drop old <4.5.0 versions

Bug: https://bugs.gentoo.org/733368
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/files/radare2-4.4.0-AR.patch | 25 -
 dev-util/radare2/files/radare2-4.4.0-RANLIB.patch | 24 -
 dev-util/radare2/radare2-4.4.0-r1.ebuild  | 65 ---
 4 files changed, 115 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index ab7bde52c1b..2d065a4b603 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1 @@
-DIST radare2-4.4.0.tar.gz 8135544 BLAKE2B 
1a1a4ce97dde4b8985cbe95bb889bfdef8f9d64e2c2257030fda523b1a1aced4e6681bc0f7b14d1a3f25fbce355f2062f0edc33ab396bef98792d29d1f708a11
 SHA512 
6208d97f8333e72dfd04cccdb0234b60fb8979ca559b92532bf7e47d402f91e0c54678a83e6bafee65666fb7d6008b44b961600f24f9b3275cb2eec32490eaa5
 DIST radare2-4.5.0.tar.gz 8265716 BLAKE2B 
5288b393eb40f0f9355ad44a102a768924775ce11d126477d89a77d4dbb885556371125ea9f54ce81216bcef25387b816ab679b99a2e6c31c7f48db13ccc4774
 SHA512 
84d4ffc28f499f4360f57f31ad1b1f4b2a14e7fcbde7198bfb9ec4a85ac6606ceb5b28602624d6419b14b1586afd50330ace6232a183d7bfb876fefe07ea7bf4

diff --git a/dev-util/radare2/files/radare2-4.4.0-AR.patch 
b/dev-util/radare2/files/radare2-4.4.0-AR.patch
deleted file mode 100644
index 406bd7ab004..000
--- a/dev-util/radare2/files/radare2-4.4.0-AR.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-
 a/mk/clang.mk
-+++ b/mk/clang.mk
-@@ -3,7 +3,8 @@ _INCLUDE_MK_CLANG_=1
- CC?=clang
- RANLIB=ranlib
- ONELIB=0
--CC_AR=ar q ${LIBAR}
-+AR?=ar
-+CC_AR=$(AR) q ${LIBAR}
- CFLAGS+=-MD
- CFLAGS_INCLUDE=-I
- LDFLAGS_LINK=-l
 a/mk/gcc.mk
-+++ b/mk/gcc.mk
-@@ -4,7 +4,8 @@ CC?=gcc
- OBJCOPY=objcopy
- RANLIB=ranlib
- ONELIB=0
--CC_AR=ar q ${LIBAR}
-+AR?=ar
-+CC_AR=$(AR) q ${LIBAR}
- CFLAGS+=-MD
- CFLAGS_INCLUDE=-I
- LDFLAGS_LINK=-l

diff --git a/dev-util/radare2/files/radare2-4.4.0-RANLIB.patch 
b/dev-util/radare2/files/radare2-4.4.0-RANLIB.patch
deleted file mode 100644
index 6ce007a5278..000
--- a/dev-util/radare2/files/radare2-4.4.0-RANLIB.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 a/mk/clang.mk
-+++ b/mk/clang.mk
-@@ -1,7 +1,7 @@
- ifeq (${_INCLUDE_MK_CLANG_},)
- _INCLUDE_MK_CLANG_=1
- CC?=clang
--RANLIB=ranlib
-+RANLIB?=ranlib
- ONELIB=0
- AR?=ar
- CC_AR=$(AR) q ${LIBAR}
 a/mk/gcc.mk
-+++ b/mk/gcc.mk
-@@ -1,8 +1,8 @@
- ifeq (${_INCLUDE_MK_GCC_},)
- _INCLUDE_MK_GCC_=1
- CC?=gcc
--OBJCOPY=objcopy
--RANLIB=ranlib
-+OBJCOPY?=objcopy
-+RANLIB?=ranlib
- ONELIB=0
- AR?=ar
- CC_AR=$(AR) q ${LIBAR}

diff --git a/dev-util/radare2/radare2-4.4.0-r1.ebuild 
b/dev-util/radare2/radare2-4.4.0-r1.ebuild
deleted file mode 100644
index 376d0a9f521..000
--- a/dev-util/radare2/radare2-4.4.0-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 eutils toolchain-funcs
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.4.0-AR.patch
-   "${FILESDIR}"/${PN}-4.4.0-RANLIB.patch
-)
-
-src_configure() {
-   # Ideally these should be set by ./configure
-   tc-export CC AR LD OBJCOPY RANLIB
-   export HOST_CC=${CC}
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-07-18 Thread Sergei Trofimovich
commit: 5f1570e07bf9ea21f7d572ba8f96fdac33c412a4
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jul 18 22:09:20 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul 18 22:23:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f1570e0

dev-util/radare2: bump up to 4.5.0

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-4.5.0.ebuild | 60 +++
 2 files changed, 61 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 79ef6af96a9..ab7bde52c1b 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1 +1,2 @@
 DIST radare2-4.4.0.tar.gz 8135544 BLAKE2B 
1a1a4ce97dde4b8985cbe95bb889bfdef8f9d64e2c2257030fda523b1a1aced4e6681bc0f7b14d1a3f25fbce355f2062f0edc33ab396bef98792d29d1f708a11
 SHA512 
6208d97f8333e72dfd04cccdb0234b60fb8979ca559b92532bf7e47d402f91e0c54678a83e6bafee65666fb7d6008b44b961600f24f9b3275cb2eec32490eaa5
+DIST radare2-4.5.0.tar.gz 8265716 BLAKE2B 
5288b393eb40f0f9355ad44a102a768924775ce11d126477d89a77d4dbb885556371125ea9f54ce81216bcef25387b816ab679b99a2e6c31c7f48db13ccc4774
 SHA512 
84d4ffc28f499f4360f57f31ad1b1f4b2a14e7fcbde7198bfb9ec4a85ac6606ceb5b28602624d6419b14b1586afd50330ace6232a183d7bfb876fefe07ea7bf4

diff --git a/dev-util/radare2/radare2-4.5.0.ebuild 
b/dev-util/radare2/radare2-4.5.0.ebuild
new file mode 100644
index 000..302e356bc8b
--- /dev/null
+++ b/dev-util/radare2/radare2-4.5.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 eutils toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-05-29 Thread Sergei Trofimovich
commit: ff1762deda69790c2d4d0b21873bee9c659831b3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri May 29 22:08:04 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri May 29 22:13:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff1762de

dev-util/radare2: drop old

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/radare2-4.4.0.ebuild | 56 ---
 1 file changed, 56 deletions(-)

diff --git a/dev-util/radare2/radare2-4.4.0.ebuild 
b/dev-util/radare2/radare2-4.4.0.ebuild
deleted file mode 100644
index c3c2387a8dc..000
--- a/dev-util/radare2/radare2-4.4.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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} == * ]]; 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2020-05-23 Thread Sergei Trofimovich
commit: 12e796831bdef05d6f3e87088a379c1f612a5725
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat May 23 11:39:14 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat May 23 11:39:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e79683

dev-util/radare2: pass CC,AR,LD,OBJCOPY,RANLIB, bug #720700

Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/720700
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/files/radare2-4.4.0-AR.patch | 25 +
 dev-util/radare2/files/radare2-4.4.0-RANLIB.patch | 24 +
 dev-util/radare2/radare2-4.4.0-r1.ebuild  | 65 +++
 3 files changed, 114 insertions(+)

diff --git a/dev-util/radare2/files/radare2-4.4.0-AR.patch 
b/dev-util/radare2/files/radare2-4.4.0-AR.patch
new file mode 100644
index 000..406bd7ab004
--- /dev/null
+++ b/dev-util/radare2/files/radare2-4.4.0-AR.patch
@@ -0,0 +1,25 @@
+
+--- a/mk/clang.mk
 b/mk/clang.mk
+@@ -3,7 +3,8 @@ _INCLUDE_MK_CLANG_=1
+ CC?=clang
+ RANLIB=ranlib
+ ONELIB=0
+-CC_AR=ar q ${LIBAR}
++AR?=ar
++CC_AR=$(AR) q ${LIBAR}
+ CFLAGS+=-MD
+ CFLAGS_INCLUDE=-I
+ LDFLAGS_LINK=-l
+--- a/mk/gcc.mk
 b/mk/gcc.mk
+@@ -4,7 +4,8 @@ CC?=gcc
+ OBJCOPY=objcopy
+ RANLIB=ranlib
+ ONELIB=0
+-CC_AR=ar q ${LIBAR}
++AR?=ar
++CC_AR=$(AR) q ${LIBAR}
+ CFLAGS+=-MD
+ CFLAGS_INCLUDE=-I
+ LDFLAGS_LINK=-l

diff --git a/dev-util/radare2/files/radare2-4.4.0-RANLIB.patch 
b/dev-util/radare2/files/radare2-4.4.0-RANLIB.patch
new file mode 100644
index 000..6ce007a5278
--- /dev/null
+++ b/dev-util/radare2/files/radare2-4.4.0-RANLIB.patch
@@ -0,0 +1,24 @@
+--- a/mk/clang.mk
 b/mk/clang.mk
+@@ -1,7 +1,7 @@
+ ifeq (${_INCLUDE_MK_CLANG_},)
+ _INCLUDE_MK_CLANG_=1
+ CC?=clang
+-RANLIB=ranlib
++RANLIB?=ranlib
+ ONELIB=0
+ AR?=ar
+ CC_AR=$(AR) q ${LIBAR}
+--- a/mk/gcc.mk
 b/mk/gcc.mk
+@@ -1,8 +1,8 @@
+ ifeq (${_INCLUDE_MK_GCC_},)
+ _INCLUDE_MK_GCC_=1
+ CC?=gcc
+-OBJCOPY=objcopy
+-RANLIB=ranlib
++OBJCOPY?=objcopy
++RANLIB?=ranlib
+ ONELIB=0
+ AR?=ar
+ CC_AR=$(AR) q ${LIBAR}

diff --git a/dev-util/radare2/radare2-4.4.0-r1.ebuild 
b/dev-util/radare2/radare2-4.4.0-r1.ebuild
new file mode 100644
index 000..376d0a9f521
--- /dev/null
+++ b/dev-util/radare2/radare2-4.4.0-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 eutils toolchain-funcs
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.4.0-AR.patch
+   "${FILESDIR}"/${PN}-4.4.0-RANLIB.patch
+)
+
+src_configure() {
+   # Ideally these should be set by ./configure
+   tc-export CC AR LD OBJCOPY RANLIB
+   export HOST_CC=${CC}
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-05-02 Thread Sergei Trofimovich
commit: 831d0ef584206c164753311189666b30df0e0b4b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat May  2 17:41:03 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat May  2 17:51:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=831d0ef5

dev-util/radare2: drop old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-4.3.1.ebuild | 56 ---
 2 files changed, 57 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index c2feff6c547..79ef6af96a9 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1 @@
-DIST radare2-4.3.1.tar.gz 8113591 BLAKE2B 
289f6e4e3cb163017454918e7e5e31186cf41435f66a91ca5decf2819a06543908eeb3224041997eeba37e5bb7150874f431f301cf5f6aaa903601735e99d945
 SHA512 
06009dd2c75cfb2fcadd21041861f9569ff4b0b9438d1d5a1cf49ac8690ef041e18feb2445e6772acd0e217110328660e9de47db54d55c64f64764cb06988db8
 DIST radare2-4.4.0.tar.gz 8135544 BLAKE2B 
1a1a4ce97dde4b8985cbe95bb889bfdef8f9d64e2c2257030fda523b1a1aced4e6681bc0f7b14d1a3f25fbce355f2062f0edc33ab396bef98792d29d1f708a11
 SHA512 
6208d97f8333e72dfd04cccdb0234b60fb8979ca559b92532bf7e47d402f91e0c54678a83e6bafee65666fb7d6008b44b961600f24f9b3275cb2eec32490eaa5

diff --git a/dev-util/radare2/radare2-4.3.1.ebuild 
b/dev-util/radare2/radare2-4.3.1.ebuild
deleted file mode 100644
index c3c2387a8dc..000
--- a/dev-util/radare2/radare2-4.3.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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} == * ]]; 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-04-14 Thread Sergei Trofimovich
commit: 1aa3edf457ddeaef1e021e9c77e628eb0a3afe07
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Apr 14 08:19:27 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Apr 14 08:19:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aa3edf4

dev-util/radare2: bump up to 4.4.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-4.4.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 4f799ff613b..c2feff6c547 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1 +1,2 @@
 DIST radare2-4.3.1.tar.gz 8113591 BLAKE2B 
289f6e4e3cb163017454918e7e5e31186cf41435f66a91ca5decf2819a06543908eeb3224041997eeba37e5bb7150874f431f301cf5f6aaa903601735e99d945
 SHA512 
06009dd2c75cfb2fcadd21041861f9569ff4b0b9438d1d5a1cf49ac8690ef041e18feb2445e6772acd0e217110328660e9de47db54d55c64f64764cb06988db8
+DIST radare2-4.4.0.tar.gz 8135544 BLAKE2B 
1a1a4ce97dde4b8985cbe95bb889bfdef8f9d64e2c2257030fda523b1a1aced4e6681bc0f7b14d1a3f25fbce355f2062f0edc33ab396bef98792d29d1f708a11
 SHA512 
6208d97f8333e72dfd04cccdb0234b60fb8979ca559b92532bf7e47d402f91e0c54678a83e6bafee65666fb7d6008b44b961600f24f9b3275cb2eec32490eaa5

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 000..c3c2387a8dc
--- /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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-03-06 Thread Sergei Trofimovich
commit: 3750ecf6ffc2a621234219a107116cfadd04ea94
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Mar  6 09:06:06 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Mar  6 09:06:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3750ecf6

dev-util/radare2: bump up to 4.3.1

Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-4.3.1.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index aa091a0f3a0..897164f9070 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-4.2.1.tar.gz 8077107 BLAKE2B 
490b063d7340b60cec1f77577985818c9dec34dd9206ce7d9db29f5d1836d515044e67d143f81fd7f6c58269f6f62f0bd87adcdb7cfb2cca5c0120d98ea29fd3
 SHA512 
aed37f6ff7ae3a25e809e8fbab3ef1c370dba80b7b8ef440a025edfbda23314ce20990b3e89589fe6bee427b2beebabd67a9e1def603e53ca5078bf32bdc4e6c
 DIST radare2-4.3.0.tar.gz 8112940 BLAKE2B 
5e658536878ab27679de7e23a60c34ac4b8009ee2b93a430405bde45aa976c758b8d49800b258b4dd225b4945855d41d19843e3fc22ab42b047abbfa1e524d42
 SHA512 
eb2efed6558e468efbdb2db810446d13f4649f63c5d40c14e2511f731cb7bc1642539b8cbccad45d311860fef4a6da9df56d6e505b117b99e839cd2ca0461ebc
+DIST radare2-4.3.1.tar.gz 8113591 BLAKE2B 
289f6e4e3cb163017454918e7e5e31186cf41435f66a91ca5decf2819a06543908eeb3224041997eeba37e5bb7150874f431f301cf5f6aaa903601735e99d945
 SHA512 
06009dd2c75cfb2fcadd21041861f9569ff4b0b9438d1d5a1cf49ac8690ef041e18feb2445e6772acd0e217110328660e9de47db54d55c64f64764cb06988db8

diff --git a/dev-util/radare2/radare2-4.3.1.ebuild 
b/dev-util/radare2/radare2-4.3.1.ebuild
new file mode 100644
index 000..c3c2387a8dc
--- /dev/null
+++ b/dev-util/radare2/radare2-4.3.1.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-03-05 Thread Sergei Trofimovich
commit: 125e593ce3ca408c5e0c7629633e507d6eb85de1
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Mar  5 17:51:39 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Mar  5 17:51:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=125e593c

dev-util/radare2: bump up to 4.3.0

Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-4.3.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 88a60b5c57f..aa091a0f3a0 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1 +1,2 @@
 DIST radare2-4.2.1.tar.gz 8077107 BLAKE2B 
490b063d7340b60cec1f77577985818c9dec34dd9206ce7d9db29f5d1836d515044e67d143f81fd7f6c58269f6f62f0bd87adcdb7cfb2cca5c0120d98ea29fd3
 SHA512 
aed37f6ff7ae3a25e809e8fbab3ef1c370dba80b7b8ef440a025edfbda23314ce20990b3e89589fe6bee427b2beebabd67a9e1def603e53ca5078bf32bdc4e6c
+DIST radare2-4.3.0.tar.gz 8112940 BLAKE2B 
5e658536878ab27679de7e23a60c34ac4b8009ee2b93a430405bde45aa976c758b8d49800b258b4dd225b4945855d41d19843e3fc22ab42b047abbfa1e524d42
 SHA512 
eb2efed6558e468efbdb2db810446d13f4649f63c5d40c14e2511f731cb7bc1642539b8cbccad45d311860fef4a6da9df56d6e505b117b99e839cd2ca0461ebc

diff --git a/dev-util/radare2/radare2-4.3.0.ebuild 
b/dev-util/radare2/radare2-4.3.0.ebuild
new file mode 100644
index 000..c3c2387a8dc
--- /dev/null
+++ b/dev-util/radare2/radare2-4.3.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-02-12 Thread Sergei Trofimovich
commit: fd03327268ce5005f4a406ec50c58c3eb4e35ce2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Feb 12 22:19:16 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Feb 12 22:32:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd033272

dev-util/radare2: drop old

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  2 --
 dev-util/radare2/radare2-4.0.0.ebuild | 56 ---
 dev-util/radare2/radare2-4.2.0.ebuild | 56 ---
 3 files changed, 114 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 0a0c50d1e35..88a60b5c57f 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1 @@
-DIST radare2-4.0.0.tar.gz 7558070 BLAKE2B 
9c7cb4492832c97c4f71c9583ecd78af843551fa0d02a07b29cf76c04062ce9e71e8d8fd72e87260311896f61ec709e577b328215c69d52598218d566f98d543
 SHA512 
3877088f61d8fac6a8fa12a35ef895904473e1db7e7428961eb06822ff1218338cd5b9ab16f78773413b31fec7463963b0cc3f801c661ce17cd40c8ddd423d76
-DIST radare2-4.2.0.tar.gz 8074915 BLAKE2B 
c82bae7eff90a1436ce0963141ba631e8d23f66fbbba3afd52001ab83ef84162dc5e92d251bd47a2670c470efe6dd269357ce020b86d437bb9ffb605a2d59f3a
 SHA512 
e1e3f825f1faa1df035bf4658b4dbfb03a148353c7d74bf444e96912751eedf5d3d564b3fd5dd60667cac347710e56db149bf0987ee1ea26fafbc5c4ddb56dc1
 DIST radare2-4.2.1.tar.gz 8077107 BLAKE2B 
490b063d7340b60cec1f77577985818c9dec34dd9206ce7d9db29f5d1836d515044e67d143f81fd7f6c58269f6f62f0bd87adcdb7cfb2cca5c0120d98ea29fd3
 SHA512 
aed37f6ff7ae3a25e809e8fbab3ef1c370dba80b7b8ef440a025edfbda23314ce20990b3e89589fe6bee427b2beebabd67a9e1def603e53ca5078bf32bdc4e6c

diff --git a/dev-util/radare2/radare2-4.0.0.ebuild 
b/dev-util/radare2/radare2-4.0.0.ebuild
deleted file mode 100644
index 36cda6bb0ae..000
--- a/dev-util/radare2/radare2-4.0.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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} == * ]]; 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
-}

diff --git a/dev-util/radare2/radare2-4.2.0.ebuild 
b/dev-util/radare2/radare2-4.2.0.ebuild
deleted file mode 100644
index c3c2387a8dc..000
--- a/dev-util/radare2/radare2-4.2.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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} == * ]]; 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
-

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-02-02 Thread Sergei Trofimovich
commit: 61756a0c07c88a9eb2b4c28faffea34494f2ee3f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Feb  2 14:42:54 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Feb  2 14:46:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61756a0c

dev-util/radare2: bump up to 4.2.1

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-4.2.1.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index f67e909921d..d0a4d328184 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -3,3 +3,4 @@ DIST radare2-3.8.0.tar.gz 7510078 BLAKE2B 
c3dcc28c0cda8c7c5f8dbc6d35c3d15fa73fec
 DIST radare2-3.9.0.tar.gz 7519146 BLAKE2B 
cc64567c3ce4c0c764f288fcd8110a7ce25cc15fb6a977fc489ce7ad9b697d628d87ff9280601fd00a53a79fb8de3b7fdc83dff56463addfa80f3528ccb733ab
 SHA512 
7198c6fb35778d93fdbba5dd3dceddb7af21d555fb42f22752c8898ccba44fdcba92a6c502ddc8bdda71b883df392168ece807325b53cf75537b4ec59d86e42a
 DIST radare2-4.0.0.tar.gz 7558070 BLAKE2B 
9c7cb4492832c97c4f71c9583ecd78af843551fa0d02a07b29cf76c04062ce9e71e8d8fd72e87260311896f61ec709e577b328215c69d52598218d566f98d543
 SHA512 
3877088f61d8fac6a8fa12a35ef895904473e1db7e7428961eb06822ff1218338cd5b9ab16f78773413b31fec7463963b0cc3f801c661ce17cd40c8ddd423d76
 DIST radare2-4.2.0.tar.gz 8074915 BLAKE2B 
c82bae7eff90a1436ce0963141ba631e8d23f66fbbba3afd52001ab83ef84162dc5e92d251bd47a2670c470efe6dd269357ce020b86d437bb9ffb605a2d59f3a
 SHA512 
e1e3f825f1faa1df035bf4658b4dbfb03a148353c7d74bf444e96912751eedf5d3d564b3fd5dd60667cac347710e56db149bf0987ee1ea26fafbc5c4ddb56dc1
+DIST radare2-4.2.1.tar.gz 8077107 BLAKE2B 
490b063d7340b60cec1f77577985818c9dec34dd9206ce7d9db29f5d1836d515044e67d143f81fd7f6c58269f6f62f0bd87adcdb7cfb2cca5c0120d98ea29fd3
 SHA512 
aed37f6ff7ae3a25e809e8fbab3ef1c370dba80b7b8ef440a025edfbda23314ce20990b3e89589fe6bee427b2beebabd67a9e1def603e53ca5078bf32bdc4e6c

diff --git a/dev-util/radare2/radare2-4.2.1.ebuild 
b/dev-util/radare2/radare2-4.2.1.ebuild
new file mode 100644
index 000..c3c2387a8dc
--- /dev/null
+++ b/dev-util/radare2/radare2-4.2.1.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-02-02 Thread Sergei Trofimovich
commit: 0acc3f25e0b9ace520011563af440db69b24375f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Feb  2 14:43:46 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Feb  2 14:46:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0acc3f25

dev-util/radare2: drop old

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  3 --
 dev-util/radare2/radare2-3.7.1.ebuild | 56 ---
 dev-util/radare2/radare2-3.8.0.ebuild | 56 ---
 dev-util/radare2/radare2-3.9.0.ebuild | 56 ---
 4 files changed, 171 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index d0a4d328184..0a0c50d1e35 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,6 +1,3 @@
-DIST radare2-3.7.1.tar.gz 7481103 BLAKE2B 
4bae07dad298a45704ee45740bc3376902dfa35631efc94874666ead0b9c3dbb407558f4c02283d0909970247bc7730754cad9c6b6859a23ab40f408eff9102e
 SHA512 
972c137e20d73a4cc8001c6d3e3b0c68874ed4a837d2ec20f26bc164a5451dbd46264471adc93332eecadd86d8023579fa69b42fce0291f49979b451118c7673
-DIST radare2-3.8.0.tar.gz 7510078 BLAKE2B 
c3dcc28c0cda8c7c5f8dbc6d35c3d15fa73fec8402acfd5de0b3ea85ef0295608d2332efbb29a41e75239acafb66b1c3b946f58523d9e5bb605b70ddce3ce38d
 SHA512 
c9a1a4e7743b54026990d7473f05fb8eb25d7a7f0fd985172587ce82b8f6fefb53dd181b0bdb8463d2460c71e4a9eb377ead4ef7379615c90aa858d8fcadeadb
-DIST radare2-3.9.0.tar.gz 7519146 BLAKE2B 
cc64567c3ce4c0c764f288fcd8110a7ce25cc15fb6a977fc489ce7ad9b697d628d87ff9280601fd00a53a79fb8de3b7fdc83dff56463addfa80f3528ccb733ab
 SHA512 
7198c6fb35778d93fdbba5dd3dceddb7af21d555fb42f22752c8898ccba44fdcba92a6c502ddc8bdda71b883df392168ece807325b53cf75537b4ec59d86e42a
 DIST radare2-4.0.0.tar.gz 7558070 BLAKE2B 
9c7cb4492832c97c4f71c9583ecd78af843551fa0d02a07b29cf76c04062ce9e71e8d8fd72e87260311896f61ec709e577b328215c69d52598218d566f98d543
 SHA512 
3877088f61d8fac6a8fa12a35ef895904473e1db7e7428961eb06822ff1218338cd5b9ab16f78773413b31fec7463963b0cc3f801c661ce17cd40c8ddd423d76
 DIST radare2-4.2.0.tar.gz 8074915 BLAKE2B 
c82bae7eff90a1436ce0963141ba631e8d23f66fbbba3afd52001ab83ef84162dc5e92d251bd47a2670c470efe6dd269357ce020b86d437bb9ffb605a2d59f3a
 SHA512 
e1e3f825f1faa1df035bf4658b4dbfb03a148353c7d74bf444e96912751eedf5d3d564b3fd5dd60667cac347710e56db149bf0987ee1ea26fafbc5c4ddb56dc1
 DIST radare2-4.2.1.tar.gz 8077107 BLAKE2B 
490b063d7340b60cec1f77577985818c9dec34dd9206ce7d9db29f5d1836d515044e67d143f81fd7f6c58269f6f62f0bd87adcdb7cfb2cca5c0120d98ea29fd3
 SHA512 
aed37f6ff7ae3a25e809e8fbab3ef1c370dba80b7b8ef440a025edfbda23314ce20990b3e89589fe6bee427b2beebabd67a9e1def603e53ca5078bf32bdc4e6c

diff --git a/dev-util/radare2/radare2-3.7.1.ebuild 
b/dev-util/radare2/radare2-3.7.1.ebuild
deleted file mode 100644
index 0b3f4cfb432..000
--- a/dev-util/radare2/radare2-3.7.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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} == * ]]; 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-3.8.0.ebuild 
b/dev-util/radare2/radare2-3.8.0.ebuild
deleted file mode 100644
index 0b3f4cfb432..000
--- a/dev-util/radare2/radare2-3.8.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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} == * ]]; then
-   inherit git-r3
-

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2020-01-22 Thread Sergei Trofimovich
commit: 0f551c486220382f286860d0d1c26b5d31abfecb
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Jan 22 22:13:52 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jan 22 22:14:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f551c48

dev-util/radare2: bump up to 4.2.0

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-4.2.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 67fc826582f..f67e909921d 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -2,3 +2,4 @@ DIST radare2-3.7.1.tar.gz 7481103 BLAKE2B 
4bae07dad298a45704ee45740bc3376902dfa3
 DIST radare2-3.8.0.tar.gz 7510078 BLAKE2B 
c3dcc28c0cda8c7c5f8dbc6d35c3d15fa73fec8402acfd5de0b3ea85ef0295608d2332efbb29a41e75239acafb66b1c3b946f58523d9e5bb605b70ddce3ce38d
 SHA512 
c9a1a4e7743b54026990d7473f05fb8eb25d7a7f0fd985172587ce82b8f6fefb53dd181b0bdb8463d2460c71e4a9eb377ead4ef7379615c90aa858d8fcadeadb
 DIST radare2-3.9.0.tar.gz 7519146 BLAKE2B 
cc64567c3ce4c0c764f288fcd8110a7ce25cc15fb6a977fc489ce7ad9b697d628d87ff9280601fd00a53a79fb8de3b7fdc83dff56463addfa80f3528ccb733ab
 SHA512 
7198c6fb35778d93fdbba5dd3dceddb7af21d555fb42f22752c8898ccba44fdcba92a6c502ddc8bdda71b883df392168ece807325b53cf75537b4ec59d86e42a
 DIST radare2-4.0.0.tar.gz 7558070 BLAKE2B 
9c7cb4492832c97c4f71c9583ecd78af843551fa0d02a07b29cf76c04062ce9e71e8d8fd72e87260311896f61ec709e577b328215c69d52598218d566f98d543
 SHA512 
3877088f61d8fac6a8fa12a35ef895904473e1db7e7428961eb06822ff1218338cd5b9ab16f78773413b31fec7463963b0cc3f801c661ce17cd40c8ddd423d76
+DIST radare2-4.2.0.tar.gz 8074915 BLAKE2B 
c82bae7eff90a1436ce0963141ba631e8d23f66fbbba3afd52001ab83ef84162dc5e92d251bd47a2670c470efe6dd269357ce020b86d437bb9ffb605a2d59f3a
 SHA512 
e1e3f825f1faa1df035bf4658b4dbfb03a148353c7d74bf444e96912751eedf5d3d564b3fd5dd60667cac347710e56db149bf0987ee1ea26fafbc5c4ddb56dc1

diff --git a/dev-util/radare2/radare2-4.2.0.ebuild 
b/dev-util/radare2/radare2-4.2.0.ebuild
new file mode 100644
index 000..c3c2387a8dc
--- /dev/null
+++ b/dev-util/radare2/radare2-4.2.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-10-29 Thread Sergei Trofimovich
commit: e8f3bd3ef39bdb5561e49c0ca8b373bf1df37ac3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Oct 29 22:29:22 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Oct 29 22:29:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8f3bd3e

dev-util/radare2: bump up to 4.0.0

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest  | 1 +
 dev-util/radare2/{radare2-.ebuild => radare2-4.0.0.ebuild} | 4 ++--
 dev-util/radare2/radare2-.ebuild   | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 6b0177becd5..67fc826582f 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,4 @@
 DIST radare2-3.7.1.tar.gz 7481103 BLAKE2B 
4bae07dad298a45704ee45740bc3376902dfa35631efc94874666ead0b9c3dbb407558f4c02283d0909970247bc7730754cad9c6b6859a23ab40f408eff9102e
 SHA512 
972c137e20d73a4cc8001c6d3e3b0c68874ed4a837d2ec20f26bc164a5451dbd46264471adc93332eecadd86d8023579fa69b42fce0291f49979b451118c7673
 DIST radare2-3.8.0.tar.gz 7510078 BLAKE2B 
c3dcc28c0cda8c7c5f8dbc6d35c3d15fa73fec8402acfd5de0b3ea85ef0295608d2332efbb29a41e75239acafb66b1c3b946f58523d9e5bb605b70ddce3ce38d
 SHA512 
c9a1a4e7743b54026990d7473f05fb8eb25d7a7f0fd985172587ce82b8f6fefb53dd181b0bdb8463d2460c71e4a9eb377ead4ef7379615c90aa858d8fcadeadb
 DIST radare2-3.9.0.tar.gz 7519146 BLAKE2B 
cc64567c3ce4c0c764f288fcd8110a7ce25cc15fb6a977fc489ce7ad9b697d628d87ff9280601fd00a53a79fb8de3b7fdc83dff56463addfa80f3528ccb733ab
 SHA512 
7198c6fb35778d93fdbba5dd3dceddb7af21d555fb42f22752c8898ccba44fdcba92a6c502ddc8bdda71b883df392168ece807325b53cf75537b4ec59d86e42a
+DIST radare2-4.0.0.tar.gz 7558070 BLAKE2B 
9c7cb4492832c97c4f71c9583ecd78af843551fa0d02a07b29cf76c04062ce9e71e8d8fd72e87260311896f61ec709e577b328215c69d52598218d566f98d543
 SHA512 
3877088f61d8fac6a8fa12a35ef895904473e1db7e7428961eb06822ff1218338cd5b9ab16f78773413b31fec7463963b0cc3f801c661ce17cd40c8ddd423d76

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-4.0.0.ebuild
similarity index 88%
copy from dev-util/radare2/radare2-.ebuild
copy to dev-util/radare2/radare2-4.0.0.ebuild
index 0b3f4cfb432..36cda6bb0ae 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-4.0.0.ebuild
@@ -10,9 +10,9 @@ HOMEPAGE="http://www.radare.org";
 
 if [[ ${PV} == * ]]; then
inherit git-r3
-   EGIT_REPO_URI="https://github.com/radare/radare2";
+   EGIT_REPO_URI="https://github.com/radareorg/radare2";
 else
-   SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   SRC_URI="https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index 0b3f4cfb432..36cda6bb0ae 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.ebuild
@@ -10,9 +10,9 @@ HOMEPAGE="http://www.radare.org";
 
 if [[ ${PV} == * ]]; then
inherit git-r3
-   EGIT_REPO_URI="https://github.com/radare/radare2";
+   EGIT_REPO_URI="https://github.com/radareorg/radare2";
 else
-   SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   SRC_URI="https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/

2019-09-22 Thread Sergei Trofimovich
commit: 031d47f7b149a86f86e9068b9cf69d006978189f
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Sep 22 18:39:53 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep 22 22:05:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031d47f7

dev-util/radare2: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13013
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../radare2/files/radare2-3.5.1-mount-free.patch   | 22 
 .../files/radare2-3.7.0-with-syscapstone-p1.patch  | 24 --
 .../files/radare2-3.7.0-with-syscapstone-p2.patch  | 22 
 3 files changed, 68 deletions(-)

diff --git a/dev-util/radare2/files/radare2-3.5.1-mount-free.patch 
b/dev-util/radare2/files/radare2-3.5.1-mount-free.patch
deleted file mode 100644
index ad27596fc12..000
--- a/dev-util/radare2/files/radare2-3.5.1-mount-free.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/688336
-
-From 40453029179d230cf02ffed205f2d63e33981b8f Mon Sep 17 00:00:00 2001
-From: pancake 
-Date: Mon, 17 Jun 2019 11:34:49 +0200
-Subject: [PATCH] Fix #14334 - Double-free in ms command
-

- libr/core/cmd_mount.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
 a/libr/core/cmd_mount.c
-+++ b/libr/core/cmd_mount.c
-@@ -471,7 +471,7 @@ static int cmd_mount(void *data, const char *_input) {
-   rli->completion.run_user = rli->user;
-   r_line_completion_set (&rli->completion, ms_argc, 
ms_argv);
-   r_fs_shell_prompt (&shell, core->fs, input);
--  free (cwd);
-+  R_FREE (cwd);
-   r_pvector_clear (&rli->completion.args);
-   memcpy (&rli->completion, &c, sizeof (c));
-   }

diff --git a/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch 
b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch
deleted file mode 100644
index 3f87d606bba..000
--- a/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 8b37ac49b609cc69b27a6b3b76fa9d8d819bae83 Mon Sep 17 00:00:00 2001
-From: pancake 
-Date: Thu, 1 Aug 2019 05:23:56 +0200
-Subject: [PATCH] Add capstone dependency with the mk
-

- binr/rabin2/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/binr/rabin2/Makefile b/binr/rabin2/Makefile
-index 0ecb48629..33219020b 100644
 a/binr/rabin2/Makefile
-+++ b/binr/rabin2/Makefile
-@@ -15,6 +15,6 @@ include ../../shlr/grub/deps.mk
- include ../../shlr/bochs/deps.mk
- include ../../shlr/qnx/deps.mk
- include ../../shlr/ar/deps.mk
--LINK+=../../shlr/capstone/libcapstone.a
-+include ../../shlr/capstone.mk
- 
- LDFLAGS+=$(LINK)
--- 
-2.22.0
-

diff --git a/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch 
b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch
deleted file mode 100644
index 1ebb74efb36..000
--- a/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 38a10d64fb33484f0e50c3d8f40a6c19c0ee37ec Mon Sep 17 00:00:00 2001
-From: Slava 
-Date: Sun, 4 Aug 2019 04:00:12 +0300
-Subject: [PATCH] Fix build with system capstone (--with-syscapstone) (#14753)
-

- shlr/capstone.mk | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/shlr/capstone.mk b/shlr/capstone.mk
-index b3cc42d24..f1a2de04d 100644
 a/shlr/capstone.mk
-+++ b/shlr/capstone.mk
-@@ -1 +1,5 @@
-+ifeq ($(USE_CAPSTONE),1)
-+LINK+=${CAPSTONE_LDFLAGS}
-+else
- LINK+=$(SHLR)/capstone/libcapstone.a
-+endif
--- 
-2.22.0
-



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-09-17 Thread Sergei Trofimovich
commit: be3d5d96ddb51eb385bb62ce49a48df0dfd8eecf
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Sep 17 21:48:11 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Sep 17 21:48:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3d5d96

dev-util/radare2: drop old

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest|  3 --
 dev-util/radare2/radare2-3.5.1-r1.ebuild | 60 
 dev-util/radare2/radare2-3.6.0.ebuild| 56 -
 dev-util/radare2/radare2-3.7.0.ebuild| 58 --
 4 files changed, 177 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index fa48411b0f7..6b0177becd5 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,6 +1,3 @@
-DIST radare2-3.5.1.tar.gz 7083677 BLAKE2B 
3d84e79d4e20e031b6cfdbabcf80922f977328bf7da8c2871924f9520ff87252d4df18a1239793c70f4b800bb7d5c4aef923e63c93aa15d86ae685ddda205da2
 SHA512 
24c2a45ed539830dcb8dc1585c27e45515c70989132f500527db0ca6795027eaa82ea54d1cd7fc73ddc49641a73148be963ade1648e92b5336d2e86335e2497a
-DIST radare2-3.6.0.tar.gz 7339427 BLAKE2B 
60ecd110ac4cafa38dd10f49321e984e98f189398f15196614fb096970cc2f24981ffbbd161fdd55621b65c45a8fb9f843f273bf245ac0ea2b4493981ab0477d
 SHA512 
15c02b744892934bd0b4beeb146d8a0289244405214b62892d7e307cd42f6706aca16c1e02b6b2beb5b6869c5c5920cc291ffec8a690b5338c6973a5e1d7900e
-DIST radare2-3.7.0.tar.gz 7478494 BLAKE2B 
547efda30a65783758b132f4b241039b83bb274904a1f69616e60ec83547b22da486e97df06a74cd82f855650dbc3802d31bf3cb00ebd12d956848efd4b6ff5e
 SHA512 
8e4d1b89d0d1e717403ba0bc2ce47e2644d12303ed5391fe4b9efc11b86a0b9c9356fdea1caecabe16d88ded9577fe77c182225adf2fdbd63b2e48f9c9c9f52d
 DIST radare2-3.7.1.tar.gz 7481103 BLAKE2B 
4bae07dad298a45704ee45740bc3376902dfa35631efc94874666ead0b9c3dbb407558f4c02283d0909970247bc7730754cad9c6b6859a23ab40f408eff9102e
 SHA512 
972c137e20d73a4cc8001c6d3e3b0c68874ed4a837d2ec20f26bc164a5451dbd46264471adc93332eecadd86d8023579fa69b42fce0291f49979b451118c7673
 DIST radare2-3.8.0.tar.gz 7510078 BLAKE2B 
c3dcc28c0cda8c7c5f8dbc6d35c3d15fa73fec8402acfd5de0b3ea85ef0295608d2332efbb29a41e75239acafb66b1c3b946f58523d9e5bb605b70ddce3ce38d
 SHA512 
c9a1a4e7743b54026990d7473f05fb8eb25d7a7f0fd985172587ce82b8f6fefb53dd181b0bdb8463d2460c71e4a9eb377ead4ef7379615c90aa858d8fcadeadb
 DIST radare2-3.9.0.tar.gz 7519146 BLAKE2B 
cc64567c3ce4c0c764f288fcd8110a7ce25cc15fb6a977fc489ce7ad9b697d628d87ff9280601fd00a53a79fb8de3b7fdc83dff56463addfa80f3528ccb733ab
 SHA512 
7198c6fb35778d93fdbba5dd3dceddb7af21d555fb42f22752c8898ccba44fdcba92a6c502ddc8bdda71b883df392168ece807325b53cf75537b4ec59d86e42a

diff --git a/dev-util/radare2/radare2-3.5.1-r1.ebuild 
b/dev-util/radare2/radare2-3.5.1-r1.ebuild
deleted file mode 100644
index 781c3273fe4..000
--- a/dev-util/radare2/radare2-3.5.1-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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} == * ]]; 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"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.5.1-mount-free.patch
-)
-
-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-3.6.0.ebuild 
b/dev-util/radare2/radare2-3.6.0.ebuild
deleted file mode 100644
index 0b3f4cfb432..000
--- a/dev-util/radare2/radare2-3.6.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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://

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-09-17 Thread Sergei Trofimovich
commit: b11f5e3cb548b978af68a71388117c93057623ae
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Sep 17 21:47:54 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Sep 17 21:47:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b11f5e3c

dev-util/radare2: bump up to 3.9.0

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.9.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 24c471ec00e..fa48411b0f7 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -3,3 +3,4 @@ DIST radare2-3.6.0.tar.gz 7339427 BLAKE2B 
60ecd110ac4cafa38dd10f49321e984e98f189
 DIST radare2-3.7.0.tar.gz 7478494 BLAKE2B 
547efda30a65783758b132f4b241039b83bb274904a1f69616e60ec83547b22da486e97df06a74cd82f855650dbc3802d31bf3cb00ebd12d956848efd4b6ff5e
 SHA512 
8e4d1b89d0d1e717403ba0bc2ce47e2644d12303ed5391fe4b9efc11b86a0b9c9356fdea1caecabe16d88ded9577fe77c182225adf2fdbd63b2e48f9c9c9f52d
 DIST radare2-3.7.1.tar.gz 7481103 BLAKE2B 
4bae07dad298a45704ee45740bc3376902dfa35631efc94874666ead0b9c3dbb407558f4c02283d0909970247bc7730754cad9c6b6859a23ab40f408eff9102e
 SHA512 
972c137e20d73a4cc8001c6d3e3b0c68874ed4a837d2ec20f26bc164a5451dbd46264471adc93332eecadd86d8023579fa69b42fce0291f49979b451118c7673
 DIST radare2-3.8.0.tar.gz 7510078 BLAKE2B 
c3dcc28c0cda8c7c5f8dbc6d35c3d15fa73fec8402acfd5de0b3ea85ef0295608d2332efbb29a41e75239acafb66b1c3b946f58523d9e5bb605b70ddce3ce38d
 SHA512 
c9a1a4e7743b54026990d7473f05fb8eb25d7a7f0fd985172587ce82b8f6fefb53dd181b0bdb8463d2460c71e4a9eb377ead4ef7379615c90aa858d8fcadeadb
+DIST radare2-3.9.0.tar.gz 7519146 BLAKE2B 
cc64567c3ce4c0c764f288fcd8110a7ce25cc15fb6a977fc489ce7ad9b697d628d87ff9280601fd00a53a79fb8de3b7fdc83dff56463addfa80f3528ccb733ab
 SHA512 
7198c6fb35778d93fdbba5dd3dceddb7af21d555fb42f22752c8898ccba44fdcba92a6c502ddc8bdda71b883df392168ece807325b53cf75537b4ec59d86e42a

diff --git a/dev-util/radare2/radare2-3.9.0.ebuild 
b/dev-util/radare2/radare2-3.9.0.ebuild
new file mode 100644
index 000..0b3f4cfb432
--- /dev/null
+++ b/dev-util/radare2/radare2-3.9.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-09-03 Thread Sergei Trofimovich
commit: 0437b96df0fb52a44703b2613822a01b913fd1a2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Sep  3 18:37:45 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Sep  3 18:38:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0437b96d

dev-util/radare2: bump up to 3.8.0

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.8.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index fed4a0d87db..24c471ec00e 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -2,3 +2,4 @@ DIST radare2-3.5.1.tar.gz 7083677 BLAKE2B 
3d84e79d4e20e031b6cfdbabcf80922f977328
 DIST radare2-3.6.0.tar.gz 7339427 BLAKE2B 
60ecd110ac4cafa38dd10f49321e984e98f189398f15196614fb096970cc2f24981ffbbd161fdd55621b65c45a8fb9f843f273bf245ac0ea2b4493981ab0477d
 SHA512 
15c02b744892934bd0b4beeb146d8a0289244405214b62892d7e307cd42f6706aca16c1e02b6b2beb5b6869c5c5920cc291ffec8a690b5338c6973a5e1d7900e
 DIST radare2-3.7.0.tar.gz 7478494 BLAKE2B 
547efda30a65783758b132f4b241039b83bb274904a1f69616e60ec83547b22da486e97df06a74cd82f855650dbc3802d31bf3cb00ebd12d956848efd4b6ff5e
 SHA512 
8e4d1b89d0d1e717403ba0bc2ce47e2644d12303ed5391fe4b9efc11b86a0b9c9356fdea1caecabe16d88ded9577fe77c182225adf2fdbd63b2e48f9c9c9f52d
 DIST radare2-3.7.1.tar.gz 7481103 BLAKE2B 
4bae07dad298a45704ee45740bc3376902dfa35631efc94874666ead0b9c3dbb407558f4c02283d0909970247bc7730754cad9c6b6859a23ab40f408eff9102e
 SHA512 
972c137e20d73a4cc8001c6d3e3b0c68874ed4a837d2ec20f26bc164a5451dbd46264471adc93332eecadd86d8023579fa69b42fce0291f49979b451118c7673
+DIST radare2-3.8.0.tar.gz 7510078 BLAKE2B 
c3dcc28c0cda8c7c5f8dbc6d35c3d15fa73fec8402acfd5de0b3ea85ef0295608d2332efbb29a41e75239acafb66b1c3b946f58523d9e5bb605b70ddce3ce38d
 SHA512 
c9a1a4e7743b54026990d7473f05fb8eb25d7a7f0fd985172587ce82b8f6fefb53dd181b0bdb8463d2460c71e4a9eb377ead4ef7379615c90aa858d8fcadeadb

diff --git a/dev-util/radare2/radare2-3.8.0.ebuild 
b/dev-util/radare2/radare2-3.8.0.ebuild
new file mode 100644
index 000..0b3f4cfb432
--- /dev/null
+++ b/dev-util/radare2/radare2-3.8.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-08-14 Thread Sergei Trofimovich
commit: 93b89de5d0447ed71ec24373f11fe9806fde2453
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Aug 14 18:38:36 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Aug 14 21:34:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b89de5

dev-util/radare2: bump up to 3.7.1

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.7.1.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 082b73a3c8e..fed4a0d87db 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,4 @@
 DIST radare2-3.5.1.tar.gz 7083677 BLAKE2B 
3d84e79d4e20e031b6cfdbabcf80922f977328bf7da8c2871924f9520ff87252d4df18a1239793c70f4b800bb7d5c4aef923e63c93aa15d86ae685ddda205da2
 SHA512 
24c2a45ed539830dcb8dc1585c27e45515c70989132f500527db0ca6795027eaa82ea54d1cd7fc73ddc49641a73148be963ade1648e92b5336d2e86335e2497a
 DIST radare2-3.6.0.tar.gz 7339427 BLAKE2B 
60ecd110ac4cafa38dd10f49321e984e98f189398f15196614fb096970cc2f24981ffbbd161fdd55621b65c45a8fb9f843f273bf245ac0ea2b4493981ab0477d
 SHA512 
15c02b744892934bd0b4beeb146d8a0289244405214b62892d7e307cd42f6706aca16c1e02b6b2beb5b6869c5c5920cc291ffec8a690b5338c6973a5e1d7900e
 DIST radare2-3.7.0.tar.gz 7478494 BLAKE2B 
547efda30a65783758b132f4b241039b83bb274904a1f69616e60ec83547b22da486e97df06a74cd82f855650dbc3802d31bf3cb00ebd12d956848efd4b6ff5e
 SHA512 
8e4d1b89d0d1e717403ba0bc2ce47e2644d12303ed5391fe4b9efc11b86a0b9c9356fdea1caecabe16d88ded9577fe77c182225adf2fdbd63b2e48f9c9c9f52d
+DIST radare2-3.7.1.tar.gz 7481103 BLAKE2B 
4bae07dad298a45704ee45740bc3376902dfa35631efc94874666ead0b9c3dbb407558f4c02283d0909970247bc7730754cad9c6b6859a23ab40f408eff9102e
 SHA512 
972c137e20d73a4cc8001c6d3e3b0c68874ed4a837d2ec20f26bc164a5451dbd46264471adc93332eecadd86d8023579fa69b42fce0291f49979b451118c7673

diff --git a/dev-util/radare2/radare2-3.7.1.ebuild 
b/dev-util/radare2/radare2-3.7.1.ebuild
new file mode 100644
index 000..0b3f4cfb432
--- /dev/null
+++ b/dev-util/radare2/radare2-3.7.1.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2019-08-04 Thread Sergei Trofimovich
commit: d6932537b09df0d86b6e62da1a4750a4bdccc910
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Aug  4 17:52:51 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Aug  4 17:53:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6932537

dev-util/radare2: bump up to 3.7.0

Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest  |  1 +
 .../files/radare2-3.7.0-with-syscapstone-p1.patch  | 24 +
 .../files/radare2-3.7.0-with-syscapstone-p2.patch  | 22 
 dev-util/radare2/radare2-3.7.0.ebuild  | 58 ++
 4 files changed, 105 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 74a78d04d00..082b73a3c8e 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-3.5.1.tar.gz 7083677 BLAKE2B 
3d84e79d4e20e031b6cfdbabcf80922f977328bf7da8c2871924f9520ff87252d4df18a1239793c70f4b800bb7d5c4aef923e63c93aa15d86ae685ddda205da2
 SHA512 
24c2a45ed539830dcb8dc1585c27e45515c70989132f500527db0ca6795027eaa82ea54d1cd7fc73ddc49641a73148be963ade1648e92b5336d2e86335e2497a
 DIST radare2-3.6.0.tar.gz 7339427 BLAKE2B 
60ecd110ac4cafa38dd10f49321e984e98f189398f15196614fb096970cc2f24981ffbbd161fdd55621b65c45a8fb9f843f273bf245ac0ea2b4493981ab0477d
 SHA512 
15c02b744892934bd0b4beeb146d8a0289244405214b62892d7e307cd42f6706aca16c1e02b6b2beb5b6869c5c5920cc291ffec8a690b5338c6973a5e1d7900e
+DIST radare2-3.7.0.tar.gz 7478494 BLAKE2B 
547efda30a65783758b132f4b241039b83bb274904a1f69616e60ec83547b22da486e97df06a74cd82f855650dbc3802d31bf3cb00ebd12d956848efd4b6ff5e
 SHA512 
8e4d1b89d0d1e717403ba0bc2ce47e2644d12303ed5391fe4b9efc11b86a0b9c9356fdea1caecabe16d88ded9577fe77c182225adf2fdbd63b2e48f9c9c9f52d

diff --git a/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch 
b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch
new file mode 100644
index 000..3f87d606bba
--- /dev/null
+++ b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch
@@ -0,0 +1,24 @@
+From 8b37ac49b609cc69b27a6b3b76fa9d8d819bae83 Mon Sep 17 00:00:00 2001
+From: pancake 
+Date: Thu, 1 Aug 2019 05:23:56 +0200
+Subject: [PATCH] Add capstone dependency with the mk
+
+---
+ binr/rabin2/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/binr/rabin2/Makefile b/binr/rabin2/Makefile
+index 0ecb48629..33219020b 100644
+--- a/binr/rabin2/Makefile
 b/binr/rabin2/Makefile
+@@ -15,6 +15,6 @@ include ../../shlr/grub/deps.mk
+ include ../../shlr/bochs/deps.mk
+ include ../../shlr/qnx/deps.mk
+ include ../../shlr/ar/deps.mk
+-LINK+=../../shlr/capstone/libcapstone.a
++include ../../shlr/capstone.mk
+ 
+ LDFLAGS+=$(LINK)
+-- 
+2.22.0
+

diff --git a/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch 
b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch
new file mode 100644
index 000..1ebb74efb36
--- /dev/null
+++ b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch
@@ -0,0 +1,22 @@
+From 38a10d64fb33484f0e50c3d8f40a6c19c0ee37ec Mon Sep 17 00:00:00 2001
+From: Slava 
+Date: Sun, 4 Aug 2019 04:00:12 +0300
+Subject: [PATCH] Fix build with system capstone (--with-syscapstone) (#14753)
+
+---
+ shlr/capstone.mk | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/shlr/capstone.mk b/shlr/capstone.mk
+index b3cc42d24..f1a2de04d 100644
+--- a/shlr/capstone.mk
 b/shlr/capstone.mk
+@@ -1 +1,5 @@
++ifeq ($(USE_CAPSTONE),1)
++LINK+=${CAPSTONE_LDFLAGS}
++else
+ LINK+=$(SHLR)/capstone/libcapstone.a
++endif
+-- 
+2.22.0
+

diff --git a/dev-util/radare2/radare2-3.7.0.ebuild 
b/dev-util/radare2/radare2-3.7.0.ebuild
new file mode 100644
index 000..5d70b601195
--- /dev/null
+++ b/dev-util/radare2/radare2-3.7.0.ebuild
@@ -0,0 +1,58 @@
+# 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} == * ]]; 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"
+
+PATCHES=("${FILESDIR}"/${PN}-3.7.0-with-syscapstone-p{1,2}.patch)
+
+src_configure() {
+   econf \
+   --without-libuv \
+   --with-syscapstone \
+   $(use_with ssl openssl)
+}
+
+src_install() {
+   default
+
+   insinto /usr/share/zsh/site-functions
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-06-24 Thread Sergei Trofimovich
commit: 62a0d9dbaa784f94331d3274c52c2c446b79ced8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jun 24 21:59:27 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun 24 22:10:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62a0d9db

dev-util/radare2: bump up to 3.6.0

Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.6.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 1170aab8afe..74a78d04d00 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1 +1,2 @@
 DIST radare2-3.5.1.tar.gz 7083677 BLAKE2B 
3d84e79d4e20e031b6cfdbabcf80922f977328bf7da8c2871924f9520ff87252d4df18a1239793c70f4b800bb7d5c4aef923e63c93aa15d86ae685ddda205da2
 SHA512 
24c2a45ed539830dcb8dc1585c27e45515c70989132f500527db0ca6795027eaa82ea54d1cd7fc73ddc49641a73148be963ade1648e92b5336d2e86335e2497a
+DIST radare2-3.6.0.tar.gz 7339427 BLAKE2B 
60ecd110ac4cafa38dd10f49321e984e98f189398f15196614fb096970cc2f24981ffbbd161fdd55621b65c45a8fb9f843f273bf245ac0ea2b4493981ab0477d
 SHA512 
15c02b744892934bd0b4beeb146d8a0289244405214b62892d7e307cd42f6706aca16c1e02b6b2beb5b6869c5c5920cc291ffec8a690b5338c6973a5e1d7900e

diff --git a/dev-util/radare2/radare2-3.6.0.ebuild 
b/dev-util/radare2/radare2-3.6.0.ebuild
new file mode 100644
index 000..0b3f4cfb432
--- /dev/null
+++ b/dev-util/radare2/radare2-3.6.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/, dev-util/radare2/files/

2019-06-22 Thread Sergei Trofimovich
commit: 677a68abfac2720af13042540adbb5f43b6475c3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jun 22 08:21:01 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun 22 08:21:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=677a68ab

dev-util/radare2: fix double-free in cmd_mount.c, bug #688336

Reported-by: D'juan McDonald (domhnall)
Bug: https://bugs.gentoo.org/688336
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../radare2/files/radare2-3.5.1-mount-free.patch   | 22 
 dev-util/radare2/radare2-3.5.1-r1.ebuild   | 60 ++
 2 files changed, 82 insertions(+)

diff --git a/dev-util/radare2/files/radare2-3.5.1-mount-free.patch 
b/dev-util/radare2/files/radare2-3.5.1-mount-free.patch
new file mode 100644
index 000..ad27596fc12
--- /dev/null
+++ b/dev-util/radare2/files/radare2-3.5.1-mount-free.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/688336
+
+From 40453029179d230cf02ffed205f2d63e33981b8f Mon Sep 17 00:00:00 2001
+From: pancake 
+Date: Mon, 17 Jun 2019 11:34:49 +0200
+Subject: [PATCH] Fix #14334 - Double-free in ms command
+
+---
+ libr/core/cmd_mount.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/libr/core/cmd_mount.c
 b/libr/core/cmd_mount.c
+@@ -471,7 +471,7 @@ static int cmd_mount(void *data, const char *_input) {
+   rli->completion.run_user = rli->user;
+   r_line_completion_set (&rli->completion, ms_argc, 
ms_argv);
+   r_fs_shell_prompt (&shell, core->fs, input);
+-  free (cwd);
++  R_FREE (cwd);
+   r_pvector_clear (&rli->completion.args);
+   memcpy (&rli->completion, &c, sizeof (c));
+   }

diff --git a/dev-util/radare2/radare2-3.5.1-r1.ebuild 
b/dev-util/radare2/radare2-3.5.1-r1.ebuild
new file mode 100644
index 000..781c3273fe4
--- /dev/null
+++ b/dev-util/radare2/radare2-3.5.1-r1.ebuild
@@ -0,0 +1,60 @@
+# 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} == * ]]; 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"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.5.1-mount-free.patch
+)
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-06-22 Thread Sergei Trofimovich
commit: 3abf285d96a21f56f86e1fdf7814d186bef3c374
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jun 22 08:21:36 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun 22 08:21:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3abf285d

dev-util/radare2: drop old, bug #688336

Reported-by: D'juan McDonald (domhnall)
Bug: https://bugs.gentoo.org/688336
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  2 --
 dev-util/radare2/radare2-3.4.1.ebuild | 62 ---
 dev-util/radare2/radare2-3.5.0.ebuild | 56 ---
 dev-util/radare2/radare2-3.5.1.ebuild | 56 ---
 4 files changed, 176 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 0f14baa3198..1170aab8afe 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1 @@
-DIST radare2-3.4.1.tar.gz 7034801 BLAKE2B 
7747af8e51c1120ef683884950e0e9e7581627906487449c81decd25b4d4a8ee5222892c42ba66d1a1d0b373b71ee6bf967df6ef117d30b171cf31740ac3058b
 SHA512 
8803d54a8158aedd5900792bd013dad440a14abbb6fcbdf963e5d9031f30e66865479f29877e6f656ab01b59b3138458daf52f1eaeb462ec767c128d0b12640a
-DIST radare2-3.5.0.tar.gz 7076871 BLAKE2B 
1877fb03006d5b5a3cb7e8f16ba28544c9f490f003c1a0c015ebadc64a80b15cab94aaf4640508fee53a007f06e3edb9e7b963826c2e462b53391e6eab103bfb
 SHA512 
c2aaf6c258428987ad9c029f0bc3961503a7d505b422a97da1fd53bed8c0048955d0710958b7693f603002b62f64c7e0e2695256dfa2c3d629cf7080fbe267bd
 DIST radare2-3.5.1.tar.gz 7083677 BLAKE2B 
3d84e79d4e20e031b6cfdbabcf80922f977328bf7da8c2871924f9520ff87252d4df18a1239793c70f4b800bb7d5c4aef923e63c93aa15d86ae685ddda205da2
 SHA512 
24c2a45ed539830dcb8dc1585c27e45515c70989132f500527db0ca6795027eaa82ea54d1cd7fc73ddc49641a73148be963ade1648e92b5336d2e86335e2497a

diff --git a/dev-util/radare2/radare2-3.4.1.ebuild 
b/dev-util/radare2/radare2-3.4.1.ebuild
deleted file mode 100644
index c746c047f48..000
--- a/dev-util/radare2/radare2-3.4.1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# 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} == * ]]; 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_compile() {
-   # bug #682564: upstream build system has a problem with
-   # 'hexagon_disas.o'. Workaround it until the fix is found.
-   emake -j1
-}
-
-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-3.5.0.ebuild 
b/dev-util/radare2/radare2-3.5.0.ebuild
deleted file mode 100644
index 0b3f4cfb432..000
--- a/dev-util/radare2/radare2-3.5.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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} == * ]]; 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/sh

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-05-16 Thread Sergei Trofimovich
commit: 01c4981dae45d894a543a735a61278b3cfc223a0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu May 16 19:56:18 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 16 19:56:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c4981d

dev-util/radare2: bump up to 3.5.1

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.5.1.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 8d194d87d1c..0f14baa3198 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-3.4.1.tar.gz 7034801 BLAKE2B 
7747af8e51c1120ef683884950e0e9e7581627906487449c81decd25b4d4a8ee5222892c42ba66d1a1d0b373b71ee6bf967df6ef117d30b171cf31740ac3058b
 SHA512 
8803d54a8158aedd5900792bd013dad440a14abbb6fcbdf963e5d9031f30e66865479f29877e6f656ab01b59b3138458daf52f1eaeb462ec767c128d0b12640a
 DIST radare2-3.5.0.tar.gz 7076871 BLAKE2B 
1877fb03006d5b5a3cb7e8f16ba28544c9f490f003c1a0c015ebadc64a80b15cab94aaf4640508fee53a007f06e3edb9e7b963826c2e462b53391e6eab103bfb
 SHA512 
c2aaf6c258428987ad9c029f0bc3961503a7d505b422a97da1fd53bed8c0048955d0710958b7693f603002b62f64c7e0e2695256dfa2c3d629cf7080fbe267bd
+DIST radare2-3.5.1.tar.gz 7083677 BLAKE2B 
3d84e79d4e20e031b6cfdbabcf80922f977328bf7da8c2871924f9520ff87252d4df18a1239793c70f4b800bb7d5c4aef923e63c93aa15d86ae685ddda205da2
 SHA512 
24c2a45ed539830dcb8dc1585c27e45515c70989132f500527db0ca6795027eaa82ea54d1cd7fc73ddc49641a73148be963ade1648e92b5336d2e86335e2497a

diff --git a/dev-util/radare2/radare2-3.5.1.ebuild 
b/dev-util/radare2/radare2-3.5.1.ebuild
new file mode 100644
index 000..0b3f4cfb432
--- /dev/null
+++ b/dev-util/radare2/radare2-3.5.1.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-05-14 Thread Sergei Trofimovich
commit: 68f5a146d0cd44e002f7824a7590b6e0b364c8a2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue May 14 07:15:14 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue May 14 07:15:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f5a146

dev-util/radare2: drop old

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-3.3.0.ebuild | 56 ---
 2 files changed, 57 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 3c06d48237a..8d194d87d1c 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,2 @@
-DIST radare2-3.3.0.tar.gz 6730482 BLAKE2B 
c6e5ad73d9e34986ba86b73e8410d45c3f99f89a567de85ae22314fd120f358db39a5f8ac9d64af027eb5c7223564d003865f2c8be6ee0a331936e46d02145d8
 SHA512 
4db9d547b72b952babfd67c8cef2b94fdac9d6fd1194fb50b2ebab538d5bbda0bab4b704d5af64ef684ce9311634c8e04465906a1e7e706b211427054fe0721a
 DIST radare2-3.4.1.tar.gz 7034801 BLAKE2B 
7747af8e51c1120ef683884950e0e9e7581627906487449c81decd25b4d4a8ee5222892c42ba66d1a1d0b373b71ee6bf967df6ef117d30b171cf31740ac3058b
 SHA512 
8803d54a8158aedd5900792bd013dad440a14abbb6fcbdf963e5d9031f30e66865479f29877e6f656ab01b59b3138458daf52f1eaeb462ec767c128d0b12640a
 DIST radare2-3.5.0.tar.gz 7076871 BLAKE2B 
1877fb03006d5b5a3cb7e8f16ba28544c9f490f003c1a0c015ebadc64a80b15cab94aaf4640508fee53a007f06e3edb9e7b963826c2e462b53391e6eab103bfb
 SHA512 
c2aaf6c258428987ad9c029f0bc3961503a7d505b422a97da1fd53bed8c0048955d0710958b7693f603002b62f64c7e0e2695256dfa2c3d629cf7080fbe267bd

diff --git a/dev-util/radare2/radare2-3.3.0.ebuild 
b/dev-util/radare2/radare2-3.3.0.ebuild
deleted file mode 100644
index 0b3f4cfb432..000
--- a/dev-util/radare2/radare2-3.3.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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} == * ]]; 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-05-14 Thread Sergei Trofimovich
commit: df68a2489dd141a899485fd397c1007ab4a1614d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue May 14 06:59:47 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue May 14 07:00:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df68a248

dev-util/radare2: bump up to 3.5.0

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.5.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 8f4494604af..3c06d48237a 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-3.3.0.tar.gz 6730482 BLAKE2B 
c6e5ad73d9e34986ba86b73e8410d45c3f99f89a567de85ae22314fd120f358db39a5f8ac9d64af027eb5c7223564d003865f2c8be6ee0a331936e46d02145d8
 SHA512 
4db9d547b72b952babfd67c8cef2b94fdac9d6fd1194fb50b2ebab538d5bbda0bab4b704d5af64ef684ce9311634c8e04465906a1e7e706b211427054fe0721a
 DIST radare2-3.4.1.tar.gz 7034801 BLAKE2B 
7747af8e51c1120ef683884950e0e9e7581627906487449c81decd25b4d4a8ee5222892c42ba66d1a1d0b373b71ee6bf967df6ef117d30b171cf31740ac3058b
 SHA512 
8803d54a8158aedd5900792bd013dad440a14abbb6fcbdf963e5d9031f30e66865479f29877e6f656ab01b59b3138458daf52f1eaeb462ec767c128d0b12640a
+DIST radare2-3.5.0.tar.gz 7076871 BLAKE2B 
1877fb03006d5b5a3cb7e8f16ba28544c9f490f003c1a0c015ebadc64a80b15cab94aaf4640508fee53a007f06e3edb9e7b963826c2e462b53391e6eab103bfb
 SHA512 
c2aaf6c258428987ad9c029f0bc3961503a7d505b422a97da1fd53bed8c0048955d0710958b7693f603002b62f64c7e0e2695256dfa2c3d629cf7080fbe267bd

diff --git a/dev-util/radare2/radare2-3.5.0.ebuild 
b/dev-util/radare2/radare2-3.5.0.ebuild
new file mode 100644
index 000..0b3f4cfb432
--- /dev/null
+++ b/dev-util/radare2/radare2-3.5.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-04-09 Thread Sergei Trofimovich
commit: 6fe4c06d46ad85f2a205c91bc70acd8c4f3b903d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Apr  9 21:44:28 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Apr  9 21:44:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe4c06d

dev-util/radare2: disable parallel build, bug #682564

'hexagon_disas.o' does not have correct dependencies and
gets into archive before final artifact is ready.

Disable prallel build as a workaround.

Reported-by: Andrew Udvare
Bug: https://bugs.gentoo.org/682564
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/radare2-3.4.1.ebuild | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/dev-util/radare2/radare2-3.4.1.ebuild 
b/dev-util/radare2/radare2-3.4.1.ebuild
index 0b3f4cfb432..c746c047f48 100644
--- a/dev-util/radare2/radare2-3.4.1.ebuild
+++ b/dev-util/radare2/radare2-3.4.1.ebuild
@@ -37,6 +37,12 @@ src_configure() {
$(use_with ssl openssl)
 }
 
+src_compile() {
+   # bug #682564: upstream build system has a problem with
+   # 'hexagon_disas.o'. Workaround it until the fix is found.
+   emake -j1
+}
+
 src_install() {
default
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-04-03 Thread Sergei Trofimovich
commit: c748c2935ee93c6f59eef9931897c472bbc3cb58
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Apr  3 22:16:48 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Apr  3 22:17:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c748c293

dev-util/radare2: bump up to 3.4.1

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.4.1.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 41fe766351c..4e0459e6c39 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -2,3 +2,4 @@ DIST radare2-3.1.3.tar.gz 6662694 BLAKE2B 
bb4cec7fd05e4d43473ef2e67e8284c4b6a856
 DIST radare2-3.2.0.tar.gz 6690470 BLAKE2B 
edfa7d03d72ab3b7ebda6a2c860165c0c53836f4141674581c0f5f5cc1d6dc7a4ea48530d4825342268e057aeca458a0883f6fd70fb4a2d5d052634f32555442
 SHA512 
9773068568cf71797b0c86837188604130ef9d63e7b7fd115820d8979dde37d259aaea45002c9984e8c3599e9bade53720d3bb1b3635bdad5a2dc73aff54f048
 DIST radare2-3.2.1.tar.gz 6690320 BLAKE2B 
b0c7db6741d463055d054add112a67378f9f2fae34fabd2848bfffebd44308d0e6fefefa6dd7383ad1b508daed8f388a1538debbf0ae4289130b9c06bfd3f3ae
 SHA512 
4f8c64eb02a80ae5e7adce1322d16f08a250be21c674a8f6f0271bfdc8dc41a6f4ef50fef36e012733db5008cffb356489beef9e9b82300372350bef81e13afa
 DIST radare2-3.3.0.tar.gz 6730482 BLAKE2B 
c6e5ad73d9e34986ba86b73e8410d45c3f99f89a567de85ae22314fd120f358db39a5f8ac9d64af027eb5c7223564d003865f2c8be6ee0a331936e46d02145d8
 SHA512 
4db9d547b72b952babfd67c8cef2b94fdac9d6fd1194fb50b2ebab538d5bbda0bab4b704d5af64ef684ce9311634c8e04465906a1e7e706b211427054fe0721a
+DIST radare2-3.4.1.tar.gz 7034801 BLAKE2B 
7747af8e51c1120ef683884950e0e9e7581627906487449c81decd25b4d4a8ee5222892c42ba66d1a1d0b373b71ee6bf967df6ef117d30b171cf31740ac3058b
 SHA512 
8803d54a8158aedd5900792bd013dad440a14abbb6fcbdf963e5d9031f30e66865479f29877e6f656ab01b59b3138458daf52f1eaeb462ec767c128d0b12640a

diff --git a/dev-util/radare2/radare2-3.4.1.ebuild 
b/dev-util/radare2/radare2-3.4.1.ebuild
new file mode 100644
index 000..0b3f4cfb432
--- /dev/null
+++ b/dev-util/radare2/radare2-3.4.1.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-04-03 Thread Sergei Trofimovich
commit: f460bd4ce63941c4bcf613681407957a0b9e2e4f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Apr  3 22:17:09 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Apr  3 22:17:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f460bd4c

dev-util/radare2: drop old

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  3 --
 dev-util/radare2/radare2-3.1.3.ebuild | 56 ---
 dev-util/radare2/radare2-3.2.0.ebuild | 56 ---
 dev-util/radare2/radare2-3.2.1.ebuild | 56 ---
 4 files changed, 171 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 4e0459e6c39..8f4494604af 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,5 +1,2 @@
-DIST radare2-3.1.3.tar.gz 6662694 BLAKE2B 
bb4cec7fd05e4d43473ef2e67e8284c4b6a856ca1ef312153fbb236b800ed3e369ac9833d87e00e2aa5a560c7d8f7f9433d4b8aa9a3f01e7fabe3c26c3f3d60e
 SHA512 
75b4966e8d64ffd341c50b22d12653e4ead23352d25a7a1f923ee6cb177bd0a9a16e7c02cbd5b58cf3da03f415168606cd67ed19f594dca75c66114e9c35903f
-DIST radare2-3.2.0.tar.gz 6690470 BLAKE2B 
edfa7d03d72ab3b7ebda6a2c860165c0c53836f4141674581c0f5f5cc1d6dc7a4ea48530d4825342268e057aeca458a0883f6fd70fb4a2d5d052634f32555442
 SHA512 
9773068568cf71797b0c86837188604130ef9d63e7b7fd115820d8979dde37d259aaea45002c9984e8c3599e9bade53720d3bb1b3635bdad5a2dc73aff54f048
-DIST radare2-3.2.1.tar.gz 6690320 BLAKE2B 
b0c7db6741d463055d054add112a67378f9f2fae34fabd2848bfffebd44308d0e6fefefa6dd7383ad1b508daed8f388a1538debbf0ae4289130b9c06bfd3f3ae
 SHA512 
4f8c64eb02a80ae5e7adce1322d16f08a250be21c674a8f6f0271bfdc8dc41a6f4ef50fef36e012733db5008cffb356489beef9e9b82300372350bef81e13afa
 DIST radare2-3.3.0.tar.gz 6730482 BLAKE2B 
c6e5ad73d9e34986ba86b73e8410d45c3f99f89a567de85ae22314fd120f358db39a5f8ac9d64af027eb5c7223564d003865f2c8be6ee0a331936e46d02145d8
 SHA512 
4db9d547b72b952babfd67c8cef2b94fdac9d6fd1194fb50b2ebab538d5bbda0bab4b704d5af64ef684ce9311634c8e04465906a1e7e706b211427054fe0721a
 DIST radare2-3.4.1.tar.gz 7034801 BLAKE2B 
7747af8e51c1120ef683884950e0e9e7581627906487449c81decd25b4d4a8ee5222892c42ba66d1a1d0b373b71ee6bf967df6ef117d30b171cf31740ac3058b
 SHA512 
8803d54a8158aedd5900792bd013dad440a14abbb6fcbdf963e5d9031f30e66865479f29877e6f656ab01b59b3138458daf52f1eaeb462ec767c128d0b12640a

diff --git a/dev-util/radare2/radare2-3.1.3.ebuild 
b/dev-util/radare2/radare2-3.1.3.ebuild
deleted file mode 100644
index ccba9bfa0ed..000
--- a/dev-util/radare2/radare2-3.1.3.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 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} == * ]]; 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-3.2.0.ebuild 
b/dev-util/radare2/radare2-3.2.0.ebuild
deleted file mode 100644
index 0b3f4cfb432..000
--- a/dev-util/radare2/radare2-3.2.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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} == * ]]; 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? (
-   

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-02-20 Thread Sergei Trofimovich
commit: 5cce0aa7dd47af4d8d719cafb8fb0e40cb0890b2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Feb 20 21:42:16 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Feb 20 21:42:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cce0aa7

dev-util/radare2: bump up to 3.3.0

Package-Manager: Portage-2.3.61, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.3.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 6b952a3ed9a..41fe766351c 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,4 @@
 DIST radare2-3.1.3.tar.gz 6662694 BLAKE2B 
bb4cec7fd05e4d43473ef2e67e8284c4b6a856ca1ef312153fbb236b800ed3e369ac9833d87e00e2aa5a560c7d8f7f9433d4b8aa9a3f01e7fabe3c26c3f3d60e
 SHA512 
75b4966e8d64ffd341c50b22d12653e4ead23352d25a7a1f923ee6cb177bd0a9a16e7c02cbd5b58cf3da03f415168606cd67ed19f594dca75c66114e9c35903f
 DIST radare2-3.2.0.tar.gz 6690470 BLAKE2B 
edfa7d03d72ab3b7ebda6a2c860165c0c53836f4141674581c0f5f5cc1d6dc7a4ea48530d4825342268e057aeca458a0883f6fd70fb4a2d5d052634f32555442
 SHA512 
9773068568cf71797b0c86837188604130ef9d63e7b7fd115820d8979dde37d259aaea45002c9984e8c3599e9bade53720d3bb1b3635bdad5a2dc73aff54f048
 DIST radare2-3.2.1.tar.gz 6690320 BLAKE2B 
b0c7db6741d463055d054add112a67378f9f2fae34fabd2848bfffebd44308d0e6fefefa6dd7383ad1b508daed8f388a1538debbf0ae4289130b9c06bfd3f3ae
 SHA512 
4f8c64eb02a80ae5e7adce1322d16f08a250be21c674a8f6f0271bfdc8dc41a6f4ef50fef36e012733db5008cffb356489beef9e9b82300372350bef81e13afa
+DIST radare2-3.3.0.tar.gz 6730482 BLAKE2B 
c6e5ad73d9e34986ba86b73e8410d45c3f99f89a567de85ae22314fd120f358db39a5f8ac9d64af027eb5c7223564d003865f2c8be6ee0a331936e46d02145d8
 SHA512 
4db9d547b72b952babfd67c8cef2b94fdac9d6fd1194fb50b2ebab538d5bbda0bab4b704d5af64ef684ce9311634c8e04465906a1e7e706b211427054fe0721a

diff --git a/dev-util/radare2/radare2-3.3.0.ebuild 
b/dev-util/radare2/radare2-3.3.0.ebuild
new file mode 100644
index 000..0b3f4cfb432
--- /dev/null
+++ b/dev-util/radare2/radare2-3.3.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-01-15 Thread Sergei Trofimovich
commit: f5c18e5560f4ba499fce2d2f6be58f3e3d84da0a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Jan 15 21:37:38 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jan 15 21:38:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c18e55

dev-util/radare2: bump up to 3.2.1

Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.2.1.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 6751eab7786..d09607bcaaf 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -3,3 +3,4 @@ DIST radare2-3.1.0.tar.gz 6652526 BLAKE2B 
8da52e93263b47261cadc28e0de637b177943c
 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
+DIST radare2-3.2.1.tar.gz 6690320 BLAKE2B 
b0c7db6741d463055d054add112a67378f9f2fae34fabd2848bfffebd44308d0e6fefefa6dd7383ad1b508daed8f388a1538debbf0ae4289130b9c06bfd3f3ae
 SHA512 
4f8c64eb02a80ae5e7adce1322d16f08a250be21c674a8f6f0271bfdc8dc41a6f4ef50fef36e012733db5008cffb356489beef9e9b82300372350bef81e13afa

diff --git a/dev-util/radare2/radare2-3.2.1.ebuild 
b/dev-util/radare2/radare2-3.2.1.ebuild
new file mode 100644
index 000..0b3f4cfb432
--- /dev/null
+++ b/dev-util/radare2/radare2-3.2.1.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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-01-15 Thread Sergei Trofimovich
commit: 90e77ed2839a69e22b33e8c3a94159b48ead0028
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Jan 15 21:37:54 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jan 15 21:38:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e77ed2

dev-util/radare2: drop old

Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest|  3 --
 dev-util/radare2/radare2-3.0.1.ebuild| 56 
 dev-util/radare2/radare2-3.1.0.ebuild| 56 
 dev-util/radare2/radare2-3.1.2-r1.ebuild | 56 
 4 files changed, 171 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index d09607bcaaf..6b952a3ed9a 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,6 +1,3 @@
-DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 
1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220
 SHA512 
755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380
-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
 DIST radare2-3.2.1.tar.gz 6690320 BLAKE2B 
b0c7db6741d463055d054add112a67378f9f2fae34fabd2848bfffebd44308d0e6fefefa6dd7383ad1b508daed8f388a1538debbf0ae4289130b9c06bfd3f3ae
 SHA512 
4f8c64eb02a80ae5e7adce1322d16f08a250be21c674a8f6f0271bfdc8dc41a6f4ef50fef36e012733db5008cffb356489beef9e9b82300372350bef81e13afa

diff --git a/dev-util/radare2/radare2-3.0.1.ebuild 
b/dev-util/radare2/radare2-3.0.1.ebuild
deleted file mode 100644
index ccba9bfa0ed..000
--- a/dev-util/radare2/radare2-3.0.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 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} == * ]]; 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-3.1.0.ebuild 
b/dev-util/radare2/radare2-3.1.0.ebuild
deleted file mode 100644
index ccba9bfa0ed..000
--- a/dev-util/radare2/radare2-3.1.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 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} == * ]]; then
-   inherit gi

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2019-01-12 Thread Sergei Trofimovich
commit: d8ceba0c44613850dbbcd81794f66048c85060e7
Author: David Roman  gmail  com>
AuthorDate: Fri Jan 11 20:41:02 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jan 12 15:17:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8ceba0c

dev-util/radare2: verbump to 3.2.0

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: David Roman  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10811
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/metadata.xml |  3 ---
 .../radare2/{radare2-.ebuild => radare2-3.2.0.ebuild} | 15 ---
 dev-util/radare2/radare2-.ebuild  | 15 ---
 4 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index e277ec28535..6751eab7786 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 dc1faaf6b74..45f16b33e56 100644
--- a/dev-util/radare2/metadata.xml
+++ b/dev-util/radare2/metadata.xml
@@ -9,7 +9,4 @@
davidroma...@gmail.com
David Roman

-   
-   Use dev-libs/capstone 
instead of bundled copy.
-   
 

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-3.2.0.ebuild
similarity index 78%
copy from dev-util/radare2/radare2-.ebuild
copy to dev-util/radare2/radare2-3.2.0.ebuild
index e2ecbd2ce57..0b3f4cfb432 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-3.2.0.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} == * ]]; 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() {

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index e2ecbd2ce57..0b3f4cfb432 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.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} == * ]]; then
EGIT_REPO_URI="http

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-12-04 Thread Sergei Trofimovich
commit: d8801c696cb08f7a0d7c65511680a54cd1f684d4
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Dec  4 23:17:16 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Dec  4 23:43:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8801c69

dev-util/radare2: bump up to 2.1.3

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.1.3.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 85547a4a52f..e277ec28535 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,4 @@
 DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 
1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220
 SHA512 
755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380
 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

diff --git a/dev-util/radare2/radare2-3.1.3.ebuild 
b/dev-util/radare2/radare2-3.1.3.ebuild
new file mode 100644
index 000..ccba9bfa0ed
--- /dev/null
+++ b/dev-util/radare2/radare2-3.1.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-12-04 Thread Sergei Trofimovich
commit: f6900b62d8475d4502c7e1d61c2c73bbe934278f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Dec  4 08:27:52 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Dec  4 08:35:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6900b62

dev-util/radare2: refetch upstream tarball, bug #672480

Anton reports validation failure as:
!!! Got:  6664607
!!! Expected: 6664534

The upstream diff contains a few small diffs.

Reported-by: Anton Bolshakov
Closes: https://bugs.gentoo.org/672480
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest  | 2 +-
 dev-util/radare2/{radare2-3.1.2.ebuild => radare2-3.1.2-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 28c865f7846..85547a4a52f 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,3 @@
 DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 
1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220
 SHA512 
755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380
 DIST radare2-3.1.0.tar.gz 6652526 BLAKE2B 
8da52e93263b47261cadc28e0de637b177943ce978ff342e305c7c924c062458d4eee18d05a21c9ca5153b7ede13332c87e9cd2f22c6880d47fd8e05db21036e
 SHA512 
ee31de49ff83ca1ed093eaf113201cb3709adcb3315671d88413aa4d5c80c37cf9e981c33b4f472b9aa5f67309cdaf9577c2085a8c58e4faf86b37d1ee19866d
-DIST radare2-3.1.2.tar.gz 6664534 BLAKE2B 
0dfaaf70a025b7bc7709adcd582ec2e57a75637d3e48fbd6f6d00e17a447d3d98a030a1cedc0533f30f24d7aebecada9879fa25aa04e99bfb2c26b3267deb340
 SHA512 
dec0715def99818c322655676405dc5e6b98c059d15294be8dbd9bfbbe2782a3cb49f86b3f89071e157fda0f9b15c1cfad5b726bd36e1f56272c25490f36e6d0
+DIST radare2-3.1.2-r1.tar.gz 6664607 BLAKE2B 
a04bc70eee438e00b59ec0e699b9a4d56091c9698d0abb965a65c20bd28ee604f154f50d8e18d9233594aaf77c72708e864b7dbaaefc7ed7c300f46ef5e02311
 SHA512 
365d45b3b82551e4e146c5872d0d502f0daca70286682053f8fb4f61a6771d91fd1b1eda34b113125dcfb06e957496f07184a74c532b7872f37fbb305dda52ad

diff --git a/dev-util/radare2/radare2-3.1.2.ebuild 
b/dev-util/radare2/radare2-3.1.2-r1.ebuild
similarity index 98%
rename from dev-util/radare2/radare2-3.1.2.ebuild
rename to dev-util/radare2/radare2-3.1.2-r1.ebuild
index ccba9bfa0ed..a2b23dac6c4 100644
--- a/dev-util/radare2/radare2-3.1.2.ebuild
+++ b/dev-util/radare2/radare2-3.1.2-r1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == * ]]; 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"
+   SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> 
${P}-r1.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-12-03 Thread Sergei Trofimovich
commit: 7b08ab767300f21ddb48821f9773390bd6092e85
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec  3 21:50:30 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec  3 21:51:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b08ab76

dev-util/radare2: drop old

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-3.1.1.ebuild | 56 ---
 2 files changed, 57 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 9423e3ea860..28c865f7846 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,4 +1,3 @@
 DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 
1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220
 SHA512 
755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380
 DIST radare2-3.1.0.tar.gz 6652526 BLAKE2B 
8da52e93263b47261cadc28e0de637b177943ce978ff342e305c7c924c062458d4eee18d05a21c9ca5153b7ede13332c87e9cd2f22c6880d47fd8e05db21036e
 SHA512 
ee31de49ff83ca1ed093eaf113201cb3709adcb3315671d88413aa4d5c80c37cf9e981c33b4f472b9aa5f67309cdaf9577c2085a8c58e4faf86b37d1ee19866d
-DIST radare2-3.1.1.tar.gz 6662393 BLAKE2B 
b8a9a19a30da85a5e79ded5f91858e6ce393e62b9e44bad3b11f08384cc9fe9f362bd666059d038661c8730f458fca22966f9e98eb184f33fa81a4f3c22ad7c7
 SHA512 
9706e0c60e88e75601a7f2e9cb936c1c39057fa43cad81ae72484beddba0e95f0382ceddf9e0e1a3e3b2cedd0fba932eb9d745dfce063274c9a3946d10ccdaa7
 DIST radare2-3.1.2.tar.gz 6664534 BLAKE2B 
0dfaaf70a025b7bc7709adcd582ec2e57a75637d3e48fbd6f6d00e17a447d3d98a030a1cedc0533f30f24d7aebecada9879fa25aa04e99bfb2c26b3267deb340
 SHA512 
dec0715def99818c322655676405dc5e6b98c059d15294be8dbd9bfbbe2782a3cb49f86b3f89071e157fda0f9b15c1cfad5b726bd36e1f56272c25490f36e6d0

diff --git a/dev-util/radare2/radare2-3.1.1.ebuild 
b/dev-util/radare2/radare2-3.1.1.ebuild
deleted file mode 100644
index ccba9bfa0ed..000
--- a/dev-util/radare2/radare2-3.1.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 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} == * ]]; 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-12-03 Thread Sergei Trofimovich
commit: 736fe26e5ebc2b2b550dd2bfd008c893efbbfc71
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec  3 21:50:18 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec  3 21:51:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=736fe26e

dev-util/radare2: bump up to 3.1.2

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.1.2.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index f532d79fa0c..9423e3ea860 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,4 @@
 DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 
1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220
 SHA512 
755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380
 DIST radare2-3.1.0.tar.gz 6652526 BLAKE2B 
8da52e93263b47261cadc28e0de637b177943ce978ff342e305c7c924c062458d4eee18d05a21c9ca5153b7ede13332c87e9cd2f22c6880d47fd8e05db21036e
 SHA512 
ee31de49ff83ca1ed093eaf113201cb3709adcb3315671d88413aa4d5c80c37cf9e981c33b4f472b9aa5f67309cdaf9577c2085a8c58e4faf86b37d1ee19866d
 DIST radare2-3.1.1.tar.gz 6662393 BLAKE2B 
b8a9a19a30da85a5e79ded5f91858e6ce393e62b9e44bad3b11f08384cc9fe9f362bd666059d038661c8730f458fca22966f9e98eb184f33fa81a4f3c22ad7c7
 SHA512 
9706e0c60e88e75601a7f2e9cb936c1c39057fa43cad81ae72484beddba0e95f0382ceddf9e0e1a3e3b2cedd0fba932eb9d745dfce063274c9a3946d10ccdaa7
+DIST radare2-3.1.2.tar.gz 6664534 BLAKE2B 
0dfaaf70a025b7bc7709adcd582ec2e57a75637d3e48fbd6f6d00e17a447d3d98a030a1cedc0533f30f24d7aebecada9879fa25aa04e99bfb2c26b3267deb340
 SHA512 
dec0715def99818c322655676405dc5e6b98c059d15294be8dbd9bfbbe2782a3cb49f86b3f89071e157fda0f9b15c1cfad5b726bd36e1f56272c25490f36e6d0

diff --git a/dev-util/radare2/radare2-3.1.2.ebuild 
b/dev-util/radare2/radare2-3.1.2.ebuild
new file mode 100644
index 000..ccba9bfa0ed
--- /dev/null
+++ b/dev-util/radare2/radare2-3.1.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-12-03 Thread Sergei Trofimovich
commit: 5e88c75c25df4af62f024599579a6a3f6be37d06
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec  3 08:23:41 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec  3 08:23:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e88c75c

dev-util/radare2: bump up to 3.1.1

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.1.1.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index ea8c1e1a964..f532d79fa0c 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 
1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220
 SHA512 
755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380
 DIST radare2-3.1.0.tar.gz 6652526 BLAKE2B 
8da52e93263b47261cadc28e0de637b177943ce978ff342e305c7c924c062458d4eee18d05a21c9ca5153b7ede13332c87e9cd2f22c6880d47fd8e05db21036e
 SHA512 
ee31de49ff83ca1ed093eaf113201cb3709adcb3315671d88413aa4d5c80c37cf9e981c33b4f472b9aa5f67309cdaf9577c2085a8c58e4faf86b37d1ee19866d
+DIST radare2-3.1.1.tar.gz 6662393 BLAKE2B 
b8a9a19a30da85a5e79ded5f91858e6ce393e62b9e44bad3b11f08384cc9fe9f362bd666059d038661c8730f458fca22966f9e98eb184f33fa81a4f3c22ad7c7
 SHA512 
9706e0c60e88e75601a7f2e9cb936c1c39057fa43cad81ae72484beddba0e95f0382ceddf9e0e1a3e3b2cedd0fba932eb9d745dfce063274c9a3946d10ccdaa7

diff --git a/dev-util/radare2/radare2-3.1.1.ebuild 
b/dev-util/radare2/radare2-3.1.1.ebuild
new file mode 100644
index 000..ccba9bfa0ed
--- /dev/null
+++ b/dev-util/radare2/radare2-3.1.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-11-26 Thread Sergei Trofimovich
commit: f16605331f85ec6129e24f232aa76c020d88dea6
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Nov 26 22:19:34 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov 26 22:19:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1660533

dev-util/radare2: bump up to 3.1.0

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.1.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index a4e278b0284..c034cfd8a3e 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,4 @@
 DIST radare2-2.8.0.tar.gz 6513419 BLAKE2B 
51ee9fe82c09693e729b49e97b79a54e2b9f7de95ecf93c5e22107f68260ddc9fdee9291f200dba2770315487a85d1541abbb76281e6934d25c677a95e6882e3
 SHA512 
968c61eb5102125b232f9a74362fb90b0409da80b4cd4f109d11e49d02c80a5beee9e73065ef3b4a22fb8cdf43f86338fd21b648ddfa34001ed6cace47335803
 DIST radare2-3.0.0.tar.gz 6638430 BLAKE2B 
d95404e0f2d86705703119d53de2e1b60f111bcd8d3b05b5d040692e9d9cc4f51fe682892514b47b55d4ff88314b577253a5f2c6ff8cacebd30fd0663c21d1ff
 SHA512 
5ca698123ccad80c54c483f7e2cc678dabfc9c1c172670ff9e1d11512174c9ecc15e81dfdb5de846b42c951cafe23d29ceca6f3824504a2f3dac722c659bb2d4
 DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 
1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220
 SHA512 
755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380
+DIST radare2-3.1.0.tar.gz 6652526 BLAKE2B 
8da52e93263b47261cadc28e0de637b177943ce978ff342e305c7c924c062458d4eee18d05a21c9ca5153b7ede13332c87e9cd2f22c6880d47fd8e05db21036e
 SHA512 
ee31de49ff83ca1ed093eaf113201cb3709adcb3315671d88413aa4d5c80c37cf9e981c33b4f472b9aa5f67309cdaf9577c2085a8c58e4faf86b37d1ee19866d

diff --git a/dev-util/radare2/radare2-3.1.0.ebuild 
b/dev-util/radare2/radare2-3.1.0.ebuild
new file mode 100644
index 000..ccba9bfa0ed
--- /dev/null
+++ b/dev-util/radare2/radare2-3.1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-11-26 Thread Sergei Trofimovich
commit: 1c373b8a540ec475eee4571ffdf9083dd578f4d1
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Nov 26 22:20:02 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov 26 22:20:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c373b8a

dev-util/radare2: drop old

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/radare2/Manifest |  2 --
 dev-util/radare2/radare2-2.8.0.ebuild | 56 ---
 dev-util/radare2/radare2-3.0.0.ebuild | 56 ---
 3 files changed, 114 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index c034cfd8a3e..ea8c1e1a964 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,4 +1,2 @@
-DIST radare2-2.8.0.tar.gz 6513419 BLAKE2B 
51ee9fe82c09693e729b49e97b79a54e2b9f7de95ecf93c5e22107f68260ddc9fdee9291f200dba2770315487a85d1541abbb76281e6934d25c677a95e6882e3
 SHA512 
968c61eb5102125b232f9a74362fb90b0409da80b4cd4f109d11e49d02c80a5beee9e73065ef3b4a22fb8cdf43f86338fd21b648ddfa34001ed6cace47335803
-DIST radare2-3.0.0.tar.gz 6638430 BLAKE2B 
d95404e0f2d86705703119d53de2e1b60f111bcd8d3b05b5d040692e9d9cc4f51fe682892514b47b55d4ff88314b577253a5f2c6ff8cacebd30fd0663c21d1ff
 SHA512 
5ca698123ccad80c54c483f7e2cc678dabfc9c1c172670ff9e1d11512174c9ecc15e81dfdb5de846b42c951cafe23d29ceca6f3824504a2f3dac722c659bb2d4
 DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 
1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220
 SHA512 
755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380
 DIST radare2-3.1.0.tar.gz 6652526 BLAKE2B 
8da52e93263b47261cadc28e0de637b177943ce978ff342e305c7c924c062458d4eee18d05a21c9ca5153b7ede13332c87e9cd2f22c6880d47fd8e05db21036e
 SHA512 
ee31de49ff83ca1ed093eaf113201cb3709adcb3315671d88413aa4d5c80c37cf9e981c33b4f472b9aa5f67309cdaf9577c2085a8c58e4faf86b37d1ee19866d

diff --git a/dev-util/radare2/radare2-2.8.0.ebuild 
b/dev-util/radare2/radare2-2.8.0.ebuild
deleted file mode 100644
index a3d09b6f37a..000
--- a/dev-util/radare2/radare2-2.8.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 eutils
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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}
-   virtual/pkgconfig
-"
-
-src_configure() {
-   econf \
-   --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-3.0.0.ebuild 
b/dev-util/radare2/radare2-3.0.0.ebuild
deleted file mode 100644
index ccba9bfa0ed..000
--- a/dev-util/radare2/radare2-3.0.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 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} == * ]]; 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/_*
-
-

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-10-21 Thread Sergei Trofimovich
commit: 228e293a3e9b5ccea510446880329654428d1a74
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Oct 21 09:26:18 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Oct 21 09:26:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228e293a

dev-util/radare2: bump up to 3.0.1

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.0.1.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 1b278d21418..a4e278b0284 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-2.8.0.tar.gz 6513419 BLAKE2B 
51ee9fe82c09693e729b49e97b79a54e2b9f7de95ecf93c5e22107f68260ddc9fdee9291f200dba2770315487a85d1541abbb76281e6934d25c677a95e6882e3
 SHA512 
968c61eb5102125b232f9a74362fb90b0409da80b4cd4f109d11e49d02c80a5beee9e73065ef3b4a22fb8cdf43f86338fd21b648ddfa34001ed6cace47335803
 DIST radare2-3.0.0.tar.gz 6638430 BLAKE2B 
d95404e0f2d86705703119d53de2e1b60f111bcd8d3b05b5d040692e9d9cc4f51fe682892514b47b55d4ff88314b577253a5f2c6ff8cacebd30fd0663c21d1ff
 SHA512 
5ca698123ccad80c54c483f7e2cc678dabfc9c1c172670ff9e1d11512174c9ecc15e81dfdb5de846b42c951cafe23d29ceca6f3824504a2f3dac722c659bb2d4
+DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 
1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220
 SHA512 
755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380

diff --git a/dev-util/radare2/radare2-3.0.1.ebuild 
b/dev-util/radare2/radare2-3.0.1.ebuild
new file mode 100644
index 000..ccba9bfa0ed
--- /dev/null
+++ b/dev-util/radare2/radare2-3.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-10-16 Thread Sergei Trofimovich
commit: 0236e3ab77e7b7d37a4625ae917b1315f035baea
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Oct 16 22:17:38 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Oct 16 22:23:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0236e3ab

dev-util/radare2: sync EAPI=7 bump to live ebuild

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-util/radare2/radare2-.ebuild | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index abe520e9a37..e2ecbd2ce57 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit eutils bash-completion-r1
 
@@ -27,9 +27,8 @@ RDEPEND="
)
system-capstone? ( dev-libs/capstone:0= )
 "
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_configure() {
econf \



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-10-16 Thread Sergei Trofimovich
commit: da20956f5b45852d715055f8bfe0fe8a6159a8ad
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Oct 16 22:16:05 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Oct 16 22:22:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da20956f

dev-util/radare2: bump up to 3.0.0

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-3.0.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 48f4f8a4193..c9e2f682773 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,3 +1,4 @@
 DIST radare2-2.6.0.tar.gz 6306317 BLAKE2B 
213ed0ac92f5b4b9cfc2ba93c5cda9168746cffb0016e1368c4c3939d694bffccf689764c60e0e59a52b70b6b7d49407516c9ecd6e62c59ed0db37c6f72867f5
 SHA512 
44e7d0c10e17b40d4d71af851cf462c159b03b3242dfccd786bd54d3cf9f92441084f26694166dd1385e84c00626f45dbe09d1fe713595721723c468ac47b01b
 DIST radare2-2.7.0.tar.gz 6483865 BLAKE2B 
4052a601eb154240fb57c64bf2351063685a25e7d8ca46ad721398cd98b5e8bbec6a6daccb9f2df8e222bad74a0ffb4edc72186d7ca51b69ffbf480a7eb576ba
 SHA512 
4a40e4917967aeef34de6ea69dd3c6d07a215e1f1272221db9af92d898e2d44997e339016b3342d69a276eb99f2d0a1e640ce8e9c889fe728dd86865e917a0fd
 DIST radare2-2.8.0.tar.gz 6513419 BLAKE2B 
51ee9fe82c09693e729b49e97b79a54e2b9f7de95ecf93c5e22107f68260ddc9fdee9291f200dba2770315487a85d1541abbb76281e6934d25c677a95e6882e3
 SHA512 
968c61eb5102125b232f9a74362fb90b0409da80b4cd4f109d11e49d02c80a5beee9e73065ef3b4a22fb8cdf43f86338fd21b648ddfa34001ed6cace47335803
+DIST radare2-3.0.0.tar.gz 6638430 BLAKE2B 
d95404e0f2d86705703119d53de2e1b60f111bcd8d3b05b5d040692e9d9cc4f51fe682892514b47b55d4ff88314b577253a5f2c6ff8cacebd30fd0663c21d1ff
 SHA512 
5ca698123ccad80c54c483f7e2cc678dabfc9c1c172670ff9e1d11512174c9ecc15e81dfdb5de846b42c951cafe23d29ceca6f3824504a2f3dac722c659bb2d4

diff --git a/dev-util/radare2/radare2-3.0.0.ebuild 
b/dev-util/radare2/radare2-3.0.0.ebuild
new file mode 100644
index 000..ccba9bfa0ed
--- /dev/null
+++ b/dev-util/radare2/radare2-3.0.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 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} == * ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2018-10-16 Thread Sergei Trofimovich
commit: b115ebb739c6779f6f882185da377a3e8ed9e200
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Oct 16 22:16:40 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Oct 16 22:22:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b115ebb7

dev-util/radare2: drop old

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-util/radare2/Manifest  |  2 -
 .../files/radare2-fix-syscapstone-2.6.patch| 34 -
 dev-util/radare2/radare2-2.6.0.ebuild  | 58 --
 dev-util/radare2/radare2-2.7.0.ebuild  | 56 -
 4 files changed, 150 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index c9e2f682773..1b278d21418 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,4 +1,2 @@
-DIST radare2-2.6.0.tar.gz 6306317 BLAKE2B 
213ed0ac92f5b4b9cfc2ba93c5cda9168746cffb0016e1368c4c3939d694bffccf689764c60e0e59a52b70b6b7d49407516c9ecd6e62c59ed0db37c6f72867f5
 SHA512 
44e7d0c10e17b40d4d71af851cf462c159b03b3242dfccd786bd54d3cf9f92441084f26694166dd1385e84c00626f45dbe09d1fe713595721723c468ac47b01b
-DIST radare2-2.7.0.tar.gz 6483865 BLAKE2B 
4052a601eb154240fb57c64bf2351063685a25e7d8ca46ad721398cd98b5e8bbec6a6daccb9f2df8e222bad74a0ffb4edc72186d7ca51b69ffbf480a7eb576ba
 SHA512 
4a40e4917967aeef34de6ea69dd3c6d07a215e1f1272221db9af92d898e2d44997e339016b3342d69a276eb99f2d0a1e640ce8e9c889fe728dd86865e917a0fd
 DIST radare2-2.8.0.tar.gz 6513419 BLAKE2B 
51ee9fe82c09693e729b49e97b79a54e2b9f7de95ecf93c5e22107f68260ddc9fdee9291f200dba2770315487a85d1541abbb76281e6934d25c677a95e6882e3
 SHA512 
968c61eb5102125b232f9a74362fb90b0409da80b4cd4f109d11e49d02c80a5beee9e73065ef3b4a22fb8cdf43f86338fd21b648ddfa34001ed6cace47335803
 DIST radare2-3.0.0.tar.gz 6638430 BLAKE2B 
d95404e0f2d86705703119d53de2e1b60f111bcd8d3b05b5d040692e9d9cc4f51fe682892514b47b55d4ff88314b577253a5f2c6ff8cacebd30fd0663c21d1ff
 SHA512 
5ca698123ccad80c54c483f7e2cc678dabfc9c1c172670ff9e1d11512174c9ecc15e81dfdb5de846b42c951cafe23d29ceca6f3824504a2f3dac722c659bb2d4

diff --git a/dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch 
b/dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch
deleted file mode 100644
index 4eb3c053f07..000
--- a/dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 3752d992f3140806ea1d513739b6f23addf52df1 Mon Sep 17 00:00:00 2001
-From: cc 
-Date: Tue, 22 May 2018 12:52:12 +0800
-Subject: [PATCH] fix for build with syscapstone
-

- libr/Makefile | 9 +++--
- 1 file changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/libr/Makefile b/libr/Makefile
-index 05cb40fec7..0b39b48c02 100644
 a/libr/Makefile
-+++ b/libr/Makefile
-@@ -84,13 +84,18 @@ E+=../shlr/bochs/lib/libbochs.${EXT_AR}
- #E+=../shlr/sdb/src/libsdb.${EXT_AR}
- #endif
- 
-+ifeq ($(USE_CAPSTONE),1)
-+E+=$(CAPSTONE_LDFLAGS)
-+else
-+E+=../shlr/capstone/libcapstone.${EXT_AR}
-+endif
-+
- libr.${EXT_SO}: .libr
-   $(CC) -fvisibility=hidden $(MLFLAGS) -shared -dynamiclib -o 
libr.${EXT_SO}  \
-   .libr/*.o \
-   ../shlr/gdb/lib/libgdbr.${EXT_AR} 
../shlr/java/libr_java.${EXT_AR} \
-   ../shlr/zip/librz.${EXT_AR} \
--  ../shlr/libr_shlr.${EXT_AR} $(E)\
--  ../shlr/capstone/libcapstone.${EXT_AR}
-+  ../shlr/libr_shlr.${EXT_AR} $(E)
- 
- else
- 

diff --git a/dev-util/radare2/radare2-2.6.0.ebuild 
b/dev-util/radare2/radare2-2.6.0.ebuild
deleted file mode 100644
index 74ac2faaaf5..000
--- a/dev-util/radare2/radare2-2.6.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 eutils
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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 ~x86 ~arm ~arm64"
-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}
-   virtual/pkgconfig
-"
-
-PATCHES=( "${FILESDIR}/${PN}-fix-syscapstone-2.6.patch" )
-
-src_configure() {
-   econf \
-   --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 #5

[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-08-08 Thread Sergei Trofimovich
commit: cfc55f4b3694f2736c69f639775e792d31dc7693
Author: David Roman  gmail  com>
AuthorDate: Tue Aug  7 16:58:25 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Aug  8 06:25:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc55f4b

dev-util/radare2: verbump to 2.8.0

Closes: https://github.com/gentoo/gentoo/pull/9492

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-2.8.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 270d16d5353..48f4f8a4193 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1,3 @@
 DIST radare2-2.6.0.tar.gz 6306317 BLAKE2B 
213ed0ac92f5b4b9cfc2ba93c5cda9168746cffb0016e1368c4c3939d694bffccf689764c60e0e59a52b70b6b7d49407516c9ecd6e62c59ed0db37c6f72867f5
 SHA512 
44e7d0c10e17b40d4d71af851cf462c159b03b3242dfccd786bd54d3cf9f92441084f26694166dd1385e84c00626f45dbe09d1fe713595721723c468ac47b01b
 DIST radare2-2.7.0.tar.gz 6483865 BLAKE2B 
4052a601eb154240fb57c64bf2351063685a25e7d8ca46ad721398cd98b5e8bbec6a6daccb9f2df8e222bad74a0ffb4edc72186d7ca51b69ffbf480a7eb576ba
 SHA512 
4a40e4917967aeef34de6ea69dd3c6d07a215e1f1272221db9af92d898e2d44997e339016b3342d69a276eb99f2d0a1e640ce8e9c889fe728dd86865e917a0fd
+DIST radare2-2.8.0.tar.gz 6513419 BLAKE2B 
51ee9fe82c09693e729b49e97b79a54e2b9f7de95ecf93c5e22107f68260ddc9fdee9291f200dba2770315487a85d1541abbb76281e6934d25c677a95e6882e3
 SHA512 
968c61eb5102125b232f9a74362fb90b0409da80b4cd4f109d11e49d02c80a5beee9e73065ef3b4a22fb8cdf43f86338fd21b648ddfa34001ed6cace47335803

diff --git a/dev-util/radare2/radare2-2.8.0.ebuild 
b/dev-util/radare2/radare2-2.8.0.ebuild
new file mode 100644
index 000..a3d09b6f37a
--- /dev/null
+++ b/dev-util/radare2/radare2-2.8.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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}
+   virtual/pkgconfig
+"
+
+src_configure() {
+   econf \
+   --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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-07-09 Thread Sergei Trofimovich
commit: c4043e853d94a585843dc381bc7a3560a9625197
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jul  9 21:13:25 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  9 21:14:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4043e85

dev-util/radare2: bump up to 2.7.0

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-util/radare2/Manifest |  1 +
 dev-util/radare2/radare2-2.7.0.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 74ffc7d71d7..270d16d5353 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1 +1,2 @@
 DIST radare2-2.6.0.tar.gz 6306317 BLAKE2B 
213ed0ac92f5b4b9cfc2ba93c5cda9168746cffb0016e1368c4c3939d694bffccf689764c60e0e59a52b70b6b7d49407516c9ecd6e62c59ed0db37c6f72867f5
 SHA512 
44e7d0c10e17b40d4d71af851cf462c159b03b3242dfccd786bd54d3cf9f92441084f26694166dd1385e84c00626f45dbe09d1fe713595721723c468ac47b01b
+DIST radare2-2.7.0.tar.gz 6483865 BLAKE2B 
4052a601eb154240fb57c64bf2351063685a25e7d8ca46ad721398cd98b5e8bbec6a6daccb9f2df8e222bad74a0ffb4edc72186d7ca51b69ffbf480a7eb576ba
 SHA512 
4a40e4917967aeef34de6ea69dd3c6d07a215e1f1272221db9af92d898e2d44997e339016b3342d69a276eb99f2d0a1e640ce8e9c889fe728dd86865e917a0fd

diff --git a/dev-util/radare2/radare2-2.7.0.ebuild 
b/dev-util/radare2/radare2-2.7.0.ebuild
new file mode 100644
index 000..44da1cbab23
--- /dev/null
+++ b/dev-util/radare2/radare2-2.7.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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 ~x86 ~arm ~arm64"
+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}
+   virtual/pkgconfig
+"
+
+src_configure() {
+   econf \
+   --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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/

2018-06-21 Thread Sergei Trofimovich
commit: ef6cbc703b43f77685f45355ea56a84e6ef08b58
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Jun 21 07:01:25 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jun 21 07:01:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef6cbc70

dev-util/radare2: drop vulnerable 2.5.0, bug #658620

Bug: https://bugs.gentoo.org/658620
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/radare2/Manifest |  1 -
 dev-util/radare2/radare2-2.5.0.ebuild | 56 ---
 2 files changed, 57 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 2861b0403ce..74ffc7d71d7 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,2 +1 @@
-DIST radare2-2.5.0.tar.gz 6272646 BLAKE2B 
44c88327b544d03bd464f1ecb72a51b7e3fa86602aeae9055b6f2d41763be9ed9d63be4c7b959e1f920605feeed998c1f56ef0ed3a6a7213b4d5265c057b1213
 SHA512 
a29e0e61aeee6e08a99a1ed8a8bc428ec8b0474b3781475db3091232353d03d39d8750f774a266e01bb7565049269ee5f43b666b3b69bfadafb75cdb35f6cc4b
 DIST radare2-2.6.0.tar.gz 6306317 BLAKE2B 
213ed0ac92f5b4b9cfc2ba93c5cda9168746cffb0016e1368c4c3939d694bffccf689764c60e0e59a52b70b6b7d49407516c9ecd6e62c59ed0db37c6f72867f5
 SHA512 
44e7d0c10e17b40d4d71af851cf462c159b03b3242dfccd786bd54d3cf9f92441084f26694166dd1385e84c00626f45dbe09d1fe713595721723c468ac47b01b

diff --git a/dev-util/radare2/radare2-2.5.0.ebuild 
b/dev-util/radare2/radare2-2.5.0.ebuild
deleted file mode 100644
index e054a7433d6..000
--- a/dev-util/radare2/radare2-2.5.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils bash-completion-r1
-
-DESCRIPTION="unix-like reverse engineering framework and commandline tools"
-HOMEPAGE="http://www.radare.org";
-
-if [[ ${PV} == * ]]; 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 ~x86 ~arm ~arm64"
-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}
-   virtual/pkgconfig
-"
-
-src_configure() {
-   econf \
-   --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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2018-05-22 Thread Sergei Trofimovich
commit: b7a09680926eec8ae56136838943a2f919c9bb22
Author: David Roman  gmail  com>
AuthorDate: Tue May 22 21:51:33 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue May 22 22:00:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7a09680

dev-util/radare2: verbump to 2.6.0

Closes: https://github.com/gentoo/gentoo/pull/8526

 dev-util/radare2/Manifest  |  1 +
 .../files/radare2-fix-syscapstone-2.6.patch| 34 +
 dev-util/radare2/radare2-2.6.0.ebuild  | 58 ++
 3 files changed, 93 insertions(+)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 6e6a1d55e9b..2861b0403ce 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1 +1,2 @@
 DIST radare2-2.5.0.tar.gz 6272646 BLAKE2B 
44c88327b544d03bd464f1ecb72a51b7e3fa86602aeae9055b6f2d41763be9ed9d63be4c7b959e1f920605feeed998c1f56ef0ed3a6a7213b4d5265c057b1213
 SHA512 
a29e0e61aeee6e08a99a1ed8a8bc428ec8b0474b3781475db3091232353d03d39d8750f774a266e01bb7565049269ee5f43b666b3b69bfadafb75cdb35f6cc4b
+DIST radare2-2.6.0.tar.gz 6306317 BLAKE2B 
213ed0ac92f5b4b9cfc2ba93c5cda9168746cffb0016e1368c4c3939d694bffccf689764c60e0e59a52b70b6b7d49407516c9ecd6e62c59ed0db37c6f72867f5
 SHA512 
44e7d0c10e17b40d4d71af851cf462c159b03b3242dfccd786bd54d3cf9f92441084f26694166dd1385e84c00626f45dbe09d1fe713595721723c468ac47b01b

diff --git a/dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch 
b/dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch
new file mode 100644
index 000..4eb3c053f07
--- /dev/null
+++ b/dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch
@@ -0,0 +1,34 @@
+From 3752d992f3140806ea1d513739b6f23addf52df1 Mon Sep 17 00:00:00 2001
+From: cc 
+Date: Tue, 22 May 2018 12:52:12 +0800
+Subject: [PATCH] fix for build with syscapstone
+
+---
+ libr/Makefile | 9 +++--
+ 1 file changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/libr/Makefile b/libr/Makefile
+index 05cb40fec7..0b39b48c02 100644
+--- a/libr/Makefile
 b/libr/Makefile
+@@ -84,13 +84,18 @@ E+=../shlr/bochs/lib/libbochs.${EXT_AR}
+ #E+=../shlr/sdb/src/libsdb.${EXT_AR}
+ #endif
+ 
++ifeq ($(USE_CAPSTONE),1)
++E+=$(CAPSTONE_LDFLAGS)
++else
++E+=../shlr/capstone/libcapstone.${EXT_AR}
++endif
++
+ libr.${EXT_SO}: .libr
+   $(CC) -fvisibility=hidden $(MLFLAGS) -shared -dynamiclib -o 
libr.${EXT_SO}  \
+   .libr/*.o \
+   ../shlr/gdb/lib/libgdbr.${EXT_AR} 
../shlr/java/libr_java.${EXT_AR} \
+   ../shlr/zip/librz.${EXT_AR} \
+-  ../shlr/libr_shlr.${EXT_AR} $(E)\
+-  ../shlr/capstone/libcapstone.${EXT_AR}
++  ../shlr/libr_shlr.${EXT_AR} $(E)
+ 
+ else
+ 

diff --git a/dev-util/radare2/radare2-2.6.0.ebuild 
b/dev-util/radare2/radare2-2.6.0.ebuild
new file mode 100644
index 000..74ac2faaaf5
--- /dev/null
+++ b/dev-util/radare2/radare2-2.6.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="unix-like reverse engineering framework and commandline tools"
+HOMEPAGE="http://www.radare.org";
+
+if [[ ${PV} == * ]]; 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 ~x86 ~arm ~arm64"
+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}
+   virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}/${PN}-fix-syscapstone-2.6.patch" )
+
+src_configure() {
+   econf \
+   --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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/files/, dev-util/radare2/

2018-04-28 Thread Sergei Trofimovich
commit: c6ead6ec63da392259c83b3126c3150b4360403b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Apr 28 12:20:47 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr 28 12:21:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6ead6ec

dev-util/radare2: drop USE=-system-capstone

Enable system capstone unconditionally for releases.
radare2 does not ship bundled capstone in 2.5.0.

Reported-by: Michael Palimaka (kensington)
Closes: https://bugs.gentoo.org/645552
Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-util/radare2/files/radare2-0.9.9-nogit.patch | 13 -
 dev-util/radare2/radare2-2.5.0.ebuild|  8 
 dev-util/radare2/radare2-.ebuild |  1 -
 3 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/dev-util/radare2/files/radare2-0.9.9-nogit.patch 
b/dev-util/radare2/files/radare2-0.9.9-nogit.patch
deleted file mode 100644
index 9a6979e348a..000
--- a/dev-util/radare2/files/radare2-0.9.9-nogit.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-capstone-sync does not work correctly for release tarballs.
-It tries to sync/revert from upstream git repo unconditionaly.
-diff --git a/shlr/Makefile b/shlr/Makefile
-index a1796ce..f8d179a 100644
 a/shlr/Makefile
-+++ b/shlr/Makefile
-@@ -144,5 +144,5 @@ else
- 
- ifeq ($(CS_TAR),)
--capstone: capstone-sync
-+capstone: # capstone-sync
- 
- capstone-sync:

diff --git a/dev-util/radare2/radare2-2.5.0.ebuild 
b/dev-util/radare2/radare2-2.5.0.ebuild
index abe520e9a37..e054a7433d6 100644
--- a/dev-util/radare2/radare2-2.5.0.ebuild
+++ b/dev-util/radare2/radare2-2.5.0.ebuild
@@ -18,14 +18,14 @@ 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}
virtual/pkgconfig
@@ -33,8 +33,8 @@ DEPEND="${RDEPEND}
 
 src_configure() {
econf \
-   $(use_with ssl openssl) \
-   $(use_with system-capstone syscapstone)
+   --with-syscapstone \
+   $(use_with ssl openssl)
 }
 
 src_install() {

diff --git a/dev-util/radare2/radare2-.ebuild 
b/dev-util/radare2/radare2-.ebuild
index 89e71ebcc42..abe520e9a37 100644
--- a/dev-util/radare2/radare2-.ebuild
+++ b/dev-util/radare2/radare2-.ebuild
@@ -14,7 +14,6 @@ if [[ ${PV} == * ]]; then
 else
SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
-   PATCHES=( "${FILESDIR}"/${PN}-0.9.9-nogit.patch )
 fi
 
 LICENSE="GPL-2"



  1   2   >