# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 LUA_COMPAT=( lua5-1 luajit ) PYTHON_COMPAT=( python3_{9..11} ) 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 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 )" REQUIRED_USE="${PYTHON_REQUIRED_USE} bpf? ( af-packet ) lua? ( ${LUA_REQUIRED_USE} )" RDEPEND="${PYTHON_DEPS} acct-group/suricata acct-user/suricata dev-libs/jansson:= dev-libs/libpcre dev-libs/libyaml net-libs/libnet:* net-libs/libnfnetlink dev-libs/nspr dev-libs/nss $(python_gen_cond_dep ' dev-python/pyyaml[${PYTHON_USEDEP}] ') >=net-libs/libhtp-0.5.43 net-libs/libpcap sys-apps/file sys-libs/libcap-ng bpf? (