net-misc/jool-modules: add 4.1.14

fix build with iptables

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
Nicolas PARLANT
2025-04-25 00:32:11 +00:00
parent d19c18675c
commit 5ca720c0fc
3 changed files with 40 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST jool-4.1.13.tar.gz 625231 BLAKE2B 988108cc76d78cf8d92d49b45142bf52a002ff00b948796bb090f8f38daa7b667614c76cff425e2f92f0d7aa3f6bde72ea3b077c0a301aa354f98735af10d57f SHA512 27c67e99ca3198f35b764b17294c51edbdab78cf56e887c1a74ede050daf627e38e91ef866a32deed6f2930c64a81f27e530059034999d1a4e4743dfc137886d
DIST jool-4.1.14.tar.gz 625157 BLAKE2B 459a7976d36eba0dd2fde464103dc0e43f01f287c371092140aee6b76583ef87c7b6dd252afe941ed5b5366474aa54d6351b29bb88466e96755b87f94d357cf0 SHA512 684a6bd2861fea6475388ee0940ce5318e3f871bb4cc6f01301d1ac0e30ff3f591884eb1c39e2a3ce046e1eeb03e0abb42a28aa5b3e7a5ad42b0e0d2ce8ff74d

View File

@@ -0,0 +1,36 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-mod-r1
DESCRIPTION="Jool is an Open Source SIIT and NAT64 for linux"
HOMEPAGE="https://nicmx.github.io/Jool/en/index.html"
SRC_URI="https://github.com/NICMx/Jool/releases/download/v${PV}/jool-${PV}.tar.gz"
S="${WORKDIR}/jool-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="iptables"
src_configure() {
true
}
src_compile() {
local modlist=(
jool_common=:src/mod/common:src/mod/common
jool=:src/mod/nat64:src/mod/nat64
jool_siit=:src/mod/siit:src/mod/siit
)
local modargs=(
KERNEL_DIR="${KV_OUT_DIR}"
MODULES_DIR="/lib/modules/${KV_FULL}"
)
use iptables || modargs+=(
CFLAGS_MODULE="-DXTABLES_DISABLED"
)
linux-mod-r1_src_compile
}

View File

@@ -5,6 +5,9 @@
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
<use>
<flag name="iptables">Include support for xtables.</flag>
</use>
<upstream>
<remote-id type="github">NICMx/Jool</remote-id>
</upstream>