diff options
Diffstat (limited to 'app-forensics')
| -rw-r--r-- | app-forensics/yara-x/Manifest | 6 | ||||
| -rw-r--r-- | app-forensics/yara-x/yara-x-1.10.0-r1.ebuild (renamed from app-forensics/yara-x/yara-x-1.6.0.ebuild) | 4 | ||||
| -rw-r--r-- | app-forensics/yara-x/yara-x-1.4.0.ebuild | 90 | ||||
| -rw-r--r-- | app-forensics/yara/Manifest | 2 | ||||
| -rw-r--r-- | app-forensics/yara/yara-4.5.5.ebuild (renamed from app-forensics/yara/yara-4.5.3.ebuild) | 5 | ||||
| -rw-r--r-- | app-forensics/yara/yara-9999.ebuild | 5 |
6 files changed, 14 insertions, 98 deletions
diff --git a/app-forensics/yara-x/Manifest b/app-forensics/yara-x/Manifest index 0dd59982ce7d..25b1bc3355a8 100644 --- a/app-forensics/yara-x/Manifest +++ b/app-forensics/yara-x/Manifest @@ -1,6 +1,4 @@ -DIST yara-x-1.4.0-crates.tar.xz 45877576 BLAKE2B f620fbb99531e78d4626dbe55067024e5fcd506800d1d1a37ce0c5506781e9cbc7892a4c5faf31666f3f4091c08fa826afe9d43a2614f20f9c634db60938a958 SHA512 2fe6b7a9143d542cce92f0ae8ea92214b23865995f75a872e24221c061f4f8eeb72b3aa4400f531d89a9be439cf8b02cb62502749bafa5174cc99bf7410542de -DIST yara-x-1.4.0.tar.gz 44550390 BLAKE2B feb6d275ee46478328f981c1ac4f085e01a5c484f063eeadb8523a9b6e831398f6deb839d70469432af00627f0fb0d766facdfb400bd3e0572248214d38cae5f SHA512 258cac3ca9de1f3b61f86253ea83776b294d6f3c10af27b2c18f654de3b7c85660bb6e59628762e7a177c43c739086e76c0e7b4802da611d043afe94680ada39 -DIST yara-x-1.6.0-crates.tar.xz 45679348 BLAKE2B c38efdb7753d9507d02b0251337e476c8bf04dcd01de4baba5ef08aae4fe1f12beebfa534e0253f17848f0a7ee873c569b2885df3a8b42767acad16fc89af03c SHA512 556259b0c64cf9aa731adc7c5065a8de9e356ef823551ff9eb7a29b2ee5a62e14198fd346318403856da4264ad594474f8abe06c2c09491329a4b6da760a371e -DIST yara-x-1.6.0.tar.gz 45682006 BLAKE2B cc9f7fa2ac31ea82c863295dad9a6764f0ce02a70e084e160c1e635977f1be55de789c706485c0cf3b574a38d40af705c3887100f32367065106085652f1a0e9 SHA512 cefe0bdbf46eff475d92af9e04bb5a275abfc64ab6ad530aabcff0bfd270237a895cb73f94a554fb6d5749b4a574c9a3843917c77e9702c723cf6f67c686b185 +DIST yara-x-1.10.0-crates.tar.xz 43548196 BLAKE2B f64ea1a947236012599776e8f831037603c552e2b5760ad10425afa8fd4431fb000a67049e969ea3cd98bab095b2fb32f1a96e45f75e1683136796dbdadea5fb SHA512 bfcb9faee50e9e350776c7435244acb5a0726e140a6f101aa53a6bfc52f813a912b2f0504b358b8ee05f5afc5a600fb74d633b70b0966736d5777d741929c181 +DIST yara-x-1.10.0.tar.gz 45731985 BLAKE2B e90af37b52841f6c16c2f27213f370f23bf69a8af9f79ebbdf5e32f77bbe7d7abb60586c5be236d32e4f203b093cb94e34749d9311ad822c701e983aa2229757 SHA512 f82e1d8caf6c51074bea0761fe15954ed7fa6e1437532c7615d40f077bc465ef10f14a75fb4c38d896978d7d193605c4a584442049f54ff01df3e0d17f0083d1 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 diff --git a/app-forensics/yara-x/yara-x-1.6.0.ebuild b/app-forensics/yara-x/yara-x-1.10.0-r1.ebuild index 844f9fdc1f09..aaf4a6713fd9 100644 --- a/app-forensics/yara-x/yara-x-1.6.0.ebuild +++ b/app-forensics/yara-x/yara-x-1.10.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,6 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin DISTUTILS_OPTIONAL=1 PYTHON_COMPAT=( python3_{10..13} ) +RUST_MIN_VER="1.88.0" CRATES="" @@ -78,6 +79,7 @@ python_test() { } src_test() { + export RUST_BACKTRACE=full cargo_src_test wrap_python ${FUNCNAME} } diff --git a/app-forensics/yara-x/yara-x-1.4.0.ebuild b/app-forensics/yara-x/yara-x-1.4.0.ebuild deleted file mode 100644 index e64e923e86e1..000000000000 --- a/app-forensics/yara-x/yara-x-1.4.0.ebuild +++ /dev/null @@ -1,90 +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..13} ) - -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() { - 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/Manifest b/app-forensics/yara/Manifest index 18ffa4b3bcfd..80d8d1366978 100644 --- a/app-forensics/yara/Manifest +++ b/app-forensics/yara/Manifest @@ -1,2 +1,2 @@ -DIST yara-4.5.3.tar.gz 2201564 BLAKE2B 0017c10e8b33218495038dc9c6232282d6e28206ad9e63fd77123f1c0bdc088b06ab7e700f55384be76aaf3a7e8a00b5ecf0e02c21a143a2fa855a071ea92c8b SHA512 185c2e29655f1c874ba48b8b5a764e7fad6496b8f041b9dd1157deed28fdfde611343b7c331bb43876e4724bdc680d035a08dca101d3a48951cd2c5ae5071cbb DIST yara-4.5.4.tar.gz 2201555 BLAKE2B 4a3c6c97031b0033be1cc9e3d0436c2def2c732bc3cc6289b8eec58b99336d15eb9d491858ac4744ee05e35fc6cfc61c071947ecc8ad01401d0863968c3aa283 SHA512 b1da40636f9e55bb07cc911479e6dfa8dc7a4fa3f6b9f10b9f669d741d7af51a1d31e044f9842ec3ab9c6ac9788fbdb89a1686c9e3f22f68d1f9e5fb3db22167 +DIST yara-4.5.5.tar.gz 2202497 BLAKE2B c990d2a1ae24cabb9e873b369dc5803157663c996ba8cf327cb12059cb704998f7bc437df2eb8ac9973a163163352cbb19ec5edc0a508a3ee8c25a2733b9a39c SHA512 e71d6e435cb2ad7b5875ccabcfe3abe42e2f37187a22e778867c5c5762134961369c2cbd4bea8da9193d5381af4569e39a50156d4077dc3a23b9a2240b741b60 diff --git a/app-forensics/yara/yara-4.5.3.ebuild b/app-forensics/yara/yara-4.5.5.ebuild index af8966134e93..7a5d2e71ff55 100644 --- a/app-forensics/yara/yara-4.5.3.ebuild +++ b/app-forensics/yara/yara-4.5.5.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]]; then else SRC_URI="https://github.com/virustotal/yara/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${PV/_/-}" - KEYWORDS="amd64 ~arm64 ~ppc64 x86" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" fi LICENSE="Apache-2.0" @@ -33,6 +33,9 @@ PDEPEND="python? ( =dev-python/yara-python-$(ver_cut 1)* )" src_prepare() { default + + sed -i -e "/yara_LDFLAGS = -static/d" Makefile.am || die + eautoreconf } diff --git a/app-forensics/yara/yara-9999.ebuild b/app-forensics/yara/yara-9999.ebuild index 0ceb7748b741..7a5d2e71ff55 100644 --- a/app-forensics/yara/yara-9999.ebuild +++ b/app-forensics/yara/yara-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -33,6 +33,9 @@ PDEPEND="python? ( =dev-python/yara-python-$(ver_cut 1)* )" src_prepare() { default + + sed -i -e "/yara_LDFLAGS = -static/d" Makefile.am || die + eautoreconf } |
