Diff rtsp-conntrack-5.3 with a rtsp-conntrack-5.3-r1

/usr/portage/net-firewall/rtsp-conntrack/rtsp-conntrack-5.3-r1.ebuild 2023-10-09 14:52:34.424368475 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
5
inherit linux-mod
4
EAPI=8
5

  
6
inherit linux-mod-r1
6 7

  
7 8
DESCRIPTION="RTSP conntrack module for Netfilter"
8 9
HOMEPAGE="http://mike.it-loops.com/rtsp"
9 10
SRC_URI="https://github.com/maru-sama/rtsp-linux/archive/${PV}.tar.gz -> ${P}.tar.gz"
11
S="${WORKDIR}/rtsp-linux-${PV}"
10 12

  
11 13
LICENSE="GPL-2"
12 14
SLOT="0"
13 15
KEYWORDS="amd64 x86"
14 16

  
15
S="${WORKDIR}/rtsp-linux-${PV}"
16

  
17
BUILD_TARGETS="all"
18
MODULE_NAMES="
19
	nf_conntrack_rtsp(net/netfilter::)
20
	nf_nat_rtsp(net/ipv4/netfilter::)"
21
MODULESD_NF_CONNTRACK_RTSP_DOCS="README.rst"
22

  
23 17
CONFIG_CHECK="NF_CONNTRACK"
24
WARNING_NF_CONNTRACK="You must enable NF_CONNTRACK in your kernel, otherwise ${PN} would not work"
25 18

  
26
BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
19
src_compile() {
20
	local modlist=(
21
		nf_conntrack_rtsp=net/netfilter
22
		nf_nat_rtsp=net/ipv4/netfilter
23
	)
24
	local modargs=( KERNELDIR="${KV_OUT_DIR}" )
25

  
26
	linux-mod-r1_src_compile
27
}
Thank you!