mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
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:
36
net-misc/jool-modules/jool-modules-4.1.14.ebuild
Normal file
36
net-misc/jool-modules/jool-modules-4.1.14.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user