commit: 5ca720c0fc0d4bd86992678c1c7301343bbaa617 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Fri Apr 25 00:32:11 2025 +0000 Commit: Nicolas PARLANT <ppn <AT> parhuet <DOT> fr> CommitDate: Fri Apr 25 00:41:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5ca720c0
net-misc/jool-modules: add 4.1.14 fix build with iptables Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> net-misc/jool-modules/Manifest | 1 + net-misc/jool-modules/jool-modules-4.1.14.ebuild | 36 ++++++++++++++++++++++++ net-misc/jool-modules/metadata.xml | 3 ++ 3 files changed, 40 insertions(+) diff --git a/net-misc/jool-modules/Manifest b/net-misc/jool-modules/Manifest index a2e0f9725..817264077 100644 --- a/net-misc/jool-modules/Manifest +++ b/net-misc/jool-modules/Manifest @@ -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 diff --git a/net-misc/jool-modules/jool-modules-4.1.14.ebuild b/net-misc/jool-modules/jool-modules-4.1.14.ebuild new file mode 100644 index 000000000..5affa1e0f --- /dev/null +++ b/net-misc/jool-modules/jool-modules-4.1.14.ebuild @@ -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 +} diff --git a/net-misc/jool-modules/metadata.xml b/net-misc/jool-modules/metadata.xml index 5dd121eb6..d41f66473 100644 --- a/net-misc/jool-modules/metadata.xml +++ b/net-misc/jool-modules/metadata.xml @@ -5,6 +5,9 @@ <email>[email protected]</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>
