diff --git a/app-forensics/yara-x/Manifest b/app-forensics/yara-x/Manifest index 8f1a3fe1a19ec..6a8107a1976e9 100644 --- a/app-forensics/yara-x/Manifest +++ b/app-forensics/yara-x/Manifest @@ -1,7 +1,3 @@ -DIST yara-x-1.14.0-crates.tar.xz 37085572 BLAKE2B c9c5b6b736e6b7b7ddde4282b414bf357462eb295f28123225f388c87cdcd51b9ecff540f98be2bc1d24f3b8aecbf8fc14a0555b6aa31a615a7372d9847dd0e1 SHA512 0e0c97e4021323b539ba6ee27187a9caa084fc5a020673d01d4e86cb18fe7b2cf38bee141f7d89b901ed55e97295d5372f60de38e7f66ca5ddd79f17d5690f68 -DIST yara-x-1.14.0.tar.gz 53590528 BLAKE2B ec4e4a50cb65b2fd1e56466920130ff4425be5ac9ce82d493cfc0462137656c390683a5cd2000ec8e970baf55181943f32d362c7d168a8714219678979e5db84 SHA512 43c1bdcc793ce7d22ae947ad8b397c32eae2e97ef7b7580dcbb6002da92b897e35f3fe797782d01e343a576c666009af2843abd4b98549da0bd4fc4c8166dd13 -DIST yara-x-1.15.0-crates.tar.xz 36337136 BLAKE2B edaf62976cfed38e191fca21e1d8d45fedd32d3e291b5c0f1998995d1d2bdc22ff0993fc08d2772407d556b370d7baf94115ec99f5aeb11902e460b0ebcabfc8 SHA512 26d04ab7c425237cf83202d13c7e1a68ba5982ed41b9334d14527209aafaae080f8649a5127d552ee6b8398a8677175bd1d6d6a6dfb58eb26a7041f9c30fb13c -DIST yara-x-1.15.0.tar.gz 56858329 BLAKE2B c4de015dfc0ea638d843ce26fc4cdff34a8b958f2fa643f3336ddc37dad3be7538dc2a30c14c2b2e298709a8dc41b4ce14942f6a7da25f2a737770be69ac2955 SHA512 fbe3d37bc59a7bcf018fab4d6ad44ca56a8a2bee07b2bd5ca50b45ba69325e226d737cb7c86dd00596aa44a69738f98ef072fddb590702f7ec5965a219ad6b15 DIST yara-x-1.16.0-crates.tar.xz 29258360 BLAKE2B 788fa263443f7fd7fd504445677be571328cf7998b58f00b685faed0a70b699ab7620e48a9f1440a0d0128486686cb8639769eb30b79dd797faafd7fd77fda57 SHA512 8f23b25c7be1310f5991d1c8b6c9a51d1700af5858e3c8f9e1b14f43b3b5ee77d73458dcbf999ba45d2b399987fc6022c9cc846958c5f7a2207cddb9919a021e DIST yara-x-1.16.0.tar.gz 56884651 BLAKE2B 9464ef1f657fcdd62cdde78aa9a713de18257f91fab66bd6865afb4de5c607df907d4101c815c762530fdcf51e3b7c8b6c89f087342d2b2a830181e41a410566 SHA512 4ff0de59c24de257db1e0410cc901b52373ca0f2bfca5d0a5e310647c848cd59872fe81f8d8fb11ab06bc4bc559b88368fe07583a1d2d7159d0f29265282aeb1 DIST yara-x-1.18.0-crates.tar.xz 29723348 BLAKE2B ce9dc138be2495809680f9924eef5325e0e7ee4114e1fa8b937848f25baf3c62948e6b5bada654c9b8f7cd0e20b45dc2376f95b63019ce72f26877afdf819be7 SHA512 36c47a61bb9ca4ec69af6129f3a11de97b49d14b611674e42971a53a15b06b48e4a1c874802c9e37927be33272cf314b0560ff5f1aa4c21b1e184fcc90410bd2 diff --git a/app-forensics/yara-x/yara-x-1.14.0.ebuild b/app-forensics/yara-x/yara-x-1.14.0.ebuild deleted file mode 100644 index 2ba9d6ac6c3bc..0000000000000 --- a/app-forensics/yara-x/yara-x-1.14.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{10..13} ) -RUST_MIN_VER="1.89.0" - -CRATES="" - -inherit cargo distutils-r1 - -DESCRIPTION="A malware identification and classification tool" -HOMEPAGE="https://virustotal.github.io/yara-x/" -SRC_URI="https://github.com/VirusTotal/yara-x/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" - -LICENSE="BSD" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 EPL-2.0 ISC - MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 WTFPL-2 ZLIB -" - -SLOT="0" -# Note: cranelift dependency only supports amd64, arm64, s390, and riscv64 as of 2025 -KEYWORDS="amd64" -IUSE="python" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -RDEPEND=" - python? ( ${PYTHON_DEPS} ) -" -BDEPEND=" - python? ( - ${PYTHON_DEPS} - ${DISTUTILS_DEPS} - ) -" - -wrap_python() { - local phase=$1 - shift - - if use python; then - pushd py >/dev/null || die - distutils-r1_${phase} "$@" - popd >/dev/null || die - fi -} - -# https://bugs.gentoo.org/933231, https://bugs.gentoo.org/933232 -QA_FLAGS_IGNORED="usr/bin/yr" - -pkg_setup() { - # https://bugs.gentoo.org/933233 - QA_SONAME="usr/$(get_libdir)/libyara_x.*\\.so usr/lib.*/py.*/site-packages/yara_x/yara_x.*\\.so" - - rust_pkg_setup -} - -src_prepare() { - default - wrap_python ${FUNCNAME} -} - -src_compile() { - cargo_src_compile --workspace - wrap_python ${FUNCNAME} -} - -python_test() { - epytest -} - -src_test() { - export RUST_BACKTRACE=full - cargo_src_test - wrap_python ${FUNCNAME} -} - -src_install() { - dobin "$(cargo_target_dir)"/yr - dolib.so "$(cargo_target_dir)"/*.so - - wrap_python ${FUNCNAME} -} diff --git a/app-forensics/yara-x/yara-x-1.15.0.ebuild b/app-forensics/yara-x/yara-x-1.15.0.ebuild deleted file mode 100644 index 51d3143d8d30b..0000000000000 --- a/app-forensics/yara-x/yara-x-1.15.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{11..14} ) -RUST_MIN_VER="1.89.0" - -CRATES="" - -inherit cargo distutils-r1 - -DESCRIPTION="A malware identification and classification tool" -HOMEPAGE="https://virustotal.github.io/yara-x/" -SRC_URI="https://github.com/VirusTotal/yara-x/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" - -LICENSE="BSD" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 EPL-2.0 ISC - MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 WTFPL-2 ZLIB -" - -SLOT="0" -# Note: cranelift dependency only supports amd64, arm64, s390, and riscv64 as of 2025 -KEYWORDS="~amd64" -IUSE="python" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -RDEPEND=" - python? ( ${PYTHON_DEPS} ) -" -BDEPEND=" - python? ( - ${PYTHON_DEPS} - ${DISTUTILS_DEPS} - ) -" - -wrap_python() { - local phase=$1 - shift - - if use python; then - pushd py >/dev/null || die - distutils-r1_${phase} "$@" - popd >/dev/null || die - fi -} - -# https://bugs.gentoo.org/933231, https://bugs.gentoo.org/933232 -QA_FLAGS_IGNORED="usr/bin/yr" - -pkg_setup() { - # https://bugs.gentoo.org/933233 - QA_SONAME="usr/$(get_libdir)/libyara_x.*\\.so usr/lib.*/py.*/site-packages/yara_x/yara_x.*\\.so" - - rust_pkg_setup -} - -src_prepare() { - default - wrap_python ${FUNCNAME} -} - -src_compile() { - cargo_src_compile --workspace - wrap_python ${FUNCNAME} -} - -python_test() { - epytest -} - -src_test() { - export RUST_BACKTRACE=full - cargo_src_test - wrap_python ${FUNCNAME} -} - -src_install() { - dobin "$(cargo_target_dir)"/yr - dolib.so "$(cargo_target_dir)"/*.so - - wrap_python ${FUNCNAME} -}