summaryrefslogtreecommitdiff
path: root/dev-util/radare2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
commitd4f65848c7ecabb56e2f93889cbd20078cd347f7 (patch)
tree180032f5afeb689db6a270d612f3e3364ed8fd2b /dev-util/radare2
parentc635a4b7ddb6105bfc6fef130b188a087726677b (diff)
gentoo auto-resync : 02:12:2024 - 02:07:07
Diffstat (limited to 'dev-util/radare2')
-rw-r--r--dev-util/radare2/Manifest15
-rw-r--r--dev-util/radare2/radare2-5.9.2.ebuild121
-rw-r--r--dev-util/radare2/radare2-5.9.6.ebuild (renamed from dev-util/radare2/radare2-5.9.0.ebuild)8
3 files changed, 10 insertions, 134 deletions
diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
index 42c14a1b6dbc..064ffa997477 100644
--- a/dev-util/radare2/Manifest
+++ b/dev-util/radare2/Manifest
@@ -1,18 +1,13 @@
AUX radare2-5.8.2-vector35.patch 882 BLAKE2B 6453cdeec6e5656ff86af84f0876fd7543896ac289810e1783cc66eecea0e86513ef6374a93109845b6a78d211fff4b82c87e6a66f21b349291ed54f99a36642 SHA512 b9fb378d1817bba06945802d2b1e243c3df493f688d5e1b294acf410666e6e3946cc2438ffb9ef0d60485e4c76995d832ff02c12e6c2ca486a6ead68e23b5c57
AUX radare2-5.8.4-test.patch 394 BLAKE2B 630353de9fab5debf7380b3f0ce3bc9bec5c40932de9f5c6b7e52001a8a6f4d789471e7990b6a3f3dee0b9b65489d95d9aaff3c98d7bf085096b2bd4d5059b7e SHA512 7b3cf27a1f4b5e6710018dbda01c26a3b73e507838a4c168d967e4900df9dc715009c548e41bc1576e2e56173eb61c1011519201a55830c21a450ec37a0350cc
-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-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-5.9.6-vector35-arm64.tar.gz 1050988 BLAKE2B 889c5a98b6efb45026349ca25b73d39e8a8049fce052d49b5e37d974bff038de85f99f1d7651db6c621b036be2948e29a62e6b8261cab6a9bdfd72442858d7e9 SHA512 433a9e972ee13269a495e94aba335b97892eb2614de1460e055e30d60976989f986ef253b352ba918786d4056e3a4d948a66ea90d25aa5ddf52a276152279c92
+DIST radare2-5.9.6-vector35-armv7.tar.gz 255278 BLAKE2B 8b5191c48fad2e7602dc2f7053f9c9ea8cca8e9bc5d68a0cdb7ccff9ecc65c5d1ff6a434e28488dbd6fb71fc7482fce08a0a69c358e5c3d6c017ac1e4cee3b21 SHA512 40c048b29856f48300d4539bc7bda38e6ceae1e8d4d9d131c4a7546b6e26b2fb96309c483b67e2c2290b06cea5fc52a7beb30557d54e89296e7734cc1ab06d10
+DIST radare2-5.9.6.tar.gz 11665346 BLAKE2B d71aa32d494d4cce9a4f9e9640ccf6cd99320072f181ca7834ff015178c5295facf64fa8ab87a3075f09caede5b87d5b87d488955b2ad7a412445587e2426d39 SHA512 ae7211b560b0949f55d385846df3f477c46596e42d2076ab6cc6314adf77ec595f6f98800fb5d8999b82ec1150b9924e301976a18218858dd5f9399278ac9a59
+DIST radare2-testbins-87ab82cc96e83e02f044c0c4111ade2a65576c60.tar.gz 159862866 BLAKE2B 69f9a91b14426ed798360418451c793ad7ac53630d4e2eca6652e5ee5e9a7deef0bc3be3e762ace2c666c3ef518d9b2e81e9f2d96ba22e55210f7ca15f897e8d SHA512 f96cb6c9fe3bc6e99b9dfdd2b33205fcc1056de00cdf76050b3653d126350d94e2434d5050d1dc056fc1306e44e11de73a96f12260ed619af673d0d4a89e5fb0
DIST radare2-testbins-bca0e277a234cc71b43d919f88bda03cd4a518fd.tar.gz 159785408 BLAKE2B 325b13af8f965f9fa35995c409955a681b0cc0d6fc8d6d7547d7e70547b3d3ba7647c8c3ff6ede8878e1c3a7d394f3be444ce2f418ee6beb60c5047b5f310e63 SHA512 06fb363ec2959f605035aa0041f48985a98839a39616ac13838994e28b69a0c34240bc4365755f65743c7b72b59b73d11dba7be83848adc4fee0e8d13689d199
-DIST radare2-testbins-ff7a8fb14610c87f7b2d3b185eb267f2aff381ca.tar.gz 159774410 BLAKE2B 65b7712ab444f79f18b3568c790e0cbd250e44cea8fbff5f2ed9caeb0898779928f5018a49fdbd5c2dfba57f01c8b4ceb9c0aa9248612a5c545a147b4f876d90 SHA512 666ea966d94c661ed22c400f5cb7e5c5ca6f914d2436007b5510a57e43609ebc2637606e17d49d9c67d880d5229c295e57cef2295c4d093b856ead1f3d0a7f0a
-EBUILD radare2-5.9.0.ebuild 3240 BLAKE2B a36399f1207fae59e7efc9f23d7d4dc19537956281cd6692d88d252d2ad4408b55f8a34d5cc993adc7849ba020f7b458bad6e2f9a4df1adf7217f1eb978f28a4 SHA512 3cab706d9c81cf06c8945fe6094b5e6398803ad5121ab73d6dd4958d654e50422439908c2099b8bf6ce6786a81aea2e22d03ba2d39c2a3177b3c412da211576e
-EBUILD radare2-5.9.2.ebuild 3240 BLAKE2B f105bdc4a6d314b64b863bf623116cbc2ad1553ebc3b9e92f44d662311319416c9f693aadfd62e752a41301d8c9a7dad7da46a7aadc4c6da2ab4bacce4d491d4 SHA512 ddc56263f1148f4c6250dce27b1ed642e29744e069a54b8af6dbd862483799738fc9713455b942b0aada680396434b30555a9f7481d1ea9b20b82f13447ef5ed
EBUILD radare2-5.9.4.ebuild 3282 BLAKE2B 4a7f67b3f9898df0c3a97a242a65252d703f9f100dea74e90b6140b2c6f443b99c4787ae2a23f1858f0ec844b8d46c7782290b2684a84e8fe13244437cecedd0 SHA512 151bf27b9ac91c993a2ecb37a4f10391b7908d260de681bcd849f6f80974ebd08dffc1ba73c5227281252db49a83d30cb6a1e360ee6168f21324f0467524f2b4
+EBUILD radare2-5.9.6.ebuild 3282 BLAKE2B 586d5cc4d535d595384ae061aa20ca2a5d66881cf20c2ebb3a782f30fb667bae101aefbd48c1bb91547f1ba31c041099519d6a97814a121400d760a176d2a369 SHA512 eaef3839a27c8deea72c76b50fb7dc587850757433dade7830b435481109007d426d665c74b4704458d42c98530b8e0f312f20c803b56c30bf85f86da167f412
MISC metadata.xml 479 BLAKE2B 57c303d3344fd8a086d7c41ca92ca18d7291c77abbfc8eab6f9f3f1ff11481235aae3b04cc613e3ad28202ad972e9e24e5516a3a1d805341da2dd0ad74efb77b SHA512 e798ed2144748ea2784f7cd89da1a81c59d44bf77f67738de8bc11c797d50ea3c5e45a8cee7801c06c3fff4c634f400e28ef46c0d9bd1063ecc3066ba1b1809e
diff --git a/dev-util/radare2/radare2-5.9.2.ebuild b/dev-util/radare2/radare2-5.9.2.ebuild
deleted file mode 100644
index 62dd267271be..000000000000
--- a/dev-util/radare2/radare2-5.9.2.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# 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} == *9999 ]]; 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
-}
diff --git a/dev-util/radare2/radare2-5.9.0.ebuild b/dev-util/radare2/radare2-5.9.6.ebuild
index fcd2d8642dc6..15fc54f399fa 100644
--- a/dev-util/radare2/radare2-5.9.0.ebuild
+++ b/dev-util/radare2/radare2-5.9.6.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.radare.org"
ARM64_COMMIT=55d73c6bbb94448a5c615933179e73ac618cf876
ARMV7_COMMIT=f270a6cc99644cb8e76055b6fa632b25abd26024
-BINS_COMMIT=32e2480e3b7b6959cd1ba483a200c792b4cb9236
+BINS_COMMIT=87ab82cc96e83e02f044c0c4111ade2a65576c60
if [[ ${PV} == *9999 ]]; then
inherit git-r3
@@ -33,6 +33,7 @@ IUSE="ssl test"
RESTRICT="fetch !test? ( test )"
RDEPEND="
+ app-arch/lz4
>=dev-libs/capstone-5.0_rc4:=
dev-libs/libzip:=
dev-libs/xxhash
@@ -48,6 +49,7 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${PN}-5.8.2-vector35.patch"
+ "${FILESDIR}/${PN}-5.8.4-test.patch"
)
src_prepare() {
@@ -73,12 +75,12 @@ src_configure() {
export HOST_CC=${CC}
econf \
- --without-libuv \
--with-syscapstone \
+ --with-syslz4 \
--with-sysmagic \
--with-sysxxhash \
--with-syszip \
- $(use_with ssl openssl)
+ $(use_with ssl)
}
src_test() {