From 4274bed0c1f1fd06a654f5816e30d82059f4cc39 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Apr 2023 17:25:42 +0100 Subject: gentoo auto-resync : 05:04:2023 - 17:25:42 --- app-forensics/Manifest.gz | Bin 4709 -> 4708 bytes app-forensics/yara/Manifest | 3 ++ app-forensics/yara/yara-4.3.0.ebuild | 59 +++++++++++++++++++++++++++++++++++ app-forensics/yara/yara-9999.ebuild | 59 +++++++++++++++++++++++++++++++++++ 4 files changed, 121 insertions(+) create mode 100644 app-forensics/yara/yara-4.3.0.ebuild create mode 100644 app-forensics/yara/yara-9999.ebuild (limited to 'app-forensics') diff --git a/app-forensics/Manifest.gz b/app-forensics/Manifest.gz index 9d8f6d375372..f663867c420e 100644 Binary files a/app-forensics/Manifest.gz and b/app-forensics/Manifest.gz differ diff --git a/app-forensics/yara/Manifest b/app-forensics/yara/Manifest index 4407fc1b3069..1314b3430f81 100644 --- a/app-forensics/yara/Manifest +++ b/app-forensics/yara/Manifest @@ -1,5 +1,8 @@ AUX yara-4.2-test.patch 450 BLAKE2B b15319c9921e88504057deead820a884b963e2c240c5486fcfbaf51d7139932bd220de65f8f476f8a264529ac08fbec5ad9e40565d50a3157bb3b3ca783ff26e SHA512 36604637a5de0d6a9553b92b6f6e732cce312b7fe65dcdf70ea70e0a552251f2dd2b5916cad8c78138b946ee4b0bf558324cf944eff519e37af3c83efe61177a AUX yara-4.2.3-libmagic.patch 2690 BLAKE2B 904f2b47c16f5134f48ac8765b7cbe119e807ea113ccf6d62767ea67f9ebd7347884eab924591cf2c48802f984978fd504bef61c09717b0baaef55d212447880 SHA512 45a610e89fa9f2e1555291b2254baa8381beb3ef404223222cb5075660a43540cebab2529dd1542d2cebf52ad42e71715f332322f721451fe49a896313e79839 DIST yara-4.2.3.tar.gz 1288334 BLAKE2B 4e92570e4dced5c1aa114065d791fc6780ea1281919eb1e908d4181fb5a966137c58d82ae09e8ba18edc69a25d542e3820d8e8de4ac62c0636e273e158086954 SHA512 1df23837d14d3f9f72db901190e7412241514a8914d72b753df32ad8a44c7a49ad8f14941a95de83754e4d1dd0f23d712d8e6a43916343341b92cb1bc66f3c09 +DIST yara-4.3.0.tar.gz 2179006 BLAKE2B 97d755c5ffea7fbfc61087f384f4b29543af794af64f86ee2fad10073905fd623480cc1be1c64c8ebf7561c9a8bd323ba5a3fad13044219f110e6a3d04816f36 SHA512 fe239ae2f29fac7b4dbdc0ec84eba057dd4d93c6ae3a53d6bc2a333cc15ed45b1ff5cb896faf02813be667ce191ccbe1d64549552ea4f0834804ad0ec4b29092 EBUILD yara-4.2.3.ebuild 1284 BLAKE2B 45912674a4be4d1f5cbcc307313d3e1c48806917716581521a2d367e60c65e7490cc5a6e8020013b42d728886d58080dc023593d663c2ed29b4b6c8035673205 SHA512 594237e4d050c5015bb41c950903e06e5a643867aef286e52a0f3002b0919bb8299c97c023f9447113e8e906a5f0ce8cd0c73a1db5af3e7a84078e52045bd04e +EBUILD yara-4.3.0.ebuild 1271 BLAKE2B d96bc8732c7d227cbb42d34aa1fc0ec2fdd59eb0cf9e86034aae210e883591f8c5b3953217c5919c731515136754bbb0a3670887cb7bfbb6c2bad45140622f8d SHA512 60ed8c97271d032384048663f12575f80ab8a3ecbc75ac37b021ed9122162c1e964d2e2847d48eb37c8d8e0590db6ecfdb4e4b31deaa2030766370c715ef33a4 +EBUILD yara-9999.ebuild 1271 BLAKE2B d96bc8732c7d227cbb42d34aa1fc0ec2fdd59eb0cf9e86034aae210e883591f8c5b3953217c5919c731515136754bbb0a3670887cb7bfbb6c2bad45140622f8d SHA512 60ed8c97271d032384048663f12575f80ab8a3ecbc75ac37b021ed9122162c1e964d2e2847d48eb37c8d8e0590db6ecfdb4e4b31deaa2030766370c715ef33a4 MISC metadata.xml 1284 BLAKE2B 5e8b7f95170b97d4d55fda012f1108acfb0cae362d4da0f3559375d529194b5e4f9644d8ca3d0fc7e438b873f3827aec307dc664808a56561153679fc0bd5729 SHA512 64048379eb1d51afeee050ea906a8fa7bda9d5bdc78807d04c1f5f5b5a425b512de5facb6b79f23ed8d5517caf779ef327d7eb148ae2a32407904db05efb337f diff --git a/app-forensics/yara/yara-4.3.0.ebuild b/app-forensics/yara/yara-4.3.0.ebuild new file mode 100644 index 000000000000..3862dff1c51a --- /dev/null +++ b/app-forensics/yara/yara-4.3.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A malware identification and classification tool" +HOMEPAGE="https://virustotal.github.io/yara/" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/VirusTotal/yara.git" +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" +fi + +LICENSE="Apache-2.0" +SLOT="0/8" +IUSE="+dex +dotnet +cuckoo +macho +magic profiling python test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/openssl:= + cuckoo? ( dev-libs/jansson:= ) + magic? ( sys-apps/file:= ) +" +RDEPEND="${DEPEND}" +PDEPEND="python? ( =dev-python/yara-python-$(ver_cut 1)* )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable profiling) \ + $(use_enable cuckoo) \ + $(use_enable magic) \ + $(use_enable dotnet) \ + $(use_enable macho) \ + $(use_enable dex) \ + $(use_enable test static) +} + +src_test() { + emake check +} + +src_install() { + default + + # TODO: Allow tests to work against dyn. lib rather than building + # statically just for tests. + find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die +} diff --git a/app-forensics/yara/yara-9999.ebuild b/app-forensics/yara/yara-9999.ebuild new file mode 100644 index 000000000000..3862dff1c51a --- /dev/null +++ b/app-forensics/yara/yara-9999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A malware identification and classification tool" +HOMEPAGE="https://virustotal.github.io/yara/" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/VirusTotal/yara.git" +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" +fi + +LICENSE="Apache-2.0" +SLOT="0/8" +IUSE="+dex +dotnet +cuckoo +macho +magic profiling python test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/openssl:= + cuckoo? ( dev-libs/jansson:= ) + magic? ( sys-apps/file:= ) +" +RDEPEND="${DEPEND}" +PDEPEND="python? ( =dev-python/yara-python-$(ver_cut 1)* )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable profiling) \ + $(use_enable cuckoo) \ + $(use_enable magic) \ + $(use_enable dotnet) \ + $(use_enable macho) \ + $(use_enable dex) \ + $(use_enable test static) +} + +src_test() { + emake check +} + +src_install() { + default + + # TODO: Allow tests to work against dyn. lib rather than building + # statically just for tests. + find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die +} -- cgit v1.2.3