From f6bcc45ab811bbc6c133a87192de845240fdfd9c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 15 Apr 2026 19:12:21 +0000 Subject: Adding metadata --- app-forensics/yara-x/Manifest | 4 +- app-forensics/yara-x/yara-x-1.14.0.ebuild | 2 +- app-forensics/yara-x/yara-x-1.15.0.ebuild | 92 +++++++++++++++++++++++++++++ app-forensics/yara-x/yara-x-1.8.1.ebuild | 96 ------------------------------- 4 files changed, 95 insertions(+), 99 deletions(-) create mode 100644 app-forensics/yara-x/yara-x-1.15.0.ebuild delete mode 100644 app-forensics/yara-x/yara-x-1.8.1.ebuild (limited to 'app-forensics') diff --git a/app-forensics/yara-x/Manifest b/app-forensics/yara-x/Manifest index c89201878f03..2e1a2b0d649f 100644 --- a/app-forensics/yara-x/Manifest +++ b/app-forensics/yara-x/Manifest @@ -4,5 +4,5 @@ DIST yara-x-1.11.0-crates.tar.xz 45870116 BLAKE2B 00175f3c55f336a09ebf8d6ff90a02 DIST yara-x-1.11.0.tar.gz 46624874 BLAKE2B 01565d46efc274ed9315f6bbac53c57b450f9fc191fffc3b2a288a461c261875854cc48442ea0e5cd44e48499ff92049393b39fb02448908e786dae1e5cd978e SHA512 885d86298ea5b1675620e0f4b494d99c2700d930033a5ec50428f3976b14526b8cf05003072b0eb34cc1eb5ff653bada192eb805fbe3d163031aed8c70eca15b 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.8.1-crates.tar.xz 43611272 BLAKE2B bc655cf47eef9cba45fdf72013c686cbbf57e9a57fe24a1bb493cfb2f783b7d8cb49d6f92c82d0ff1856485c8eb474401e3a8a4a028b202e75c320d774f359e6 SHA512 4dc52b80f15220cd225edb18ffee31ed59088e083eb1fb00cb4c19b38fcf7d0fbe2cd957d7ffac288335334ae76b5425dc8745443f2c89adac6bc9aa4befb499 -DIST yara-x-1.8.1.tar.gz 45705548 BLAKE2B bf7efca80ff666a654ba53f3b5936a8d8eb60ee30f4a024772f071a4f4617d15a44e894b430b23f9a9740b07201b6fb0be460958c79f27e8ed1e29377d51cdb4 SHA512 26c01d8f36347d68664e872ca353749bb70b4916eb41f0a21f312d74e16fbba061f208246b32ac6f51a52272f41ad62730531bb71e44bb027bc4a49b2dd40233 +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 diff --git a/app-forensics/yara-x/yara-x-1.14.0.ebuild b/app-forensics/yara-x/yara-x-1.14.0.ebuild index c6f71278cb4b..42af99444fb9 100644 --- a/app-forensics/yara-x/yara-x-1.14.0.ebuild +++ b/app-forensics/yara-x/yara-x-1.14.0.ebuild @@ -27,7 +27,7 @@ LICENSE+=" SLOT="0" # Note: cranelift dependency only supports amd64, arm64, s390, and riscv64 as of 2025 -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="python" REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) diff --git a/app-forensics/yara-x/yara-x-1.15.0.ebuild b/app-forensics/yara-x/yara-x-1.15.0.ebuild new file mode 100644 index 000000000000..c6f71278cb4b --- /dev/null +++ b/app-forensics/yara-x/yara-x-1.15.0.ebuild @@ -0,0 +1,92 @@ +# 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..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} +} diff --git a/app-forensics/yara-x/yara-x-1.8.1.ebuild b/app-forensics/yara-x/yara-x-1.8.1.ebuild deleted file mode 100644 index 3e1024127fe2..000000000000 --- a/app-forensics/yara-x/yara-x-1.8.1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 2025 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..14} ) -RUST_MIN_VER="1.87.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} - ) -" - -PATCHES=( - "${FILESDIR}/${P}-tests.patch" -) - -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} -} -- cgit v1.3