1 |
commit: e85524925605d5a95b2d40a5e7ec05d793b0b57e |
2 |
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> |
3 |
AuthorDate: Fri Jul 1 12:18:12 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 23:39:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8552492 |
7 |
|
8 |
app-forensics/yara: version bump 4.2.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/26187 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
app-forensics/yara/Manifest | 1 + |
16 |
app-forensics/yara/yara-4.2.2.ebuild | 57 ++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 58 insertions(+) |
18 |
|
19 |
diff --git a/app-forensics/yara/Manifest b/app-forensics/yara/Manifest |
20 |
index 9f554729d3ff..b121a9780e37 100644 |
21 |
--- a/app-forensics/yara/Manifest |
22 |
+++ b/app-forensics/yara/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST yara-4.2.0.tar.gz 1284059 BLAKE2B 735d161fde5f84199315f1ce6d31f1ad79488312bede85d2941a03cb97fe75c3c4db0b3cba75782d338a462d87e9d9ed57b393bbdb68decfb350a1bbd096258b SHA512 24ca707015c77d87126bcaac0991997f6b09403024765d615a06db47191a3f0177e1c1eb4a917ec8412876b61d28f4a708f36999ddd9214c3967968c71ae3b7c |
25 |
DIST yara-4.2.1.tar.gz 1285173 BLAKE2B dc290bf7fe85d468fd519e68a12d88097d817ca064a665397ba64768078a2d572b46e488eb48747ea1904207598b41a72a510b4b8e4e8601cf518cb6ab98c322 SHA512 036a35d713647b23998135da0d27c13a8876aa44e18e3c9dc99fa425273d7c4a953cbdc78f413f29e8bf818d84b340d0719e241d2a83b7165a16d97e952c45b0 |
26 |
+DIST yara-4.2.2.tar.gz 1287486 BLAKE2B 956a9ed4dab64d24cff680248b4f95b06287e96d27b3f94ff80e97641b3dc4581eaee59cf0d19dfffa9f90a6f0a56f95d3f90f9e9472b65e133bf4aac3e42da3 SHA512 6eb42e63eff93ce636e1d2ae84e30621eeea0d91e1d72bb2cbe826aca6af306bb3564ac2314bc090fb59c9aca5436e72d33658009722ce0cfbaae7ef87cc894e |
27 |
|
28 |
diff --git a/app-forensics/yara/yara-4.2.2.ebuild b/app-forensics/yara/yara-4.2.2.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..55e7f11069d5 |
31 |
--- /dev/null |
32 |
+++ b/app-forensics/yara/yara-4.2.2.ebuild |
33 |
@@ -0,0 +1,57 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+inherit autotools |
40 |
+ |
41 |
+DESCRIPTION="A malware identification and classification tool" |
42 |
+HOMEPAGE="http://virustotal.github.io/yara/" |
43 |
+SRC_URI="https://github.com/virustotal/yara/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" |
44 |
+S="${WORKDIR}/${PN}-${PV/_/-}" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0/8" |
48 |
+if [[ ${PV} != *_rc* ]] ; then |
49 |
+ KEYWORDS="~amd64 ~x86" |
50 |
+fi |
51 |
+IUSE="+dex +dotnet +cuckoo +macho +magic profiling python test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ dev-libs/openssl:= |
56 |
+ cuckoo? ( dev-libs/jansson:= ) |
57 |
+ magic? ( sys-apps/file:= ) |
58 |
+" |
59 |
+RDEPEND="${DEPEND}" |
60 |
+PDEPEND="python? ( =dev-python/yara-python-$(ver_cut 1)* )" |
61 |
+ |
62 |
+PATCHES=( "${FILESDIR}/${PN}-$(ver_cut 1-2)-test.patch" ) |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ eautoreconf |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ econf \ |
71 |
+ $(use_enable profiling) \ |
72 |
+ $(use_enable cuckoo) \ |
73 |
+ $(use_enable magic) \ |
74 |
+ $(use_enable dotnet) \ |
75 |
+ $(use_enable macho) \ |
76 |
+ $(use_enable dex) \ |
77 |
+ $(use_enable test static) |
78 |
+} |
79 |
+ |
80 |
+src_test() { |
81 |
+ emake check |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ default |
86 |
+ |
87 |
+ # TODO: Allow tests to work against dyn. lib rather than building |
88 |
+ # statically just for tests. |
89 |
+ find "${ED}" -name '*.a' -o -name '*.la' -delete || die |
90 |
+} |