commit:     0c78c2e5256c800d5e1538aec8891dfdbcb31b7f
Author:     Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Fri Sep  3 00:00:02 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Sep  3 12:15:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c78c2e5

net-analyzer/suricata: Add hyperscan USE flag.

Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-analyzer/suricata/metadata.xml                                     | 1 +
 .../suricata/{suricata-5.0.7.ebuild => suricata-5.0.7-r1.ebuild}       | 3 ++-
 .../suricata/{suricata-6.0.3.ebuild => suricata-6.0.3-r1.ebuild}       | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/suricata/metadata.xml 
b/net-analyzer/suricata/metadata.xml
index 87689ee5189..36501eaa4f5 100644
--- a/net-analyzer/suricata/metadata.xml
+++ b/net-analyzer/suricata/metadata.xml
@@ -12,6 +12,7 @@
     <flag name="control-socket">Enable unix socket</flag>
     <flag name="cuda">Enable NVIDIA Cuda computations support</flag>
     <flag name="detection">Enable detection modules</flag>
+    <flag name="hyperscan">Enable high-performance regex matching with 
Hyperscan</flag>
     <flag name="lz4">Enable support for compressed pcap logging using the LZ4 
algorithm</flag>
     <flag name="nflog">Enable libnetfilter_log support</flag>
     <flag name="nfqueue">Enable NFQUEUE support for inline IDP</flag>

diff --git a/net-analyzer/suricata/suricata-5.0.7.ebuild 
b/net-analyzer/suricata/suricata-5.0.7-r1.ebuild
similarity index 98%
rename from net-analyzer/suricata/suricata-5.0.7.ebuild
rename to net-analyzer/suricata/suricata-5.0.7-r1.ebuild
index b2e2f7e436d..eed3b8e26ae 100644
--- a/net-analyzer/suricata/suricata-5.0.7.ebuild
+++ b/net-analyzer/suricata/suricata-5.0.7-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.openinfosecfoundation.org/download/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0/5"
 KEYWORDS="~amd64 ~x86"
-IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened lua 
lz4 nflog +nfqueue redis systemd test"
+IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened 
hyperscan lua lz4 nflog +nfqueue redis systemd test"
 
 RESTRICT="!test? ( test )"
 
@@ -43,6 +43,7 @@ RDEPEND="${PYTHON_DEPS}
        bpf?        ( >=dev-libs/libbpf-0.1.0 )
        cuda?       ( dev-util/nvidia-cuda-toolkit )
        geoip?      ( dev-libs/libmaxminddb )
+       hyperscan?  ( dev-libs/hyperscan )
        lua?        ( ${LUA_DEPS} )
        lz4?        ( app-arch/lz4 )
        nflog?      ( net-libs/libnetfilter_log )

diff --git a/net-analyzer/suricata/suricata-6.0.3.ebuild 
b/net-analyzer/suricata/suricata-6.0.3-r1.ebuild
similarity index 98%
rename from net-analyzer/suricata/suricata-6.0.3.ebuild
rename to net-analyzer/suricata/suricata-6.0.3-r1.ebuild
index 7e48fc1c6d5..fae8b5b7a3f 100644
--- a/net-analyzer/suricata/suricata-6.0.3.ebuild
+++ b/net-analyzer/suricata/suricata-6.0.3-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://www.openinfosecfoundation.org/download/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0/6"
 KEYWORDS="~amd64 ~riscv ~x86"
-IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened lua 
lz4 nflog +nfqueue redis systemd test"
+IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened 
hyperscan lua lz4 nflog +nfqueue redis systemd test"
 
 RESTRICT="!test? ( test )"
 
@@ -43,6 +43,7 @@ RDEPEND="${PYTHON_DEPS}
        bpf?        ( >=dev-libs/libbpf-0.1.0 )
        cuda?       ( dev-util/nvidia-cuda-toolkit )
        geoip?      ( dev-libs/libmaxminddb )
+       hyperscan?  ( dev-libs/hyperscan )
        lua?        ( ${LUA_DEPS} )
        lz4?        ( app-arch/lz4 )
        nflog?      ( net-libs/libnetfilter_log )

Reply via email to