net-misc/jool: new package, add 4.1.13

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
Nicolas PARLANT
2024-10-14 00:25:05 +02:00
parent b6c021202a
commit 213edea3f1
3 changed files with 43 additions and 0 deletions

1
net-misc/jool/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST jool-4.1.13.tar.gz 625231 BLAKE2B 988108cc76d78cf8d92d49b45142bf52a002ff00b948796bb090f8f38daa7b667614c76cff425e2f92f0d7aa3f6bde72ea3b077c0a301aa354f98735af10d57f SHA512 27c67e99ca3198f35b764b17294c51edbdab78cf56e887c1a74ede050daf627e38e91ef866a32deed6f2930c64a81f27e530059034999d1a4e4743dfc137886d

View File

@@ -0,0 +1,28 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Required tools for Jool"
HOMEPAGE="https://nicmx.github.io/Jool/en/index.html"
SRC_URI="https://github.com/NICMx/Jool/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+iptables"
DEPEND="iptables? ( net-firewall/iptables )"
RDEPEND="
|| (
net-firewall/nftables
iptables? ( net-firewall/iptables )
)
dev-libs/libnl
"
src_configure() {
econf \
--with-bash-completion-dir=no \
$(use_with iptables xtables)
}

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ppn@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
<use>
<flag name="iptables">In addition to <pkg>net-firewall/nftables</pkg>, include support for xtables with <pkg>net-firewall/iptables</pkg>.</flag>
</use>
<upstream>
<remote-id type="github">NICMx/Jool</remote-id>
</upstream>
</pkgmetadata>