summaryrefslogtreecommitdiff
path: root/dev-util/rizin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-25 11:25:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-25 11:25:16 +0100
commit70a8e0f526762c28622fae5f944f8f59f9abf728 (patch)
treea58f1b704c29cff0ad8201d20ebbf7a11018f88f /dev-util/rizin
parent4eda0fe5576868e6c7f97b51aa1c279ff8cd320c (diff)
gentoo auto-resync : 25:09:2023 - 11:25:16
Diffstat (limited to 'dev-util/rizin')
-rw-r--r--dev-util/rizin/Manifest11
-rw-r--r--dev-util/rizin/rizin-0.5.1.ebuild92
-rw-r--r--dev-util/rizin/rizin-0.5.2.ebuild97
-rw-r--r--dev-util/rizin/rizin-0.6.1.ebuild98
-rw-r--r--dev-util/rizin/rizin-0.6.2.ebuild2
5 files changed, 2 insertions, 298 deletions
diff --git a/dev-util/rizin/Manifest b/dev-util/rizin/Manifest
index 6d121bf231ff..89de10d1549e 100644
--- a/dev-util/rizin/Manifest
+++ b/dev-util/rizin/Manifest
@@ -1,15 +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.5.1.tar.xz 11770688 BLAKE2B 31369497d5aa425aa6030ce404baa5d4a10ef2453a93f9b2c9f7d47135b5ffbc61618ef7e743acef3939bca2838a94637b7a1794ff44998608aee3f988301483 SHA512 c856112651bec91bb6e9f5580f60e3168f02a9f194bf567186a66398c162f59953ca8c3bf43441315356ca6ef077b7c56e4150e2dd8a79d4d08c5f789c549596
-DIST rizin-src-v0.5.2.tar.xz 11779644 BLAKE2B d74c02c1f58d099a0047a7a528b7e182980901bc1bf2722aef259e03ddf9af908c3ebcde4f1268fcbd07125a21f064259601a54c6b8413e19f6b85c95113cf3d SHA512 2fbd3873c7725d4fa1dee53d685c4a5d372013f300cd19dd92752b82987f049a4eba77b4d4ae33b576678714752147355ac486951949a35275cc3fdc5447a351
-DIST rizin-src-v0.6.1.tar.xz 15397540 BLAKE2B d641279505be2f58b1874d431922066e09affef20e18025c0d3781dbe1fad8f12db53335464ad645344daa25a0ed61fa842fa96bcca6c4832b359b424b5f09a3 SHA512 56ed3c9f7e4e689dfc27461b5a2de9cc6d14fec2e4cc17af6a011975fbecd4f2ec44e8dd26f0ce8f99a448b75514f6083177acfd073182bbdf921bc264fa9561
DIST rizin-src-v0.6.2.tar.xz 15409072 BLAKE2B 9e90b07b5a3a5196e68e7c283dcfa214449e9cf1099c90b80a4e3712997bd6f28d5682de01c6f2b6ccafa749e74a4a9a8f7e6e0a313e926779394322a52b14ff SHA512 2b75ebd1c94dd560bb48ffaf8cb56d765ceafd00a3a878f0ae8802a51f398202c501db4c2ec2caefa89a770d4e674743ff5b56fd21f06bf99d9bac4753580dce
-DIST rizin-testbins-0264ae4ee5bd606ec6c6a539255eeb57ce2c82c2.tar.gz 179281553 BLAKE2B b86278589da2f8e5859b0f4b16e2667a6e7477c9a889158da5a2c1a1b6e29af4798d56a22dd4c3e23aec1908e7b444ca999502e73f8d8ccf4e0bf2a969380564 SHA512 ae11b6da5cb995f8f1cc996a7b772234b3e7e7c2b0695d0b223657ba839c82dbbcb390600aeb0d16c7c61a5037ba9d0739df79efd730c1b96392cfc1e6f6613d
DIST rizin-testbins-903588ed69d7717069955322b31dad5e666b338a.tar.gz 181644100 BLAKE2B ea491bea61a6d17fa2727e1b08b810be2bb99d05cf2afa4e97dc440a69a4fd376a39c25c6e86e9e2d499732b55e7c75e5eef39adef84f571e48d147e410d04e5 SHA512 fffef043d76440976e02e2b890138f57df849f507c0a7a48bd97b421fc1683e73696c50b6daddf906a53685eccfd7346e25881d3d498417e4e55b97ef56b8317
-DIST rizin-testbins-d66f95359fe830514267f446975374752201c3f1.tar.gz 179428523 BLAKE2B 9d18c2f49460e26809bc526eab9d7bfed15d3fb3f94b22d327f9981547130f82107259f2942e098834cd8ad755e8eadb4b8459a10070105ec116b16fbac19fe3 SHA512 cdeefc6e4103e99c4581a45475c2326505f8003c80a158a78be32b27dfa65fe42a80bbf25ffc47c1f8abdd50faba0fb073a7236395ab67eafb0202695877c4ba
-DIST rizin-testbins-e959eb18182724809b78ad94cb7a9cdfbc5e3a6f.tar.gz 181638434 BLAKE2B 87c853d5e8b892cc5487bc4b2b7a09bd68292d0dc15eeb94f00aa12c3cdea2b4f3e147e62fc2de1beeeaec941b85981843310bd981f8679993db9473e638db31 SHA512 55bd5c2e91856e16318c3e342302f1e6dc9bb8059dbd5aee6f1643f08fe710e32ab91f084fdfce1746a9fbc1dcdfb55b01135b4de74bca6c5b99c7a06bf46ae6
-EBUILD rizin-0.5.1.ebuild 2256 BLAKE2B 4a21a2ce71e77de80320b9175306d23e432223626f8ac8a47aa059fa64bbe59b430a2bb7d9c3c706e018f141080cf4d98feeb36f64b20259bf04005f7ec49f62 SHA512 e3d9e81d3154f13d5c5b605d874d36f55190b694f77d546179672a24ff1bd83f7d89ce92c0cc196f4ca54912ff2e5853697fe1e1a30aa217637b37930c430b3f
-EBUILD rizin-0.5.2.ebuild 2474 BLAKE2B c832721ecd6497f471657bbf8b181de1d651ef7c0ae491ac02de0c74460b9f6eba374f990825bce92008f4e23aa76b4224933c8a59daefd8b2845ec4c96025a9 SHA512 28acf70e6d56f5dd5e52d492789371d57daee3ac79d0eef5cb045f8ac3634c61bbae22a801ff8f83f514c2881d2405887815fde35a08e5f4447dc3742f4ba7ed
-EBUILD rizin-0.6.1.ebuild 2531 BLAKE2B 774e4eb141cd7731ae05be2be2487d68ab030d027dcfc07f9dec596ec0d576b098b46d9a766186e6cb49e8eaf9ad81eec429f87a9de1c670c77529a6ccae9c4b SHA512 36d0f2eeda5ffcfb2b9bd1dea40a03839b1151a3813ac73306bf68f11c2a61edf85023cd5a52b9cb265fc3165669db8b4bb96e59505c97fe5c29593846d331a9
-EBUILD rizin-0.6.2.ebuild 2531 BLAKE2B 162431e1ea9ca4325b5dc3f77cfdf571f0618a25b0ae48df1d89d003154f0f6948b0cc2ccfd9f8ddb48141cfe5971956d3a37749693933ee8512a2ea659c2e7d SHA512 7cc86df0b6b0028a70177bbe4a710bc585160d6789f4125dead27d4d91c9a1b390652b042c7eda124178ee19aef9946406c55ff56bf95697b76ed1a75bef11a1
+EBUILD rizin-0.6.2.ebuild 2530 BLAKE2B d3f8144eeeb635559259b84e8c9bcdf2a9a91ba96b66d54091f05099a8a5ef874ff03736c0641aa5f1ebf458c85fe21f0083d95ba9516026c4f96c03b6576f6f SHA512 adad0caaa499c2148da8caa59ba7c6a287437f884ea7681a1c29fc44f9046948036539b8e4fe1869387ad013d96923fdcf077217c23c8e201e9a049bb6ab70a4
MISC metadata.xml 427 BLAKE2B 2937970e78526f69e371b4451a3406b1fdc35a01707d366e8b54e23f9d13e8a713254902825ae111817ee00ea3aaf3bc968db8b6d944b15f869e2b89ba8e16b8 SHA512 65cc9c4cd5f2f64cd02e89b0f7f4972fefec51cb175650625da263b729022587c9487e9ab9faed8517200ed622a8ca5ec35b2b6f4c67966d78344c043197c981
diff --git a/dev-util/rizin/rizin-0.5.1.ebuild b/dev-util/rizin/rizin-0.5.1.ebuild
deleted file mode 100644
index b236c67f527b..000000000000
--- a/dev-util/rizin/rizin-0.5.1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2023 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="0264ae4ee5bd606ec6c6a539255eeb57ce2c82c2"
-
-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="test? ( fetch ) !test? ( test )"
-
-RDEPEND="
- app-arch/lz4:0=
- app-arch/xz-utils
- dev-libs/capstone: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"
-)
-
-S="${WORKDIR}/${PN}-v${PV}"
-
-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[@]}"
-
- 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
- -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.5.2.ebuild b/dev-util/rizin/rizin-0.5.2.ebuild
deleted file mode 100644
index 70326a2a22c7..000000000000
--- a/dev-util/rizin/rizin-0.5.2.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2023 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="d66f95359fe830514267f446975374752201c3f1"
-
-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="test? ( fetch ) !test? ( test )"
-
-# TODO: unbundle dev-libs/blake3
-RDEPEND="
- app-arch/lz4:0=
- app-arch/xz-utils
- dev-libs/capstone: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"
-)
-
-S="${WORKDIR}/${PN}-v${PV}"
-
-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
- -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.6.1.ebuild b/dev-util/rizin/rizin-0.6.1.ebuild
deleted file mode 100644
index c487f6213887..000000000000
--- a/dev-util/rizin/rizin-0.6.1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2023 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="e959eb18182724809b78ad94cb7a9cdfbc5e3a6f"
-
-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="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"
-)
-
-S="${WORKDIR}/${PN}-v${PV}"
-
-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.6.2.ebuild b/dev-util/rizin/rizin-0.6.2.ebuild
index 6061d10b5c4a..80c181364210 100644
--- a/dev-util/rizin/rizin-0.6.2.ebuild
+++ b/dev-util/rizin/rizin-0.6.2.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}"