From 4e48545f46682625aa2fae6ffe25e86096c583a5 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Wed, 24 Aug 2022 16:17:08 +0100 Subject: net-analyzer/suricata: add USE=verify-sig support Suggested-by: Jonathan Davies Closes: https://github.com/gentoo/gentoo/pull/24615 Signed-off-by: Marek Szuba --- net-analyzer/suricata/Manifest | 1 + net-analyzer/suricata/suricata-6.0.6.ebuild | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'net-analyzer') diff --git a/net-analyzer/suricata/Manifest b/net-analyzer/suricata/Manifest index 57121c96f9d8..4c10e0066966 100644 --- a/net-analyzer/suricata/Manifest +++ b/net-analyzer/suricata/Manifest @@ -1,2 +1,3 @@ DIST suricata-5.0.10.tar.gz 29391642 BLAKE2B b5c83b9882e89894c3dedb7f536d584a20bbeab24236752e528171db6589a6308422c8b0be4f433fc63b8cfc227aa0b67935a4aece943b10f4577398ea9ed467 SHA512 c59719d42a236ac7421e0bcf6894f113c8f7518e2b5dde558cbe57c12b68b86ef700bae3f4047c6b2677a784061951fc9d058e9f59b11846279da06e9649ac56 DIST suricata-6.0.6.tar.gz 32651139 BLAKE2B de0a73c618c1e2777019de6b29be5224db1885840cba8d05ad4a83fc082408e5d8b16d2c6055701f5d279852a99bea5dea01bed58ad0148afd76c1158e693f16 SHA512 184e5a2f3a68de33198f6f0e681710b3f04ed083081ef989dba77d1afb78922c5afdcdaa18ca92c6ed79b98134a3c42b13e1f3e91d20ea10ca74a692f93c5101 +DIST suricata-6.0.6.tar.gz.sig 566 BLAKE2B 07a1d3ccf434eb0bff36009d36b449ed3295e78ca217efc3bfb722169f80e513621878077e5d2e6a5085db6dff3dfcb0d37ca3d125b590b4ba56a6135293377b SHA512 8dc242af8d176699c710c27ec4ebc37c1363ebed1601de9a6f5a81a393079eff4680e6912674872861d905cfe85dfa610c2a66a9a79980603868bb9d515ffe29 diff --git a/net-analyzer/suricata/suricata-6.0.6.ebuild b/net-analyzer/suricata/suricata-6.0.6.ebuild index a3816e04eee7..054eb7c52431 100644 --- a/net-analyzer/suricata/suricata-6.0.6.ebuild +++ b/net-analyzer/suricata/suricata-6.0.6.ebuild @@ -6,16 +6,18 @@ EAPI=8 LUA_COMPAT=( lua5-1 luajit ) PYTHON_COMPAT=( python3_{8..11} ) -inherit autotools flag-o-matic linux-info lua-single python-single-r1 systemd tmpfiles +inherit autotools flag-o-matic linux-info lua-single python-single-r1 systemd tmpfiles verify-sig DESCRIPTION="High performance Network IDS, IPS and Network Security Monitoring engine" HOMEPAGE="https://suricata.io/" -SRC_URI="https://www.openinfosecfoundation.org/download/${P}.tar.gz" +SRC_URI="https://www.openinfosecfoundation.org/download/${P}.tar.gz + verify-sig? ( https://www.openinfosecfoundation.org/download/${P}.tar.gz.sig )" LICENSE="GPL-2" SLOT="0/6" KEYWORDS="~amd64 ~riscv ~x86" IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened hyperscan lua lz4 nflog +nfqueue redis systemd test" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/openinfosecfoundation.org.asc" RESTRICT="!test? ( test )" @@ -52,6 +54,7 @@ RDEPEND="${PYTHON_DEPS} DEPEND="${RDEPEND} >=sys-devel/autoconf-2.69-r5 virtual/rust" +BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-oisf-20200807 )" PATCHES=( "${FILESDIR}/${PN}-5.0.1_configure-no-lz4-automagic.patch" -- cgit v1.2.3-65-gdbad