commit: 386cb0e98a2082965516f41c2bb330ad9897de60 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Fri Apr 25 00:31:23 2025 +0000 Commit: Nicolas PARLANT <ppn <AT> parhuet <DOT> fr> CommitDate: Fri Apr 25 00:34:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=386cb0e9
net-misc/jool: add 4.1.14 fix build with iptables Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> net-misc/jool/Manifest | 1 + net-misc/jool/jool-4.1.14.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/net-misc/jool/Manifest b/net-misc/jool/Manifest index a2e0f9725..817264077 100644 --- a/net-misc/jool/Manifest +++ b/net-misc/jool/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/jool-4.1.14.ebuild b/net-misc/jool/jool-4.1.14.ebuild new file mode 100644 index 000000000..e2cd9ab86 --- /dev/null +++ b/net-misc/jool/jool-4.1.14.ebuild @@ -0,0 +1,40 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +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=" + dev-libs/libnl:3 + iptables? ( net-firewall/iptables ) +" +RDEPEND="${DEPEND} + !iptables? ( net-firewall/nftables ) +" + +src_configure() { + local myeconfargs=( + --with-bash-completion-dir=no + --with-xtables=$(usex iptables) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + local myemakeargs=( + DESTDIR="${D}" + XTABLES_SO_DIR=$($(tc-getPKG_CONFIG) xtables --variable=xtlibdir) + ) + emake "${myemakeargs[@]}" install + einstalldocs +}
