public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/yara/
Date: Fri, 19 Apr 2024 12:24:39 +0000 (UTC)	[thread overview]
Message-ID: <1713529433.647ba57151666bc4d1809b6b41f2251d8cfb0157.sam@gentoo> (raw)

commit:     647ba57151666bc4d1809b6b41f2251d8cfb0157
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Wed Feb 14 20:47:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 19 12:23:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=647ba571

app-forensics/yara: add 4.5.0

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-forensics/yara/Manifest          |  1 +
 app-forensics/yara/yara-4.5.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/app-forensics/yara/Manifest b/app-forensics/yara/Manifest
index 99cd2a2bb4b6..a117491f13c3 100644
--- a/app-forensics/yara/Manifest
+++ b/app-forensics/yara/Manifest
@@ -1 +1,2 @@
 DIST yara-4.4.0.tar.gz 2220068 BLAKE2B f9654592f3dbe493dc31bcda80c9f0e31a2a8998f47d1172afe7456a9d4ead8f475e3f0999140c952343cdeca1cedc8060a3b42c1bbe57ce617fd5b5a86dbfb3 SHA512 705db57b73e5165a26e0aaea728521f372b9f7f613665860dd22066c30e75a614815fb17ee8654780fcfc157f0137cbeda015ec088a698f31adcf071e233205f
+DIST yara-4.5.0.tar.gz 2206492 BLAKE2B 788ed6c4989bbc2d0a113b46bcd1291e7544ab8f56ebe499725163b7b02feb016935210e8a08d9cb179fbffc09fafb461cc55156101d9616a23a480a78862d9e SHA512 c9fe8a89879d1a742236101f1754e6b25e70356cdf5c020b2583e3ac509600c3b462756c412b01f2ebcb17df351c83afcf04d1cfaa87e6753eb25bab0f797aa3

diff --git a/app-forensics/yara/yara-4.5.0.ebuild b/app-forensics/yara/yara-4.5.0.ebuild
new file mode 100644
index 000000000000..e5874a8e7202
--- /dev/null
+++ b/app-forensics/yara/yara-4.5.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 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}"
+BDEPEND="virtual/pkgconfig"
+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
+}


             reply	other threads:[~2024-04-19 12:24 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-19 12:24 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-14  9:53 [gentoo-commits] repo/gentoo:master commit in: app-forensics/yara/ Florian Schmaus
2024-09-14  9:53 Florian Schmaus
2024-06-28 12:59 Sam James
2024-06-28 11:56 Sam James
2024-05-28  1:59 Sam James
2024-05-28  1:59 Sam James
2024-05-28  1:59 Sam James
2024-05-08  6:56 Joonas Niilola
2024-05-08  6:56 Joonas Niilola
2023-10-27  3:20 Sam James
2023-10-19  6:16 Joonas Niilola
2023-10-19  6:16 Joonas Niilola
2023-10-04 21:56 Conrad Kostecki
2023-09-18  7:40 Sam James
2023-09-18  7:40 Sam James
2023-07-27  7:07 Sam James
2023-07-27  7:07 Sam James
2023-06-18 12:08 Joonas Niilola
2023-06-18 12:08 Joonas Niilola
2023-06-18 12:08 Joonas Niilola
2023-05-25  8:17 Arthur Zamarin
2023-05-25  8:15 Arthur Zamarin
2023-05-06  9:18 Arthur Zamarin
2023-05-06  8:58 Sam James
2023-04-25  1:57 Sam James
2023-04-05 12:32 Joonas Niilola
2023-04-05 12:32 Joonas Niilola
2023-01-30  3:27 Sam James
2023-01-03  0:32 Sam James
2022-09-28  6:31 Jakov Smolić
2022-09-28  6:31 Jakov Smolić
2022-08-23  5:34 Sam James
2022-08-23  5:30 Sam James
2022-08-23  5:30 Sam James
2022-08-23  5:30 Sam James
2022-08-04  0:13 Sam James
2022-08-04  0:13 Sam James
2022-07-15  0:45 Sam James
2022-07-04 23:24 Sam James
2022-07-03 17:29 Arthur Zamarin
2022-07-02 23:40 Sam James
2022-05-16  5:26 Sam James
2022-04-05  3:08 Sam James
2022-04-05  3:08 Sam James
2022-01-28  8:22 Sam James
2022-01-28  5:18 Sam James
2022-01-28  5:18 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1713529433.647ba57151666bc4d1809b6b41f2251d8cfb0157.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox