summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-05-30 19:50:44 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-05-30 20:18:19 -0400
commit2a4aca8f5798c0068b593c591f3bf09b786e7355 (patch)
tree90f0bcd779f1adedf89bec6124e79e4d47ac94d7 /net-firewall
parentdev-util/sysdig-kmod: EAPI7->8, migrate to linux-mod-r1 (diff)
downloadgentoo-2a4aca8f5798c0068b593c591f3bf09b786e7355.tar.gz
gentoo-2a4aca8f5798c0068b593c591f3bf09b786e7355.tar.bz2
gentoo-2a4aca8f5798c0068b593c591f3bf09b786e7355.zip
net-firewall/rtsp-conntrack: EAPI7->8, migrate to linux-mod-r1
The modulesd .conf are lost but they did not seem useful, users can make their own or keep the old if modified (does nothing by default, just a template). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/rtsp-conntrack/rtsp-conntrack-5.3-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-firewall/rtsp-conntrack/rtsp-conntrack-5.3-r1.ebuild b/net-firewall/rtsp-conntrack/rtsp-conntrack-5.3-r1.ebuild
new file mode 100644
index 000000000000..501856d25c2c
--- /dev/null
+++ b/net-firewall/rtsp-conntrack/rtsp-conntrack-5.3-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1
+
+DESCRIPTION="RTSP conntrack module for Netfilter"
+HOMEPAGE="http://mike.it-loops.com/rtsp"
+SRC_URI="https://github.com/maru-sama/rtsp-linux/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/rtsp-linux-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CONFIG_CHECK="NF_CONNTRACK"
+
+src_compile() {
+ local modlist=(
+ nf_conntrack_rtsp=net/netfilter:::all
+ nf_nat_rtsp=net/ipv4/netfilter:::all
+ )
+ local modargs=( KERNELDIR="${KV_OUT_DIR}" )
+
+ linux-mod-r1_src_compile
+}