summaryrefslogtreecommitdiff
path: root/dev-util/rizin
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/rizin')
-rw-r--r--dev-util/rizin/Manifest7
-rw-r--r--dev-util/rizin/rizin-0.6.3-r1.ebuild97
-rw-r--r--dev-util/rizin/rizin-0.7.1-r1.ebuild99
-rw-r--r--dev-util/rizin/rizin-0.7.3.ebuild4
4 files changed, 3 insertions, 204 deletions
diff --git a/dev-util/rizin/Manifest b/dev-util/rizin/Manifest
index 946bdcb36f1c..34a424ea2d4c 100644
--- a/dev-util/rizin/Manifest
+++ b/dev-util/rizin/Manifest
@@ -1,11 +1,6 @@
AUX rizin-0.4.0-never-rebuild-parser.patch 1568 BLAKE2B c77276adb8349188ebc937d84b011650b978ba5bed6c0596258963d395014c5e0733e44930b4c2db6dd88941d99b2aa37acf461d035fc31dcd321571ef0d6392 SHA512 a46311772dc42b90b8e3e49ddb66f6d64873773e254ac943934de0129d5f4a77ccb759d20b519b58418d45c076f136d582f2e70056693c75b2f6aae19eb07551
AUX rizin-0.5.2-find-tree-sitter-parser.patch 1128 BLAKE2B c3a72fda5005d50f47b2a1c5350b017f8e6fd4d4d232c8502adcceef6542d509c70f68ef396ffff159c4f37a8575931e4a440c689c403a653ac9145489fa4405 SHA512 2977c1004b76740a2e35156a2f92e415530a401eeaddbf59f4efc8ee36bc0fdec7f0402b4aa1732fc0827a4a5c505cc2851db65fb7a25d254ddb631c6c8542c9
-DIST rizin-src-v0.6.3.tar.xz 15411052 BLAKE2B 4ddde26dc2541917e1d16f38339bf1467b2148524a1365d739c417857ee856ecb7fbc9210a0f3b562a429c962e31f637bb88a0c0817f42a59868ed3093b0e902 SHA512 031ae1c5b43237d55b3e48d825d4bd9cda16a4a84a47464eb1745a02265a1412e2864345595c0dca7f8ea0cb348fe9760ea424556ff6b915ac8014a7f410b03c
-DIST rizin-src-v0.7.1.tar.xz 18941692 BLAKE2B d0384a272e5e8274c970dd9253d84204e8bc026de05ec63fe0252cb6fc9eaee9729bbf03ef3dba100c6e55c58e4a81f7755d7ecb15eebbbb041aa9bfb4c53d30 SHA512 e59b6fd748e551f10169da9a04f7c04ffb017182d3eb5856467df3b167c6d9b387d0faccdb0cd97ee7321ac71179eb7d9a28fa954f34dc028ea8e4259211eac7
DIST rizin-src-v0.7.3.tar.xz 18604220 BLAKE2B 9bbfbd8cf86839dcfdc30beb12d4472abf68e7d8c81561f6124b4d8ac781242bbbe8b62e06d2873928830d2524203c18ab1c17fa35855ac2d344af7649b64b3c SHA512 bad89888b2cb1ce1227ce629ff1209f18d1afb9da55685f0ea4ead7dd1b4dfbf8ed72c173048b2ee47362a10d5e20a6c34e09d0bbaa210f3873073c10ebc4dc1
DIST rizin-testbins-1203a9a2f51e32337c8434d9f4f7c4543552e271.tar.gz 185572487 BLAKE2B b274a58bebe0123bd8ab7b18a4e88833e7de53133d8f640d00b9efa953cf8ef766582acd5a0f65750ebb273be70d5cc1daf9b700cd6b9bfd4d464cf59ab735ba SHA512 47e8993bea5d7805acb46c1c4e034524fe47d2b0b2471af00d3255f3e853430617658cd6b1f8a4706a748704a52646ec43495f0d4e80f16bce4aaf34e29539a4
-DIST rizin-testbins-903588ed69d7717069955322b31dad5e666b338a.tar.gz 181644100 BLAKE2B ea491bea61a6d17fa2727e1b08b810be2bb99d05cf2afa4e97dc440a69a4fd376a39c25c6e86e9e2d499732b55e7c75e5eef39adef84f571e48d147e410d04e5 SHA512 fffef043d76440976e02e2b890138f57df849f507c0a7a48bd97b421fc1683e73696c50b6daddf906a53685eccfd7346e25881d3d498417e4e55b97ef56b8317
-EBUILD rizin-0.6.3-r1.ebuild 2531 BLAKE2B f0b8ed9b9bb4e75634987d4aaa1a40ac28207eb1504b352d83300501005b9f287aa940d90c96465652a1367b2ea33fcd26ed0babed7e4a09dbda35d3a9062f05 SHA512 48a966414515f9d748f5d8995aefb33c8024a58fef0f87e4e41777560fc6e69aebfec812da2d84adca4b9787b2f27dd742ac01898eecd9d94ca10ff949495cf4
-EBUILD rizin-0.7.1-r1.ebuild 2515 BLAKE2B fbe470d30a28edb631bd66c46bb1717be1f8b0bf68c0fc5fd25472340a1e1c13b72fe0f8765f6d9a1709a203a78c078e1edcf2e5ecceab183b648d8f45af686d SHA512 c160f0a74c153a5da7dc21a8e4e001fe5eda9d6425773fc2eba60c64e7dc84c9bf642165f38719cfe94318737db0abf3594bf96bdd021a7c0ec0fac8be05ed3b
-EBUILD rizin-0.7.3.ebuild 2514 BLAKE2B 39cc4fc096bbb969cea78d1d8610c5bf928958d0d18a45903bf1ca924e76f0b8ef09116e01beb52bd4e33b6fa1d0d01e26c9fed083e326d0b437d9ccbf98c68a SHA512 be049d24ed3638c590faf7230081cd75aac81814327e567e1fc7f9c3b5d4edc4661d3de8b9dc008776433800bc352bc7a66c1e3865382970a61dde25c43ab20d
+EBUILD rizin-0.7.3.ebuild 2513 BLAKE2B a75c5190ef23d3f0189c4ea6ac504fc55f747e740f370a9167736212a7c66f7d7eb38e876b24a02fa6ac6c8afff58293091003ab6a8134504bc1a514157a3ded SHA512 fba137f9ab4f0d52ca715dd25ec01a3665fc1037ceb8bb0f834fdd57845b21746ee4040aadf7fa21db9498366520f52806bae51b1fbc98694f57fdfd2aa4495b
MISC metadata.xml 427 BLAKE2B 2937970e78526f69e371b4451a3406b1fdc35a01707d366e8b54e23f9d13e8a713254902825ae111817ee00ea3aaf3bc968db8b6d944b15f869e2b89ba8e16b8 SHA512 65cc9c4cd5f2f64cd02e89b0f7f4972fefec51cb175650625da263b729022587c9487e9ab9faed8517200ed622a8ca5ec35b2b6f4c67966d78344c043197c981
diff --git a/dev-util/rizin/rizin-0.6.3-r1.ebuild b/dev-util/rizin/rizin-0.6.3-r1.ebuild
deleted file mode 100644
index 49186f6b9d14..000000000000
--- a/dev-util/rizin/rizin-0.6.3-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-# This is the commit that the CI for the release commit used
-BINS_COMMIT="903588ed69d7717069955322b31dad5e666b338a"
-
-inherit meson python-any-r1
-
-DESCRIPTION="reverse engineering framework for binary analysis"
-HOMEPAGE="https://rizin.re/"
-
-SRC_URI="mirror+https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-v${PV}.tar.xz
- test? ( https://github.com/rizinorg/rizin-testbins/archive/${BINS_COMMIT}.tar.gz -> rizin-testbins-${BINS_COMMIT}.tar.gz )"
-S="${WORKDIR}/${PN}-v${PV}"
-
-LICENSE="Apache-2.0 BSD LGPL-3 MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm64 ~x86"
-IUSE="test"
-
-# Need to audit licenses of the binaries used for testing
-RESTRICT="test? ( fetch ) !test? ( test )"
-
-# TODO: unbundle dev-libs/blake3
-RDEPEND="
- app-arch/lz4:0=
- app-arch/xz-utils
- >=dev-libs/capstone-5:0=
- dev-libs/libmspack
- dev-libs/libzip:0=
- dev-libs/openssl:0=
- >=dev-libs/tree-sitter-0.19.0:=
- dev-libs/xxhash
- sys-apps/file
- sys-libs/zlib:0=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.4.0-never-rebuild-parser.patch"
- "${FILESDIR}/${PN}-0.5.2-find-tree-sitter-parser.patch"
-)
-
-src_prepare() {
- default
-
- local py_to_mangle=(
- librz/core/cmd_descs/cmd_descs_generate.py
- sys/clang-format.py
- test/fuzz/scripts/fuzz_rz_asm.py
- test/scripts/gdbserver.py
- )
-
- python_fix_shebang "${py_to_mangle[@]}"
-
- # https://github.com/rizinorg/rizin/issues/3459
- sed -ie '/dyld_chained_ptr_arm64e_auth/d' test/unit/test_bin_mach0.c || die
-
- if use test; then
- cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}/test/bins" || die
- cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}" || die
- fi
-}
-
-src_configure() {
- local emesonargs=(
- -Dcli=enabled
- -Duse_sys_capstone=enabled
- -Duse_sys_libmspack=enabled
- -Duse_sys_libzip=enabled
- -Duse_sys_lz4=enabled
- -Duse_sys_lzma=enabled
- -Duse_sys_magic=enabled
- # https://github.com/rizinorg/rizin/issues/3841
- # -Duse_sys_openssl=enabled
- -Duse_sys_tree_sitter=enabled
- -Duse_sys_xxhash=enabled
- -Duse_sys_zlib=enabled
-
- $(meson_use test enable_tests)
- $(meson_use test enable_rz_test)
- )
- meson_src_configure
-}
-
-src_test() {
- # We can select running either unit or integration tests, or all of
- # them by not passing --suite. According to upstream, integration
- # tests are more fragile and unit tests are sufficient for testing
- # packaging, so only run those.
- meson_src_test --suite unit
-}
diff --git a/dev-util/rizin/rizin-0.7.1-r1.ebuild b/dev-util/rizin/rizin-0.7.1-r1.ebuild
deleted file mode 100644
index c213792fb694..000000000000
--- a/dev-util/rizin/rizin-0.7.1-r1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-# This is the commit that the CI for the release commit used
-BINS_COMMIT="1203a9a2f51e32337c8434d9f4f7c4543552e271"
-
-inherit meson python-any-r1
-
-DESCRIPTION="reverse engineering framework for binary analysis"
-HOMEPAGE="https://rizin.re/"
-
-SRC_URI="mirror+https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-v${PV}.tar.xz
- test? ( https://github.com/rizinorg/rizin-testbins/archive/${BINS_COMMIT}.tar.gz -> rizin-testbins-${BINS_COMMIT}.tar.gz )"
-S="${WORKDIR}/${PN}-v${PV}"
-
-LICENSE="Apache-2.0 BSD LGPL-3 MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm64 ~x86"
-IUSE="test"
-
-# Need to audit licenses of the binaries used for testing
-RESTRICT="test? ( fetch ) !test? ( test )"
-
-# TODO: unbundle dev-libs/blake3
-RDEPEND="
- app-arch/lz4:0=
- app-arch/xz-utils
- app-arch/zstd:=
- >=dev-libs/capstone-5:0=
- dev-libs/libmspack
- dev-libs/libzip:0=
- dev-libs/openssl:0=
- dev-libs/libpcre2:0=
- >=dev-libs/tree-sitter-0.19.0:=
- dev-libs/xxhash
- sys-apps/file
- sys-libs/zlib:0=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.4.0-never-rebuild-parser.patch"
-)
-
-src_prepare() {
- default
-
- local py_to_mangle=(
- librz/core/cmd_descs/cmd_descs_generate.py
- sys/clang-format.py
- test/fuzz/scripts/fuzz_rz_asm.py
- test/scripts/gdbserver.py
- )
-
- python_fix_shebang "${py_to_mangle[@]}"
-
- # https://github.com/rizinorg/rizin/issues/3459
- sed -ie '/dyld_chained_ptr_arm64e_auth/d' test/unit/test_bin_mach0.c || die
-
- if use test; then
- cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}/test/bins" || die
- cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}" || die
- fi
-}
-
-src_configure() {
- local emesonargs=(
- -Dcli=enabled
- -Duse_sys_capstone=enabled
- -Duse_sys_libmspack=enabled
- -Duse_sys_libzip=enabled
- -Duse_sys_libzstd=enabled
- -Duse_sys_lz4=enabled
- -Duse_sys_lzma=enabled
- -Duse_sys_magic=enabled
- -Duse_sys_openssl=enabled
- -Duse_sys_pcre2=enabled
- -Duse_sys_tree_sitter=enabled
- -Duse_sys_xxhash=enabled
- -Duse_sys_zlib=enabled
-
- $(meson_use test enable_tests)
- $(meson_use test enable_rz_test)
- )
- meson_src_configure
-}
-
-src_test() {
- # We can select running either unit or integration tests, or all of
- # them by not passing --suite. According to upstream, integration
- # tests are more fragile and unit tests are sufficient for testing
- # packaging, so only run those.
- meson_src_test --suite unit
-}
diff --git a/dev-util/rizin/rizin-0.7.3.ebuild b/dev-util/rizin/rizin-0.7.3.ebuild
index 7e7a1b76d7c5..5b8d7bfee238 100644
--- a/dev-util/rizin/rizin-0.7.3.ebuild
+++ b/dev-util/rizin/rizin-0.7.3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
# This is the commit that the CI for the release commit used
BINS_COMMIT="1203a9a2f51e32337c8434d9f4f7c4543552e271"
@@ -19,7 +19,7 @@ S="${WORKDIR}/${PN}-v${PV}"
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
IUSE="test"
# Need to audit licenses of the binaries used for testing