Diff suricata-6.0.13 with a suricata-7.0.0

/usr/portage/net-analyzer/suricata/suricata-7.0.0.ebuild 2023-10-09 14:52:33.340368447 +0300
4 4
EAPI=8
5 5

  
6 6
LUA_COMPAT=( lua5-1 luajit )
7
PYTHON_COMPAT=( python3_{9..11} )
7
PYTHON_COMPAT=( python3_{10..12} )
8 8

  
9 9
inherit autotools flag-o-matic linux-info lua-single python-single-r1 systemd tmpfiles verify-sig
10 10

  
......
14 14
	verify-sig? ( https://www.openinfosecfoundation.org/download/${P}.tar.gz.sig )"
15 15

  
16 16
LICENSE="GPL-2"
17
SLOT="0/6"
17
SLOT="0/7"
18 18
KEYWORDS="~amd64 ~riscv ~x86"
19
IUSE="+af-packet bpf control-socket cuda debug +detection geoip hardened hyperscan lua lz4 nflog +nfqueue redis systemd test"
19
IUSE="+af-packet af-xdp bpf control-socket cuda debug +detection geoip hardened hyperscan lua lz4 nflog +nfqueue redis systemd test"
20 20
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/openinfosecfoundation.org.asc"
21 21

  
22 22
RESTRICT="!test? ( test )"
23 23

  
24 24
REQUIRED_USE="${PYTHON_REQUIRED_USE}
25
	af-xdp? ( bpf )
25 26
	bpf? ( af-packet )
26 27
	lua? ( ${LUA_REQUIRED_USE} )"
27 28

  
......
29 30
	acct-group/suricata
30 31
	acct-user/suricata
31 32
	dev-libs/jansson:=
32
	dev-libs/libpcre
33
	dev-libs/libpcre2
33 34
	dev-libs/libyaml
34 35
	net-libs/libnet:*
35 36
	net-libs/libnfnetlink
......
38 39
	$(python_gen_cond_dep '
39 40
		dev-python/pyyaml[${PYTHON_USEDEP}]
40 41
	')
41
	>=net-libs/libhtp-0.5.44
42
	>=net-libs/libhtp-0.5.45
42 43
	net-libs/libpcap
43 44
	sys-apps/file
44 45
	sys-libs/libcap-ng
45
	bpf?        ( <dev-libs/libbpf-1.0.0 )
46
	af-xdp?		( net-libs/xdp-tools )
47
	bpf?        ( dev-libs/libbpf )
46 48
	cuda?       ( dev-util/nvidia-cuda-toolkit )
47 49
	geoip?      ( dev-libs/libmaxminddb:= )
48 50
	hyperscan?  ( dev-libs/hyperscan )
......
64 66
)
65 67

  
66 68
pkg_pretend() {
69
	if use af-xdp && use kernel_linux; then
70
		if kernel_is -lt 4 18; then
71
			ewarn "Kernel 4.18 or newer is required for AF_XDP"
72
		fi
73
	fi
74

  
67 75
	if use bpf && use kernel_linux; then
68 76
		if kernel_is -lt 4 15; then
69 77
			ewarn "Kernel 4.15 or newer is necessary to use all XDP features like the CPU redirect map"
......
93 101
		"--enable-gccmarch-native=no" \
94 102
		"--enable-python" \
95 103
		$(use_enable af-packet) \
104
		$(use_enable af-xdp) \
96 105
		$(use_enable bpf ebpf) \
97 106
		$(use_enable control-socket unix-socket) \
98 107
		$(use_enable cuda) \
Thank you!