commit:     2a4aca8f5798c0068b593c591f3bf09b786e7355
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue May 30 23:50:44 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed May 31 00:18:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4aca8f

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 <AT> gentoo.org>

 .../rtsp-conntrack/rtsp-conntrack-5.3-r1.ebuild    | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

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
+}

Reply via email to