commit:     213edea3f1b9f1026ed81faff1d646bbb6b1da06
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Oct 13 22:25:05 2024 +0000
Commit:     Nicolas PARLANT <ppn <AT> parhuet <DOT> fr>
CommitDate: Sun Oct 13 22:25:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=213edea3

net-misc/jool: new package, add 4.1.13

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>

 net-misc/jool/Manifest           |  1 +
 net-misc/jool/jool-4.1.13.ebuild | 28 ++++++++++++++++++++++++++++
 net-misc/jool/metadata.xml       | 14 ++++++++++++++
 3 files changed, 43 insertions(+)

diff --git a/net-misc/jool/Manifest b/net-misc/jool/Manifest
new file mode 100644
index 000000000..a2e0f9725
--- /dev/null
+++ b/net-misc/jool/Manifest
@@ -0,0 +1 @@
+DIST jool-4.1.13.tar.gz 625231 BLAKE2B 
988108cc76d78cf8d92d49b45142bf52a002ff00b948796bb090f8f38daa7b667614c76cff425e2f92f0d7aa3f6bde72ea3b077c0a301aa354f98735af10d57f
 SHA512 
27c67e99ca3198f35b764b17294c51edbdab78cf56e887c1a74ede050daf627e38e91ef866a32deed6f2930c64a81f27e530059034999d1a4e4743dfc137886d

diff --git a/net-misc/jool/jool-4.1.13.ebuild b/net-misc/jool/jool-4.1.13.ebuild
new file mode 100644
index 000000000..144826f3c
--- /dev/null
+++ b/net-misc/jool/jool-4.1.13.ebuild
@@ -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)
+}

diff --git a/net-misc/jool/metadata.xml b/net-misc/jool/metadata.xml
new file mode 100644
index 000000000..a27cae445
--- /dev/null
+++ b/net-misc/jool/metadata.xml
@@ -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>p...@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>

Reply via email to