From 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 15 Apr 2024 12:04:03 +0100 Subject: gentoo auto-resync : 15:04:2024 - 12:04:02 --- dev-util/rizin/Manifest | 4 +- dev-util/rizin/rizin-0.6.3-r1.ebuild | 98 ++++++++++++++++++++++++++++++++++ dev-util/rizin/rizin-0.6.3.ebuild | 98 ---------------------------------- dev-util/rizin/rizin-0.7.1-r1.ebuild | 100 +++++++++++++++++++++++++++++++++++ dev-util/rizin/rizin-0.7.1.ebuild | 100 ----------------------------------- 5 files changed, 200 insertions(+), 200 deletions(-) create mode 100644 dev-util/rizin/rizin-0.6.3-r1.ebuild delete mode 100644 dev-util/rizin/rizin-0.6.3.ebuild create mode 100644 dev-util/rizin/rizin-0.7.1-r1.ebuild delete mode 100644 dev-util/rizin/rizin-0.7.1.ebuild (limited to 'dev-util/rizin') diff --git a/dev-util/rizin/Manifest b/dev-util/rizin/Manifest index 08a567023f01..39d0b5d46a3c 100644 --- a/dev-util/rizin/Manifest +++ b/dev-util/rizin/Manifest @@ -4,6 +4,6 @@ DIST rizin-src-v0.6.3.tar.xz 15411052 BLAKE2B 4ddde26dc2541917e1d16f38339bf1467b DIST rizin-src-v0.7.1.tar.xz 18941692 BLAKE2B d0384a272e5e8274c970dd9253d84204e8bc026de05ec63fe0252cb6fc9eaee9729bbf03ef3dba100c6e55c58e4a81f7755d7ecb15eebbbb041aa9bfb4c53d30 SHA512 e59b6fd748e551f10169da9a04f7c04ffb017182d3eb5856467df3b167c6d9b387d0faccdb0cd97ee7321ac71179eb7d9a28fa954f34dc028ea8e4259211eac7 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.ebuild 2530 BLAKE2B d3f8144eeeb635559259b84e8c9bcdf2a9a91ba96b66d54091f05099a8a5ef874ff03736c0641aa5f1ebf458c85fe21f0083d95ba9516026c4f96c03b6576f6f SHA512 adad0caaa499c2148da8caa59ba7c6a287437f884ea7681a1c29fc44f9046948036539b8e4fe1869387ad013d96923fdcf077217c23c8e201e9a049bb6ab70a4 -EBUILD rizin-0.7.1.ebuild 2515 BLAKE2B 540336b6045a2f0773a1817fdc670d98ebecd96c227dacdfef92a16f575eae6d24e2d19cb43b0e718e7f85404dc0d7485a9b4958636776ae31ef6ff8b964a62d SHA512 f97b156cbd9bc59a1a0c2f56caa6f096eb91f7c05e45dbe9e81349dabeae64323e04af859f0abccebcf21d43f2d3edf381bce15c1ce6eb0ad690d45b7707672d +EBUILD rizin-0.6.3-r1.ebuild 2532 BLAKE2B 3dc25870d0900fe52eb29c022ec2d061a8d543757f013a0042e6ea1330c860d6bf051a8e470fc15a0bba8fd63a5c138e4822fd1e37d7b9ce08591c7f598860c0 SHA512 49e64374f4fdb9caae0d47684caf46979d54e5d299d90388859a098d59d09ceb9fe53ecfe654e2c49f8a432ea6a2d07fc7b4e2e04051789e6312e5b877afc760 +EBUILD rizin-0.7.1-r1.ebuild 2517 BLAKE2B 52a08f75e60b15c1284b8b182b874e76c17d636afed3a1269a786515d293ece54e0284d5652a5a305bed34283498df5f0efb5745b3c5791ffd671fcba29dbebc SHA512 94cdb12ca5f5e983598f66ff79b1a4ee7b91b56e74b922fcf71c2704db1b36dd7d7238956680a94438324d0230964510a1bff4d076468e88908f909a96a17b89 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 new file mode 100644 index 000000000000..4f402e6fed56 --- /dev/null +++ b/dev-util/rizin/rizin-0.6.3-r1.ebuild @@ -0,0 +1,98 @@ +# 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 )" +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.3.ebuild b/dev-util/rizin/rizin-0.6.3.ebuild deleted file mode 100644 index 80c181364210..000000000000 --- a/dev-util/rizin/rizin-0.6.3.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="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 )" -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.7.1-r1.ebuild b/dev-util/rizin/rizin-0.7.1-r1.ebuild new file mode 100644 index 000000000000..549798343329 --- /dev/null +++ b/dev-util/rizin/rizin-0.7.1-r1.ebuild @@ -0,0 +1,100 @@ +# 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 )" +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 + 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" +) + +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_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.1.ebuild b/dev-util/rizin/rizin-0.7.1.ebuild deleted file mode 100644 index 0ec214767a5e..000000000000 --- a/dev-util/rizin/rizin-0.7.1.ebuild +++ /dev/null @@ -1,100 +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 )" -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 - 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" -) - -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_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 -} -- cgit v1.2.3