summaryrefslogtreecommitdiff
path: root/dev-util/rizin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-09 22:41:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-09 22:41:02 +0100
commitf848d5eacad65f1f52c168d9b0f74dec3e89b203 (patch)
tree6cb7b42d08801e79c25ab04d2e95b467ddd0b9bd /dev-util/rizin
parent9257212a8841f37588d5b5a94a7930db4585a106 (diff)
gentoo auto-resync : 09:09:2022 - 22:41:02
Diffstat (limited to 'dev-util/rizin')
-rw-r--r--dev-util/rizin/Manifest3
-rw-r--r--dev-util/rizin/rizin-0.4.0-r1.ebuild2
-rw-r--r--dev-util/rizin/rizin-0.4.0.ebuild94
3 files changed, 2 insertions, 97 deletions
diff --git a/dev-util/rizin/Manifest b/dev-util/rizin/Manifest
index 489a961f6106..8dba76914b1c 100644
--- a/dev-util/rizin/Manifest
+++ b/dev-util/rizin/Manifest
@@ -2,6 +2,5 @@ AUX rizin-0.4.0-capstone.patch 681 BLAKE2B ad680ca6ee4782d0a164048e9884a3154fd81
AUX rizin-0.4.0-never-rebuild-parser.patch 1568 BLAKE2B c77276adb8349188ebc937d84b011650b978ba5bed6c0596258963d395014c5e0733e44930b4c2db6dd88941d99b2aa37acf461d035fc31dcd321571ef0d6392 SHA512 a46311772dc42b90b8e3e49ddb66f6d64873773e254ac943934de0129d5f4a77ccb759d20b519b58418d45c076f136d582f2e70056693c75b2f6aae19eb07551
DIST rizin-src-v0.4.0.tar.xz 11432232 BLAKE2B 095ca9d317296afca9514a70f208e9aa87fc426e6b7e41163f64d5a1192a4d9ccd8ece9c4f13a24fc973668dece625fa13ad75542695a66c542fe2f0d9e66733 SHA512 9d576bee48e5ceae46b4e309c53e01b82edf89a95046f576e1c38fefa73353d6d1f04e6d444332324387d4e115bc87659a358629f7277a41dfef44c82364547b
DIST rizin-testbins-64a6f26369bf5893ecc20cb8984a5ad506ef8566.tar.gz 172591261 BLAKE2B e78843fd95ac0406f66490b7253206e77787fc65780bc7c6a67d26aa9618a6f85803a88724ad424a7bdeeb20d95ebf9314e582029ac778d7d4de4f207ff54aad SHA512 ada4a3faad94553f0f2802419ba604177bb66d332b1a351effd485d65bd8365abb36d736486bbd0bcbc0da584ad4a2edaa7aa3cb62fa12811282c2e0afecb950
-EBUILD rizin-0.4.0-r1.ebuild 2483 BLAKE2B f776c97d5a1e27a5df6e0426c37daa5c8eb8d8f12234c0fbc2f0a2320fd256a41013b0529059c6b40ffc3a827846dbcbf723cc337b10a138dd975d15f00c9133 SHA512 ee556a24f162fa5288dcf7b26f694d96160f741078fcf1be0ac2e22e5d2931d21146fb717dd9ea70514f8194d65e77d2bb829573b8e38f68ac011f3ca9f6ce2e
-EBUILD rizin-0.4.0.ebuild 2450 BLAKE2B 68537bc3cac4d53376e36e455275838be5ea072c78644e0354b70888c19f89c671156f632933970a8ee787f62a532ebcde7a74199d625a996501a0a030185e4f SHA512 20a2da4dd0a4d1ae6d237ac64b751bb88a45ccc44556a434be540334f1ae68d0fb95055ca38eeeffe1959ef2310e24fe6a9dac24b10a3bf3a6d91126261070b0
+EBUILD rizin-0.4.0-r1.ebuild 2482 BLAKE2B 6e24b0d62bc4a01c9cf7cdeabd3526c06133679435cc1c184901e10caaf6f9880d99b25d14a6420d08ddb10304381e2845f9d358bc1e63b4eef92a22e5bb7889 SHA512 8bc1f55ef8c2d4026aac7cbffa6be4687856607b324f6619b1ae0a10ac671ccc69f63496cff533e2472406944fee56c92e65e6ecdce77cc37401a14cd93174f0
MISC metadata.xml 348 BLAKE2B eea14d9f2e713f2f272a46bd754e500b28ec3958f0f4295e6fe6e73c9dcfa1e180fa62901bdb591fdb43ec8ead23a63f20416e52605e6ae186532e651e0eb1a3 SHA512 db41ccd0ce1493387c47eb707dd303c556ad784ffab2ffe03509a4ff7b0c1b650b0f0999edb5e4e040f95f1f550e9a11ead273ec74ebedb97e645e40c6ad37d5
diff --git a/dev-util/rizin/rizin-0.4.0-r1.ebuild b/dev-util/rizin/rizin-0.4.0-r1.ebuild
index b298dce57be7..f1ecf6fdcb2b 100644
--- a/dev-util/rizin/rizin-0.4.0-r1.ebuild
+++ b/dev-util/rizin/rizin-0.4.0-r1.ebuild
@@ -15,7 +15,7 @@ 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 )"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
SLOT="0/${PV}"
diff --git a/dev-util/rizin/rizin-0.4.0.ebuild b/dev-util/rizin/rizin-0.4.0.ebuild
deleted file mode 100644
index 5f19fe3d4b47..000000000000
--- a/dev-util/rizin/rizin-0.4.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-# This is the commit that the CI for the release commit used
-BINS_COMMIT="64a6f26369bf5893ecc20cb8984a5ad506ef8566"
-
-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 )"
-KEYWORDS="amd64 ~arm64 ~x86"
-
-LICENSE="Apache-2.0 BSD LGPL-3 MIT"
-SLOT="0/${PV}"
-IUSE="test"
-
-# Need to audit licenses of the binaries used for testing
-RESTRICT="fetch !test? ( test )"
-
-RDEPEND="
- sys-apps/file
- app-arch/lz4:0=
- <dev-libs/capstone-5:0=
- dev-libs/libuv:0=
- dev-libs/libzip:0=
- dev-libs/openssl:0=
- >=dev-libs/tree-sitter-0.19.0
- dev-libs/xxhash
- sys-libs/zlib:0=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.4.0-never-rebuild-parser.patch"
-)
-
-S="${WORKDIR}/${PN}-v${PV}"
-
-src_prepare() {
- default
-
- local py_to_mangle=(
- librz/core/cmd_descs/cmd_descs_generate.py
- subprojects/lz4-1.9.3/contrib/meson/meson/GetLz4LibraryVersion.py
- subprojects/lz4-1.9.3/contrib/meson/meson/InstallSymlink.py
- subprojects/lz4-1.9.3/tests/test-lz4-list.py
- subprojects/lz4-1.9.3/tests/test-lz4-speed.py
- subprojects/lz4-1.9.3/tests/test-lz4-versions.py
- sys/clang-format.py
- test/fuzz/scripts/fuzz_rz_asm.py
- test/scripts/gdbserver.py
- )
-
- python_fix_shebang "${py_to_mangle[@]}"
-
- 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_magic=enabled
- -Duse_sys_libzip=enabled
- -Duse_sys_zlib=enabled
- -Duse_sys_lz4=enabled
- -Duse_sys_xxhash=enabled
- -Duse_sys_openssl=enabled
- -Duse_sys_tree_sitter=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
-}