1 |
commit: 4e48545f46682625aa2fae6ffe25e86096c583a5 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 24 15:17:08 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 24 15:36:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e48545f |
7 |
|
8 |
net-analyzer/suricata: add USE=verify-sig support |
9 |
|
10 |
Suggested-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/24615 |
12 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/suricata/Manifest | 1 + |
15 |
net-analyzer/suricata/suricata-6.0.6.ebuild | 7 +++++-- |
16 |
2 files changed, 6 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-analyzer/suricata/Manifest b/net-analyzer/suricata/Manifest |
19 |
index 57121c96f9d8..4c10e0066966 100644 |
20 |
--- a/net-analyzer/suricata/Manifest |
21 |
+++ b/net-analyzer/suricata/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST suricata-5.0.10.tar.gz 29391642 BLAKE2B b5c83b9882e89894c3dedb7f536d584a20bbeab24236752e528171db6589a6308422c8b0be4f433fc63b8cfc227aa0b67935a4aece943b10f4577398ea9ed467 SHA512 c59719d42a236ac7421e0bcf6894f113c8f7518e2b5dde558cbe57c12b68b86ef700bae3f4047c6b2677a784061951fc9d058e9f59b11846279da06e9649ac56 |
24 |
DIST suricata-6.0.6.tar.gz 32651139 BLAKE2B de0a73c618c1e2777019de6b29be5224db1885840cba8d05ad4a83fc082408e5d8b16d2c6055701f5d279852a99bea5dea01bed58ad0148afd76c1158e693f16 SHA512 184e5a2f3a68de33198f6f0e681710b3f04ed083081ef989dba77d1afb78922c5afdcdaa18ca92c6ed79b98134a3c42b13e1f3e91d20ea10ca74a692f93c5101 |
25 |
+DIST suricata-6.0.6.tar.gz.sig 566 BLAKE2B 07a1d3ccf434eb0bff36009d36b449ed3295e78ca217efc3bfb722169f80e513621878077e5d2e6a5085db6dff3dfcb0d37ca3d125b590b4ba56a6135293377b SHA512 8dc242af8d176699c710c27ec4ebc37c1363ebed1601de9a6f5a81a393079eff4680e6912674872861d905cfe85dfa610c2a66a9a79980603868bb9d515ffe29 |
26 |
|
27 |
diff --git a/net-analyzer/suricata/suricata-6.0.6.ebuild b/net-analyzer/suricata/suricata-6.0.6.ebuild |
28 |
index a3816e04eee7..054eb7c52431 100644 |
29 |
--- a/net-analyzer/suricata/suricata-6.0.6.ebuild |
30 |
+++ b/net-analyzer/suricata/suricata-6.0.6.ebuild |
31 |
@@ -6,16 +6,18 @@ EAPI=8 |
32 |
LUA_COMPAT=( lua5-1 luajit ) |
33 |
PYTHON_COMPAT=( python3_{8..11} ) |
34 |
|
35 |
-inherit autotools flag-o-matic linux-info lua-single python-single-r1 systemd tmpfiles |
36 |
+inherit autotools flag-o-matic linux-info lua-single python-single-r1 systemd tmpfiles verify-sig |
37 |
|
38 |
DESCRIPTION="High performance Network IDS, IPS and Network Security Monitoring engine" |
39 |
HOMEPAGE="https://suricata.io/" |
40 |
-SRC_URI="https://www.openinfosecfoundation.org/download/${P}.tar.gz" |
41 |
+SRC_URI="https://www.openinfosecfoundation.org/download/${P}.tar.gz |
42 |
+ verify-sig? ( https://www.openinfosecfoundation.org/download/${P}.tar.gz.sig )" |
43 |
|
44 |
LICENSE="GPL-2" |
45 |
SLOT="0/6" |
46 |
KEYWORDS="~amd64 ~riscv ~x86" |
47 |
IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened hyperscan lua lz4 nflog +nfqueue redis systemd test" |
48 |
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/openinfosecfoundation.org.asc" |
49 |
|
50 |
RESTRICT="!test? ( test )" |
51 |
|
52 |
@@ -52,6 +54,7 @@ RDEPEND="${PYTHON_DEPS} |
53 |
DEPEND="${RDEPEND} |
54 |
>=sys-devel/autoconf-2.69-r5 |
55 |
virtual/rust" |
56 |
+BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-oisf-20200807 )" |
57 |
|
58 |
PATCHES=( |
59 |
"${FILESDIR}/${PN}-5.0.1_configure-no-lz4-automagic.patch" |