From 4e8c7046559181a80bcc8da48aacec5c61312839 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Tue, 28 Jun 2022 13:47:07 -0700 Subject: net-firewall/nftlb: add 1.0.6, drop 1.0 Signed-off-by: Patrick McLean --- net-firewall/nftlb/Manifest | 2 +- net-firewall/nftlb/nftlb-1.0.6.ebuild | 61 +++++++++++++++++++++++++++++++++++ net-firewall/nftlb/nftlb-1.0.ebuild | 61 ----------------------------------- 3 files changed, 62 insertions(+), 62 deletions(-) create mode 100644 net-firewall/nftlb/nftlb-1.0.6.ebuild delete mode 100644 net-firewall/nftlb/nftlb-1.0.ebuild (limited to 'net-firewall') diff --git a/net-firewall/nftlb/Manifest b/net-firewall/nftlb/Manifest index 908c936546ac..4440ce50ef18 100644 --- a/net-firewall/nftlb/Manifest +++ b/net-firewall/nftlb/Manifest @@ -1,2 +1,2 @@ DIST nftlb-1.0.4.tar.gz 199236 BLAKE2B 457fc617af75513330b7c6730a3ee67061d5df4d1faf74a0d57ffaa7ef003e882136a9e0300fe61f1f0235ef752a5d695cfdf9a5e1cecf9b57553d4c9151bfd6 SHA512 89b0dba85029236f55289818c7b7ec6fe6e2e1f33003fc7fb9fa3ae763b96395827ba9d8134aa4ac80f8be0da6e17be132e9293b46c9264d9c49062e4db6688a -DIST nftlb-1.0.tar.gz 195057 BLAKE2B b8237b7ba6f6f61dde726d53b63f2488bf38646984b252317ba0f47727ae91e5f4d58c32c0f0d609b134124efd29fdce2b9c10a981a3892220dac78c84946f48 SHA512 f93db34e4372d8f16e99650f3ade62908ce65722fadd521c6d698ab81b24502f6d82e1945b06b166876ebeb39e1907c97a40776ddf985b035b883e93f62e8766 +DIST nftlb-1.0.6.tar.gz 201767 BLAKE2B d81607ad88c88f3cf97124bf2db6ad8b210fe8f60d72661094dfbbbfc66c4b911985944f08b5483ceec420850b18cb0fe3a8fd6fa7fb76fa4da456870367cecd SHA512 63fa1e9b5fbd18e5c852adb2415dcd6e24bad899fe647641ea6e8dbca4b7c2808c939bdf5f7700a586304f3126088bb74a0fce79c72e8bc92df1e7a9c111feca diff --git a/net-firewall/nftlb/nftlb-1.0.6.ebuild b/net-firewall/nftlb/nftlb-1.0.6.ebuild new file mode 100644 index 000000000000..f1e9170bcbc4 --- /dev/null +++ b/net-firewall/nftlb/nftlb-1.0.6.ebuild @@ -0,0 +1,61 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info autotools + +DESCRIPTION="nftables load balancer" +HOMEPAGE="https://github.com/zevenet/nftlb" +SRC_URI="https://github.com/zevenet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + net-firewall/nftables:=[modern-kernel] + dev-libs/jansson:= + dev-libs/libev:= +" +RDEPEND="${DEPEND}" + +# tests need root access +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/nftlb-1.0-tests.patch" + "${FILESDIR}/nftlb-1.0-musl.patch" +) + +pkg_setup() { + local CONFIG_CHECK=" + ~NF_TABLES + ~NFT_NUMGEN + ~NFT_HASH + ~NF_NAT + ~IP_NF_NAT + " + + linux-info_pkg_setup + + if kernel_is lt 4 19; then + eerror "${PN} requires kernel version 4.19 or newer" + fi +} + +src_prepare() { + default + eautoreconf +} + +src_test() { + pushd tests >/dev/null || die + + sed -e "s:/var/log/syslog:\"${T}/tests.log\":" \ + -i exec_tests.sh || die + + ./exec_tests.sh || die "tests failed" + + popd >/dev/null || die +} diff --git a/net-firewall/nftlb/nftlb-1.0.ebuild b/net-firewall/nftlb/nftlb-1.0.ebuild deleted file mode 100644 index f1e9170bcbc4..000000000000 --- a/net-firewall/nftlb/nftlb-1.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info autotools - -DESCRIPTION="nftables load balancer" -HOMEPAGE="https://github.com/zevenet/nftlb" -SRC_URI="https://github.com/zevenet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - net-firewall/nftables:=[modern-kernel] - dev-libs/jansson:= - dev-libs/libev:= -" -RDEPEND="${DEPEND}" - -# tests need root access -RESTRICT="test" - -PATCHES=( - "${FILESDIR}/nftlb-1.0-tests.patch" - "${FILESDIR}/nftlb-1.0-musl.patch" -) - -pkg_setup() { - local CONFIG_CHECK=" - ~NF_TABLES - ~NFT_NUMGEN - ~NFT_HASH - ~NF_NAT - ~IP_NF_NAT - " - - linux-info_pkg_setup - - if kernel_is lt 4 19; then - eerror "${PN} requires kernel version 4.19 or newer" - fi -} - -src_prepare() { - default - eautoreconf -} - -src_test() { - pushd tests >/dev/null || die - - sed -e "s:/var/log/syslog:\"${T}/tests.log\":" \ - -i exec_tests.sh || die - - ./exec_tests.sh || die "tests failed" - - popd >/dev/null || die -} -- cgit v1.2.3-65-gdbad