* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-08-10 1:16 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2022-08-10 1:16 UTC (permalink / raw
To: gentoo-commits
commit: e5a05a8af3f00d04b8c1cf57a487b12330216820
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 00:10:53 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 00:11:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a05a8a
net-firewall/nftables: add 1.0.5
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 +
net-firewall/nftables/nftables-1.0.5.ebuild | 215 ++++++++++++++++++++++++++++
2 files changed, 217 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 89b4506ccf95..0c996cf52097 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -2,3 +2,5 @@ DIST nftables-1.0.2.tar.bz2 970781 BLAKE2B 650ae6badb574ff3628d21c8aa99f81e73932
DIST nftables-1.0.2.tar.bz2.sig 566 BLAKE2B 5b7a20b28c274a950b718e2e14313772707b6bdc3f4519f747350593c1eb3bfbcf8c5dd9ae7d5aa0488c5cde9af8b58e05349c75e8a8246c5634303a331f9d98 SHA512 9be59d771833ac315fd52cffe7074ed9d49fbf592aec8d94500bbc7cc1f44dcb54b3815c46831a5e7e4c4770901cbdd6b8ffc5aa8d8cb7e064ec1c8453d890f1
DIST nftables-1.0.4.tar.bz2 979540 BLAKE2B 1b2c596245cb7f1bc574250d13b9ff6f424f98e98d5955befadb83ea0a71acc6524b066e39f1e9d151f3946b690b2dee45b7d416347371f88911c8d6a9de047e SHA512 7d96c791365d399b3b930a1f9d6c6aa4a8c2180c258bb5163d9d62ea4d094857e2ebb20fc3ef13b89f449f216d0a291d3bcf288704f1e3bd3ceb51b6cadf8215
DIST nftables-1.0.4.tar.bz2.sig 566 BLAKE2B 1ac42a2eb678abcc21d01bbaf5f9a3af3f4c49fa1f0732f2522d3da14e94aacbb12075650d2786224f8fef869fcdc94a1463bd76272aa44fc50ea31a8ebae1bf SHA512 2d2acd4810c1ede844e1eac81a5480866ad40ae71dfcf92d166fd9295290adff70d35d7de8cf1ec81ab63d184b221419ff144bc7010e18884afa992173723af8
+DIST nftables-1.0.5.tar.bz2 982538 BLAKE2B 5d58170b8fc6feccc1581653cd0815d37b59b43b7f4f9bff9f7fb46928c6c7eee5a6f07150c404f7cf42f5a1d2e980860a4dd2589b99773179e019a093c42cfa SHA512 51cbf10579db7eed58f4358044840f2ce1bffe84533c5fb03e0ebcc702970856455576ac793169c94d38a9f8148e33631ad91444e54a8be189d93af7c27feb9a
+DIST nftables-1.0.5.tar.bz2.sig 566 BLAKE2B 7744a84c213999b35c3094fa5d9f974acec6fedac3d310422834285823825bcb14fb55b463d88b91fa41d79e33ce34498769992d912b7178fa1f70bd7a1e0977 SHA512 fbff6b5b28d81e964d4523729c7866d0b52d764d090cae70a43d850bc579b17308ec41a3d7fe6707877850028e99ad09c33b5e87fa16ac5199dfeba193a61511
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
new file mode 100644
index 000000000000..24d357de9872
--- /dev/null
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{8..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
+inherit edo linux-info distutils-r1 systemd verify-sig
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+
+if [[ ${PV} =~ ^[9]{4,}$ ]]; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://git.netfilter.org/${PN}"
+
+ BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ "
+else
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/1"
+IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
+RESTRICT="test? ( userpriv ) !test? ( test )"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:0=
+ >=net-libs/libnftnl-1.2.3:0=
+ gmp? ( dev-libs/gmp:= )
+ json? ( dev-libs/jansson:= )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND+="
+ virtual/pkgconfig
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
+ python? ( ${PYTHON_DEPS} )
+"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ libedit? ( !readline )
+"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ if [[ ${PV} =~ ^[9]{4,}$ ]] ; then
+ eautoreconf
+ fi
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_prepare
+ popd >/dev/null || die
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --disable-static
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with libedit cli editline)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_configure
+ popd >/dev/null || die
+ fi
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_compile
+ popd >/dev/null || die
+ fi
+}
+
+src_test() {
+ emake check
+
+ edo tests/shell/run-tests.sh -v
+
+ # Need to rig up Python eclass if using this, but it doesn't seem to work
+ # for me anyway.
+ #cd tests/py || die
+ #"${EPYTHON}" nft-test.py || die
+}
+
+src_install() {
+ default
+
+ if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
+ pushd doc >/dev/null || die
+ doman *.?
+ popd >/dev/null || die
+ fi
+
+ # Do it here instead of in src_prepare to avoid eautoreconf
+ # rmdir lets us catch if more files end up installed in /etc/nftables
+ dodir /usr/share/doc/${PF}/skels/
+ mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
+ rmdir "${ED}"/etc/nftables || die
+
+ local mksuffix="$(usex modern-kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ pushd py >/dev/null || die
+ distutils-r1_src_install
+ popd >/dev/null || die
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_preinst() {
+ if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
+ if ! /sbin/nft -t list ruleset | "${ED}"/sbin/nft -c -f -; then
+ eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
+ eerror "nft. This probably means that there is a regression introduced by v${PV}."
+ eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
+
+ if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
+ die "Aborting because of failed nft reload!"
+ fi
+ fi
+ fi
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}"/var/lib/nftables/rules-save
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ if has_version 'sys-apps/systemd'; then
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart"
+ elog "the nftables-restore service must be manually started in order to"
+ elog "save those rules on shutdown."
+ fi
+
+ if has_version 'sys-apps/openrc'; then
+ elog "If you wish to enable the firewall rules on boot (on openrc) you"
+ elog "will need to enable the nftables service."
+ elog " 'rc-update add ${PN} default'"
+ elog
+ elog "If you are creating or updating the firewall rules and wish to save"
+ elog "them to be loaded on the next restart, use the \"save\" functionality"
+ elog "in the init script."
+ elog " 'rc-service ${PN} save'"
+ fi
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-10-13 11:06 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2024-10-13 11:06 UTC (permalink / raw
To: gentoo-commits
commit: c63f260373944b4e70496d3e20c4b9d1b19cc373
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 13 11:05:14 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 13 11:05:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63f2603
net-firewall/nftables: Stabilize 1.1.0-r1 sparc, #940866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.1.0-r1.ebuild b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
index 7e61b383d9c3..efec7e4d23d4 100644
--- a/net-firewall/nftables/nftables-1.1.0-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-10-10 12:20 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2024-10-10 12:20 UTC (permalink / raw
To: gentoo-commits
commit: 8c544395125663c92d8e518b4e680da9a1c9889c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 12:19:52 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 12:19:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c544395
net-firewall/nftables: Stabilize 1.1.0-r1 arm64, #940866
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.1.0-r1.ebuild b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
index 97a1af4a7fd5..7e61b383d9c3 100644
--- a/net-firewall/nftables/nftables-1.1.0-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-10-09 0:06 Jakov Smolić
0 siblings, 0 replies; 217+ messages in thread
From: Jakov Smolić @ 2024-10-09 0:06 UTC (permalink / raw
To: gentoo-commits
commit: 5da02aaaca97a4ef3ad5ce27b4224077496f254a
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 9 00:05:22 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Oct 9 00:05:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da02aaa
net-firewall/nftables: Stabilize 1.1.0-r1 ppc, #940866
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-firewall/nftables/nftables-1.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.1.0-r1.ebuild b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
index 37d124b27529..97a1af4a7fd5 100644
--- a/net-firewall/nftables/nftables-1.1.0-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-10-05 21:47 Jakov Smolić
0 siblings, 0 replies; 217+ messages in thread
From: Jakov Smolić @ 2024-10-05 21:47 UTC (permalink / raw
To: gentoo-commits
commit: ee632aaa8986c39338c8b38ea18ed48b9d5d54a8
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 5 12:23:29 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Oct 5 21:46:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee632aaa
net-firewall/nftables: Stabilize 1.1.0-r1 amd64, #940866
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-firewall/nftables/nftables-1.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.1.0-r1.ebuild b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
index 42ffaf3a2d85..37d124b27529 100644
--- a/net-firewall/nftables/nftables-1.1.0-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-10-05 11:12 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2024-10-05 11:12 UTC (permalink / raw
To: gentoo-commits
commit: ea94cd912ac4103ad3a85eacf382a24489ffbbb3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 5 11:10:56 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 5 11:10:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea94cd91
net-firewall/nftables: Stabilize 1.1.0-r1 ppc64, #940866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.1.0-r1.ebuild b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
index ab722e0baad8..b468ff9117f8 100644
--- a/net-firewall/nftables/nftables-1.1.0-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.1.0-r1.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-10-02 23:12 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2024-10-02 23:12 UTC (permalink / raw
To: gentoo-commits
commit: 31678d15acc7ea08b8154bbac2662b7dc82fe279
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 2 23:11:07 2024 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Oct 2 23:11:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31678d15
net-firewall/nftables: add 1.1.1
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 +
net-firewall/nftables/nftables-1.1.1.ebuild | 228 ++++++++++++++++++++++++++++
2 files changed, 230 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index ada3885ff94a..fc0e6f7ae858 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -2,3 +2,5 @@ DIST nftables-1.0.9.tar.xz 971968 BLAKE2B 1dfd1e79d3a7b645fd0995dad10893d70dbd13
DIST nftables-1.0.9.tar.xz.sig 566 BLAKE2B d4bb0a1f629d2950753799fba18f6c3ce50e5ff242816e392245a714bfeccb3408583added4362f1e0da47cc6e30b0b95f864cf8443a1872d59ae40b15b5f706 SHA512 9b96ce8539700713ff4802fb2deff5b2ea0dd3155c45f5a8f49a45f70226893c7449e0b79504833b2e63e5290290e693c962128a226ca8f6ca281185bdcd7b51
DIST nftables-1.1.0.tar.xz 1057672 BLAKE2B cc876d9ba344480a2f5a12811206356d9edbd4a95d29e8127f43864a1b4e2ae9bc88a6d07f0d36469dfed190c5822fd6a7c69b6a9028fbb0bc1ec254e76083d9 SHA512 0b0c6789b7d987289b9770ea2d26e640c50bc7f300685476c4fc367b5ad3d6980fca63b8fe701f727fb3a94328eb7dc560ed5745b5ce44f171022de5714d3a86
DIST nftables-1.1.0.tar.xz.sig 566 BLAKE2B 556287b40ad6f82d229ae18910ec2008c3168c7088e7149f8b5e80ca9983b90ec202cf01838c80e973845dd565f4f13a454d6dc99030a3f9cede6c33929da07d SHA512 1b3a42a76b378373c8a21b77aaf9c1fc57402360d49d56b22f02c50bef969b1f6867a4d40bda24b2dd1a0dfcf7148893938a7eea84ff8cc67d9edcd6b9b62bb4
+DIST nftables-1.1.1.tar.xz 989700 BLAKE2B f273c78369ba755049c6afa63eba195cf29f926fa8fc9bf344022904c00a8c6c4259cc5093e23993a55fd25790af575305df79a7c28624fa7082661b2eed70d0 SHA512 676413d4adadffb15d52c1f8f6432636cab83a7bcda1a18d9f0e6b58819a2c027a49922588c02bd9ad386de930eaa697bfe74c0938b595bf1ee485bfa7cf2e50
+DIST nftables-1.1.1.tar.xz.sig 566 BLAKE2B b7debda3373972f69af9b4b23e1b66a8fd156440187aafba605bb7342c267207e5aa628256e96432ebd4583a6a9436e1969a33636111d2bd8d57185a01e2d502 SHA512 fc23034c512f686167203e827ff2a8f7cb64530211ce92a28793bd49577ce3bf519ffbe910b0071cb21925898497cb5cbf70121c68bfcdbfa4460c63a14203ac
diff --git a/net-firewall/nftables/nftables-1.1.1.ebuild b/net-firewall/nftables/nftables-1.1.1.ebuild
new file mode 100644
index 000000000000..ecfd85b0e138
--- /dev/null
+++ b/net-firewall/nftables/nftables-1.1.1.ebuild
@@ -0,0 +1,228 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
+inherit edo linux-info distutils-r1 systemd verify-sig
+
+DESCRIPTION="Linux kernel firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+
+if [[ ${PV} =~ ^[9]{4,}$ ]]; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://git.netfilter.org/${PN}"
+ BDEPEND="app-alternatives/yacc"
+else
+ SRC_URI="
+ https://netfilter.org/projects/nftables/files/${P}.tar.xz
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+fi
+
+# See COPYING: new code is GPL-2+, existing code is GPL-2
+LICENSE="GPL-2 GPL-2+"
+SLOT="0/1"
+IUSE="debug doc +gmp json libedit python +readline static-libs test xtables"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:=
+ >=net-libs/libnftnl-1.2.8:=
+ gmp? ( dev-libs/gmp:= )
+ json? ( dev-libs/jansson:= )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND+="
+ app-alternatives/lex
+ virtual/pkgconfig
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
+ python? ( ${DISTUTILS_DEPS} )
+"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ libedit? ( !readline )
+"
+
+src_prepare() {
+ default
+
+ if [[ ${PV} =~ ^[9]{4,}$ ]] ; then
+ eautoreconf
+ fi
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_prepare
+ popd >/dev/null || die
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with libedit cli editline)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+
+ econf "${myeconfargs[@]}"
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_configure
+ popd >/dev/null || die
+ fi
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_compile
+ popd >/dev/null || die
+ fi
+}
+
+src_test() {
+ emake check
+
+ if [[ ${EUID} == 0 ]]; then
+ edo tests/shell/run-tests.sh -v
+ else
+ ewarn "Skipping shell tests (requires root)"
+ fi
+
+ if use python; then
+ pushd tests/py >/dev/null || die
+ distutils-r1_src_test
+ popd >/dev/null || die
+ fi
+}
+
+python_test() {
+ if [[ ${EUID} == 0 ]]; then
+ edo "${EPYTHON}" nft-test.py
+ else
+ ewarn "Skipping Python tests (requires root)"
+ fi
+}
+
+src_install() {
+ default
+
+ if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
+ pushd doc >/dev/null || die
+ doman *.?
+ popd >/dev/null || die
+ fi
+
+ # Do it here instead of in src_prepare to avoid eautoreconf
+ # rmdir lets us catch if more files end up installed in /etc/nftables
+ dodir /usr/share/doc/${PF}/skels/
+ mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
+ rmdir "${ED}"/etc/nftables || die
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}-mk.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}-mk.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}-mk.init-r1 ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ pushd py >/dev/null || die
+ distutils-r1_src_install
+ popd >/dev/null || die
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_preinst() {
+ local stderr
+
+ # There's a history of regressions with nftables upgrades. Perform a
+ # safety check to help us spot them earlier. For the check to pass, the
+ # currently loaded ruleset, if any, must be successfully evaluated by
+ # the newly built instance of nft(8).
+ if [[ -n ${ROOT} ]] || [[ ! -d /sys/module/nftables ]] || [[ ! -x /sbin/nft ]]; then
+ # Either nftables isn't yet in use or nft(8) cannot be executed.
+ return
+ elif ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
+ # Report errors induced by trying to list the ruleset but don't
+ # treat them as being fatal.
+ printf '%s\n' "${stderr}" >&2
+ elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
+ # Rulesets generated by iptables-nft are special in nature and
+ # will not always be printed in a way that constitutes a valid
+ # syntax for ntf(8). Ignore them.
+ return
+ elif set -- "${ED}"/usr/lib*/libnftables.so;
+ ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft
+ then
+ eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
+ eerror "nft. This probably means that there is a regression introduced by v${PV}."
+ eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
+ if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
+ die "Aborting because of failed nft reload!"
+ fi
+ fi
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}"/var/lib/nftables/rules-save
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ if has_version 'sys-apps/systemd'; then
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart"
+ elog "the nftables-restore service must be manually started in order to"
+ elog "save those rules on shutdown."
+ fi
+
+ if has_version 'sys-apps/openrc'; then
+ elog "If you wish to enable the firewall rules on boot (on openrc) you"
+ elog "will need to enable the nftables service."
+ elog " 'rc-update add ${PN} default'"
+ elog
+ elog "If you are creating or updating the firewall rules and wish to save"
+ elog "them to be loaded on the next restart, use the \"save\" functionality"
+ elog "in the init script."
+ elog " 'rc-service ${PN} save'"
+ fi
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-10-02 23:12 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2024-10-02 23:12 UTC (permalink / raw
To: gentoo-commits
commit: e860d667c836b277047691a94979ee7e3e99a217
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 2 23:11:31 2024 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Oct 2 23:11:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e860d667
net-firewall/nftables: Update 9999 with libnftnl dep
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 5a5c90314e84..ecfd85b0e138 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -33,7 +33,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:=
- >=net-libs/libnftnl-1.2.7:=
+ >=net-libs/libnftnl-1.2.8:=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-08-26 11:55 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2024-08-26 11:55 UTC (permalink / raw
To: gentoo-commits
commit: 0ec7ffb3ff454d51f7dd9b737926b8601d55b50b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 26 11:54:54 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 26 11:54:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ec7ffb3
net-firewall/nftables: drop 1.1.0
It's masked too.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.1.0.ebuild | 228 ----------------------------
1 file changed, 228 deletions(-)
diff --git a/net-firewall/nftables/nftables-1.1.0.ebuild b/net-firewall/nftables/nftables-1.1.0.ebuild
deleted file mode 100644
index 60c4f92e0ca9..000000000000
--- a/net-firewall/nftables/nftables-1.1.0.ebuild
+++ /dev/null
@@ -1,228 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
-inherit edo linux-info distutils-r1 systemd verify-sig
-
-DESCRIPTION="Linux kernel firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-
-if [[ ${PV} =~ ^[9]{4,}$ ]]; then
- inherit autotools git-r3
- EGIT_REPO_URI="https://git.netfilter.org/${PN}"
- BDEPEND="app-alternatives/yacc"
-else
- SRC_URI="
- https://netfilter.org/projects/nftables/files/${P}.tar.xz
- verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
- "
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
- BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
-fi
-
-# See COPYING: new code is GPL-2+, existing code is GPL-2
-LICENSE="GPL-2 GPL-2+"
-SLOT="0/1"
-IUSE="debug doc +gmp json libedit python +readline static-libs test xtables"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=net-libs/libmnl-1.0.4:=
- >=net-libs/libnftnl-1.2.7:=
- gmp? ( dev-libs/gmp:= )
- json? ( dev-libs/jansson:= )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
- xtables? ( >=net-firewall/iptables-1.6.1:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND+="
- app-alternatives/lex
- virtual/pkgconfig
- doc? (
- app-text/asciidoc
- >=app-text/docbook2X-0.8.8-r4
- )
- python? ( ${DISTUTILS_DEPS} )
-"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- libedit? ( !readline )
-"
-
-src_prepare() {
- default
-
- if [[ ${PV} =~ ^[9]{4,}$ ]] ; then
- eautoreconf
- fi
-
- if use python; then
- pushd py >/dev/null || die
- distutils-r1_src_prepare
- popd >/dev/null || die
- fi
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc man-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with libedit cli editline)
- $(use_with readline cli readline)
- $(use_enable static-libs static)
- $(use_with xtables)
- )
-
- econf "${myeconfargs[@]}"
-
- if use python; then
- pushd py >/dev/null || die
- distutils-r1_src_configure
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- default
-
- if use python; then
- pushd py >/dev/null || die
- distutils-r1_src_compile
- popd >/dev/null || die
- fi
-}
-
-src_test() {
- emake check
-
- if [[ ${EUID} == 0 ]]; then
- edo tests/shell/run-tests.sh -v
- else
- ewarn "Skipping shell tests (requires root)"
- fi
-
- if use python; then
- pushd tests/py >/dev/null || die
- distutils-r1_src_test
- popd >/dev/null || die
- fi
-}
-
-python_test() {
- if [[ ${EUID} == 0 ]]; then
- edo "${EPYTHON}" nft-test.py
- else
- ewarn "Skipping Python tests (requires root)"
- fi
-}
-
-src_install() {
- default
-
- if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
- pushd doc >/dev/null || die
- doman *.?
- popd >/dev/null || die
- fi
-
- # Do it here instead of in src_prepare to avoid eautoreconf
- # rmdir lets us catch if more files end up installed in /etc/nftables
- dodir /usr/share/doc/${PF}/skels/
- mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
- rmdir "${ED}"/etc/nftables || die
-
- exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}-mk.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}-mk.confd ${PN}
- newinitd "${FILESDIR}"/${PN}-mk.init-r1 ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
-
- if use python ; then
- pushd py >/dev/null || die
- distutils-r1_src_install
- popd >/dev/null || die
- fi
-
- find "${ED}" -type f -name "*.la" -delete || die
-}
-
-pkg_preinst() {
- local stderr
-
- # There's a history of regressions with nftables upgrades. Perform a
- # safety check to help us spot them earlier. For the check to pass, the
- # currently loaded ruleset, if any, must be successfully evaluated by
- # the newly built instance of nft(8).
- if [[ -n ${ROOT} ]] || [[ ! -d /sys/module/nftables ]] || [[ ! -x /sbin/nft ]]; then
- # Either nftables isn't yet in use or nft(8) cannot be executed.
- return
- elif ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
- # Report errors induced by trying to list the ruleset but don't
- # treat them as being fatal.
- printf '%s\n' "${stderr}" >&2
- elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
- # Rulesets generated by iptables-nft are special in nature and
- # will not always be printed in a way that constitutes a valid
- # syntax for ntf(8). Ignore them.
- return
- elif set -- "${ED}"/usr/lib*/libnftables.so;
- ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft
- then
- eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
- eerror "nft. This probably means that there is a regression introduced by v${PV}."
- eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
- if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
- die "Aborting because of failed nft reload!"
- fi
- fi
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT}"/var/lib/nftables/rules-save
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f "${save_file}" ]]; then
- ( umask 177; touch "${save_file}" )
- elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
- ewarn "Your system has dangerous permissions for ${save_file}"
- ewarn "It is probably affected by bug #691326."
- ewarn "You may need to fix the permissions of the file. To do so,"
- ewarn "you can run the command in the line below as root."
- ewarn " 'chmod 600 \"${save_file}\"'"
- fi
-
- if has_version 'sys-apps/systemd'; then
- elog "If you wish to enable the firewall rules on boot (on systemd) you"
- elog "will need to enable the nftables-restore service."
- elog " 'systemctl enable ${PN}-restore.service'"
- elog
- elog "If you are creating firewall rules before the next system restart"
- elog "the nftables-restore service must be manually started in order to"
- elog "save those rules on shutdown."
- fi
-
- if has_version 'sys-apps/openrc'; then
- elog "If you wish to enable the firewall rules on boot (on openrc) you"
- elog "will need to enable the nftables service."
- elog " 'rc-update add ${PN} default'"
- elog
- elog "If you are creating or updating the firewall rules and wish to save"
- elog "them to be loaded on the next restart, use the \"save\" functionality"
- elog "in the init script."
- elog " 'rc-service ${PN} save'"
- fi
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-07-19 16:41 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2024-07-19 16:41 UTC (permalink / raw
To: gentoo-commits
commit: c9afe78f3999979cec85c8f5bdd7b24b4bef43f7
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 16:41:09 2024 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 16:41:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9afe78f
net-firewall/nftables: enable py3.13
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index a0795444e9b8..60c4f92e0ca9 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
inherit edo linux-info distutils-r1 systemd verify-sig
@@ -33,7 +33,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:=
- >=net-libs/libnftnl-1.2.6:=
+ >=net-libs/libnftnl-1.2.7:=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
@@ -177,7 +177,9 @@ pkg_preinst() {
# will not always be printed in a way that constitutes a valid
# syntax for ntf(8). Ignore them.
return
- elif set -- "${ED}"/usr/lib*/libnftables.so; ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft; then
+ elif set -- "${ED}"/usr/lib*/libnftables.so;
+ ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft
+ then
eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
eerror "nft. This probably means that there is a regression introduced by v${PV}."
eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-07-19 16:41 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2024-07-19 16:41 UTC (permalink / raw
To: gentoo-commits
commit: f8103e0a848785a3bb75f09af56136631698be94
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 16:40:42 2024 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 16:41:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8103e0a
net-firewall/nftables: add 1.1.0
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 +
net-firewall/nftables/nftables-1.1.0.ebuild | 228 ++++++++++++++++++++++++++++
2 files changed, 230 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 07f3200ad5d6..ada3885ff94a 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,2 +1,4 @@
DIST nftables-1.0.9.tar.xz 971968 BLAKE2B 1dfd1e79d3a7b645fd0995dad10893d70dbd13c92805c5cf30825acbbeb45071b2095072cecbd14b4f66cf0c284d2937a996c6b8013213438f53b92731af039d SHA512 dc34099658e283d9fd4d06264b593710121074558305ea23ab298c5f6a6b564a826f186241b6e106fbaa4e11160cf77e68bb52b4ce401b28d8d2e403cd4b88e8
DIST nftables-1.0.9.tar.xz.sig 566 BLAKE2B d4bb0a1f629d2950753799fba18f6c3ce50e5ff242816e392245a714bfeccb3408583added4362f1e0da47cc6e30b0b95f864cf8443a1872d59ae40b15b5f706 SHA512 9b96ce8539700713ff4802fb2deff5b2ea0dd3155c45f5a8f49a45f70226893c7449e0b79504833b2e63e5290290e693c962128a226ca8f6ca281185bdcd7b51
+DIST nftables-1.1.0.tar.xz 1057672 BLAKE2B cc876d9ba344480a2f5a12811206356d9edbd4a95d29e8127f43864a1b4e2ae9bc88a6d07f0d36469dfed190c5822fd6a7c69b6a9028fbb0bc1ec254e76083d9 SHA512 0b0c6789b7d987289b9770ea2d26e640c50bc7f300685476c4fc367b5ad3d6980fca63b8fe701f727fb3a94328eb7dc560ed5745b5ce44f171022de5714d3a86
+DIST nftables-1.1.0.tar.xz.sig 566 BLAKE2B 556287b40ad6f82d229ae18910ec2008c3168c7088e7149f8b5e80ca9983b90ec202cf01838c80e973845dd565f4f13a454d6dc99030a3f9cede6c33929da07d SHA512 1b3a42a76b378373c8a21b77aaf9c1fc57402360d49d56b22f02c50bef969b1f6867a4d40bda24b2dd1a0dfcf7148893938a7eea84ff8cc67d9edcd6b9b62bb4
diff --git a/net-firewall/nftables/nftables-1.1.0.ebuild b/net-firewall/nftables/nftables-1.1.0.ebuild
new file mode 100644
index 000000000000..60c4f92e0ca9
--- /dev/null
+++ b/net-firewall/nftables/nftables-1.1.0.ebuild
@@ -0,0 +1,228 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
+inherit edo linux-info distutils-r1 systemd verify-sig
+
+DESCRIPTION="Linux kernel firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+
+if [[ ${PV} =~ ^[9]{4,}$ ]]; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://git.netfilter.org/${PN}"
+ BDEPEND="app-alternatives/yacc"
+else
+ SRC_URI="
+ https://netfilter.org/projects/nftables/files/${P}.tar.xz
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+fi
+
+# See COPYING: new code is GPL-2+, existing code is GPL-2
+LICENSE="GPL-2 GPL-2+"
+SLOT="0/1"
+IUSE="debug doc +gmp json libedit python +readline static-libs test xtables"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:=
+ >=net-libs/libnftnl-1.2.7:=
+ gmp? ( dev-libs/gmp:= )
+ json? ( dev-libs/jansson:= )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND+="
+ app-alternatives/lex
+ virtual/pkgconfig
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
+ python? ( ${DISTUTILS_DEPS} )
+"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ libedit? ( !readline )
+"
+
+src_prepare() {
+ default
+
+ if [[ ${PV} =~ ^[9]{4,}$ ]] ; then
+ eautoreconf
+ fi
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_prepare
+ popd >/dev/null || die
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with libedit cli editline)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+
+ econf "${myeconfargs[@]}"
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_configure
+ popd >/dev/null || die
+ fi
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_compile
+ popd >/dev/null || die
+ fi
+}
+
+src_test() {
+ emake check
+
+ if [[ ${EUID} == 0 ]]; then
+ edo tests/shell/run-tests.sh -v
+ else
+ ewarn "Skipping shell tests (requires root)"
+ fi
+
+ if use python; then
+ pushd tests/py >/dev/null || die
+ distutils-r1_src_test
+ popd >/dev/null || die
+ fi
+}
+
+python_test() {
+ if [[ ${EUID} == 0 ]]; then
+ edo "${EPYTHON}" nft-test.py
+ else
+ ewarn "Skipping Python tests (requires root)"
+ fi
+}
+
+src_install() {
+ default
+
+ if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
+ pushd doc >/dev/null || die
+ doman *.?
+ popd >/dev/null || die
+ fi
+
+ # Do it here instead of in src_prepare to avoid eautoreconf
+ # rmdir lets us catch if more files end up installed in /etc/nftables
+ dodir /usr/share/doc/${PF}/skels/
+ mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
+ rmdir "${ED}"/etc/nftables || die
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}-mk.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}-mk.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}-mk.init-r1 ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ pushd py >/dev/null || die
+ distutils-r1_src_install
+ popd >/dev/null || die
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_preinst() {
+ local stderr
+
+ # There's a history of regressions with nftables upgrades. Perform a
+ # safety check to help us spot them earlier. For the check to pass, the
+ # currently loaded ruleset, if any, must be successfully evaluated by
+ # the newly built instance of nft(8).
+ if [[ -n ${ROOT} ]] || [[ ! -d /sys/module/nftables ]] || [[ ! -x /sbin/nft ]]; then
+ # Either nftables isn't yet in use or nft(8) cannot be executed.
+ return
+ elif ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
+ # Report errors induced by trying to list the ruleset but don't
+ # treat them as being fatal.
+ printf '%s\n' "${stderr}" >&2
+ elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
+ # Rulesets generated by iptables-nft are special in nature and
+ # will not always be printed in a way that constitutes a valid
+ # syntax for ntf(8). Ignore them.
+ return
+ elif set -- "${ED}"/usr/lib*/libnftables.so;
+ ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft
+ then
+ eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
+ eerror "nft. This probably means that there is a regression introduced by v${PV}."
+ eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
+ if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
+ die "Aborting because of failed nft reload!"
+ fi
+ fi
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}"/var/lib/nftables/rules-save
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ if has_version 'sys-apps/systemd'; then
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart"
+ elog "the nftables-restore service must be manually started in order to"
+ elog "save those rules on shutdown."
+ fi
+
+ if has_version 'sys-apps/openrc'; then
+ elog "If you wish to enable the firewall rules on boot (on openrc) you"
+ elog "will need to enable the nftables service."
+ elog " 'rc-update add ${PN} default'"
+ elog
+ elog "If you are creating or updating the firewall rules and wish to save"
+ elog "them to be loaded on the next restart, use the \"save\" functionality"
+ elog "in the init script."
+ elog " 'rc-service ${PN} save'"
+ fi
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2024-04-13 15:38 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2024-04-13 15:38 UTC (permalink / raw
To: gentoo-commits
commit: 3db8920138c46d19f2418586e31299c68cd600c7
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 15:36:49 2024 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 15:36:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3db89201
net-firewall/nftables: enable py3.12
Closes: https://bugs.gentoo.org/929691
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.9.ebuild | 2 +-
net-firewall/nftables/nftables-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-1.0.9.ebuild b/net-firewall/nftables/nftables-1.0.9.ebuild
index eab6320b4e4f..26816a8b5755 100644
--- a/net-firewall/nftables/nftables-1.0.9.ebuild
+++ b/net-firewall/nftables/nftables-1.0.9.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
inherit edo linux-info distutils-r1 systemd verify-sig
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 8f0a7f337111..a0795444e9b8 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
inherit edo linux-info distutils-r1 systemd verify-sig
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-12-17 19:11 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-12-17 19:11 UTC (permalink / raw
To: gentoo-commits
commit: 7d5ed5d96af8ba6a5839858d19d8049a018e85f4
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 19:11:13 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 19:11:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5ed5d9
net-firewall/nftables: Stabilize 1.0.9 hppa, #919962
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.9.ebuild b/net-firewall/nftables/nftables-1.0.9.ebuild
index 40e7008f0c38..abbb77889f5c 100644
--- a/net-firewall/nftables/nftables-1.0.9.ebuild
+++ b/net-firewall/nftables/nftables-1.0.9.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-12-15 13:02 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-12-15 13:02 UTC (permalink / raw
To: gentoo-commits
commit: 3672e81d1dd7c743d463d5d53f51517fa7edeea0
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 13:02:30 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 13:02:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3672e81d
net-firewall/nftables: Stabilize 1.0.9 x86, #919962
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.9.ebuild b/net-firewall/nftables/nftables-1.0.9.ebuild
index d2ee1c7deebb..40e7008f0c38 100644
--- a/net-firewall/nftables/nftables-1.0.9.ebuild
+++ b/net-firewall/nftables/nftables-1.0.9.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-12-15 10:44 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-12-15 10:44 UTC (permalink / raw
To: gentoo-commits
commit: f6cd5ae7fea560f39f6c692f560483a4ae85311c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 10:44:17 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 10:44:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6cd5ae7
net-firewall/nftables: Stabilize 1.0.9 ppc64, #919962
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.9.ebuild b/net-firewall/nftables/nftables-1.0.9.ebuild
index 5e55db2021a5..d2ee1c7deebb 100644
--- a/net-firewall/nftables/nftables-1.0.9.ebuild
+++ b/net-firewall/nftables/nftables-1.0.9.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-12-15 7:34 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-12-15 7:34 UTC (permalink / raw
To: gentoo-commits
commit: 4a8d8626ed258173f0266af0a771367741706229
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 07:33:58 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 07:33:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a8d8626
net-firewall/nftables: Stabilize 1.0.9 amd64, #919962
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.9.ebuild b/net-firewall/nftables/nftables-1.0.9.ebuild
index 42834231fbb9..b2d7711bdd2d 100644
--- a/net-firewall/nftables/nftables-1.0.9.ebuild
+++ b/net-firewall/nftables/nftables-1.0.9.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-12-15 7:27 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-12-15 7:27 UTC (permalink / raw
To: gentoo-commits
commit: 63942f317aa45a85cf90e6794817746ee2ce2c55
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 07:26:39 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 07:26:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63942f31
net-firewall/nftables: Stabilize 1.0.9 sparc, #919962
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.9.ebuild b/net-firewall/nftables/nftables-1.0.9.ebuild
index 491ded3b60cf..42834231fbb9 100644
--- a/net-firewall/nftables/nftables-1.0.9.ebuild
+++ b/net-firewall/nftables/nftables-1.0.9.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-12-15 7:16 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-12-15 7:16 UTC (permalink / raw
To: gentoo-commits
commit: b7bced62a4597349c91311854c9dc5d5cf22d6a8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 07:16:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 07:16:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7bced62
net-firewall/nftables: Stabilize 1.0.9 arm, #919962
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.9.ebuild b/net-firewall/nftables/nftables-1.0.9.ebuild
index 777ba6f02278..491ded3b60cf 100644
--- a/net-firewall/nftables/nftables-1.0.9.ebuild
+++ b/net-firewall/nftables/nftables-1.0.9.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-12-15 7:14 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-12-15 7:14 UTC (permalink / raw
To: gentoo-commits
commit: 6d3b7d192bd31ee78b868a52cee6ff84b2a5c611
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 07:13:41 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 07:13:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3b7d19
net-firewall/nftables: Stabilize 1.0.9 arm64, #919962
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.9.ebuild b/net-firewall/nftables/nftables-1.0.9.ebuild
index 9c828d3d4642..777ba6f02278 100644
--- a/net-firewall/nftables/nftables-1.0.9.ebuild
+++ b/net-firewall/nftables/nftables-1.0.9.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-10-20 0:51 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-10-20 0:51 UTC (permalink / raw
To: gentoo-commits
commit: c537b3488f60d0bffb657726b91d08643b5ccd71
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 20 00:29:11 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 20 00:50:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c537b348
net-firewall/nftables: add 1.0.9
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 ++
...{nftables-9999.ebuild => nftables-1.0.9.ebuild} | 27 ++++++++++++++--------
net-firewall/nftables/nftables-9999.ebuild | 27 ++++++++++++++--------
3 files changed, 38 insertions(+), 18 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 9efdba0b9910..0f38f5b23c9d 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -2,3 +2,5 @@ DIST nftables-1.0.7.tar.xz 857140 BLAKE2B 972adbb958f36b300618ce03fbbfc1fdb6fd55
DIST nftables-1.0.7.tar.xz.sig 566 BLAKE2B 53abe2598e9b362912d3e2e94ea6e04352d0484b9d1d645c8f18b6133be53d63a8d71d500e57528a57aededb84dedaf61010236afda560b16e7642db45e2f45c SHA512 b5821aa6939dc5b4d16065d9d7083e4ff40b9f99417354efbcbc95a8ccde43108b99a5b8a75a24086cd3df2291a049cad3adb7b06e2c098f0eb7861f85c5c768
DIST nftables-1.0.8.tar.xz 882980 BLAKE2B cdf174846cbc3e581993cdee3a24e5ead3fdbb3d6b24d51473ed88affb7fcf70279a8374a4963b31044a9e64cb72ddb28ca1f1686bbaa3101eed4d623fb67d05 SHA512 06053c05a0d7c84a5cc4d22733836dadf9880c3552df3dace6d30aea95c7e1edb5528ea45df8576f282c15bf58f23407e26efb22257bd98a478849a8bdd4f8d5
DIST nftables-1.0.8.tar.xz.sig 566 BLAKE2B 2f22b9467a55a46ec9e8caf13efe3cd59a6a1a867174602b583549ccaff54576b5f80b5ad9b1cefd208c3f49bc6ce07072626218f479628df369ed7294e1b83b SHA512 0ddd8f29dc5ba891069c63715719f11c0a4745f1e3cd9cd7f9e388ac35835cfbe8f34b371a2ce2a06cbda42384cc72d0bf57746fb02757d68a9b053bbbd67a77
+DIST nftables-1.0.9.tar.xz 971968 BLAKE2B 1dfd1e79d3a7b645fd0995dad10893d70dbd13c92805c5cf30825acbbeb45071b2095072cecbd14b4f66cf0c284d2937a996c6b8013213438f53b92731af039d SHA512 dc34099658e283d9fd4d06264b593710121074558305ea23ab298c5f6a6b564a826f186241b6e106fbaa4e11160cf77e68bb52b4ce401b28d8d2e403cd4b88e8
+DIST nftables-1.0.9.tar.xz.sig 566 BLAKE2B d4bb0a1f629d2950753799fba18f6c3ce50e5ff242816e392245a714bfeccb3408583added4362f1e0da47cc6e30b0b95f864cf8443a1872d59ae40b15b5f706 SHA512 9b96ce8539700713ff4802fb2deff5b2ea0dd3155c45f5a8f49a45f70226893c7449e0b79504833b2e63e5290290e693c962128a226ca8f6ca281185bdcd7b51
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-1.0.9.ebuild
similarity index 94%
copy from net-firewall/nftables/nftables-9999.ebuild
copy to net-firewall/nftables/nftables-1.0.9.ebuild
index db4ad6e3feb7..7a679d809706 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-1.0.9.ebuild
@@ -17,8 +17,10 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
EGIT_REPO_URI="https://git.netfilter.org/${PN}"
BDEPEND="sys-devel/bison"
else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
- verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
+ SRC_URI="
+ https://netfilter.org/projects/nftables/files/${P}.tar.xz
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
+ "
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
@@ -70,9 +72,6 @@ src_prepare() {
src_configure() {
local myeconfargs=(
- # We handle python separately
- --disable-python
- --disable-static
--sbindir="${EPREFIX}"/sbin
$(use_enable debug)
$(use_enable doc man-doc)
@@ -83,6 +82,7 @@ src_configure() {
$(use_enable static-libs static)
$(use_with xtables)
)
+
econf "${myeconfargs[@]}"
if use python; then
@@ -111,10 +111,19 @@ src_test() {
ewarn "Skipping shell tests (requires root)"
fi
- # Need to rig up Python eclass if using this, but it doesn't seem to work
- # for me anyway.
- #cd tests/py || die
- #"${EPYTHON}" nft-test.py || die
+ if use python; then
+ pushd tests/py >/dev/null || die
+ distutils-r1_src_test
+ popd >/dev/null || die
+ fi
+}
+
+python_test() {
+ if [[ ${EUID} == 0 ]]; then
+ edo "${EPYTHON}" nft-test.py
+ else
+ ewarn "Skipping Python tests (requires root)"
+ fi
}
src_install() {
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index db4ad6e3feb7..7a679d809706 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -17,8 +17,10 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
EGIT_REPO_URI="https://git.netfilter.org/${PN}"
BDEPEND="sys-devel/bison"
else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
- verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
+ SRC_URI="
+ https://netfilter.org/projects/nftables/files/${P}.tar.xz
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
+ "
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
@@ -70,9 +72,6 @@ src_prepare() {
src_configure() {
local myeconfargs=(
- # We handle python separately
- --disable-python
- --disable-static
--sbindir="${EPREFIX}"/sbin
$(use_enable debug)
$(use_enable doc man-doc)
@@ -83,6 +82,7 @@ src_configure() {
$(use_enable static-libs static)
$(use_with xtables)
)
+
econf "${myeconfargs[@]}"
if use python; then
@@ -111,10 +111,19 @@ src_test() {
ewarn "Skipping shell tests (requires root)"
fi
- # Need to rig up Python eclass if using this, but it doesn't seem to work
- # for me anyway.
- #cd tests/py || die
- #"${EPYTHON}" nft-test.py || die
+ if use python; then
+ pushd tests/py >/dev/null || die
+ distutils-r1_src_test
+ popd >/dev/null || die
+ fi
+}
+
+python_test() {
+ if [[ ${EUID} == 0 ]]; then
+ edo "${EPYTHON}" nft-test.py
+ else
+ ewarn "Skipping Python tests (requires root)"
+ fi
}
src_install() {
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-08-20 18:10 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-08-20 18:10 UTC (permalink / raw
To: gentoo-commits
commit: cb0f71d8e12890db2759f8e71259d7c6f2f7803b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 18:09:50 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 18:09:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb0f71d8
net-firewall/nftables: Stabilize 1.0.8-r2 arm, #912557
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.8-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.8-r2.ebuild b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
index 242bf08d27ae..f181f9d8158f 100644
--- a/net-firewall/nftables/nftables-1.0.8-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-08-20 17:37 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-08-20 17:37 UTC (permalink / raw
To: gentoo-commits
commit: 1495239521d9483c542c1ebc7295d939ce93e100
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 17:36:55 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 17:36:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14952395
net-firewall/nftables: Stabilize 1.0.8-r2 amd64, #912557
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.8-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.8-r2.ebuild b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
index 6e4363b4e446..242bf08d27ae 100644
--- a/net-firewall/nftables/nftables-1.0.8-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-08-20 13:16 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-08-20 13:16 UTC (permalink / raw
To: gentoo-commits
commit: cedda6e341e85979d77c2a2136917f07f11d3264
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 13:15:55 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 13:15:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cedda6e3
net-firewall/nftables: Stabilize 1.0.8-r2 arm64, #912557
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.8-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.8-r2.ebuild b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
index 6f5aa17df7d5..6e4363b4e446 100644
--- a/net-firewall/nftables/nftables-1.0.8-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="~amd64 ~arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-08-20 13:11 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-08-20 13:11 UTC (permalink / raw
To: gentoo-commits
commit: b074fdb2760821472ac133725a118f979f14a1c4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 13:10:52 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 13:10:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b074fdb2
net-firewall/nftables: Stabilize 1.0.8-r2 x86, #912557
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.8-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.8-r2.ebuild b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
index 6a75b5ea1519..6f5aa17df7d5 100644
--- a/net-firewall/nftables/nftables-1.0.8-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-08-20 13:11 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-08-20 13:11 UTC (permalink / raw
To: gentoo-commits
commit: 2ca86f46a23f8f3775c8e7b073a2a39ef9905946
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 13:10:51 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 13:10:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca86f46
net-firewall/nftables: Stabilize 1.0.8-r2 ppc64, #912557
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.8-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.8-r2.ebuild b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
index 62ffb1d2f12b..6a75b5ea1519 100644
--- a/net-firewall/nftables/nftables-1.0.8-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-08-20 11:27 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-08-20 11:27 UTC (permalink / raw
To: gentoo-commits
commit: ca4b51c6e7aca55910928e2fc9833b78a10e14c1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 11:27:44 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 11:27:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca4b51c6
net-firewall/nftables: Stabilize 1.0.8-r2 hppa, #912557
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.8-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.8-r2.ebuild b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
index 66fcb88a96d3..62ffb1d2f12b 100644
--- a/net-firewall/nftables/nftables-1.0.8-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-08-20 8:29 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-08-20 8:29 UTC (permalink / raw
To: gentoo-commits
commit: 0b78bebcddf7d2fe49a863d9680003e62604679b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 08:29:09 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 08:29:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b78bebc
net-firewall/nftables: Stabilize 1.0.8-r2 ppc, #912557
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.8-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.8-r2.ebuild b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
index 4dfd26f6c24f..66fcb88a96d3 100644
--- a/net-firewall/nftables/nftables-1.0.8-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-08-20 8:29 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-08-20 8:29 UTC (permalink / raw
To: gentoo-commits
commit: b382ecf44b2297a921b9db692678cd2d60b57854
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 08:29:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 08:29:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b382ecf4
net-firewall/nftables: Stabilize 1.0.8-r2 sparc, #912557
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.8-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.8-r2.ebuild b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
index d19cafc3218a..4dfd26f6c24f 100644
--- a/net-firewall/nftables/nftables-1.0.8-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r2.ebuild
@@ -21,7 +21,7 @@ else
https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )
"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-07-16 5:25 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-07-16 5:25 UTC (permalink / raw
To: gentoo-commits
commit: c6e48f7915516ed955c669d7a185c6ad8dfdd266
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 16 05:24:36 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 16 05:24:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e48f79
net-firewall/nftables: update DESCRIPTION
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7-r1.ebuild | 2 +-
net-firewall/nftables/nftables-1.0.8-r1.ebuild | 2 +-
net-firewall/nftables/nftables-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-firewall/nftables/nftables-1.0.7-r1.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
index 461806c0f9f7..48293af58b97 100644
--- a/net-firewall/nftables/nftables-1.0.7-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{9..11} )
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
inherit edo linux-info distutils-r1 systemd verify-sig
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+DESCRIPTION="Linux kernel firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
if [[ ${PV} =~ ^[9]{4,}$ ]]; then
diff --git a/net-firewall/nftables/nftables-1.0.8-r1.ebuild b/net-firewall/nftables/nftables-1.0.8-r1.ebuild
index 6acc2d710064..db4ad6e3feb7 100644
--- a/net-firewall/nftables/nftables-1.0.8-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r1.ebuild
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{10..11} )
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
inherit edo linux-info distutils-r1 systemd verify-sig
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+DESCRIPTION="Linux kernel firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
if [[ ${PV} =~ ^[9]{4,}$ ]]; then
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 6acc2d710064..db4ad6e3feb7 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{10..11} )
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
inherit edo linux-info distutils-r1 systemd verify-sig
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+DESCRIPTION="Linux kernel firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
if [[ ${PV} =~ ^[9]{4,}$ ]]; then
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-07-15 13:23 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-07-15 13:23 UTC (permalink / raw
To: gentoo-commits
commit: 430383814e62b1e25efaf2f8e786db772a8b02f4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 13:20:41 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 13:20:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43038381
net-firewall/nftables: always install -mk variants
Fixes: 6a42bdbee74a5273dc7177cb62a250dffe21dea8
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../nftables/{nftables-1.0.8.ebuild => nftables-1.0.8-r1.ebuild} | 6 +++---
net-firewall/nftables/nftables-9999.ebuild | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/net-firewall/nftables/nftables-1.0.8.ebuild b/net-firewall/nftables/nftables-1.0.8-r1.ebuild
similarity index 97%
rename from net-firewall/nftables/nftables-1.0.8.ebuild
rename to net-firewall/nftables/nftables-1.0.8-r1.ebuild
index d1055f03bbea..6acc2d710064 100644
--- a/net-firewall/nftables/nftables-1.0.8.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8-r1.ebuild
@@ -133,9 +133,9 @@ src_install() {
rmdir "${ED}"/etc/nftables || die
exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
+ newexe "${FILESDIR}"/libexec/${PN}-mk.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}-mk.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}-mk.init-r1 ${PN}
keepdir /var/lib/nftables
systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index d1055f03bbea..6acc2d710064 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -133,9 +133,9 @@ src_install() {
rmdir "${ED}"/etc/nftables || die
exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
+ newexe "${FILESDIR}"/libexec/${PN}-mk.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}-mk.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}-mk.init-r1 ${PN}
keepdir /var/lib/nftables
systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-07-15 13:18 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-07-15 13:18 UTC (permalink / raw
To: gentoo-commits
commit: 6a42bdbee74a5273dc7177cb62a250dffe21dea8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 13:15:29 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 13:17:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a42bdbe
net-firewall/nftables: add 1.0.8
With USE=modern-kernel dropped, for two reasons:
1. We do USE=old-kernel for this normally
2. > 3.19 is not simply "modern".
And I suppose a third:
3. You shouldn't use nftables on such an old kernel anyway, as it's buggy.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 ++
...{nftables-9999.ebuild => nftables-1.0.8.ebuild} | 31 ++++++----------------
net-firewall/nftables/nftables-9999.ebuild | 31 ++++++----------------
3 files changed, 18 insertions(+), 46 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 61843826524a..9efdba0b9910 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,2 +1,4 @@
DIST nftables-1.0.7.tar.xz 857140 BLAKE2B 972adbb958f36b300618ce03fbbfc1fdb6fd55a3512227e4bc1fd71365be5cc8d3ee105424e8cc513588100bf00d5e69486310435efb2b0d3f5d464ed6999859 SHA512 063f3a42327fd4dca9214314c7e7bcc7310f2ccbbce4c36f86a291d61d443f94b0f91435ecd04eb757596df8be91a802daeef394ba422c3623a81b2917e01116
DIST nftables-1.0.7.tar.xz.sig 566 BLAKE2B 53abe2598e9b362912d3e2e94ea6e04352d0484b9d1d645c8f18b6133be53d63a8d71d500e57528a57aededb84dedaf61010236afda560b16e7642db45e2f45c SHA512 b5821aa6939dc5b4d16065d9d7083e4ff40b9f99417354efbcbc95a8ccde43108b99a5b8a75a24086cd3df2291a049cad3adb7b06e2c098f0eb7861f85c5c768
+DIST nftables-1.0.8.tar.xz 882980 BLAKE2B cdf174846cbc3e581993cdee3a24e5ead3fdbb3d6b24d51473ed88affb7fcf70279a8374a4963b31044a9e64cb72ddb28ca1f1686bbaa3101eed4d623fb67d05 SHA512 06053c05a0d7c84a5cc4d22733836dadf9880c3552df3dace6d30aea95c7e1edb5528ea45df8576f282c15bf58f23407e26efb22257bd98a478849a8bdd4f8d5
+DIST nftables-1.0.8.tar.xz.sig 566 BLAKE2B 2f22b9467a55a46ec9e8caf13efe3cd59a6a1a867174602b583549ccaff54576b5f80b5ad9b1cefd208c3f49bc6ce07072626218f479628df369ed7294e1b83b SHA512 0ddd8f29dc5ba891069c63715719f11c0a4745f1e3cd9cd7f9e388ac35835cfbe8f34b371a2ce2a06cbda42384cc72d0bf57746fb02757d68a9b053bbbd67a77
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-1.0.8.ebuild
similarity index 89%
copy from net-firewall/nftables/nftables-9999.ebuild
copy to net-firewall/nftables/nftables-1.0.8.ebuild
index bee5c7fd77bd..d1055f03bbea 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-1.0.8.ebuild
@@ -4,7 +4,8 @@
EAPI=8
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
inherit edo linux-info distutils-r1 systemd verify-sig
@@ -25,21 +26,19 @@ fi
# See COPYING: new code is GPL-2+, existing code is GPL-2
LICENSE="GPL-2 GPL-2+"
SLOT="0/1"
-IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
+IUSE="debug doc +gmp json libedit python +readline static-libs test xtables"
RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:=
- >=net-libs/libnftnl-1.2.5:=
+ >=net-libs/libnftnl-1.2.6:=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:= )
xtables? ( >=net-firewall/iptables-1.6.1:= )
"
-
DEPEND="${RDEPEND}"
-
BDEPEND+="
sys-devel/flex
virtual/pkgconfig
@@ -47,7 +46,7 @@ BDEPEND+="
app-text/asciidoc
>=app-text/docbook2X-0.8.8-r4
)
- python? ( ${PYTHON_DEPS} )
+ python? ( ${DISTUTILS_DEPS} )
"
REQUIRED_USE="
@@ -55,18 +54,6 @@ REQUIRED_USE="
libedit? ( !readline )
"
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern-kernel && kernel_is lt 3 18; then
- eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
src_prepare() {
default
@@ -145,12 +132,10 @@ src_install() {
mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
rmdir "${ED}"/etc/nftables || die
- local mksuffix="$(usex modern-kernel '-mk' '')"
-
exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
+ newexe "${FILESDIR}"/libexec/${PN}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
keepdir /var/lib/nftables
systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index bee5c7fd77bd..d1055f03bbea 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -4,7 +4,8 @@
EAPI=8
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
inherit edo linux-info distutils-r1 systemd verify-sig
@@ -25,21 +26,19 @@ fi
# See COPYING: new code is GPL-2+, existing code is GPL-2
LICENSE="GPL-2 GPL-2+"
SLOT="0/1"
-IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
+IUSE="debug doc +gmp json libedit python +readline static-libs test xtables"
RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:=
- >=net-libs/libnftnl-1.2.5:=
+ >=net-libs/libnftnl-1.2.6:=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:= )
xtables? ( >=net-firewall/iptables-1.6.1:= )
"
-
DEPEND="${RDEPEND}"
-
BDEPEND+="
sys-devel/flex
virtual/pkgconfig
@@ -47,7 +46,7 @@ BDEPEND+="
app-text/asciidoc
>=app-text/docbook2X-0.8.8-r4
)
- python? ( ${PYTHON_DEPS} )
+ python? ( ${DISTUTILS_DEPS} )
"
REQUIRED_USE="
@@ -55,18 +54,6 @@ REQUIRED_USE="
libedit? ( !readline )
"
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern-kernel && kernel_is lt 3 18; then
- eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
src_prepare() {
default
@@ -145,12 +132,10 @@ src_install() {
mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
rmdir "${ED}"/etc/nftables || die
- local mksuffix="$(usex modern-kernel '-mk' '')"
-
exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
+ newexe "${FILESDIR}"/libexec/${PN}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
keepdir /var/lib/nftables
systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-05-01 13:36 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-05-01 13:36 UTC (permalink / raw
To: gentoo-commits
commit: 79559026aedfa0a4eff3a063a301d8e68fb06934
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 1 13:33:00 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 1 13:33:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79559026
net-firewall/nftables: drop 1.0.5-r1, 1.0.6-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/Manifest | 4 -
net-firewall/nftables/nftables-1.0.5-r1.ebuild | 231 -------------------------
net-firewall/nftables/nftables-1.0.6-r1.ebuild | 231 -------------------------
3 files changed, 466 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 2d752595dfcf..61843826524a 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,6 +1,2 @@
-DIST nftables-1.0.5.tar.bz2 982538 BLAKE2B 5d58170b8fc6feccc1581653cd0815d37b59b43b7f4f9bff9f7fb46928c6c7eee5a6f07150c404f7cf42f5a1d2e980860a4dd2589b99773179e019a093c42cfa SHA512 51cbf10579db7eed58f4358044840f2ce1bffe84533c5fb03e0ebcc702970856455576ac793169c94d38a9f8148e33631ad91444e54a8be189d93af7c27feb9a
-DIST nftables-1.0.5.tar.bz2.sig 566 BLAKE2B 7744a84c213999b35c3094fa5d9f974acec6fedac3d310422834285823825bcb14fb55b463d88b91fa41d79e33ce34498769992d912b7178fa1f70bd7a1e0977 SHA512 fbff6b5b28d81e964d4523729c7866d0b52d764d090cae70a43d850bc579b17308ec41a3d7fe6707877850028e99ad09c33b5e87fa16ac5199dfeba193a61511
-DIST nftables-1.0.6.tar.xz 834584 BLAKE2B 7c14db883f0ee9394b603870c93dcc92ce472bf0349a59d0e377f1d44efc870df3449d6f2dc9a198f2e396e5d73b19532dac498e832083ca8cf65cc78db9ccd4 SHA512 afe08381acd27d39cc94743190b07c579f8c49c4182c9b8753d5b3a0b7d1fe89ed664fdbc19cef1547c3ca4a0c1e32ca4303dba9ec626272fa08c77e88c11119
-DIST nftables-1.0.6.tar.xz.sig 566 BLAKE2B 3f90c48f521a1c433be9d0bee3b2beb080ac51f07c213f598af217b2d1b2e883e432f014c1a378c18eac4b8620e323fbdebb654aa53b345210a3f62ccfe93507 SHA512 83657d213e675c8ffa377112efc7fb0f5b756287f06aa9ccd3716eb76b87a14dab01a3ee82929511f26f7e9ce407d8b7ac0dd706c8211ad007fdfcf11d679a93
DIST nftables-1.0.7.tar.xz 857140 BLAKE2B 972adbb958f36b300618ce03fbbfc1fdb6fd55a3512227e4bc1fd71365be5cc8d3ee105424e8cc513588100bf00d5e69486310435efb2b0d3f5d464ed6999859 SHA512 063f3a42327fd4dca9214314c7e7bcc7310f2ccbbce4c36f86a291d61d443f94b0f91435ecd04eb757596df8be91a802daeef394ba422c3623a81b2917e01116
DIST nftables-1.0.7.tar.xz.sig 566 BLAKE2B 53abe2598e9b362912d3e2e94ea6e04352d0484b9d1d645c8f18b6133be53d63a8d71d500e57528a57aededb84dedaf61010236afda560b16e7642db45e2f45c SHA512 b5821aa6939dc5b4d16065d9d7083e4ff40b9f99417354efbcbc95a8ccde43108b99a5b8a75a24086cd3df2291a049cad3adb7b06e2c098f0eb7861f85c5c768
diff --git a/net-firewall/nftables/nftables-1.0.5-r1.ebuild b/net-firewall/nftables/nftables-1.0.5-r1.ebuild
deleted file mode 100644
index 232290e36198..000000000000
--- a/net-firewall/nftables/nftables-1.0.5-r1.ebuild
+++ /dev/null
@@ -1,231 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..11} )
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
-inherit edo linux-info distutils-r1 systemd verify-sig
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-
-if [[ ${PV} =~ ^[9]{4,}$ ]]; then
- inherit autotools git-r3
- EGIT_REPO_URI="https://git.netfilter.org/${PN}"
- BDEPEND="sys-devel/bison"
-else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
- verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
- BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
-fi
-
-LICENSE="GPL-2"
-SLOT="0/1"
-IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.2.3:0=
- gmp? ( dev-libs/gmp:= )
- json? ( dev-libs/jansson:= )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
- xtables? ( >=net-firewall/iptables-1.6.1:= )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND+="
- sys-devel/flex
- virtual/pkgconfig
- doc? (
- app-text/asciidoc
- >=app-text/docbook2X-0.8.8-r4
- )
- python? ( ${PYTHON_DEPS} )
-"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- libedit? ( !readline )
-"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern-kernel && kernel_is lt 3 18; then
- eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} =~ ^[9]{4,}$ ]] ; then
- eautoreconf
- fi
-
- if use python; then
- pushd py >/dev/null || die
- distutils-r1_src_prepare
- popd >/dev/null || die
- fi
-}
-
-src_configure() {
- local myeconfargs=(
- # We handle python separately
- --disable-python
- --disable-static
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc man-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with libedit cli editline)
- $(use_with readline cli readline)
- $(use_enable static-libs static)
- $(use_with xtables)
- )
- econf "${myeconfargs[@]}"
-
- if use python; then
- pushd py >/dev/null || die
- distutils-r1_src_configure
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- default
-
- if use python; then
- pushd py >/dev/null || die
- distutils-r1_src_compile
- popd >/dev/null || die
- fi
-}
-
-src_test() {
- emake check
-
- if [[ ${EUID} == 0 ]]; then
- edo tests/shell/run-tests.sh -v
- else
- ewarn "Skipping shell tests (requires root)"
- fi
-
- # Need to rig up Python eclass if using this, but it doesn't seem to work
- # for me anyway.
- #cd tests/py || die
- #"${EPYTHON}" nft-test.py || die
-}
-
-src_install() {
- default
-
- if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
- pushd doc >/dev/null || die
- doman *.?
- popd >/dev/null || die
- fi
-
- # Do it here instead of in src_prepare to avoid eautoreconf
- # rmdir lets us catch if more files end up installed in /etc/nftables
- dodir /usr/share/doc/${PF}/skels/
- mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
- rmdir "${ED}"/etc/nftables || die
-
- local mksuffix="$(usex modern-kernel '-mk' '')"
-
- exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
-
- if use python ; then
- pushd py >/dev/null || die
- distutils-r1_src_install
- popd >/dev/null || die
- fi
-
- find "${ED}" -type f -name "*.la" -delete || die
-}
-
-pkg_preinst() {
- local stderr
-
- # There's a history of regressions with nftables upgrades. Perform a
- # safety check to help us spot them earlier. For the check to pass, the
- # currently loaded ruleset, if any, must be successfully evaluated by
- # the newly built instance of nft(8).
- if [[ -n ${ROOT} ]] || [[ ! -d /sys/module/nftables ]] || [[ ! -x /sbin/nft ]]; then
- # Either nftables isn't yet in use or nft(8) cannot be executed.
- return
- elif ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
- # Report errors induced by trying to list the ruleset but don't
- # treat them as being fatal.
- printf '%s\n' "${stderr}" >&2
- elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
- # Rulesets generated by iptables-nft are special in nature and
- # will not always be printed in a way that constitutes a valid
- # syntax for ntf(8). Ignore them.
- return
- elif set -- "${ED}"/usr/lib*/libnftables.so; ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft; then
- eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
- eerror "nft. This probably means that there is a regression introduced by v${PV}."
- eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
- if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
- die "Aborting because of failed nft reload!"
- fi
- fi
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT}"/var/lib/nftables/rules-save
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f "${save_file}" ]]; then
- ( umask 177; touch "${save_file}" )
- elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
- ewarn "Your system has dangerous permissions for ${save_file}"
- ewarn "It is probably affected by bug #691326."
- ewarn "You may need to fix the permissions of the file. To do so,"
- ewarn "you can run the command in the line below as root."
- ewarn " 'chmod 600 \"${save_file}\"'"
- fi
-
- if has_version 'sys-apps/systemd'; then
- elog "If you wish to enable the firewall rules on boot (on systemd) you"
- elog "will need to enable the nftables-restore service."
- elog " 'systemctl enable ${PN}-restore.service'"
- elog
- elog "If you are creating firewall rules before the next system restart"
- elog "the nftables-restore service must be manually started in order to"
- elog "save those rules on shutdown."
- fi
-
- if has_version 'sys-apps/openrc'; then
- elog "If you wish to enable the firewall rules on boot (on openrc) you"
- elog "will need to enable the nftables service."
- elog " 'rc-update add ${PN} default'"
- elog
- elog "If you are creating or updating the firewall rules and wish to save"
- elog "them to be loaded on the next restart, use the \"save\" functionality"
- elog "in the init script."
- elog " 'rc-service ${PN} save'"
- fi
-}
diff --git a/net-firewall/nftables/nftables-1.0.6-r1.ebuild b/net-firewall/nftables/nftables-1.0.6-r1.ebuild
deleted file mode 100644
index 80c434c2fc43..000000000000
--- a/net-firewall/nftables/nftables-1.0.6-r1.ebuild
+++ /dev/null
@@ -1,231 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..11} )
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
-inherit edo linux-info distutils-r1 systemd verify-sig
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-
-if [[ ${PV} =~ ^[9]{4,}$ ]]; then
- inherit autotools git-r3
- EGIT_REPO_URI="https://git.netfilter.org/${PN}"
- BDEPEND="sys-devel/bison"
-else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
- verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
- BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
-fi
-
-LICENSE="GPL-2"
-SLOT="0/1"
-IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=net-libs/libmnl-1.0.4:=
- >=net-libs/libnftnl-1.2.4:=
- gmp? ( dev-libs/gmp:= )
- json? ( dev-libs/jansson:= )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
- xtables? ( >=net-firewall/iptables-1.6.1:= )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND+="
- sys-devel/flex
- virtual/pkgconfig
- doc? (
- app-text/asciidoc
- >=app-text/docbook2X-0.8.8-r4
- )
- python? ( ${PYTHON_DEPS} )
-"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- libedit? ( !readline )
-"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern-kernel && kernel_is lt 3 18; then
- eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} =~ ^[9]{4,}$ ]] ; then
- eautoreconf
- fi
-
- if use python; then
- pushd py >/dev/null || die
- distutils-r1_src_prepare
- popd >/dev/null || die
- fi
-}
-
-src_configure() {
- local myeconfargs=(
- # We handle python separately
- --disable-python
- --disable-static
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc man-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with libedit cli editline)
- $(use_with readline cli readline)
- $(use_enable static-libs static)
- $(use_with xtables)
- )
- econf "${myeconfargs[@]}"
-
- if use python; then
- pushd py >/dev/null || die
- distutils-r1_src_configure
- popd >/dev/null || die
- fi
-}
-
-src_compile() {
- default
-
- if use python; then
- pushd py >/dev/null || die
- distutils-r1_src_compile
- popd >/dev/null || die
- fi
-}
-
-src_test() {
- emake check
-
- if [[ ${EUID} == 0 ]]; then
- edo tests/shell/run-tests.sh -v
- else
- ewarn "Skipping shell tests (requires root)"
- fi
-
- # Need to rig up Python eclass if using this, but it doesn't seem to work
- # for me anyway.
- #cd tests/py || die
- #"${EPYTHON}" nft-test.py || die
-}
-
-src_install() {
- default
-
- if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
- pushd doc >/dev/null || die
- doman *.?
- popd >/dev/null || die
- fi
-
- # Do it here instead of in src_prepare to avoid eautoreconf
- # rmdir lets us catch if more files end up installed in /etc/nftables
- dodir /usr/share/doc/${PF}/skels/
- mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
- rmdir "${ED}"/etc/nftables || die
-
- local mksuffix="$(usex modern-kernel '-mk' '')"
-
- exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
-
- if use python ; then
- pushd py >/dev/null || die
- distutils-r1_src_install
- popd >/dev/null || die
- fi
-
- find "${ED}" -type f -name "*.la" -delete || die
-}
-
-pkg_preinst() {
- local stderr
-
- # There's a history of regressions with nftables upgrades. Perform a
- # safety check to help us spot them earlier. For the check to pass, the
- # currently loaded ruleset, if any, must be successfully evaluated by
- # the newly built instance of nft(8).
- if [[ -n ${ROOT} ]] || [[ ! -d /sys/module/nftables ]] || [[ ! -x /sbin/nft ]]; then
- # Either nftables isn't yet in use or nft(8) cannot be executed.
- return
- elif ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
- # Report errors induced by trying to list the ruleset but don't
- # treat them as being fatal.
- printf '%s\n' "${stderr}" >&2
- elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
- # Rulesets generated by iptables-nft are special in nature and
- # will not always be printed in a way that constitutes a valid
- # syntax for ntf(8). Ignore them.
- return
- elif set -- "${ED}"/usr/lib*/libnftables.so; ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft; then
- eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
- eerror "nft. This probably means that there is a regression introduced by v${PV}."
- eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
- if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
- die "Aborting because of failed nft reload!"
- fi
- fi
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT}"/var/lib/nftables/rules-save
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f "${save_file}" ]]; then
- ( umask 177; touch "${save_file}" )
- elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
- ewarn "Your system has dangerous permissions for ${save_file}"
- ewarn "It is probably affected by bug #691326."
- ewarn "You may need to fix the permissions of the file. To do so,"
- ewarn "you can run the command in the line below as root."
- ewarn " 'chmod 600 \"${save_file}\"'"
- fi
-
- if has_version 'sys-apps/systemd'; then
- elog "If you wish to enable the firewall rules on boot (on systemd) you"
- elog "will need to enable the nftables-restore service."
- elog " 'systemctl enable ${PN}-restore.service'"
- elog
- elog "If you are creating firewall rules before the next system restart"
- elog "the nftables-restore service must be manually started in order to"
- elog "save those rules on shutdown."
- fi
-
- if has_version 'sys-apps/openrc'; then
- elog "If you wish to enable the firewall rules on boot (on openrc) you"
- elog "will need to enable the nftables service."
- elog " 'rc-update add ${PN} default'"
- elog
- elog "If you are creating or updating the firewall rules and wish to save"
- elog "them to be loaded on the next restart, use the \"save\" functionality"
- elog "in the init script."
- elog " 'rc-service ${PN} save'"
- fi
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-04-29 8:48 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-04-29 8:48 UTC (permalink / raw
To: gentoo-commits
commit: 7479c520fdabeba0dbe4f7efd9c2a9d514d5cb2c
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Fri Apr 28 12:35:27 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 29 08:47:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7479c520
net-firewall/nftables: stable 1.0.7-r1 for hppa, bug #904916
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.7-r1.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
index e76e0eb87406..461806c0f9f7 100644
--- a/net-firewall/nftables/nftables-1.0.7-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-04-29 8:48 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-04-29 8:48 UTC (permalink / raw
To: gentoo-commits
commit: 1248ebc4d186efdf4c4c43be162593559d94bb1f
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Fri Apr 28 12:31:58 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 29 08:47:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1248ebc4
net-firewall/nftables: stable 1.0.7-r1 for sparc, bug #904916
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.7-r1.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
index a8b06e75e1a3..e76e0eb87406 100644
--- a/net-firewall/nftables/nftables-1.0.7-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-04-24 12:38 Jakov Smolić
0 siblings, 0 replies; 217+ messages in thread
From: Jakov Smolić @ 2023-04-24 12:38 UTC (permalink / raw
To: gentoo-commits
commit: ba2626e01422eef9927fa51fd5b34d7a70b60d0d
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 24 12:38:18 2023 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Apr 24 12:38:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba2626e0
net-firewall/nftables: Stabilize 1.0.7-r1 ppc, #904916
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.7-r1.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
index f0ed5386769b..a8b06e75e1a3 100644
--- a/net-firewall/nftables/nftables-1.0.7-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-04-24 8:25 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-04-24 8:25 UTC (permalink / raw
To: gentoo-commits
commit: a87b18fe1bdf31641058573f00114381ffbd6de1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 24 08:25:06 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 24 08:25:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87b18fe
net-firewall/nftables: Stabilize 1.0.7-r1 ppc64, #904916
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.7-r1.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
index 061a97f8c2f9..f0ed5386769b 100644
--- a/net-firewall/nftables/nftables-1.0.7-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-04-24 8:25 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-04-24 8:25 UTC (permalink / raw
To: gentoo-commits
commit: f74d4da77c085bb4ec1f1b82654393abf52b7c88
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 24 08:25:05 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 24 08:25:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f74d4da7
net-firewall/nftables: Stabilize 1.0.7-r1 arm, #904916
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.7-r1.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
index ea92092b6450..061a97f8c2f9 100644
--- a/net-firewall/nftables/nftables-1.0.7-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-04-23 22:59 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-04-23 22:59 UTC (permalink / raw
To: gentoo-commits
commit: e605c94c6e0e53c9c0de6fcdea103b93b7c668bf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 22:59:30 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 22:59:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e605c94c
net-firewall/nftables: Stabilize 1.0.7-r1 arm64, #904916
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.7-r1.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
index 43730acaf1c2..411490762503 100644
--- a/net-firewall/nftables/nftables-1.0.7-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-04-23 22:59 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-04-23 22:59 UTC (permalink / raw
To: gentoo-commits
commit: 90b287735ec608aebbd39691cc5c2231af843f14
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 22:59:31 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 22:59:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90b28773
net-firewall/nftables: Stabilize 1.0.7-r1 x86, #904916
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.7-r1.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
index 411490762503..ea92092b6450 100644
--- a/net-firewall/nftables/nftables-1.0.7-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-04-23 22:59 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-04-23 22:59 UTC (permalink / raw
To: gentoo-commits
commit: 7963f86c3f731869ea21163bf84abf1523020c24
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 22:59:29 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 22:59:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7963f86c
net-firewall/nftables: Stabilize 1.0.7-r1 amd64, #904916
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.7-r1.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
index bee5c7fd77bd..43730acaf1c2 100644
--- a/net-firewall/nftables/nftables-1.0.7-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-22 4:06 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-03-22 4:06 UTC (permalink / raw
To: gentoo-commits
commit: a0152b9752228314727fb6e1e757c1305a08b4ec
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Wed Mar 22 03:29:49 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 04:05:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0152b97
net-firewall/nftables: Always require sys-devel/flex for building
It is always necessary for flex to be available, whereas bison is only
necessary where building from git. Update the BDEPEND declarations to
reflect this. Also, bump the revision number for the formal releases
because --changed-deps isn't a commonly used option and nftables isn't
a particularly large package.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Closes: https://bugs.gentoo.org/876730
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../nftables/{nftables-1.0.5.ebuild => nftables-1.0.5-r1.ebuild} | 9 +++------
.../nftables/{nftables-1.0.6.ebuild => nftables-1.0.6-r1.ebuild} | 9 +++------
.../nftables/{nftables-1.0.7.ebuild => nftables-1.0.7-r1.ebuild} | 9 +++------
net-firewall/nftables/nftables-9999.ebuild | 9 +++------
4 files changed, 12 insertions(+), 24 deletions(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5-r1.ebuild
similarity index 98%
rename from net-firewall/nftables/nftables-1.0.5.ebuild
rename to net-firewall/nftables/nftables-1.0.5-r1.ebuild
index 5226ca74577d..232290e36198 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5-r1.ebuild
@@ -14,16 +14,12 @@ HOMEPAGE="https://netfilter.org/projects/nftables/"
if [[ ${PV} =~ ^[9]{4,}$ ]]; then
inherit autotools git-r3
EGIT_REPO_URI="https://git.netfilter.org/${PN}"
-
- BDEPEND="
- sys-devel/bison
- sys-devel/flex
- "
+ BDEPEND="sys-devel/bison"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
- BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
LICENSE="GPL-2"
@@ -44,6 +40,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND+="
+ sys-devel/flex
virtual/pkgconfig
doc? (
app-text/asciidoc
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6-r1.ebuild
similarity index 98%
rename from net-firewall/nftables/nftables-1.0.6.ebuild
rename to net-firewall/nftables/nftables-1.0.6-r1.ebuild
index e5de7f69c0a1..80c434c2fc43 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6-r1.ebuild
@@ -14,16 +14,12 @@ HOMEPAGE="https://netfilter.org/projects/nftables/"
if [[ ${PV} =~ ^[9]{4,}$ ]]; then
inherit autotools git-r3
EGIT_REPO_URI="https://git.netfilter.org/${PN}"
-
- BDEPEND="
- sys-devel/bison
- sys-devel/flex
- "
+ BDEPEND="sys-devel/bison"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
- BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
LICENSE="GPL-2"
@@ -44,6 +40,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND+="
+ sys-devel/flex
virtual/pkgconfig
doc? (
app-text/asciidoc
diff --git a/net-firewall/nftables/nftables-1.0.7.ebuild b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
similarity index 98%
rename from net-firewall/nftables/nftables-1.0.7.ebuild
rename to net-firewall/nftables/nftables-1.0.7-r1.ebuild
index 13ecec61248b..bee5c7fd77bd 100644
--- a/net-firewall/nftables/nftables-1.0.7.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7-r1.ebuild
@@ -14,16 +14,12 @@ HOMEPAGE="https://netfilter.org/projects/nftables/"
if [[ ${PV} =~ ^[9]{4,}$ ]]; then
inherit autotools git-r3
EGIT_REPO_URI="https://git.netfilter.org/${PN}"
-
- BDEPEND="
- sys-devel/bison
- sys-devel/flex
- "
+ BDEPEND="sys-devel/bison"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
- BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
# See COPYING: new code is GPL-2+, existing code is GPL-2
@@ -45,6 +41,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND+="
+ sys-devel/flex
virtual/pkgconfig
doc? (
app-text/asciidoc
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 13ecec61248b..bee5c7fd77bd 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -14,16 +14,12 @@ HOMEPAGE="https://netfilter.org/projects/nftables/"
if [[ ${PV} =~ ^[9]{4,}$ ]]; then
inherit autotools git-r3
EGIT_REPO_URI="https://git.netfilter.org/${PN}"
-
- BDEPEND="
- sys-devel/bison
- sys-devel/flex
- "
+ BDEPEND="sys-devel/bison"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
- BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
# See COPYING: new code is GPL-2+, existing code is GPL-2
@@ -45,6 +41,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND+="
+ sys-devel/flex
virtual/pkgconfig
doc? (
app-text/asciidoc
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-19 22:22 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-03-19 22:22 UTC (permalink / raw
To: gentoo-commits
commit: 538020594e352762d668bdb9eab6d992b9e13a97
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Mar 19 08:36:47 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 22:21:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53802059
net-firewall/nftables: Require >=libnftnl-1.2.5 for 1.0.7 and 9999
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.7.ebuild | 2 +-
net-firewall/nftables/nftables-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-1.0.7.ebuild b/net-firewall/nftables/nftables-1.0.7.ebuild
index f9713c4a95f6..b144fded77b4 100644
--- a/net-firewall/nftables/nftables-1.0.7.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7.ebuild
@@ -34,7 +34,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:=
- >=net-libs/libnftnl-1.2.4:=
+ >=net-libs/libnftnl-1.2.5:=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index f9713c4a95f6..b144fded77b4 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -34,7 +34,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:=
- >=net-libs/libnftnl-1.2.4:=
+ >=net-libs/libnftnl-1.2.5:=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-19 22:22 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-03-19 22:22 UTC (permalink / raw
To: gentoo-commits
commit: 68a4aeb7ce34ec6f16710ce40443a1b460af6517
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Mar 19 09:04:41 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 22:21:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a4aeb7
net-firewall/nftables: Use the newly built libnftables.so in the pkg_preinst check
Doing so is appropriate because it's not a library that's provided
externally. Also, tidy up the code structure and replace the outdated
pkg_preinst() function in the ebuild for v1.0.5.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 33 ++++++++++++++++------
net-firewall/nftables/nftables-1.0.6.ebuild | 44 ++++++++++++++---------------
net-firewall/nftables/nftables-1.0.7.ebuild | 44 ++++++++++++++---------------
net-firewall/nftables/nftables-9999.ebuild | 44 ++++++++++++++---------------
4 files changed, 90 insertions(+), 75 deletions(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index 3b4f9fbbf1d2..5226ca74577d 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -167,15 +167,30 @@ src_install() {
}
pkg_preinst() {
- if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
- if ! /sbin/nft -t list ruleset | "${ED}"/sbin/nft -c -f -; then
- eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
- eerror "nft. This probably means that there is a regression introduced by v${PV}."
- eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
-
- if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
- die "Aborting because of failed nft reload!"
- fi
+ local stderr
+
+ # There's a history of regressions with nftables upgrades. Perform a
+ # safety check to help us spot them earlier. For the check to pass, the
+ # currently loaded ruleset, if any, must be successfully evaluated by
+ # the newly built instance of nft(8).
+ if [[ -n ${ROOT} ]] || [[ ! -d /sys/module/nftables ]] || [[ ! -x /sbin/nft ]]; then
+ # Either nftables isn't yet in use or nft(8) cannot be executed.
+ return
+ elif ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
+ # Report errors induced by trying to list the ruleset but don't
+ # treat them as being fatal.
+ printf '%s\n' "${stderr}" >&2
+ elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
+ # Rulesets generated by iptables-nft are special in nature and
+ # will not always be printed in a way that constitutes a valid
+ # syntax for ntf(8). Ignore them.
+ return
+ elif set -- "${ED}"/usr/lib*/libnftables.so; ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft; then
+ eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
+ eerror "nft. This probably means that there is a regression introduced by v${PV}."
+ eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
+ if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
+ die "Aborting because of failed nft reload!"
fi
fi
}
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index bd4f23708a7e..e5de7f69c0a1 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -169,28 +169,28 @@ src_install() {
pkg_preinst() {
local stderr
- # There's a history of regressions with nftables upgrades. Add a safety
- # check to help us spot them earlier.
- if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
- # Check the current loaded ruleset, if any, using the newly
- # built instance of nft(8).
- if ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
- # Report errors induced by trying to list the ruleset
- # but don't treat them as being fatal.
- printf '%s\n' "${stderr}" >&2
- elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
- # Rulesets generated by iptables-nft are special in
- # nature and will not always be printed in a way that
- # constitutes a valid syntax for ntf(8). Ignore them.
- return
- elif ! "${ED}"/sbin/nft -c -f "${T}"/ruleset.nft; then
- eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
- eerror "nft. This probably means that there is a regression introduced by v${PV}."
- eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
-
- if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
- die "Aborting because of failed nft reload!"
- fi
+ # There's a history of regressions with nftables upgrades. Perform a
+ # safety check to help us spot them earlier. For the check to pass, the
+ # currently loaded ruleset, if any, must be successfully evaluated by
+ # the newly built instance of nft(8).
+ if [[ -n ${ROOT} ]] || [[ ! -d /sys/module/nftables ]] || [[ ! -x /sbin/nft ]]; then
+ # Either nftables isn't yet in use or nft(8) cannot be executed.
+ return
+ elif ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
+ # Report errors induced by trying to list the ruleset but don't
+ # treat them as being fatal.
+ printf '%s\n' "${stderr}" >&2
+ elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
+ # Rulesets generated by iptables-nft are special in nature and
+ # will not always be printed in a way that constitutes a valid
+ # syntax for ntf(8). Ignore them.
+ return
+ elif set -- "${ED}"/usr/lib*/libnftables.so; ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft; then
+ eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
+ eerror "nft. This probably means that there is a regression introduced by v${PV}."
+ eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
+ if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
+ die "Aborting because of failed nft reload!"
fi
fi
}
diff --git a/net-firewall/nftables/nftables-1.0.7.ebuild b/net-firewall/nftables/nftables-1.0.7.ebuild
index b144fded77b4..13ecec61248b 100644
--- a/net-firewall/nftables/nftables-1.0.7.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7.ebuild
@@ -170,28 +170,28 @@ src_install() {
pkg_preinst() {
local stderr
- # There's a history of regressions with nftables upgrades. Add a safety
- # check to help us spot them earlier.
- if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
- # Check the current loaded ruleset, if any, using the newly
- # built instance of nft(8).
- if ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
- # Report errors induced by trying to list the ruleset
- # but don't treat them as being fatal.
- printf '%s\n' "${stderr}" >&2
- elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
- # Rulesets generated by iptables-nft are special in
- # nature and will not always be printed in a way that
- # constitutes a valid syntax for ntf(8). Ignore them.
- return
- elif ! "${ED}"/sbin/nft -c -f "${T}"/ruleset.nft; then
- eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
- eerror "nft. This probably means that there is a regression introduced by v${PV}."
- eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
-
- if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
- die "Aborting because of failed nft reload!"
- fi
+ # There's a history of regressions with nftables upgrades. Perform a
+ # safety check to help us spot them earlier. For the check to pass, the
+ # currently loaded ruleset, if any, must be successfully evaluated by
+ # the newly built instance of nft(8).
+ if [[ -n ${ROOT} ]] || [[ ! -d /sys/module/nftables ]] || [[ ! -x /sbin/nft ]]; then
+ # Either nftables isn't yet in use or nft(8) cannot be executed.
+ return
+ elif ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
+ # Report errors induced by trying to list the ruleset but don't
+ # treat them as being fatal.
+ printf '%s\n' "${stderr}" >&2
+ elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
+ # Rulesets generated by iptables-nft are special in nature and
+ # will not always be printed in a way that constitutes a valid
+ # syntax for ntf(8). Ignore them.
+ return
+ elif set -- "${ED}"/usr/lib*/libnftables.so; ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft; then
+ eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
+ eerror "nft. This probably means that there is a regression introduced by v${PV}."
+ eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
+ if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
+ die "Aborting because of failed nft reload!"
fi
fi
}
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index b144fded77b4..13ecec61248b 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -170,28 +170,28 @@ src_install() {
pkg_preinst() {
local stderr
- # There's a history of regressions with nftables upgrades. Add a safety
- # check to help us spot them earlier.
- if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
- # Check the current loaded ruleset, if any, using the newly
- # built instance of nft(8).
- if ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
- # Report errors induced by trying to list the ruleset
- # but don't treat them as being fatal.
- printf '%s\n' "${stderr}" >&2
- elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
- # Rulesets generated by iptables-nft are special in
- # nature and will not always be printed in a way that
- # constitutes a valid syntax for ntf(8). Ignore them.
- return
- elif ! "${ED}"/sbin/nft -c -f "${T}"/ruleset.nft; then
- eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
- eerror "nft. This probably means that there is a regression introduced by v${PV}."
- eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
-
- if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
- die "Aborting because of failed nft reload!"
- fi
+ # There's a history of regressions with nftables upgrades. Perform a
+ # safety check to help us spot them earlier. For the check to pass, the
+ # currently loaded ruleset, if any, must be successfully evaluated by
+ # the newly built instance of nft(8).
+ if [[ -n ${ROOT} ]] || [[ ! -d /sys/module/nftables ]] || [[ ! -x /sbin/nft ]]; then
+ # Either nftables isn't yet in use or nft(8) cannot be executed.
+ return
+ elif ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
+ # Report errors induced by trying to list the ruleset but don't
+ # treat them as being fatal.
+ printf '%s\n' "${stderr}" >&2
+ elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
+ # Rulesets generated by iptables-nft are special in nature and
+ # will not always be printed in a way that constitutes a valid
+ # syntax for ntf(8). Ignore them.
+ return
+ elif set -- "${ED}"/usr/lib*/libnftables.so; ! LD_LIBRARY_PATH=${1%/*} "${ED}"/sbin/nft -c -f -- "${T}"/ruleset.nft; then
+ eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
+ eerror "nft. This probably means that there is a regression introduced by v${PV}."
+ eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
+ if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
+ die "Aborting because of failed nft reload!"
fi
fi
}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-15 2:42 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-03-15 2:42 UTC (permalink / raw
To: gentoo-commits
commit: 9a223c82dd8cfd2b72e0e7135b2a773df79b9c78
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 02:41:30 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 02:41:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a223c82
net-firewall/nftables: add 1.0.7
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 ++
.../{nftables-9999.ebuild => nftables-1.0.7.ebuild} | 18 ++++++++++++++++--
net-firewall/nftables/nftables-9999.ebuild | 18 ++++++++++++++++--
3 files changed, 34 insertions(+), 4 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 3537caf064d6..2d752595dfcf 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -2,3 +2,5 @@ DIST nftables-1.0.5.tar.bz2 982538 BLAKE2B 5d58170b8fc6feccc1581653cd0815d37b59b
DIST nftables-1.0.5.tar.bz2.sig 566 BLAKE2B 7744a84c213999b35c3094fa5d9f974acec6fedac3d310422834285823825bcb14fb55b463d88b91fa41d79e33ce34498769992d912b7178fa1f70bd7a1e0977 SHA512 fbff6b5b28d81e964d4523729c7866d0b52d764d090cae70a43d850bc579b17308ec41a3d7fe6707877850028e99ad09c33b5e87fa16ac5199dfeba193a61511
DIST nftables-1.0.6.tar.xz 834584 BLAKE2B 7c14db883f0ee9394b603870c93dcc92ce472bf0349a59d0e377f1d44efc870df3449d6f2dc9a198f2e396e5d73b19532dac498e832083ca8cf65cc78db9ccd4 SHA512 afe08381acd27d39cc94743190b07c579f8c49c4182c9b8753d5b3a0b7d1fe89ed664fdbc19cef1547c3ca4a0c1e32ca4303dba9ec626272fa08c77e88c11119
DIST nftables-1.0.6.tar.xz.sig 566 BLAKE2B 3f90c48f521a1c433be9d0bee3b2beb080ac51f07c213f598af217b2d1b2e883e432f014c1a378c18eac4b8620e323fbdebb654aa53b345210a3f62ccfe93507 SHA512 83657d213e675c8ffa377112efc7fb0f5b756287f06aa9ccd3716eb76b87a14dab01a3ee82929511f26f7e9ce407d8b7ac0dd706c8211ad007fdfcf11d679a93
+DIST nftables-1.0.7.tar.xz 857140 BLAKE2B 972adbb958f36b300618ce03fbbfc1fdb6fd55a3512227e4bc1fd71365be5cc8d3ee105424e8cc513588100bf00d5e69486310435efb2b0d3f5d464ed6999859 SHA512 063f3a42327fd4dca9214314c7e7bcc7310f2ccbbce4c36f86a291d61d443f94b0f91435ecd04eb757596df8be91a802daeef394ba422c3623a81b2917e01116
+DIST nftables-1.0.7.tar.xz.sig 566 BLAKE2B 53abe2598e9b362912d3e2e94ea6e04352d0484b9d1d645c8f18b6133be53d63a8d71d500e57528a57aededb84dedaf61010236afda560b16e7642db45e2f45c SHA512 b5821aa6939dc5b4d16065d9d7083e4ff40b9f99417354efbcbc95a8ccde43108b99a5b8a75a24086cd3df2291a049cad3adb7b06e2c098f0eb7861f85c5c768
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-1.0.7.ebuild
similarity index 89%
copy from net-firewall/nftables/nftables-9999.ebuild
copy to net-firewall/nftables/nftables-1.0.7.ebuild
index f60144b1a850..f9713c4a95f6 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-1.0.7.ebuild
@@ -26,7 +26,8 @@ else
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
-LICENSE="GPL-2"
+# See COPYING: new code is GPL-2+, existing code is GPL-2
+LICENSE="GPL-2 GPL-2+"
SLOT="0/1"
IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
RESTRICT="!test? ( test )"
@@ -167,10 +168,23 @@ src_install() {
}
pkg_preinst() {
+ local stderr
+
# There's a history of regressions with nftables upgrades. Add a safety
# check to help us spot them earlier.
if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
- if ! /sbin/nft -t list ruleset | "${ED}"/sbin/nft -c -f -; then
+ # Check the current loaded ruleset, if any, using the newly
+ # built instance of nft(8).
+ if ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
+ # Report errors induced by trying to list the ruleset
+ # but don't treat them as being fatal.
+ printf '%s\n' "${stderr}" >&2
+ elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
+ # Rulesets generated by iptables-nft are special in
+ # nature and will not always be printed in a way that
+ # constitutes a valid syntax for ntf(8). Ignore them.
+ return
+ elif ! "${ED}"/sbin/nft -c -f "${T}"/ruleset.nft; then
eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
eerror "nft. This probably means that there is a regression introduced by v${PV}."
eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index f60144b1a850..f9713c4a95f6 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -26,7 +26,8 @@ else
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
-LICENSE="GPL-2"
+# See COPYING: new code is GPL-2+, existing code is GPL-2
+LICENSE="GPL-2 GPL-2+"
SLOT="0/1"
IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
RESTRICT="!test? ( test )"
@@ -167,10 +168,23 @@ src_install() {
}
pkg_preinst() {
+ local stderr
+
# There's a history of regressions with nftables upgrades. Add a safety
# check to help us spot them earlier.
if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
- if ! /sbin/nft -t list ruleset | "${ED}"/sbin/nft -c -f -; then
+ # Check the current loaded ruleset, if any, using the newly
+ # built instance of nft(8).
+ if ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
+ # Report errors induced by trying to list the ruleset
+ # but don't treat them as being fatal.
+ printf '%s\n' "${stderr}" >&2
+ elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
+ # Rulesets generated by iptables-nft are special in
+ # nature and will not always be printed in a way that
+ # constitutes a valid syntax for ntf(8). Ignore them.
+ return
+ elif ! "${ED}"/sbin/nft -c -f "${T}"/ruleset.nft; then
eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
eerror "nft. This probably means that there is a regression introduced by v${PV}."
eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-10 3:53 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-03-10 3:53 UTC (permalink / raw
To: gentoo-commits
commit: 40de849d06e7fce4c95bc436399aa04310af7812
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Thu Mar 9 18:11:14 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 10 03:51:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40de849d
net-firewall/nftables: Don't test iptables-nft rulesets in pkg_preinst()
Rulesets generated by iptables-nft are special in nature and will not
always be printed in a way that constitutes a valid syntax for nft(8).
Consider the following example in which iptables-nft would ideally have
generated a native rule that specifies "reject with tcp reset". Instead,
it generated a rule that integrates with an xtables target.
# iptables-nft -S
-A INPUT -j REJECT --reject-with tcp-reset
# nft list ruleset
# Warning: table ip filter is managed by iptables-nft, do not touch!
table ip filter {
chain INPUT {
type filter hook input priority filter; policy accept;
counter packets 0 bytes 0 xt target REJECT
}
}
Simply ignore the ruleset in the case that it appears to have been
generated by iptables-nft.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index e434040260a7..69e3d6988f20 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -167,8 +167,21 @@ src_install() {
}
pkg_preinst() {
+ local stderr
+
if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
- if ! /sbin/nft -t list ruleset | "${ED}"/sbin/nft -c -f -; then
+ # Check the current loaded ruleset, if any, using the newly
+ # built instance of nft(8).
+ if ! stderr=$(umask 177; /sbin/nft -t list ruleset 2>&1 >"${T}"/ruleset.nft); then
+ # Report errors induced by trying to list the ruleset
+ # but don't treat them as being fatal.
+ printf '%s\n' "${stderr}" >&2
+ elif [[ ${stderr} == *"is managed by iptables-nft"* ]]; then
+ # Rulesets generated by iptables-nft are special in
+ # nature and will not always be printed in a way that
+ # constitutes a valid syntax for ntf(8). Ignore them.
+ return
+ elif ! "${ED}"/sbin/nft -c -f "${T}"/ruleset.nft; then
eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
eerror "nft. This probably means that there is a regression introduced by v${PV}."
eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-10 3:53 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2023-03-10 3:53 UTC (permalink / raw
To: gentoo-commits
commit: 43a474eb12b0ff14f18688fcfcea48fae915be7b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 10 03:52:54 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 10 03:52:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a474eb
net-firewall/nftables: add commentary re pkg_preinst check
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 2 ++
net-firewall/nftables/nftables-9999.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index 69e3d6988f20..bd4f23708a7e 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -169,6 +169,8 @@ src_install() {
pkg_preinst() {
local stderr
+ # There's a history of regressions with nftables upgrades. Add a safety
+ # check to help us spot them earlier.
if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
# Check the current loaded ruleset, if any, using the newly
# built instance of nft(8).
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 2ef025795e56..f60144b1a850 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -167,6 +167,8 @@ src_install() {
}
pkg_preinst() {
+ # There's a history of regressions with nftables upgrades. Add a safety
+ # check to help us spot them earlier.
if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
if ! /sbin/nft -t list ruleset | "${ED}"/sbin/nft -c -f -; then
eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-04 11:56 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-03-04 11:56 UTC (permalink / raw
To: gentoo-commits
commit: 4c6ab25ac9033520e75d8ed3d66373da46653421
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 11:55:57 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 11:55:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6ab25a
net-firewall/nftables: Stabilize 1.0.6 ppc64, #899340
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index 70bb0c3752f5..e434040260a7 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-04 9:55 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-03-04 9:55 UTC (permalink / raw
To: gentoo-commits
commit: 1a69947e9297a8b8eeee36253d5e3fbc03df46f3
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 09:55:14 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 09:55:14 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a69947e
net-firewall/nftables: Stabilize 1.0.6 amd64, #899340
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index 2dea3c78eede..70bb0c3752f5 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-04 7:42 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-03-04 7:42 UTC (permalink / raw
To: gentoo-commits
commit: 4d681ebf899db9f3050979ed352d178571afa059
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 07:42:47 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 07:42:47 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d681ebf
net-firewall/nftables: Stabilize 1.0.6 x86, #899340
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index 313722e77085..2dea3c78eede 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-04 7:04 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-03-04 7:04 UTC (permalink / raw
To: gentoo-commits
commit: 42831c4b6af5ad34195d17ed2378abad38128df1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 07:02:37 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 07:02:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42831c4b
net-firewall/nftables: Stabilize 1.0.6 ppc, #899340
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index 3f6d0c08b17f..313722e77085 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-04 6:14 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-03-04 6:14 UTC (permalink / raw
To: gentoo-commits
commit: 34014a318ea097f50809799912a068b3bdfdc24a
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 06:14:10 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 06:14:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34014a31
net-firewall/nftables: Stabilize 1.0.6 hppa, #899340
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index f0c66aa9b99b..3f6d0c08b17f 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-04 5:49 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-03-04 5:49 UTC (permalink / raw
To: gentoo-commits
commit: 6c6a9b3fb46ec7d9e6aff3379f9850c259ada9e0
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 05:49:40 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 05:49:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6a9b3f
net-firewall/nftables: Stabilize 1.0.6 arm, #899340
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index 93ee88b2c3b7..f0c66aa9b99b 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-04 5:47 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-03-04 5:47 UTC (permalink / raw
To: gentoo-commits
commit: 58b7fc0f6de82c31a71ede77cef51119eec0068c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 05:46:27 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 05:46:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b7fc0f
net-firewall/nftables: Stabilize 1.0.6 arm64, #899340
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index a3dec9cd37bf..93ee88b2c3b7 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2023-03-04 5:38 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2023-03-04 5:38 UTC (permalink / raw
To: gentoo-commits
commit: 472b934703da695702a512b17cb50bcbabe47453
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 05:38:35 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 05:38:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472b9347
net-firewall/nftables: Stabilize 1.0.6 sparc, #899340
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.6.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
index 2ef025795e56..a3dec9cd37bf 100644
--- a/net-firewall/nftables/nftables-1.0.6.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-12-21 23:52 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-12-21 23:52 UTC (permalink / raw
To: gentoo-commits
commit: b98bf67817a34b90f025aefdba6fbb2a74d182f7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 21 23:50:51 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 21 23:52:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98bf678
net-firewall/nftables: add 1.0.6
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 ++
.../nftables/{nftables-9999.ebuild => nftables-1.0.6.ebuild} | 10 +++++-----
net-firewall/nftables/nftables-9999.ebuild | 10 +++++-----
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 0c996cf52097..72f7151be1aa 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -4,3 +4,5 @@ DIST nftables-1.0.4.tar.bz2 979540 BLAKE2B 1b2c596245cb7f1bc574250d13b9ff6f424f9
DIST nftables-1.0.4.tar.bz2.sig 566 BLAKE2B 1ac42a2eb678abcc21d01bbaf5f9a3af3f4c49fa1f0732f2522d3da14e94aacbb12075650d2786224f8fef869fcdc94a1463bd76272aa44fc50ea31a8ebae1bf SHA512 2d2acd4810c1ede844e1eac81a5480866ad40ae71dfcf92d166fd9295290adff70d35d7de8cf1ec81ab63d184b221419ff144bc7010e18884afa992173723af8
DIST nftables-1.0.5.tar.bz2 982538 BLAKE2B 5d58170b8fc6feccc1581653cd0815d37b59b43b7f4f9bff9f7fb46928c6c7eee5a6f07150c404f7cf42f5a1d2e980860a4dd2589b99773179e019a093c42cfa SHA512 51cbf10579db7eed58f4358044840f2ce1bffe84533c5fb03e0ebcc702970856455576ac793169c94d38a9f8148e33631ad91444e54a8be189d93af7c27feb9a
DIST nftables-1.0.5.tar.bz2.sig 566 BLAKE2B 7744a84c213999b35c3094fa5d9f974acec6fedac3d310422834285823825bcb14fb55b463d88b91fa41d79e33ce34498769992d912b7178fa1f70bd7a1e0977 SHA512 fbff6b5b28d81e964d4523729c7866d0b52d764d090cae70a43d850bc579b17308ec41a3d7fe6707877850028e99ad09c33b5e87fa16ac5199dfeba193a61511
+DIST nftables-1.0.6.tar.xz 834584 BLAKE2B 7c14db883f0ee9394b603870c93dcc92ce472bf0349a59d0e377f1d44efc870df3449d6f2dc9a198f2e396e5d73b19532dac498e832083ca8cf65cc78db9ccd4 SHA512 afe08381acd27d39cc94743190b07c579f8c49c4182c9b8753d5b3a0b7d1fe89ed664fdbc19cef1547c3ca4a0c1e32ca4303dba9ec626272fa08c77e88c11119
+DIST nftables-1.0.6.tar.xz.sig 566 BLAKE2B 3f90c48f521a1c433be9d0bee3b2beb080ac51f07c213f598af217b2d1b2e883e432f014c1a378c18eac4b8620e323fbdebb654aa53b345210a3f62ccfe93507 SHA512 83657d213e675c8ffa377112efc7fb0f5b756287f06aa9ccd3716eb76b87a14dab01a3ee82929511f26f7e9ce407d8b7ac0dd706c8211ad007fdfcf11d679a93
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-1.0.6.ebuild
similarity index 97%
copy from net-firewall/nftables/nftables-9999.ebuild
copy to net-firewall/nftables/nftables-1.0.6.ebuild
index b6fdb61bd493..7355f2e856c6 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-1.0.6.ebuild
@@ -20,9 +20,9 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
sys-devel/flex
"
else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
- verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
@@ -32,8 +32,8 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs te
RESTRICT="!test? ( test )"
RDEPEND="
- >=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.2.3:0=
+ >=net-libs/libmnl-1.0.4:=
+ >=net-libs/libnftnl-1.2.4:=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index b6fdb61bd493..7355f2e856c6 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -20,9 +20,9 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
sys-devel/flex
"
else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
- verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.xz
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.xz.sig )"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
@@ -32,8 +32,8 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs te
RESTRICT="!test? ( test )"
RDEPEND="
- >=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.2.3:0=
+ >=net-libs/libmnl-1.0.4:=
+ >=net-libs/libnftnl-1.2.4:=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-11-19 4:50 WANG Xuerui
0 siblings, 0 replies; 217+ messages in thread
From: WANG Xuerui @ 2022-11-19 4:50 UTC (permalink / raw
To: gentoo-commits
commit: 176fbf41b1709bfc982affc7f589043346a6b603
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 19 02:42:09 2022 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 04:50:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176fbf41
net-firewall/nftables: keyword 1.0.5 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index 235a23c61ff1..9f7bce158c18 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-10-11 18:26 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-10-11 18:26 UTC (permalink / raw
To: gentoo-commits
commit: b950a890e3df8d61f2c4049a62f8be0166c3dba5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 18:22:53 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 18:25:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b950a890
net-firewall/nftables: Stabilize 1.0.5 amd64, #872743
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index fa24a8b2fa6a..235a23c61ff1 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-10-11 17:15 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2022-10-11 17:15 UTC (permalink / raw
To: gentoo-commits
commit: 478690d564169f857189ffbb80e8bfc142ec54c7
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 17:15:01 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 17:15:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=478690d5
net-firewall/nftables: Stabilize 1.0.5 hppa, #872743
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index 25c141bfe41e..fa24a8b2fa6a 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-10-11 9:19 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-10-11 9:19 UTC (permalink / raw
To: gentoo-commits
commit: 5aac2284251cb2ba243e7d0e90be98f8ac2d3b5c
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 09:19:34 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 09:19:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aac2284
net-firewall/nftables: Stabilize 1.0.5 sparc, #872743
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index 86cac3a62cff..25c141bfe41e 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-10-11 9:19 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-10-11 9:19 UTC (permalink / raw
To: gentoo-commits
commit: 9163a767db56308682ce0a52e5c7c5200cf6f9af
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 09:18:50 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 09:18:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9163a767
net-firewall/nftables: Stabilize 1.0.5 ppc, #872743
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index a65639048674..86cac3a62cff 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-10-11 6:46 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-10-11 6:46 UTC (permalink / raw
To: gentoo-commits
commit: 9ead1f6b73901224d45b62b78c5d5363a34ca79f
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 06:45:57 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 06:45:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ead1f6b
net-firewall/nftables: Stabilize 1.0.5 ppc64, #872743
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index 54607cdbfa78..a65639048674 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-10-10 23:36 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-10-10 23:36 UTC (permalink / raw
To: gentoo-commits
commit: 69f2fc681234df26d4e323c9a7df8e1e5094e1a4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 10 23:36:26 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 23:36:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69f2fc68
net-firewall/nftables: Stabilize 1.0.5 arm64, #872743
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index abae29999b04..54607cdbfa78 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-10-10 23:36 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-10-10 23:36 UTC (permalink / raw
To: gentoo-commits
commit: cbb47b4567660062a24d404f3ef17224835a04fc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 10 23:36:00 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 23:36:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb47b45
net-firewall/nftables: Stabilize 1.0.5 x86, #872743
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index 6f59bde1ac65..abae29999b04 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-10-10 22:35 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-10-10 22:35 UTC (permalink / raw
To: gentoo-commits
commit: d64cc474355fd77a42a7e64dddfc76574912f589
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 10 22:35:44 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 22:35:44 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64cc474
net-firewall/nftables: Stabilize 1.0.5 arm, #872743
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index b6fdb61bd493..6f59bde1ac65 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-09-16 18:01 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2022-09-16 18:01 UTC (permalink / raw
To: gentoo-commits
commit: 03768382938f11f98b644f22db4c7cf2205a13b1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 18:01:24 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 18:01:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03768382
net-firewall/nftables: Stabilize 1.0.4-r2 ppc, #868963
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.4-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.4-r2.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
index 854c86cbac18..394dfa382ae0 100644
--- a/net-firewall/nftables/nftables-1.0.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-09-16 17:45 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2022-09-16 17:45 UTC (permalink / raw
To: gentoo-commits
commit: f5b57f3e29021e81986d4bf66132643f3ab871a4
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 17:45:01 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 17:45:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b57f3e
net-firewall/nftables: Stabilize 1.0.4-r2 hppa, #868963
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.4-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.4-r2.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
index bc156d4da60f..854c86cbac18 100644
--- a/net-firewall/nftables/nftables-1.0.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-09-15 19:58 Arthur Zamarin
0 siblings, 0 replies; 217+ messages in thread
From: Arthur Zamarin @ 2022-09-15 19:58 UTC (permalink / raw
To: gentoo-commits
commit: 23ec3bce0d37a38b2bd1e9fa7d27aeab32ac9bc8
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 19:57:36 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 19:57:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ec3bce
net-firewall/nftables: Stabilize 1.0.4-r2 ppc64, #868963
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.4-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.4-r2.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
index a1e256654082..bc156d4da60f 100644
--- a/net-firewall/nftables/nftables-1.0.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-09-13 17:34 Mike Gilbert
0 siblings, 0 replies; 217+ messages in thread
From: Mike Gilbert @ 2022-09-13 17:34 UTC (permalink / raw
To: gentoo-commits
commit: a60bcdc8ce5eec6674d5e28afa2bd4899d137508
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 13 17:33:30 2022 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Sep 13 17:34:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60bcdc8
net-firewall/nftables: drop RESTRICT="test? ( userpriv )"
Instead, check for root and skip the relevant tests otherwise.
Closes: https://bugs.gentoo.org/869989
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.4-r2.ebuild | 8 ++++++--
net-firewall/nftables/nftables-1.0.5.ebuild | 8 ++++++--
net-firewall/nftables/nftables-9999.ebuild | 8 ++++++--
3 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/net-firewall/nftables/nftables-1.0.4-r2.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
index 0da0a19b311e..a1e256654082 100644
--- a/net-firewall/nftables/nftables-1.0.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -29,7 +29,7 @@ fi
LICENSE="GPL-2"
SLOT="0/1"
IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
-RESTRICT="test? ( userpriv ) !test? ( test )"
+RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
@@ -123,7 +123,11 @@ src_compile() {
src_test() {
emake check
- edo tests/shell/run-tests.sh -v
+ if [[ ${EUID} == 0 ]]; then
+ edo tests/shell/run-tests.sh -v
+ else
+ ewarn "Skipping shell tests (requires root)"
+ fi
# Need to rig up Python eclass if using this, but it doesn't seem to work
# for me anyway.
diff --git a/net-firewall/nftables/nftables-1.0.5.ebuild b/net-firewall/nftables/nftables-1.0.5.ebuild
index 24d357de9872..b6fdb61bd493 100644
--- a/net-firewall/nftables/nftables-1.0.5.ebuild
+++ b/net-firewall/nftables/nftables-1.0.5.ebuild
@@ -29,7 +29,7 @@ fi
LICENSE="GPL-2"
SLOT="0/1"
IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
-RESTRICT="test? ( userpriv ) !test? ( test )"
+RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
@@ -120,7 +120,11 @@ src_compile() {
src_test() {
emake check
- edo tests/shell/run-tests.sh -v
+ if [[ ${EUID} == 0 ]]; then
+ edo tests/shell/run-tests.sh -v
+ else
+ ewarn "Skipping shell tests (requires root)"
+ fi
# Need to rig up Python eclass if using this, but it doesn't seem to work
# for me anyway.
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 24d357de9872..b6fdb61bd493 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -29,7 +29,7 @@ fi
LICENSE="GPL-2"
SLOT="0/1"
IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
-RESTRICT="test? ( userpriv ) !test? ( test )"
+RESTRICT="!test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
@@ -120,7 +120,11 @@ src_compile() {
src_test() {
emake check
- edo tests/shell/run-tests.sh -v
+ if [[ ${EUID} == 0 ]]; then
+ edo tests/shell/run-tests.sh -v
+ else
+ ewarn "Skipping shell tests (requires root)"
+ fi
# Need to rig up Python eclass if using this, but it doesn't seem to work
# for me anyway.
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-09-08 11:35 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-09-08 11:35 UTC (permalink / raw
To: gentoo-commits
commit: cb247e6d2a38de030d300af9d4f399c6bbd30f80
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 11:35:16 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Sep 8 11:35:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb247e6d
net-firewall/nftables: Stabilize 1.0.4-r2 arm64, #868963
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.4-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.4-r2.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
index 4aa46efd6d8a..0da0a19b311e 100644
--- a/net-firewall/nftables/nftables-1.0.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-09-08 11:24 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-09-08 11:24 UTC (permalink / raw
To: gentoo-commits
commit: 389cb89424d8a573043b8c7ade10c73cd96ecd38
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 11:24:11 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Sep 8 11:24:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=389cb894
net-firewall/nftables: Stabilize 1.0.4-r2 arm, #868963
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.4-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.4-r2.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
index e971146318d6..4aa46efd6d8a 100644
--- a/net-firewall/nftables/nftables-1.0.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-09-08 7:26 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-09-08 7:26 UTC (permalink / raw
To: gentoo-commits
commit: 9160fa123edcd64ea244e958b6cb964caa7b9012
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 07:25:55 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Sep 8 07:25:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9160fa12
net-firewall/nftables: x86 stable wrt bug #868963
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.4-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.4-r2.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
index 44ee8d14e6a6..e971146318d6 100644
--- a/net-firewall/nftables/nftables-1.0.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-09-07 13:16 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-09-07 13:16 UTC (permalink / raw
To: gentoo-commits
commit: bfbaf2f3bfea1afc70d4ed01e41183d1a7f80be1
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 7 13:16:22 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Sep 7 13:16:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfbaf2f3
net-firewall/nftables: sparc stable wrt bug #868963
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.4-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.4-r2.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
index 3c3fa10bad86..44ee8d14e6a6 100644
--- a/net-firewall/nftables/nftables-1.0.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-09-07 13:15 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-09-07 13:15 UTC (permalink / raw
To: gentoo-commits
commit: ded977fe2cd5efd77a7b50f5bb010c7594e82b69
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 7 13:15:32 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Sep 7 13:15:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded977fe
net-firewall/nftables: amd64 stable wrt bug #868963
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.4-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.4-r2.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
index e15c2462f85d..3c3fa10bad86 100644
--- a/net-firewall/nftables/nftables-1.0.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-08-10 1:16 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2022-08-10 1:16 UTC (permalink / raw
To: gentoo-commits
commit: f121a066cd6c96cda9be6479e21edcfea0d101c2
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 00:11:02 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 00:11:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f121a066
net-firewall/nftables: Sync 9999
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 51f0627a762d..24d357de9872 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -33,7 +33,7 @@ RESTRICT="test? ( userpriv ) !test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.2.2:0=
+ >=net-libs/libnftnl-1.2.3:0=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-06-17 18:44 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-06-17 18:44 UTC (permalink / raw
To: gentoo-commits
commit: 1c73d672e4a3e228c1b6b287d4345d229597fa35
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 17 18:42:28 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 18:44:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c73d672
net-firewall/nftables: add emergency pkg_preinst sanity check
The idea here is that we check just before merging whether the freshly
built `nft` binary can safely (pretend) reload the system ruleset.
A significant number of recent regressions have manifested in immediate
segfaults when doing this, so it's worth doing the safety check (it's
not as if it's niche or unlikely for a failure to occur at this point).
Those who want a failed check to be *fatal* can set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.
Otherwise, it's just a warning.
Bug: https://bugs.gentoo.org/852662
Thanks-to: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
...{nftables-9999.ebuild => nftables-1.0.4-r2.ebuild} | 19 ++++++++++++++++++-
net-firewall/nftables/nftables-9999.ebuild | 16 +++++++++++++++-
2 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
similarity index 88%
copy from net-firewall/nftables/nftables-9999.ebuild
copy to net-firewall/nftables/nftables-1.0.4-r2.ebuild
index d3b5ea2ddc40..e15c2462f85d 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-1.0.4-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python3_{8..11} )
@@ -70,6 +70,9 @@ pkg_setup() {
}
src_prepare() {
+ local PATCHES=(
+ "${FILESDIR}/nftables-1.0.4-revert-scanner-flags-move-to-own-scope.patch"
+ )
default
if [[ ${PV} =~ ^[9]{4,}$ ]] ; then
@@ -162,6 +165,20 @@ src_install() {
find "${ED}" -type f -name "*.la" -delete || die
}
+pkg_preinst() {
+ if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
+ if ! /sbin/nft -t list ruleset | "${ED}"/sbin/nft -c -f -; then
+ eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
+ eerror "nft. This probably means that there is a regression introduced by v${PV}."
+ eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
+
+ if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
+ die "Aborting because of failed nft reload!"
+ fi
+ fi
+ fi
+}
+
pkg_postinst() {
local save_file
save_file="${EROOT}"/var/lib/nftables/rules-save
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index d3b5ea2ddc40..51f0627a762d 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python3_{8..11} )
@@ -162,6 +162,20 @@ src_install() {
find "${ED}" -type f -name "*.la" -delete || die
}
+pkg_preinst() {
+ if [[ -d /sys/module/nf_tables ]] && [[ -x /sbin/nft ]] && [[ -z ${ROOT} ]]; then
+ if ! /sbin/nft -t list ruleset | "${ED}"/sbin/nft -c -f -; then
+ eerror "Your currently loaded ruleset cannot be parsed by the newly built instance of"
+ eerror "nft. This probably means that there is a regression introduced by v${PV}."
+ eerror "(To make the ebuild fail instead of warning, set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.)"
+
+ if [[ -n ${NFTABLES_ABORT_ON_RELOAD_FAILURE} ]] ; then
+ die "Aborting because of failed nft reload!"
+ fi
+ fi
+ fi
+}
+
pkg_postinst() {
local save_file
save_file="${EROOT}"/var/lib/nftables/rules-save
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-06-17 16:18 Mike Gilbert
0 siblings, 0 replies; 217+ messages in thread
From: Mike Gilbert @ 2022-06-17 16:18 UTC (permalink / raw
To: gentoo-commits
commit: abba72542b34205c1a18fadba8b897a427108ce8
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 17 16:08:38 2022 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 16:08:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abba7254
net-firewall/nftables: sync live ebuild
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 86c5513a263c..d3b5ea2ddc40 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -33,7 +33,7 @@ RESTRICT="test? ( userpriv ) !test? ( test )"
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.2.1:0=
+ >=net-libs/libnftnl-1.2.2:0=
gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
@@ -57,11 +57,6 @@ REQUIRED_USE="
libedit? ( !readline )
"
-PATCHES=(
- "${FILESDIR}"/${P}-optimize-segfault.patch
- "${FILESDIR}"/${P}-test-shell-sets.patch
-)
-
pkg_setup() {
if kernel_is ge 3 13; then
if use modern-kernel && kernel_is lt 3 18; then
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-06-07 20:31 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2022-06-07 20:31 UTC (permalink / raw
To: gentoo-commits
commit: 60d8462e92ee38b266d8d6c91e451032db46fe2c
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 7 20:31:05 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Jun 7 20:31:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60d8462e
net-firewall/nftables: add 1.0.4
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 +
net-firewall/nftables/nftables-1.0.4.ebuild | 201 ++++++++++++++++++++++++++++
2 files changed, 203 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 3435a1a543d2..5b6889bfbb24 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -4,3 +4,5 @@ DIST nftables-1.0.2.tar.bz2 970781 BLAKE2B 650ae6badb574ff3628d21c8aa99f81e73932
DIST nftables-1.0.2.tar.bz2.sig 566 BLAKE2B 5b7a20b28c274a950b718e2e14313772707b6bdc3f4519f747350593c1eb3bfbcf8c5dd9ae7d5aa0488c5cde9af8b58e05349c75e8a8246c5634303a331f9d98 SHA512 9be59d771833ac315fd52cffe7074ed9d49fbf592aec8d94500bbc7cc1f44dcb54b3815c46831a5e7e4c4770901cbdd6b8ffc5aa8d8cb7e064ec1c8453d890f1
DIST nftables-1.0.3.tar.bz2 978270 BLAKE2B f0410805e47679749a7e157e76834ee977bda53042a3c9fa34052778613c25bfc944257f6e51a94c9981cacbe28fb82ec8e3b82a2e1e34865b1412890138bfb0 SHA512 83252c0275f20243065c4d77dfca4ab2b70b4042c9491fb3323eb60c96f9a6e0d69699a641457f3d629d078269ba62ce766ffdb2ad79c64bd54ad11943819900
DIST nftables-1.0.3.tar.bz2.sig 566 BLAKE2B 8cf74954708c827e16932c58481981838b129f598f760a457fc2ab503500dfdf4de42f671d07e7920a028d2489f8a96a14bf8698fa3a9ad9997ce3411d6be0fd SHA512 f8a4acc6cf0a844720cf4bf2808b0c6a103f81f54d90cf155bd2c86938d997dc92d405b94eb91b725edeb8e76ef23c6ec318f067b30b2049fbef765230020ff2
+DIST nftables-1.0.4.tar.bz2 979540 BLAKE2B 1b2c596245cb7f1bc574250d13b9ff6f424f98e98d5955befadb83ea0a71acc6524b066e39f1e9d151f3946b690b2dee45b7d416347371f88911c8d6a9de047e SHA512 7d96c791365d399b3b930a1f9d6c6aa4a8c2180c258bb5163d9d62ea4d094857e2ebb20fc3ef13b89f449f216d0a291d3bcf288704f1e3bd3ceb51b6cadf8215
+DIST nftables-1.0.4.tar.bz2.sig 566 BLAKE2B 1ac42a2eb678abcc21d01bbaf5f9a3af3f4c49fa1f0732f2522d3da14e94aacbb12075650d2786224f8fef869fcdc94a1463bd76272aa44fc50ea31a8ebae1bf SHA512 2d2acd4810c1ede844e1eac81a5480866ad40ae71dfcf92d166fd9295290adff70d35d7de8cf1ec81ab63d184b221419ff144bc7010e18884afa992173723af8
diff --git a/net-firewall/nftables/nftables-1.0.4.ebuild b/net-firewall/nftables/nftables-1.0.4.ebuild
new file mode 100644
index 000000000000..d3b5ea2ddc40
--- /dev/null
+++ b/net-firewall/nftables/nftables-1.0.4.ebuild
@@ -0,0 +1,201 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{8..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
+inherit edo linux-info distutils-r1 systemd verify-sig
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+
+if [[ ${PV} =~ ^[9]{4,}$ ]]; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://git.netfilter.org/${PN}"
+
+ BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ "
+else
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/1"
+IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs test xtables"
+RESTRICT="test? ( userpriv ) !test? ( test )"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:0=
+ >=net-libs/libnftnl-1.2.2:0=
+ gmp? ( dev-libs/gmp:= )
+ json? ( dev-libs/jansson:= )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND+="
+ virtual/pkgconfig
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
+ python? ( ${PYTHON_DEPS} )
+"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ libedit? ( !readline )
+"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ if [[ ${PV} =~ ^[9]{4,}$ ]] ; then
+ eautoreconf
+ fi
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_prepare
+ popd >/dev/null || die
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --disable-static
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with libedit cli editline)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_configure
+ popd >/dev/null || die
+ fi
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_compile
+ popd >/dev/null || die
+ fi
+}
+
+src_test() {
+ emake check
+
+ edo tests/shell/run-tests.sh -v
+
+ # Need to rig up Python eclass if using this, but it doesn't seem to work
+ # for me anyway.
+ #cd tests/py || die
+ #"${EPYTHON}" nft-test.py || die
+}
+
+src_install() {
+ default
+
+ if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
+ pushd doc >/dev/null || die
+ doman *.?
+ popd >/dev/null || die
+ fi
+
+ # Do it here instead of in src_prepare to avoid eautoreconf
+ # rmdir lets us catch if more files end up installed in /etc/nftables
+ dodir /usr/share/doc/${PF}/skels/
+ mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
+ rmdir "${ED}"/etc/nftables || die
+
+ local mksuffix="$(usex modern-kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ pushd py >/dev/null || die
+ distutils-r1_src_install
+ popd >/dev/null || die
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}"/var/lib/nftables/rules-save
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ if has_version 'sys-apps/systemd'; then
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart"
+ elog "the nftables-restore service must be manually started in order to"
+ elog "save those rules on shutdown."
+ fi
+
+ if has_version 'sys-apps/openrc'; then
+ elog "If you wish to enable the firewall rules on boot (on openrc) you"
+ elog "will need to enable the nftables service."
+ elog " 'rc-update add ${PN} default'"
+ elog
+ elog "If you are creating or updating the firewall rules and wish to save"
+ elog "them to be loaded on the next restart, use the \"save\" functionality"
+ elog "in the init script."
+ elog " 'rc-service ${PN} save'"
+ fi
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-06-05 9:20 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-06-05 9:20 UTC (permalink / raw
To: gentoo-commits
commit: 33de47eadff3c80c6d5b5167b23b989fabec642f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 09:20:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 5 09:20:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33de47ea
net-firewall/nftables: fix doc install
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.3-r1.ebuild | 1 +
net-firewall/nftables/nftables-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/net-firewall/nftables/nftables-1.0.3-r1.ebuild b/net-firewall/nftables/nftables-1.0.3-r1.ebuild
index d4ace7fe057b..86c5513a263c 100644
--- a/net-firewall/nftables/nftables-1.0.3-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.3-r1.ebuild
@@ -144,6 +144,7 @@ src_install() {
# Do it here instead of in src_prepare to avoid eautoreconf
# rmdir lets us catch if more files end up installed in /etc/nftables
+ dodir /usr/share/doc/${PF}/skels/
mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
rmdir "${ED}"/etc/nftables || die
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index d4ace7fe057b..86c5513a263c 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -144,6 +144,7 @@ src_install() {
# Do it here instead of in src_prepare to avoid eautoreconf
# rmdir lets us catch if more files end up installed in /etc/nftables
+ dodir /usr/share/doc/${PF}/skels/
mv "${ED}"/etc/nftables/osf "${ED}"/usr/share/doc/${PF}/skels/osf || die
rmdir "${ED}"/etc/nftables || die
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-05-31 22:25 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2022-05-31 22:25 UTC (permalink / raw
To: gentoo-commits
commit: 9b414a68ec09718eea2cb5c73e001bb3efa15197
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 22:24:50 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue May 31 22:24:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b414a68
net-firewall/nftables: add 1.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 +
net-firewall/nftables/nftables-1.0.3.ebuild | 185 ++++++++++++++++++++++++++++
2 files changed, 187 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index a4a06b4bf72b..3435a1a543d2 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -2,3 +2,5 @@ DIST nftables-1.0.1.tar.bz2 954586 BLAKE2B e406699c96b98495f1b6deeab0233873ce20b
DIST nftables-1.0.1.tar.bz2.sig 566 BLAKE2B d504987b16b7a8676586ecb3a1ce9588bff972ca54bbb3ce3b0db5288f1fd981e529dccea009bd01a3a96e5199a034956bd43cdeaba67847239a88d458f43f8a SHA512 0884098ceabe7b070e146e47292afd8c80188ea595eaeaadb228307f502dae4a43bf801dea2a25519eaef3c96d567daf40e45c37fabb58db1b2256eb8f256cb0
DIST nftables-1.0.2.tar.bz2 970781 BLAKE2B 650ae6badb574ff3628d21c8aa99f81e73932dd172b3569618696100bf3853b9a108bf0296dcf9d615ae7c0fbec84b48266299b62cf755d181d19c626f8a3cd4 SHA512 560d23c6e369eafd7b354d29fe73d46154e4a74dec000178c1aea47751fe535d20c4e6bbecd3955eb2b327c7a60b1269e5c6dc5781498546b639fa2d1367a9ca
DIST nftables-1.0.2.tar.bz2.sig 566 BLAKE2B 5b7a20b28c274a950b718e2e14313772707b6bdc3f4519f747350593c1eb3bfbcf8c5dd9ae7d5aa0488c5cde9af8b58e05349c75e8a8246c5634303a331f9d98 SHA512 9be59d771833ac315fd52cffe7074ed9d49fbf592aec8d94500bbc7cc1f44dcb54b3815c46831a5e7e4c4770901cbdd6b8ffc5aa8d8cb7e064ec1c8453d890f1
+DIST nftables-1.0.3.tar.bz2 978270 BLAKE2B f0410805e47679749a7e157e76834ee977bda53042a3c9fa34052778613c25bfc944257f6e51a94c9981cacbe28fb82ec8e3b82a2e1e34865b1412890138bfb0 SHA512 83252c0275f20243065c4d77dfca4ab2b70b4042c9491fb3323eb60c96f9a6e0d69699a641457f3d629d078269ba62ce766ffdb2ad79c64bd54ad11943819900
+DIST nftables-1.0.3.tar.bz2.sig 566 BLAKE2B 8cf74954708c827e16932c58481981838b129f598f760a457fc2ab503500dfdf4de42f671d07e7920a028d2489f8a96a14bf8698fa3a9ad9997ce3411d6be0fd SHA512 f8a4acc6cf0a844720cf4bf2808b0c6a103f81f54d90cf155bd2c86938d997dc92d405b94eb91b725edeb8e76ef23c6ec318f067b30b2049fbef765230020ff2
diff --git a/net-firewall/nftables/nftables-1.0.3.ebuild b/net-firewall/nftables/nftables-1.0.3.ebuild
new file mode 100644
index 000000000000..cdfe5fdcf824
--- /dev/null
+++ b/net-firewall/nftables/nftables-1.0.3.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_OPTIONAL=1
+inherit autotools linux-info distutils-r1 systemd verify-sig
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+
+if [[ ${PV} =~ ^[9]{4,}$ ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.netfilter.org/${PN}"
+
+ BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ "
+else
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/1"
+IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xtables"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:0=
+ >=net-libs/libnftnl-1.2.1:0=
+ gmp? ( dev-libs/gmp:= )
+ json? ( dev-libs/jansson:= )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND+="
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ libedit? ( !readline )
+"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # fix installation path for doc stuff
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
+ -i files/nftables/Makefile.am || die
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
+ -i files/osf/Makefile.am || die
+
+ eautoreconf
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_prepare
+ popd >/dev/null || die
+ fi
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --disable-static
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with libedit cli editline)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_configure
+ popd >/dev/null || die
+ fi
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_compile
+ popd >/dev/null || die
+ fi
+}
+
+src_install() {
+ default
+
+ if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
+ pushd doc >/dev/null || die
+ doman *.?
+ popd >/dev/null || die
+ fi
+
+ local mksuffix="$(usex modern-kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ pushd py >/dev/null || die
+ distutils-r1_src_install
+ popd >/dev/null || die
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ if has_version 'sys-apps/systemd'; then
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart"
+ elog "the nftables-restore service must be manually started in order to"
+ elog "save those rules on shutdown."
+ fi
+ if has_version 'sys-apps/openrc'; then
+ elog "If you wish to enable the firewall rules on boot (on openrc) you"
+ elog "will need to enable the nftables service."
+ elog " 'rc-update add ${PN} default'"
+ elog
+ elog "If you are creating or updating the firewall rules and wish to save"
+ elog "them to be loaded on the next restart, use the \"save\" functionality"
+ elog "in the init script."
+ elog " 'rc-service ${PN} save'"
+ fi
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-05-22 11:27 Jakov Smolić
0 siblings, 0 replies; 217+ messages in thread
From: Jakov Smolić @ 2022-05-22 11:27 UTC (permalink / raw
To: gentoo-commits
commit: c0b26d60740701f342a3ed1776dd69737cf94277
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 11:27:17 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun May 22 11:27:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0b26d60
net-firewall/nftables: Stabilize 1.0.2-r1 hppa, #846866
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.2-r1.ebuild b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
index 9a7af1d5d32a..a7337abb2897 100644
--- a/net-firewall/nftables/nftables-1.0.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-05-22 6:22 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-05-22 6:22 UTC (permalink / raw
To: gentoo-commits
commit: 697c2ffd18048a79839e18094d1c93401cbcbcda
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 06:21:10 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun May 22 06:21:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697c2ffd
net-firewall/nftables: sparc stable wrt bug #846866
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.2-r1.ebuild b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
index f12391d2ac8c..9a7af1d5d32a 100644
--- a/net-firewall/nftables/nftables-1.0.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-05-22 6:19 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-05-22 6:19 UTC (permalink / raw
To: gentoo-commits
commit: 2b143812fb56a14f64e0906f617bafc2cec9d987
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 06:19:01 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun May 22 06:19:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b143812
net-firewall/nftables: arm64 stable wrt bug #846866
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.2-r1.ebuild b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
index 5cdff3145b7d..f12391d2ac8c 100644
--- a/net-firewall/nftables/nftables-1.0.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-05-22 6:17 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2022-05-22 6:17 UTC (permalink / raw
To: gentoo-commits
commit: b01a079ae6239b67114025970e612c03cbaf67d3
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 06:17:00 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun May 22 06:17:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b01a079a
net-firewall/nftables: arm stable wrt bug #846866
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.2-r1.ebuild b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
index dc7514e4f523..5cdff3145b7d 100644
--- a/net-firewall/nftables/nftables-1.0.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-05-22 3:53 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-05-22 3:53 UTC (permalink / raw
To: gentoo-commits
commit: dd879feada8d429ea41afba54469f0695cafd23d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 03:53:25 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 22 03:53:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd879fea
net-firewall/nftables: Stabilize 1.0.2-r1 ppc64, #846866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.2-r1.ebuild b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
index 79879547ec0e..dc7514e4f523 100644
--- a/net-firewall/nftables/nftables-1.0.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-05-22 3:25 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-05-22 3:25 UTC (permalink / raw
To: gentoo-commits
commit: c2797f7a17e2c2e25153ae329259d49105d764fd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 03:25:35 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 22 03:25:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2797f7a
net-firewall/nftables: Stabilize 1.0.2-r1 ppc, #846866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.2-r1.ebuild b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
index b85ab17dacdc..79879547ec0e 100644
--- a/net-firewall/nftables/nftables-1.0.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc x86"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-05-22 3:21 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-05-22 3:21 UTC (permalink / raw
To: gentoo-commits
commit: 8243912adebed0615db6740d1b86490577a44e0c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 03:21:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 22 03:21:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8243912a
net-firewall/nftables: Stabilize 1.0.2-r1 x86, #846866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.2-r1.ebuild b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
index efddc00e9729..b85ab17dacdc 100644
--- a/net-firewall/nftables/nftables-1.0.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-05-22 3:20 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-05-22 3:20 UTC (permalink / raw
To: gentoo-commits
commit: f9c6af04832ca7d8dc2ddd5cbfd9ff264022be73
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 03:19:42 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 22 03:19:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c6af04
net-firewall/nftables: Stabilize 1.0.2-r1 amd64, #846866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.2-r1.ebuild b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
index 4e105370dd23..efddc00e9729 100644
--- a/net-firewall/nftables/nftables-1.0.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-04-17 17:12 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-04-17 17:12 UTC (permalink / raw
To: gentoo-commits
commit: 17ebcc21dca47779c398ca44b6a2e36c2963e533
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 17:11:46 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 17:12:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17ebcc21
net-firewall/nftables: drop 0.9.8-r2, 0.9.9-r1, 1.0.0-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/Manifest | 3 -
net-firewall/nftables/nftables-0.9.8-r2.ebuild | 166 -----------------------
net-firewall/nftables/nftables-0.9.9-r1.ebuild | 179 -------------------------
net-firewall/nftables/nftables-1.0.0-r1.ebuild | 179 -------------------------
4 files changed, 527 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 1ca881039072..a4a06b4bf72b 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,6 +1,3 @@
-DIST nftables-0.9.8.tar.bz2 879516 BLAKE2B 5063090d648668f4d5ae6d4be48ebecc65dfd4b525768e94a0d90ceebbee73874c916727be8de633550db71c612d698d88cf93575931362b48d954e6ac275143 SHA512 1c5709825c8b2c13cbed0310658959ecee164c930bc9e2447618a0894598138b9a549d20509c32a5c23ce99e40438df38f9e170cf656ce993d819f365490a180
-DIST nftables-0.9.9.tar.bz2 922624 BLAKE2B 8de2709576a26ca84a8d694f7cb06cad2bb2fb4671ba21ffc32c0d5997e8124ae7cd794dafddf4db48d8a49c280b48b07d2a31b6c18f6647fdb67cfe7f065b61 SHA512 dfdd3ffc0ffc1742ca0494a3f8fac1c7b2fe942849e60d33fc3cb8a51e27bd39e1ccfeda2195191377a32bb5363ea244f4c3e71b4a6d930f33bf87e17a534fab
-DIST nftables-1.0.0.tar.bz2 921053 BLAKE2B ee86a323170433c3ba62f80118947864aac0fe0aaeb48afeb5a116a48782185c83313ef1b5735c7749eb5eccb88f252b444d1ee908be25bdaa4d9c0b833c1dc2 SHA512 33460bef4ee76b7caa44fa5515357127ae84be468448cc838dd31919b6e045ba6195b761118d4c8a4219a9f008c4416542ce784f4daad94f3b44c0626bcdd014
DIST nftables-1.0.1.tar.bz2 954586 BLAKE2B e406699c96b98495f1b6deeab0233873ce20b43c13c162eafea1e6b371961123a69f3d5e7bd2f1bedfdbe58fed56ba3e2dae962b88657af6f4ab5b3743fb6373 SHA512 a0db4d82725509d2a9c638ba7ba55547ad7b5138a5fe686b0e90260d6a65e060dd72a470969c1d69e945303bd2bfc33b2021d9f4141b88befefddc61b7afe10d
DIST nftables-1.0.1.tar.bz2.sig 566 BLAKE2B d504987b16b7a8676586ecb3a1ce9588bff972ca54bbb3ce3b0db5288f1fd981e529dccea009bd01a3a96e5199a034956bd43cdeaba67847239a88d458f43f8a SHA512 0884098ceabe7b070e146e47292afd8c80188ea595eaeaadb228307f502dae4a43bf801dea2a25519eaef3c96d567daf40e45c37fabb58db1b2256eb8f256cb0
DIST nftables-1.0.2.tar.bz2 970781 BLAKE2B 650ae6badb574ff3628d21c8aa99f81e73932dd172b3569618696100bf3853b9a108bf0296dcf9d615ae7c0fbec84b48266299b62cf755d181d19c626f8a3cd4 SHA512 560d23c6e369eafd7b354d29fe73d46154e4a74dec000178c1aea47751fe535d20c4e6bbecd3955eb2b327c7a60b1269e5c6dc5781498546b639fa2d1367a9ca
diff --git a/net-firewall/nftables/nftables-0.9.8-r2.ebuild b/net-firewall/nftables/nftables-0.9.8-r2.ebuild
deleted file mode 100644
index 58bf1cc65087..000000000000
--- a/net-firewall/nftables/nftables-0.9.8-r2.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit autotools linux-info python-r1 systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
-IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
-
-RDEPEND="
- >=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.1.9:0=
- gmp? ( dev-libs/gmp:= )
- json? ( dev-libs/jansson:= )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
- xtables? ( >=net-firewall/iptables-1.6.1:= )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- doc? (
- app-text/asciidoc
- >=app-text/docbook2X-0.8.8-r4
- )
- virtual/pkgconfig
-"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.8-slibtool.patch"
-)
-
-python_make() {
- emake \
- -C py \
- abs_builddir="${S}" \
- DESTDIR="${D}" \
- PYTHON_BIN="${PYTHON}" \
- "${@}"
-}
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern-kernel && kernel_is lt 3 18; then
- eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
-
- # fix installation path for doc stuff
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
- -i files/nftables/Makefile.am || die
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
- -i files/osf/Makefile.am || die
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- # We handle python separately
- --disable-python
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc man-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with readline cli readline)
- $(use_enable static-libs static)
- $(use_with xtables)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- default
-
- if use python; then
- python_foreach_impl python_make
- fi
-}
-
-src_install() {
- default
-
- if ! use doc; then
- pushd doc >/dev/null || die
- doman *.?
- popd >/dev/null || die
- fi
-
- local mksuffix="$(usex modern-kernel '-mk' '')"
-
- exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
-
- if use python ; then
- python_foreach_impl python_make install
- python_foreach_impl python_optimize
- fi
-
- find "${ED}" -type f -name "*.la" -delete || die
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f "${save_file}" ]]; then
- ( umask 177; touch "${save_file}" )
- elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
- ewarn "Your system has dangerous permissions for ${save_file}"
- ewarn "It is probably affected by bug #691326."
- ewarn "You may need to fix the permissions of the file. To do so,"
- ewarn "you can run the command in the line below as root."
- ewarn " 'chmod 600 \"${save_file}\"'"
- fi
-
- if has_version 'sys-apps/systemd'; then
- elog "If you wish to enable the firewall rules on boot (on systemd) you"
- elog "will need to enable the nftables-restore service."
- elog " 'systemctl enable ${PN}-restore.service'"
- elog
- elog "If you are creating firewall rules before the next system restart"
- elog "the nftables-restore service must be manually started in order to"
- elog "save those rules on shutdown."
- fi
- if has_version 'sys-apps/openrc'; then
- elog "If you wish to enable the firewall rules on boot (on openrc) you"
- elog "will need to enable the nftables service."
- elog " 'rc-update add ${PN} default'"
- elog
- elog "If you are creating or updating the firewall rules and wish to save"
- elog "them to be loaded on the next restart, use the \"save\" functionality"
- elog "in the init script."
- elog " 'rc-service ${PN} save'"
- fi
-}
diff --git a/net-firewall/nftables/nftables-0.9.9-r1.ebuild b/net-firewall/nftables/nftables-0.9.9-r1.ebuild
deleted file mode 100644
index 40d4fbc36744..000000000000
--- a/net-firewall/nftables/nftables-0.9.9-r1.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit autotools linux-info python-r1 systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-
-if [[ ${PV} =~ ^[9]{4,}$ ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.netfilter.org/${PN}"
-
- BDEPEND="
- sys-devel/bison
- sys-devel/flex
- "
-else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0/1"
-IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xtables"
-
-RDEPEND="
- >=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.2.0:0=
- gmp? ( dev-libs/gmp:= )
- json? ( dev-libs/jansson:= )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
- xtables? ( >=net-firewall/iptables-1.6.1:= )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND+="
- doc? (
- app-text/asciidoc
- >=app-text/docbook2X-0.8.8-r4
- )
- virtual/pkgconfig
-"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- libedit? ( !readline )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.8-slibtool.patch"
-)
-
-python_make() {
- emake \
- -C py \
- abs_builddir="${S}" \
- DESTDIR="${D}" \
- PYTHON_BIN="${PYTHON}" \
- "${@}"
-}
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern-kernel && kernel_is lt 3 18; then
- eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
-
- # fix installation path for doc stuff
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
- -i files/nftables/Makefile.am || die
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
- -i files/osf/Makefile.am || die
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- # We handle python separately
- --disable-python
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc man-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with libedit cli editline)
- $(use_with readline cli readline)
- $(use_enable static-libs static)
- $(use_with xtables)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- default
-
- if use python; then
- python_foreach_impl python_make
- fi
-}
-
-src_install() {
- default
-
- if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
- pushd doc >/dev/null || die
- doman *.?
- popd >/dev/null || die
- fi
-
- local mksuffix="$(usex modern-kernel '-mk' '')"
-
- exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
-
- if use python ; then
- python_foreach_impl python_make install
- python_foreach_impl python_optimize
- fi
-
- find "${ED}" -type f -name "*.la" -delete || die
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f "${save_file}" ]]; then
- ( umask 177; touch "${save_file}" )
- elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
- ewarn "Your system has dangerous permissions for ${save_file}"
- ewarn "It is probably affected by bug #691326."
- ewarn "You may need to fix the permissions of the file. To do so,"
- ewarn "you can run the command in the line below as root."
- ewarn " 'chmod 600 \"${save_file}\"'"
- fi
-
- if has_version 'sys-apps/systemd'; then
- elog "If you wish to enable the firewall rules on boot (on systemd) you"
- elog "will need to enable the nftables-restore service."
- elog " 'systemctl enable ${PN}-restore.service'"
- elog
- elog "If you are creating firewall rules before the next system restart"
- elog "the nftables-restore service must be manually started in order to"
- elog "save those rules on shutdown."
- fi
- if has_version 'sys-apps/openrc'; then
- elog "If you wish to enable the firewall rules on boot (on openrc) you"
- elog "will need to enable the nftables service."
- elog " 'rc-update add ${PN} default'"
- elog
- elog "If you are creating or updating the firewall rules and wish to save"
- elog "them to be loaded on the next restart, use the \"save\" functionality"
- elog "in the init script."
- elog " 'rc-service ${PN} save'"
- fi
-}
diff --git a/net-firewall/nftables/nftables-1.0.0-r1.ebuild b/net-firewall/nftables/nftables-1.0.0-r1.ebuild
deleted file mode 100644
index 31bd6d1de988..000000000000
--- a/net-firewall/nftables/nftables-1.0.0-r1.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit autotools linux-info python-r1 systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-
-if [[ ${PV} =~ ^[9]{4,}$ ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.netfilter.org/${PN}"
-
- BDEPEND="
- sys-devel/bison
- sys-devel/flex
- "
-else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0/1"
-IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xtables"
-
-RDEPEND="
- >=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.2.0:0=
- gmp? ( dev-libs/gmp:= )
- json? ( dev-libs/jansson:= )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
- xtables? ( >=net-firewall/iptables-1.6.1:= )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND+="
- doc? (
- app-text/asciidoc
- >=app-text/docbook2X-0.8.8-r4
- )
- virtual/pkgconfig
-"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- libedit? ( !readline )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.8-slibtool.patch"
-)
-
-python_make() {
- emake \
- -C py \
- abs_builddir="${S}" \
- DESTDIR="${D}" \
- PYTHON_BIN="${PYTHON}" \
- "${@}"
-}
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern-kernel && kernel_is lt 3 18; then
- eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
-
- # fix installation path for doc stuff
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
- -i files/nftables/Makefile.am || die
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
- -i files/osf/Makefile.am || die
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- # We handle python separately
- --disable-python
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc man-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with libedit cli editline)
- $(use_with readline cli readline)
- $(use_enable static-libs static)
- $(use_with xtables)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- default
-
- if use python; then
- python_foreach_impl python_make
- fi
-}
-
-src_install() {
- default
-
- if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
- pushd doc >/dev/null || die
- doman *.?
- popd >/dev/null || die
- fi
-
- local mksuffix="$(usex modern-kernel '-mk' '')"
-
- exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
-
- if use python ; then
- python_foreach_impl python_make install
- python_foreach_impl python_optimize
- fi
-
- find "${ED}" -type f -name "*.la" -delete || die
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f "${save_file}" ]]; then
- ( umask 177; touch "${save_file}" )
- elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
- ewarn "Your system has dangerous permissions for ${save_file}"
- ewarn "It is probably affected by bug #691326."
- ewarn "You may need to fix the permissions of the file. To do so,"
- ewarn "you can run the command in the line below as root."
- ewarn " 'chmod 600 \"${save_file}\"'"
- fi
-
- if has_version 'sys-apps/systemd'; then
- elog "If you wish to enable the firewall rules on boot (on systemd) you"
- elog "will need to enable the nftables-restore service."
- elog " 'systemctl enable ${PN}-restore.service'"
- elog
- elog "If you are creating firewall rules before the next system restart"
- elog "the nftables-restore service must be manually started in order to"
- elog "save those rules on shutdown."
- fi
- if has_version 'sys-apps/openrc'; then
- elog "If you wish to enable the firewall rules on boot (on openrc) you"
- elog "will need to enable the nftables service."
- elog " 'rc-update add ${PN} default'"
- elog
- elog "If you are creating or updating the firewall rules and wish to save"
- elog "them to be loaded on the next restart, use the \"save\" functionality"
- elog "in the init script."
- elog " 'rc-service ${PN} save'"
- fi
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-03-27 2:58 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-03-27 2:58 UTC (permalink / raw
To: gentoo-commits
commit: 9988904e1660bddfb33e49cec5f05b6ec3fac223
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 02:58:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 02:58:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9988904e
net-firewall/nftables: drop patches from live ebuild
All applied upstream.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 6 ------
1 file changed, 6 deletions(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 4e105370dd23..fa427dadfaab 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -55,12 +55,6 @@ REQUIRED_USE="
libedit? ( !readline )
"
-PATCHES=(
- "${FILESDIR}/nftables-1.0.2-compilation.patch"
- "${FILESDIR}/nftables-1.0.2-build-explicitly-pass-version-script-to-linker.patch"
- "${FILESDIR}/nftables-1.0.2-libnftables.map-export-new-nft_ctx_-get-set-_optimiz.patch"
-)
-
pkg_setup() {
if kernel_is ge 3 13; then
if use modern-kernel && kernel_is lt 3 18; then
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-03-27 2:58 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-03-27 2:58 UTC (permalink / raw
To: gentoo-commits
commit: 47dd20a2863b0184ae25566161b4709909391a0d
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Sat Mar 26 21:09:37 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 02:56:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47dd20a2
net-firewall/nftables: Added verify-sig integration.
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 ++
net-firewall/nftables/nftables-1.0.1-r2.ebuild | 7 +++++--
net-firewall/nftables/nftables-1.0.2-r1.ebuild | 7 +++++--
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 164083bf9526..1ca881039072 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -2,4 +2,6 @@ DIST nftables-0.9.8.tar.bz2 879516 BLAKE2B 5063090d648668f4d5ae6d4be48ebecc65dfd
DIST nftables-0.9.9.tar.bz2 922624 BLAKE2B 8de2709576a26ca84a8d694f7cb06cad2bb2fb4671ba21ffc32c0d5997e8124ae7cd794dafddf4db48d8a49c280b48b07d2a31b6c18f6647fdb67cfe7f065b61 SHA512 dfdd3ffc0ffc1742ca0494a3f8fac1c7b2fe942849e60d33fc3cb8a51e27bd39e1ccfeda2195191377a32bb5363ea244f4c3e71b4a6d930f33bf87e17a534fab
DIST nftables-1.0.0.tar.bz2 921053 BLAKE2B ee86a323170433c3ba62f80118947864aac0fe0aaeb48afeb5a116a48782185c83313ef1b5735c7749eb5eccb88f252b444d1ee908be25bdaa4d9c0b833c1dc2 SHA512 33460bef4ee76b7caa44fa5515357127ae84be468448cc838dd31919b6e045ba6195b761118d4c8a4219a9f008c4416542ce784f4daad94f3b44c0626bcdd014
DIST nftables-1.0.1.tar.bz2 954586 BLAKE2B e406699c96b98495f1b6deeab0233873ce20b43c13c162eafea1e6b371961123a69f3d5e7bd2f1bedfdbe58fed56ba3e2dae962b88657af6f4ab5b3743fb6373 SHA512 a0db4d82725509d2a9c638ba7ba55547ad7b5138a5fe686b0e90260d6a65e060dd72a470969c1d69e945303bd2bfc33b2021d9f4141b88befefddc61b7afe10d
+DIST nftables-1.0.1.tar.bz2.sig 566 BLAKE2B d504987b16b7a8676586ecb3a1ce9588bff972ca54bbb3ce3b0db5288f1fd981e529dccea009bd01a3a96e5199a034956bd43cdeaba67847239a88d458f43f8a SHA512 0884098ceabe7b070e146e47292afd8c80188ea595eaeaadb228307f502dae4a43bf801dea2a25519eaef3c96d567daf40e45c37fabb58db1b2256eb8f256cb0
DIST nftables-1.0.2.tar.bz2 970781 BLAKE2B 650ae6badb574ff3628d21c8aa99f81e73932dd172b3569618696100bf3853b9a108bf0296dcf9d615ae7c0fbec84b48266299b62cf755d181d19c626f8a3cd4 SHA512 560d23c6e369eafd7b354d29fe73d46154e4a74dec000178c1aea47751fe535d20c4e6bbecd3955eb2b327c7a60b1269e5c6dc5781498546b639fa2d1367a9ca
+DIST nftables-1.0.2.tar.bz2.sig 566 BLAKE2B 5b7a20b28c274a950b718e2e14313772707b6bdc3f4519f747350593c1eb3bfbcf8c5dd9ae7d5aa0488c5cde9af8b58e05349c75e8a8246c5634303a331f9d98 SHA512 9be59d771833ac315fd52cffe7074ed9d49fbf592aec8d94500bbc7cc1f44dcb54b3815c46831a5e7e4c4770901cbdd6b8ffc5aa8d8cb7e064ec1c8453d890f1
diff --git a/net-firewall/nftables/nftables-1.0.1-r2.ebuild b/net-firewall/nftables/nftables-1.0.1-r2.ebuild
index 3ab5c9291110..a6b3f71dcc5e 100644
--- a/net-firewall/nftables/nftables-1.0.1-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..10} )
DISTUTILS_OPTIONAL=1
-inherit autotools linux-info distutils-r1 systemd
+inherit autotools linux-info distutils-r1 systemd verify-sig
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
@@ -19,8 +19,11 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
sys-devel/flex
"
else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
LICENSE="GPL-2"
diff --git a/net-firewall/nftables/nftables-1.0.2-r1.ebuild b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
index 8b7db17f23e8..4e105370dd23 100644
--- a/net-firewall/nftables/nftables-1.0.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.2-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_OPTIONAL=1
-inherit autotools linux-info distutils-r1 systemd
+inherit autotools linux-info distutils-r1 systemd verify-sig
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
@@ -19,8 +19,11 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
sys-devel/flex
"
else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-03-27 2:58 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-03-27 2:58 UTC (permalink / raw
To: gentoo-commits
commit: 0e8c96332ffea0e15f4749e7574ecf70199a0e5b
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Sat Mar 26 23:56:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 02:56:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e8c9633
net-firewall/nftables: Sync live ebuild.
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index d6697d8a7eef..4e105370dd23 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -3,9 +3,9 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_OPTIONAL=1
-inherit autotools linux-info distutils-r1 systemd
+inherit autotools linux-info distutils-r1 systemd verify-sig
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
@@ -19,8 +19,11 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
sys-devel/flex
"
else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
+ verify-sig? ( https://netfilter.org/projects/nftables/files/${P}.tar.bz2.sig )"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
+ BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
fi
LICENSE="GPL-2"
@@ -53,7 +56,9 @@ REQUIRED_USE="
"
PATCHES=(
- "${FILESDIR}/${PN}-0.9.8-slibtool.patch"
+ "${FILESDIR}/nftables-1.0.2-compilation.patch"
+ "${FILESDIR}/nftables-1.0.2-build-explicitly-pass-version-script-to-linker.patch"
+ "${FILESDIR}/nftables-1.0.2-libnftables.map-export-new-nft_ctx_-get-set-_optimiz.patch"
)
pkg_setup() {
@@ -90,6 +95,7 @@ src_configure() {
local myeconfargs=(
# We handle python separately
--disable-python
+ --disable-static
--sbindir="${EPREFIX}"/sbin
$(use_enable debug)
$(use_enable doc man-doc)
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-13 14:58 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-13 14:58 UTC (permalink / raw
To: gentoo-commits
commit: f1ae701c376a51515e37c30472508e3de833c8f5
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Sun Feb 13 10:14:50 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 14:58:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ae701c
net-firewall/nftables: stable 1.0.1-r2 for hppa, bug #833063
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.1-r2.ebuild b/net-firewall/nftables/nftables-1.0.1-r2.ebuild
index 200d07a1c304..3ab5c9291110 100644
--- a/net-firewall/nftables/nftables-1.0.1-r2.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r2.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-10 11:50 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-10 11:50 UTC (permalink / raw
To: gentoo-commits
commit: a90213e9289ee8d04a062c163158b70e92f8db16
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 11:49:48 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 11:50:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90213e9
net-firewall/nftables: add subslot dependency on iptables
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{nftables-0.9.8-r1.ebuild => nftables-0.9.8-r2.ebuild} | 8 ++++----
.../nftables/{nftables-0.9.9.ebuild => nftables-0.9.9-r1.ebuild} | 8 ++++----
.../nftables/{nftables-1.0.0.ebuild => nftables-1.0.0-r1.ebuild} | 8 ++++----
.../{nftables-1.0.1-r1.ebuild => nftables-1.0.1-r2.ebuild} | 6 +++---
net-firewall/nftables/nftables-9999.ebuild | 6 +++---
5 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.8-r1.ebuild b/net-firewall/nftables/nftables-0.9.8-r2.ebuild
similarity index 96%
rename from net-firewall/nftables/nftables-0.9.8-r1.ebuild
rename to net-firewall/nftables/nftables-0.9.8-r2.ebuild
index 17044fb39c47..58bf1cc65087 100644
--- a/net-firewall/nftables/nftables-0.9.8-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.8-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,11 +19,11 @@ IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
>=net-libs/libnftnl-1.1.9:0=
- gmp? ( dev-libs/gmp:0= )
+ gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:0= )
- xtables? ( >=net-firewall/iptables-1.6.1 )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
"
DEPEND="${RDEPEND}"
diff --git a/net-firewall/nftables/nftables-0.9.9.ebuild b/net-firewall/nftables/nftables-0.9.9-r1.ebuild
similarity index 96%
rename from net-firewall/nftables/nftables-0.9.9.ebuild
rename to net-firewall/nftables/nftables-0.9.9-r1.ebuild
index 3a44d46ef975..40d4fbc36744 100644
--- a/net-firewall/nftables/nftables-0.9.9.ebuild
+++ b/net-firewall/nftables/nftables-0.9.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -30,11 +30,11 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xt
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
>=net-libs/libnftnl-1.2.0:0=
- gmp? ( dev-libs/gmp:0= )
+ gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:0= )
- xtables? ( >=net-firewall/iptables-1.6.1 )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
"
DEPEND="${RDEPEND}"
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0-r1.ebuild
similarity index 96%
rename from net-firewall/nftables/nftables-1.0.0.ebuild
rename to net-firewall/nftables/nftables-1.0.0-r1.ebuild
index 6285ac74649d..31bd6d1de988 100644
--- a/net-firewall/nftables/nftables-1.0.0.ebuild
+++ b/net-firewall/nftables/nftables-1.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -30,11 +30,11 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xt
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
>=net-libs/libnftnl-1.2.0:0=
- gmp? ( dev-libs/gmp:0= )
+ gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:0= )
- xtables? ( >=net-firewall/iptables-1.6.1 )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
"
DEPEND="${RDEPEND}"
diff --git a/net-firewall/nftables/nftables-1.0.1-r1.ebuild b/net-firewall/nftables/nftables-1.0.1-r2.ebuild
similarity index 97%
rename from net-firewall/nftables/nftables-1.0.1-r1.ebuild
rename to net-firewall/nftables/nftables-1.0.1-r2.ebuild
index 2cb2b24bbafa..200d07a1c304 100644
--- a/net-firewall/nftables/nftables-1.0.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r2.ebuild
@@ -30,11 +30,11 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xt
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
>=net-libs/libnftnl-1.2.1:0=
- gmp? ( dev-libs/gmp:0= )
+ gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:0= )
- xtables? ( >=net-firewall/iptables-1.6.1 )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
"
DEPEND="${RDEPEND}"
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 82923aace969..d6697d8a7eef 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -30,11 +30,11 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xt
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
>=net-libs/libnftnl-1.2.1:0=
- gmp? ( dev-libs/gmp:0= )
+ gmp? ( dev-libs/gmp:= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:0= )
- xtables? ( >=net-firewall/iptables-1.6.1 )
+ readline? ( sys-libs/readline:= )
+ xtables? ( >=net-firewall/iptables-1.6.1:= )
"
DEPEND="${RDEPEND}"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-10 11:43 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-10 11:43 UTC (permalink / raw
To: gentoo-commits
commit: 189a65478272809baf116f77e89e6f5c36dad771
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 11:42:57 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 11:42:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=189a6547
net-firewall/nftables: Stabilize 1.0.1-r1 ppc64, #832395
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.1-r1.ebuild b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
index 4b2d7b92fd59..2cb2b24bbafa 100644
--- a/net-firewall/nftables/nftables-1.0.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-10 11:43 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-10 11:43 UTC (permalink / raw
To: gentoo-commits
commit: 397381c4d5c501806a2df4c0018f7cefd50f0e8d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 11:42:38 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 11:42:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=397381c4
net-firewall/nftables: Stabilize 1.0.1-r1 ppc, #832395
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.1-r1.ebuild b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
index edc3f3aeedc5..4b2d7b92fd59 100644
--- a/net-firewall/nftables/nftables-1.0.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-10 10:17 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-10 10:17 UTC (permalink / raw
To: gentoo-commits
commit: 320a052c8dee3c08fa16d451ea0324a5606a06b6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 10:17:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 10:17:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=320a052c
net-firewall/nftables: Stabilize 1.0.1-r1 arm64, #832395
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.1-r1.ebuild b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
index e6ae2843f045..edc3f3aeedc5 100644
--- a/net-firewall/nftables/nftables-1.0.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-10 10:17 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-10 10:17 UTC (permalink / raw
To: gentoo-commits
commit: e3ef864f8ae033ca964025d71bc67cacf5100071
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 10:17:08 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 10:17:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3ef864f
net-firewall/nftables: Stabilize 1.0.1-r1 arm, #832395
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.1-r1.ebuild b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
index dd1a0f2590b7..e6ae2843f045 100644
--- a/net-firewall/nftables/nftables-1.0.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-10 10:12 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-10 10:12 UTC (permalink / raw
To: gentoo-commits
commit: df771d5a8dcbfd6bcced575813c8b98ad0f23ed5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 10:11:02 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 10:11:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df771d5a
net-firewall/nftables: Stabilize 1.0.1-r1 sparc, #832395
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.1-r1.ebuild b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
index ac3989b2e8f8..dd1a0f2590b7 100644
--- a/net-firewall/nftables/nftables-1.0.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-10 9:59 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-10 9:59 UTC (permalink / raw
To: gentoo-commits
commit: a33916fa1fa89e9c1eb2e638eb09c6f7109b39ff
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 09:59:27 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 09:59:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a33916fa
net-firewall/nftables: Stabilize 1.0.1-r1 x86, #832395
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.1-r1.ebuild b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
index 73091814de64..ac3989b2e8f8 100644
--- a/net-firewall/nftables/nftables-1.0.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-10 9:50 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-10 9:50 UTC (permalink / raw
To: gentoo-commits
commit: 9ad709b7b199008bb55aaa80bdf515e437e19bdc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 09:50:20 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 09:50:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad709b7
net-firewall/nftables: Stabilize 1.0.1-r1 amd64, #832395
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.1-r1.ebuild b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
index 584e495b73d4..73091814de64 100644
--- a/net-firewall/nftables/nftables-1.0.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-02-01 6:56 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2022-02-01 6:56 UTC (permalink / raw
To: gentoo-commits
commit: 5e015e17b8b2739bbdf3614159678a8508f2c7a6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 1 06:56:30 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 1 06:56:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e015e17
net-firewall/nftables: Keyword 1.0.1-r1 hppa, #832455
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.1-r1.ebuild b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
index 82923aace969..584e495b73d4 100644
--- a/net-firewall/nftables/nftables-1.0.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-01-31 19:00 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2022-01-31 19:00 UTC (permalink / raw
To: gentoo-commits
commit: b7fb1e25477f431c2a5b1cfa2ba3362e86a44fdc
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Mon Jan 31 19:00:26 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 19:00:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7fb1e25
net-firewall/nftables: Sync 9999
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 36 +++++++++++++++++-------------
1 file changed, 21 insertions(+), 15 deletions(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 944c87fea31f..82923aace969 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..10} )
-
-inherit autotools linux-info python-r1 systemd
+DISTUTILS_OPTIONAL=1
+inherit autotools linux-info distutils-r1 systemd
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
@@ -56,15 +56,6 @@ PATCHES=(
"${FILESDIR}/${PN}-0.9.8-slibtool.patch"
)
-python_make() {
- emake \
- -C py \
- abs_builddir="${S}" \
- DESTDIR="${D}" \
- PYTHON_BIN="${PYTHON}" \
- "${@}"
-}
-
pkg_setup() {
if kernel_is ge 3 13; then
if use modern-kernel && kernel_is lt 3 18; then
@@ -87,6 +78,12 @@ src_prepare() {
-i files/osf/Makefile.am || die
eautoreconf
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_prepare
+ popd >/dev/null || die
+ fi
}
src_configure() {
@@ -104,13 +101,21 @@ src_configure() {
$(use_with xtables)
)
econf "${myeconfargs[@]}"
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_configure
+ popd >/dev/null || die
+ fi
}
src_compile() {
default
if use python; then
- python_foreach_impl python_make
+ pushd py >/dev/null || die
+ distutils-r1_src_compile
+ popd >/dev/null || die
fi
}
@@ -134,8 +139,9 @@ src_install() {
systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
if use python ; then
- python_foreach_impl python_make install
- python_foreach_impl python_optimize
+ pushd py >/dev/null || die
+ distutils-r1_src_install
+ popd >/dev/null || die
fi
find "${ED}" -type f -name "*.la" -delete || die
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2022-01-31 19:00 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2022-01-31 19:00 UTC (permalink / raw
To: gentoo-commits
commit: bb71ed3992d7a0aa8bc221b4ee52dd4ef091d191
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Mon Jan 31 18:58:57 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 19:00:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb71ed39
net-firewall/nftables: revbump, use distutils eclass (bug #832395)
Closes: https://bugs.gentoo.org/832395
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
...ables-1.0.1.ebuild => nftables-1.0.1-r1.ebuild} | 36 +++++++++++++---------
1 file changed, 21 insertions(+), 15 deletions(-)
diff --git a/net-firewall/nftables/nftables-1.0.1.ebuild b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
similarity index 89%
rename from net-firewall/nftables/nftables-1.0.1.ebuild
rename to net-firewall/nftables/nftables-1.0.1-r1.ebuild
index 944c87fea31f..82923aace969 100644
--- a/net-firewall/nftables/nftables-1.0.1.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..10} )
-
-inherit autotools linux-info python-r1 systemd
+DISTUTILS_OPTIONAL=1
+inherit autotools linux-info distutils-r1 systemd
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
@@ -56,15 +56,6 @@ PATCHES=(
"${FILESDIR}/${PN}-0.9.8-slibtool.patch"
)
-python_make() {
- emake \
- -C py \
- abs_builddir="${S}" \
- DESTDIR="${D}" \
- PYTHON_BIN="${PYTHON}" \
- "${@}"
-}
-
pkg_setup() {
if kernel_is ge 3 13; then
if use modern-kernel && kernel_is lt 3 18; then
@@ -87,6 +78,12 @@ src_prepare() {
-i files/osf/Makefile.am || die
eautoreconf
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_prepare
+ popd >/dev/null || die
+ fi
}
src_configure() {
@@ -104,13 +101,21 @@ src_configure() {
$(use_with xtables)
)
econf "${myeconfargs[@]}"
+
+ if use python; then
+ pushd py >/dev/null || die
+ distutils-r1_src_configure
+ popd >/dev/null || die
+ fi
}
src_compile() {
default
if use python; then
- python_foreach_impl python_make
+ pushd py >/dev/null || die
+ distutils-r1_src_compile
+ popd >/dev/null || die
fi
}
@@ -134,8 +139,9 @@ src_install() {
systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
if use python ; then
- python_foreach_impl python_make install
- python_foreach_impl python_optimize
+ pushd py >/dev/null || die
+ distutils-r1_src_install
+ popd >/dev/null || die
fi
find "${ED}" -type f -name "*.la" -delete || die
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-11-19 18:18 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2021-11-19 18:18 UTC (permalink / raw
To: gentoo-commits
commit: c172d1e54413d9ac9bf8e11e2798fffa12641493
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri Nov 19 18:18:02 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Nov 19 18:18:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c172d1e5
net-firewall/nftables: Version bump to 1.0.1, sync 9999
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/{nftables-9999.ebuild => nftables-1.0.1.ebuild} | 4 ++--
net-firewall/nftables/nftables-9999.ebuild | 4 ++--
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 8f09bc4eb7b6..9ba8523f3bc9 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,3 +1,4 @@
DIST nftables-0.9.8.tar.bz2 879516 BLAKE2B 5063090d648668f4d5ae6d4be48ebecc65dfd4b525768e94a0d90ceebbee73874c916727be8de633550db71c612d698d88cf93575931362b48d954e6ac275143 SHA512 1c5709825c8b2c13cbed0310658959ecee164c930bc9e2447618a0894598138b9a549d20509c32a5c23ce99e40438df38f9e170cf656ce993d819f365490a180
DIST nftables-0.9.9.tar.bz2 922624 BLAKE2B 8de2709576a26ca84a8d694f7cb06cad2bb2fb4671ba21ffc32c0d5997e8124ae7cd794dafddf4db48d8a49c280b48b07d2a31b6c18f6647fdb67cfe7f065b61 SHA512 dfdd3ffc0ffc1742ca0494a3f8fac1c7b2fe942849e60d33fc3cb8a51e27bd39e1ccfeda2195191377a32bb5363ea244f4c3e71b4a6d930f33bf87e17a534fab
DIST nftables-1.0.0.tar.bz2 921053 BLAKE2B ee86a323170433c3ba62f80118947864aac0fe0aaeb48afeb5a116a48782185c83313ef1b5735c7749eb5eccb88f252b444d1ee908be25bdaa4d9c0b833c1dc2 SHA512 33460bef4ee76b7caa44fa5515357127ae84be468448cc838dd31919b6e045ba6195b761118d4c8a4219a9f008c4416542ce784f4daad94f3b44c0626bcdd014
+DIST nftables-1.0.1.tar.bz2 954586 BLAKE2B e406699c96b98495f1b6deeab0233873ce20b43c13c162eafea1e6b371961123a69f3d5e7bd2f1bedfdbe58fed56ba3e2dae962b88657af6f4ab5b3743fb6373 SHA512 a0db4d82725509d2a9c638ba7ba55547ad7b5138a5fe686b0e90260d6a65e060dd72a470969c1d69e945303bd2bfc33b2021d9f4141b88befefddc61b7afe10d
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-1.0.1.ebuild
similarity index 97%
copy from net-firewall/nftables/nftables-9999.ebuild
copy to net-firewall/nftables/nftables-1.0.1.ebuild
index 376318f5382c..944c87fea31f 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-1.0.1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
@@ -29,7 +29,7 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xt
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.2.0:0=
+ >=net-libs/libnftnl-1.2.1:0=
gmp? ( dev-libs/gmp:0= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 376318f5382c..944c87fea31f 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
@@ -29,7 +29,7 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xt
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.2.0:0=
+ >=net-libs/libnftnl-1.2.1:0=
gmp? ( dev-libs/gmp:0= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-10-28 14:03 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2021-10-28 14:03 UTC (permalink / raw
To: gentoo-commits
commit: f70d8d2b189e2f94ad687160b805cb9fad800f53
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 14:03:00 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 14:03:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f70d8d2b
net-firewall/nftables: sparc stable wrt bug #820554
Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0.ebuild
index c966c84153c..6285ac74649 100644
--- a/net-firewall/nftables/nftables-1.0.0.ebuild
+++ b/net-firewall/nftables/nftables-1.0.0.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-10-28 14:00 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2021-10-28 14:00 UTC (permalink / raw
To: gentoo-commits
commit: 803ae2e687531a37d6604025590c1ac06c814e70
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 13:59:27 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 13:59:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803ae2e6
net-firewall/nftables: ppc stable wrt bug #820554
Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0.ebuild
index 8a03f5ec3da..c966c84153c 100644
--- a/net-firewall/nftables/nftables-1.0.0.ebuild
+++ b/net-firewall/nftables/nftables-1.0.0.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm arm64 ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-10-28 7:27 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-10-28 7:27 UTC (permalink / raw
To: gentoo-commits
commit: 18458629634ad448d371cc77fcd65797c44c9efc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 07:27:16 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 07:27:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18458629
net-firewall/nftables: Stabilize 1.0.0 arm, #820554
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0.ebuild
index 0ac0036038f..d71655a8112 100644
--- a/net-firewall/nftables/nftables-1.0.0.ebuild
+++ b/net-firewall/nftables/nftables-1.0.0.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-10-28 7:27 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-10-28 7:27 UTC (permalink / raw
To: gentoo-commits
commit: 5ecb5ae9d7817b9fba9a5e2e5450653be25749b4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 07:27:35 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 07:27:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ecb5ae9
net-firewall/nftables: Stabilize 1.0.0 ppc64, #820554
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0.ebuild
index 0147181b8e3..8a03f5ec3da 100644
--- a/net-firewall/nftables/nftables-1.0.0.ebuild
+++ b/net-firewall/nftables/nftables-1.0.0.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-10-28 7:27 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-10-28 7:27 UTC (permalink / raw
To: gentoo-commits
commit: 24d16a9cf163a78a1a66c72068c30137c9483209
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 07:27:19 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 07:27:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d16a9c
net-firewall/nftables: Stabilize 1.0.0 arm64, #820554
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0.ebuild
index d71655a8112..0147181b8e3 100644
--- a/net-firewall/nftables/nftables-1.0.0.ebuild
+++ b/net-firewall/nftables/nftables-1.0.0.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-10-28 6:43 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2021-10-28 6:43 UTC (permalink / raw
To: gentoo-commits
commit: fb785acf2acb9fd0ce28c9fb2ee0156337669995
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 06:42:55 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 06:42:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb785acf
net-firewall/nftables: x86 stable wrt bug #820554
Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0.ebuild
index 4721ae6ed2f..0ac0036038f 100644
--- a/net-firewall/nftables/nftables-1.0.0.ebuild
+++ b/net-firewall/nftables/nftables-1.0.0.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-10-28 6:22 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-10-28 6:22 UTC (permalink / raw
To: gentoo-commits
commit: fc8b97a8aecc63826fc8a6de834a5bc0c1de92af
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 06:21:29 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 06:21:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8b97a8
net-firewall/nftables: Stabilize 1.0.0 amd64, #820554
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-1.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0.ebuild
index bf4ca7378e2..4721ae6ed2f 100644
--- a/net-firewall/nftables/nftables-1.0.0.ebuild
+++ b/net-firewall/nftables/nftables-1.0.0.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-09-08 23:47 Joshua Kinard
0 siblings, 0 replies; 217+ messages in thread
From: Joshua Kinard @ 2021-09-08 23:47 UTC (permalink / raw
To: gentoo-commits
commit: ed788d0a11e391e5ade910d47789e03304e717f0
Author: Joshua Kinard <kumba <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 8 23:38:29 2021 +0000
Commit: Joshua Kinard <kumba <AT> gentoo <DOT> org>
CommitDate: Wed Sep 8 23:47:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed788d0a
net-firewall/nftables: Added ~mips to KEYWORDS
Signed-off-by: Joshua Kinard <kumba <AT> gentoo.org>
Package-Manager: Portage-3.0.22, Repoman-3.0.3
net-firewall/nftables/nftables-1.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0.ebuild
index 376318f5382..bf4ca7378e2 100644
--- a/net-firewall/nftables/nftables-1.0.0.ebuild
+++ b/net-firewall/nftables/nftables-1.0.0.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-08-23 18:43 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2021-08-23 18:43 UTC (permalink / raw
To: gentoo-commits
commit: 60c5e586f621154da0c4fddbe741d4746ee65411
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 23 18:43:06 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Aug 23 18:43:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c5e586
net-firewall/nftables-1.0.0: Version bump
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-1.0.0.ebuild | 179 ++++++++++++++++++++++++++++
2 files changed, 180 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index f3814d15688..8f09bc4eb7b 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,2 +1,3 @@
DIST nftables-0.9.8.tar.bz2 879516 BLAKE2B 5063090d648668f4d5ae6d4be48ebecc65dfd4b525768e94a0d90ceebbee73874c916727be8de633550db71c612d698d88cf93575931362b48d954e6ac275143 SHA512 1c5709825c8b2c13cbed0310658959ecee164c930bc9e2447618a0894598138b9a549d20509c32a5c23ce99e40438df38f9e170cf656ce993d819f365490a180
DIST nftables-0.9.9.tar.bz2 922624 BLAKE2B 8de2709576a26ca84a8d694f7cb06cad2bb2fb4671ba21ffc32c0d5997e8124ae7cd794dafddf4db48d8a49c280b48b07d2a31b6c18f6647fdb67cfe7f065b61 SHA512 dfdd3ffc0ffc1742ca0494a3f8fac1c7b2fe942849e60d33fc3cb8a51e27bd39e1ccfeda2195191377a32bb5363ea244f4c3e71b4a6d930f33bf87e17a534fab
+DIST nftables-1.0.0.tar.bz2 921053 BLAKE2B ee86a323170433c3ba62f80118947864aac0fe0aaeb48afeb5a116a48782185c83313ef1b5735c7749eb5eccb88f252b444d1ee908be25bdaa4d9c0b833c1dc2 SHA512 33460bef4ee76b7caa44fa5515357127ae84be468448cc838dd31919b6e045ba6195b761118d4c8a4219a9f008c4416542ce784f4daad94f3b44c0626bcdd014
diff --git a/net-firewall/nftables/nftables-1.0.0.ebuild b/net-firewall/nftables/nftables-1.0.0.ebuild
new file mode 100644
index 00000000000..376318f5382
--- /dev/null
+++ b/net-firewall/nftables/nftables-1.0.0.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit autotools linux-info python-r1 systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+
+if [[ ${PV} =~ ^[9]{4,}$ ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.netfilter.org/${PN}"
+
+ BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ "
+else
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/1"
+IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xtables"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:0=
+ >=net-libs/libnftnl-1.2.0:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson:= )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:0= )
+ xtables? ( >=net-firewall/iptables-1.6.1 )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND+="
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ libedit? ( !readline )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.8-slibtool.patch"
+)
+
+python_make() {
+ emake \
+ -C py \
+ abs_builddir="${S}" \
+ DESTDIR="${D}" \
+ PYTHON_BIN="${PYTHON}" \
+ "${@}"
+}
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # fix installation path for doc stuff
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
+ -i files/nftables/Makefile.am || die
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
+ -i files/osf/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with libedit cli editline)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ python_foreach_impl python_make
+ fi
+}
+
+src_install() {
+ default
+
+ if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
+ pushd doc >/dev/null || die
+ doman *.?
+ popd >/dev/null || die
+ fi
+
+ local mksuffix="$(usex modern-kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ python_foreach_impl python_make install
+ python_foreach_impl python_optimize
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ if has_version 'sys-apps/systemd'; then
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart"
+ elog "the nftables-restore service must be manually started in order to"
+ elog "save those rules on shutdown."
+ fi
+ if has_version 'sys-apps/openrc'; then
+ elog "If you wish to enable the firewall rules on boot (on openrc) you"
+ elog "will need to enable the nftables service."
+ elog " 'rc-update add ${PN} default'"
+ elog
+ elog "If you are creating or updating the firewall rules and wish to save"
+ elog "them to be loaded on the next restart, use the \"save\" functionality"
+ elog "in the init script."
+ elog " 'rc-service ${PN} save'"
+ fi
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-08-23 18:43 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2021-08-23 18:43 UTC (permalink / raw
To: gentoo-commits
commit: cfc8486f1fb6251df5ea739f097a03b2ff8f1b34
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 23 18:38:29 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Aug 23 18:43:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc8486f
net-firewall/nftables-9999: Update libnftnl dep
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 5322eb53985..376318f5382 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -29,7 +29,7 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xt
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.1.9:0=
+ >=net-libs/libnftnl-1.2.0:0=
gmp? ( dev-libs/gmp:0= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-08-20 23:51 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-08-20 23:51 UTC (permalink / raw
To: gentoo-commits
commit: 85c2ab6bc8d92bb172874fe8b0404299eacb101b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 20 23:50:02 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 20 23:51:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85c2ab6b
net-firewall/nftables: Stabilize 0.9.8 ppc64, #806322
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild
index dad7cd02bbd..4bf62cdbc28 100644
--- a/net-firewall/nftables/nftables-0.9.8.ebuild
+++ b/net-firewall/nftables/nftables-0.9.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-08-11 23:10 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-08-11 23:10 UTC (permalink / raw
To: gentoo-commits
commit: 472593f9b816c06b55a0efced70a2ffc2081017f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 11 23:08:01 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 11 23:08:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472593f9
net-firewall/nftables: Stabilize 0.9.9 arm64, #807466
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.9.ebuild b/net-firewall/nftables/nftables-0.9.9.ebuild
index 8f017b727bb..3a44d46ef97 100644
--- a/net-firewall/nftables/nftables-0.9.9.ebuild
+++ b/net-firewall/nftables/nftables-0.9.9.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 arm ~arm64 ~ia64 ppc ~ppc64 ~riscv sparc x86"
+ KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-08-11 0:24 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-08-11 0:24 UTC (permalink / raw
To: gentoo-commits
commit: 0791c66c2427cd9f5ba22e567708a1d04b7f7c49
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 11 00:22:52 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 11 00:22:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0791c66c
net-firewall/nftables: Stabilize 0.9.9 sparc, #807466
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.9.ebuild b/net-firewall/nftables/nftables-0.9.9.ebuild
index 672e6789692..d4b3fd8dcff 100644
--- a/net-firewall/nftables/nftables-0.9.9.ebuild
+++ b/net-firewall/nftables/nftables-0.9.9.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-08-11 0:02 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-08-11 0:02 UTC (permalink / raw
To: gentoo-commits
commit: 4252b10cfea4d58853ae21b2a74173069e7c3aad
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 11 00:00:26 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 11 00:02:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4252b10c
net-firewall/nftables: Stabilize 0.9.9 x86, #807466
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.9.ebuild b/net-firewall/nftables/nftables-0.9.9.ebuild
index aa099635c24..0813c88c95c 100644
--- a/net-firewall/nftables/nftables-0.9.9.ebuild
+++ b/net-firewall/nftables/nftables-0.9.9.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-06-21 20:42 Marek Szuba
0 siblings, 0 replies; 217+ messages in thread
From: Marek Szuba @ 2021-06-21 20:42 UTC (permalink / raw
To: gentoo-commits
commit: 3dd9b147db426951f5f91926cce87f7edcbcaf21
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 20:41:17 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 20:42:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dd9b147
net-firewall/nftables: keyword for ~riscv
Builds, installs and runs fine.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.9.ebuild | 2 +-
net-firewall/nftables/nftables-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.9.ebuild b/net-firewall/nftables/nftables-0.9.9.ebuild
index 8a0d67aa983..376318f5382 100644
--- a/net-firewall/nftables/nftables-0.9.9.ebuild
+++ b/net-firewall/nftables/nftables-0.9.9.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 23f5268432b..5322eb53985 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-05-27 16:57 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2021-05-27 16:57 UTC (permalink / raw
To: gentoo-commits
commit: c21a974a54209bc62e0927c66c2c1b6c6587cb2e
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu May 27 16:56:56 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu May 27 16:56:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c21a974a
net-firewall/nftables: slibtool patch to 0.9.9 and 9999 (bug #792414)
Closes: https://bugs.gentoo.org/792414
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.9.ebuild | 4 ++++
net-firewall/nftables/nftables-9999.ebuild | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/net-firewall/nftables/nftables-0.9.9.ebuild b/net-firewall/nftables/nftables-0.9.9.ebuild
index 0e1eabdee43..8a0d67aa983 100644
--- a/net-firewall/nftables/nftables-0.9.9.ebuild
+++ b/net-firewall/nftables/nftables-0.9.9.ebuild
@@ -52,6 +52,10 @@ REQUIRED_USE="
libedit? ( !readline )
"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.8-slibtool.patch"
+)
+
python_make() {
emake \
-C py \
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 8a789cccbab..23f5268432b 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -52,6 +52,10 @@ REQUIRED_USE="
libedit? ( !readline )
"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.8-slibtool.patch"
+)
+
python_make() {
emake \
-C py \
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-05-27 1:25 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2021-05-27 1:25 UTC (permalink / raw
To: gentoo-commits
commit: 1d9f08aac2a0b7d0582e1a93e8b563101e492777
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu May 27 01:24:43 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu May 27 01:24:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d9f08aa
net-firewall/nftables-0.9.9: Version bump, sync 9999
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
.../nftables/{nftables-9999.ebuild => nftables-0.9.9.ebuild} | 6 +++---
net-firewall/nftables/nftables-9999.ebuild | 4 ++--
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 2a75be7d73d..f3814d15688 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1 +1,2 @@
DIST nftables-0.9.8.tar.bz2 879516 BLAKE2B 5063090d648668f4d5ae6d4be48ebecc65dfd4b525768e94a0d90ceebbee73874c916727be8de633550db71c612d698d88cf93575931362b48d954e6ac275143 SHA512 1c5709825c8b2c13cbed0310658959ecee164c930bc9e2447618a0894598138b9a549d20509c32a5c23ce99e40438df38f9e170cf656ce993d819f365490a180
+DIST nftables-0.9.9.tar.bz2 922624 BLAKE2B 8de2709576a26ca84a8d694f7cb06cad2bb2fb4671ba21ffc32c0d5997e8124ae7cd794dafddf4db48d8a49c280b48b07d2a31b6c18f6647fdb67cfe7f065b61 SHA512 dfdd3ffc0ffc1742ca0494a3f8fac1c7b2fe942849e60d33fc3cb8a51e27bd39e1ccfeda2195191377a32bb5363ea244f4c3e71b4a6d930f33bf87e17a534fab
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-0.9.9.ebuild
similarity index 97%
copy from net-firewall/nftables/nftables-9999.ebuild
copy to net-firewall/nftables/nftables-0.9.9.ebuild
index 71361f791e9..0e1eabdee43 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-0.9.9.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..10} )
inherit autotools linux-info python-r1 systemd
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
fi
LICENSE="GPL-2"
@@ -29,7 +29,7 @@ IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xt
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.1.9:0=
+ >=net-libs/libnftnl-1.2.0:0=
gmp? ( dev-libs/gmp:0= )
json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 71361f791e9..8a789cccbab 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..10} )
inherit autotools linux-info python-r1 systemd
@@ -20,7 +20,7 @@ if [[ ${PV} =~ ^[9]{4,}$ ]]; then
"
else
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-05-09 6:01 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-05-09 6:01 UTC (permalink / raw
To: gentoo-commits
commit: 61fb53aba0e1a52b1be6ad24cfed1de18e24442d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 9 06:01:23 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 9 06:01:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61fb53ab
net-firewall/nftables: Stabilize 0.9.8 ppc, #788940
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild
index 38a5ba3783b..dad7cd02bbd 100644
--- a/net-firewall/nftables/nftables-0.9.8.ebuild
+++ b/net-firewall/nftables/nftables-0.9.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 sparc x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-05-09 1:29 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-05-09 1:29 UTC (permalink / raw
To: gentoo-commits
commit: 8bc31c799aa017e8920718db82e09cf70fb15d8a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 9 01:29:08 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 9 01:29:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc31c79
net-firewall/nftables: Stabilize 0.9.8 arm64, #788940
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild
index 7f5724e32e2..38a5ba3783b 100644
--- a/net-firewall/nftables/nftables-0.9.8.ebuild
+++ b/net-firewall/nftables/nftables-0.9.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ~ppc64 sparc x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-05-08 18:58 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-05-08 18:58 UTC (permalink / raw
To: gentoo-commits
commit: 3acd8801f26fb2a3c650cb5289464bc94a6a37fe
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 8 18:58:24 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 8 18:58:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3acd8801
net-firewall/nftables: Stabilize 0.9.8 sparc, #788940
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild
index 540f44d9e9f..7f5724e32e2 100644
--- a/net-firewall/nftables/nftables-0.9.8.ebuild
+++ b/net-firewall/nftables/nftables-0.9.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~ia64 ~ppc ~ppc64 sparc x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-05-08 18:49 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-05-08 18:49 UTC (permalink / raw
To: gentoo-commits
commit: f6aa3badd1579df1113223bbfede2cce46269e24
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 8 18:49:52 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 8 18:49:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6aa3bad
net-firewall/nftables: Stabilize 0.9.8 arm, #788940
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild
index ca0bf6f560c..540f44d9e9f 100644
--- a/net-firewall/nftables/nftables-0.9.8.ebuild
+++ b/net-firewall/nftables/nftables-0.9.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-05-08 18:44 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-05-08 18:44 UTC (permalink / raw
To: gentoo-commits
commit: 512edffd9c23da1f6a1e6c1e9f08844b8f7df152
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 8 18:44:28 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 8 18:44:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=512edffd
net-firewall/nftables: Stabilize 0.9.8 x86, #788940
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild
index cd152740214..ca0bf6f560c 100644
--- a/net-firewall/nftables/nftables-0.9.8.ebuild
+++ b/net-firewall/nftables/nftables-0.9.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-05-08 18:41 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-05-08 18:41 UTC (permalink / raw
To: gentoo-commits
commit: ae3e0310992a81b01c0a07dbfe0cc1bce59a9a13
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 15:08:07 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 7 15:08:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae3e0310
net-firewall/nftables: Stabilize 0.9.8 amd64, #788940
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild
index 3e2404ad91d..cd152740214 100644
--- a/net-firewall/nftables/nftables-0.9.8.ebuild
+++ b/net-firewall/nftables/nftables-0.9.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-04-27 18:02 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-04-27 18:02 UTC (permalink / raw
To: gentoo-commits
commit: 4d36e665233ef25390047cd94d5803fd15bf89df
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 18:02:09 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 27 18:02:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d36e665
net-firewall/nftables: Stabilize 0.9.6-r1 x86, #777813
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.6-r1.ebuild b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
index dfb33434e20..07b3334c70c 100644
--- a/net-firewall/nftables/nftables-0.9.6-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 sparc x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-04-27 18:01 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-04-27 18:01 UTC (permalink / raw
To: gentoo-commits
commit: 336989e6df342d9d6c8710dfd46c719902b7516f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 18:01:07 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 27 18:01:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=336989e6
net-firewall/nftables: Stabilize 0.9.6-r1 amd64, #777813
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.6-r1.ebuild b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
index 372ae0459c0..dfb33434e20 100644
--- a/net-firewall/nftables/nftables-0.9.6-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-03-06 23:10 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2021-03-06 23:10 UTC (permalink / raw
To: gentoo-commits
commit: bfc2f979029bf2133c93813af4bf32ff0960cddd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 6 23:08:37 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 6 23:09:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc2f979
net-firewall/nftables: Stabilize 0.9.6-r1 ppc, #773118
Tested-by: ernsteiswuerfel <erhard_f <AT> mailbox.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.6-r1.ebuild b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
index a2a6ade2a24..372ae0459c0 100644
--- a/net-firewall/nftables/nftables-0.9.6-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-02-28 12:22 Sergei Trofimovich
0 siblings, 0 replies; 217+ messages in thread
From: Sergei Trofimovich @ 2021-02-28 12:22 UTC (permalink / raw
To: gentoo-commits
commit: 72cb6d9e27ee900fe64fcb0156d46f8b92228264
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 12:18:47 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 12:21:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72cb6d9e
net-firewall/nftables: keyworded 0.9.8 for ppc
keyworded wrt bug #773301
Package-Manager: Portage-3.0.16, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild
index e5d5b67b1ce..3e2404ad91d 100644
--- a/net-firewall/nftables/nftables-0.9.8.ebuild
+++ b/net-firewall/nftables/nftables-0.9.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-02-28 12:22 Sergei Trofimovich
0 siblings, 0 replies; 217+ messages in thread
From: Sergei Trofimovich @ 2021-02-28 12:22 UTC (permalink / raw
To: gentoo-commits
commit: 796cffc27128f33fe7d120d1dc83b6c54200cc4d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 12:18:51 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 12:21:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=796cffc2
net-firewall/nftables: keyworded 0.9.6-r1 for ppc
keyworded wrt bug #773301
Package-Manager: Portage-3.0.16, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.6-r1.ebuild b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
index 46061bb57f5..a2a6ade2a24 100644
--- a/net-firewall/nftables/nftables-0.9.6-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-01-16 23:36 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2021-01-16 23:36 UTC (permalink / raw
To: gentoo-commits
commit: 7e0c2ed30570b817847fd17a8cb8af4692a6972a
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 16 23:31:55 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Jan 16 23:36:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e0c2ed3
net-firewall/nftables: Bump to version 0.9.8
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.9.8.ebuild | 162 ++++++++++++++++++++++++++++
2 files changed, 163 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 658a95d5986..f7773a6ba0f 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,2 +1,3 @@
DIST nftables-0.9.6.tar.bz2 859481 BLAKE2B 0ede36370d9f8b75d0179f8f28077124d47132413417382b737508c7ef81c7d2891e1934e69c1ef5af5450ac13c9a914d37bb62ebf40fb91fa048b4ec3a24c90 SHA512 ca6524ff1cb1e79d636afeb96f54e4699773e1cbda8e9a3ec5728f4d5b764c0df16b195cdcc0e304ae5643c8761b6b5a6685c737965a7415aec07aeb9f3dc5df
DIST nftables-0.9.7.tar.bz2 872759 BLAKE2B 25218d97bd5a102b626a2c4beb37a59da2f6c1a8ead49b18375154ff88da536dfac7442aef2c10d2f6e20e6b51c5760a692960da35b82ab335a58e48189e3ae8 SHA512 174cf2d788dfd21f6709ccdc59060580aff904c3d906bac57d07c1b813b2cfdba895205d8342d722460b813f3504d598b82ac2d8a93af5964569b378b9598455
+DIST nftables-0.9.8.tar.bz2 879516 BLAKE2B 5063090d648668f4d5ae6d4be48ebecc65dfd4b525768e94a0d90ceebbee73874c916727be8de633550db71c612d698d88cf93575931362b48d954e6ac275143 SHA512 1c5709825c8b2c13cbed0310658959ecee164c930bc9e2447618a0894598138b9a549d20509c32a5c23ce99e40438df38f9e170cf656ce993d819f365490a180
diff --git a/net-firewall/nftables/nftables-0.9.8.ebuild b/net-firewall/nftables/nftables-0.9.8.ebuild
new file mode 100644
index 00000000000..da74dfce922
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.9.8.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit autotools linux-info python-r1 systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:0=
+ >=net-libs/libnftnl-1.1.9:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:0= )
+ xtables? ( >=net-firewall/iptables-1.6.1 )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+python_make() {
+ emake \
+ -C py \
+ abs_builddir="${S}" \
+ DESTDIR="${D}" \
+ PYTHON_BIN="${PYTHON}" \
+ "${@}"
+}
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # fix installation path for doc stuff
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
+ -i files/nftables/Makefile.am || die
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
+ -i files/osf/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ python_foreach_impl python_make
+ fi
+}
+
+src_install() {
+ default
+
+ if ! use doc; then
+ pushd doc >/dev/null || die
+ doman *.?
+ popd >/dev/null || die
+ fi
+
+ local mksuffix="$(usex modern-kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ python_foreach_impl python_make install
+ python_foreach_impl python_optimize
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ if has_version 'sys-apps/systemd'; then
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart"
+ elog "the nftables-restore service must be manually started in order to"
+ elog "save those rules on shutdown."
+ fi
+ if has_version 'sys-apps/openrc'; then
+ elog "If you wish to enable the firewall rules on boot (on openrc) you"
+ elog "will need to enable the nftables service."
+ elog " 'rc-update add ${PN} default'"
+ elog
+ elog "If you are creating or updating the firewall rules and wish to save"
+ elog "them to be loaded on the next restart, use the \"save\" functionality"
+ elog "in the init script."
+ elog " 'rc-service ${PN} save'"
+ fi
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2021-01-05 18:18 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2021-01-05 18:18 UTC (permalink / raw
To: gentoo-commits
commit: ebadcfe13e438215335c44913b254aaadf74e267
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 5 18:18:21 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Jan 5 18:18:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebadcfe1
net-firewall/nftables-9999: Add libedit USE flag, update libnftnl dep
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 1cc0dea3eb8..c82ada83f01 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -25,13 +25,13 @@ fi
LICENSE="GPL-2"
SLOT="0/1"
-IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
+IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs xtables"
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.1.8:0=
+ >=net-libs/libnftnl-1.1.9:0=
gmp? ( dev-libs/gmp:0= )
- json? ( dev-libs/jansson )
+ json? ( dev-libs/jansson:= )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
xtables? ( >=net-firewall/iptables-1.6.1 )
@@ -49,6 +49,7 @@ BDEPEND+="
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
+ libedit? ( !readline )
"
python_make() {
@@ -93,6 +94,7 @@ src_configure() {
$(use_enable doc man-doc)
$(use_with !gmp mini_gmp)
$(use_with json)
+ $(use_with libedit cli editline)
$(use_with readline cli readline)
$(use_enable static-libs static)
$(use_with xtables)
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-11-08 3:02 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-11-08 3:02 UTC (permalink / raw
To: gentoo-commits
commit: de44065fbf960de15bed1e752a6c24f52f69696e
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 8 03:01:06 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sun Nov 8 03:01:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de44065f
net-firewall/nftables: Remove old
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.7.ebuild | 162 ----------------------------
1 file changed, 162 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.7.ebuild b/net-firewall/nftables/nftables-0.9.7.ebuild
deleted file mode 100644
index 99305e2ed64..00000000000
--- a/net-firewall/nftables/nftables-0.9.7.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8,9} )
-
-inherit autotools linux-info python-r1 systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
-IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
-
-RDEPEND="
- >=net-libs/libmnl-1.0.4:0=
- >=net-libs/libnftnl-1.1.8:0=
- gmp? ( dev-libs/gmp:0= )
- json? ( dev-libs/jansson )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:0= )
- xtables? ( >=net-firewall/iptables-1.6.1 )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- doc? (
- app-text/asciidoc
- >=app-text/docbook2X-0.8.8-r4
- )
- virtual/pkgconfig
-"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-python_make() {
- emake \
- -C py \
- abs_builddir="${S}" \
- DESTDIR="${D}" \
- PYTHON_BIN="${PYTHON}" \
- "${@}"
-}
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern-kernel && kernel_is lt 3 18; then
- eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
-
- # fix installation path for doc stuff
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
- -i files/nftables/Makefile.am || die
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
- -i files/osf/Makefile.am || die
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- # We handle python separately
- --disable-python
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc man-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with readline cli readline)
- $(use_enable static-libs static)
- $(use_with xtables)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- default
-
- if use python; then
- python_foreach_impl python_make
- fi
-}
-
-src_install() {
- default
-
- if ! use doc; then
- pushd doc >/dev/null || die
- doman *.?
- popd >/dev/null || die
- fi
-
- local mksuffix="$(usex modern-kernel '-mk' '')"
-
- exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init-r1 ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
-
- if use python ; then
- python_foreach_impl python_make install
- python_foreach_impl python_optimize
- fi
-
- find "${ED}" -type f -name "*.la" -delete || die
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f "${save_file}" ]]; then
- ( umask 177; touch "${save_file}" )
- elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
- ewarn "Your system has dangerous permissions for ${save_file}"
- ewarn "It is probably affected by bug #691326."
- ewarn "You may need to fix the permissions of the file. To do so,"
- ewarn "you can run the command in the line below as root."
- ewarn " 'chmod 600 \"${save_file}\"'"
- fi
-
- if has_version 'sys-apps/systemd'; then
- elog "If you wish to enable the firewall rules on boot (on systemd) you"
- elog "will need to enable the nftables-restore service."
- elog " 'systemctl enable ${PN}-restore.service'"
- elog
- elog "If you are creating firewall rules before the next system restart"
- elog "the nftables-restore service must be manually started in order to"
- elog "save those rules on shutdown."
- fi
- if has_version 'sys-apps/openrc'; then
- elog "If you wish to enable the firewall rules on boot (on openrc) you"
- elog "will need to enable the nftables service."
- elog " 'rc-update add ${PN} default'"
- elog
- elog "If you are creating or updating the firewall rules and wish to save"
- elog "them to be loaded on the next restart, use the \"save\" functionality"
- elog "in the init script."
- elog " 'rc-service ${PN} save'"
- fi
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-10-31 15:35 Matt Turner
0 siblings, 0 replies; 217+ messages in thread
From: Matt Turner @ 2020-10-31 15:35 UTC (permalink / raw
To: gentoo-commits
commit: 92558fd695d2dbf6016e92034992fb15989f8e31
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 31 15:35:09 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Oct 31 15:35:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92558fd6
net-firewall/nftables: Stabilize 0.9.6-r1 sparc
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.6-r1.ebuild b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
index be001c0ddd6..b04e5f2d081 100644
--- a/net-firewall/nftables/nftables-0.9.6-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-10-27 17:58 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-10-27 17:58 UTC (permalink / raw
To: gentoo-commits
commit: 80a453962d6da3bbda8d0736062a4dfb9b39644b
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 17:40:52 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 17:58:20 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80a45396
net-firewall/nftables: Bump to 0.9.7, update 9999
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
...{nftables-9999.ebuild => nftables-0.9.7.ebuild} | 23 ++++++----------------
net-firewall/nftables/nftables-9999.ebuild | 2 +-
3 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 39e99bf8e47..bdc20af83d0 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -2,3 +2,4 @@ DIST nftables-0.9.3.tar.bz2 786759 BLAKE2B 578276d861fdb2b843223aca1276bbc1dda96
DIST nftables-0.9.4-manpages.tar.xz 38580 BLAKE2B bb561c7824d032ecfff5c98af10c95af6f5188377f43de8398be7e503adff0441d49fa3e2cefcb646927cc1a4222957f0cc75d5ad4c770ef3a3f8cb8a677c5ce SHA512 1b94ff06ceccf75bbefbf64496d5fa0b492907d7ec5fe41f7808c6e239b2a0a42e88d61e35e22485abee7e4bd382178e962a7c5b113433247ca329cbfa408bca
DIST nftables-0.9.4.tar.bz2 792788 BLAKE2B 3f2d8ff3bcfe3ab815ee369c4937adef5e5730edee8ea59b32031732802e608bcb47ddd3e55303ad6c295158aff51b2f2c069d98600db83d732ff78836c7abb5 SHA512 cef5b5f26f3a2893a3eb1323f1f0ecfd6e2865e0eb040e9b7da5824e5be2274b888e661abe96e828add9e951f47303e30cb7c9238d267a031c0f99b5f3b6e2c0
DIST nftables-0.9.6.tar.bz2 859481 BLAKE2B 0ede36370d9f8b75d0179f8f28077124d47132413417382b737508c7ef81c7d2891e1934e69c1ef5af5450ac13c9a914d37bb62ebf40fb91fa048b4ec3a24c90 SHA512 ca6524ff1cb1e79d636afeb96f54e4699773e1cbda8e9a3ec5728f4d5b764c0df16b195cdcc0e304ae5643c8761b6b5a6685c737965a7415aec07aeb9f3dc5df
+DIST nftables-0.9.7.tar.bz2 872759 BLAKE2B 25218d97bd5a102b626a2c4beb37a59da2f6c1a8ead49b18375154ff88da536dfac7442aef2c10d2f6e20e6b51c5760a692960da35b82ab335a58e48189e3ae8 SHA512 174cf2d788dfd21f6709ccdc59060580aff904c3d906bac57d07c1b813b2cfdba895205d8342d722460b813f3504d598b82ac2d8a93af5964569b378b9598455
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-0.9.7.ebuild
similarity index 91%
copy from net-firewall/nftables/nftables-9999.ebuild
copy to net-firewall/nftables/nftables-0.9.7.ebuild
index 989c4f467e9..c1413422262 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-0.9.7.ebuild
@@ -9,37 +9,26 @@ inherit autotools linux-info python-r1 systemd
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
-
-if [[ ${PV} =~ ^[9]{4,}$ ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.netfilter.org/${PN}"
-
- BDEPEND="
- sys-devel/bison
- sys-devel/flex
- "
-else
- SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
-fi
+SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
-SLOT="0/1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
+ >=net-libs/libnftnl-1.1.8:0=
gmp? ( dev-libs/gmp:0= )
json? ( dev-libs/jansson )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.8:0=
xtables? ( >=net-firewall/iptables-1.6.1 )
"
DEPEND="${RDEPEND}"
-BDEPEND+="
+BDEPEND="
doc? (
app-text/asciidoc
>=app-text/docbook2X-0.8.8-r4
@@ -111,7 +100,7 @@ src_compile() {
src_install() {
default
- if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
+ if ! use doc; then
pushd doc >/dev/null || die
doman *.?
popd >/dev/null || die
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 989c4f467e9..2230bbd4f98 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -29,11 +29,11 @@ IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
>=net-libs/libmnl-1.0.4:0=
+ >=net-libs/libnftnl-1.1.8:0=
gmp? ( dev-libs/gmp:0= )
json? ( dev-libs/jansson )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.8:0=
xtables? ( >=net-firewall/iptables-1.6.1 )
"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-08-29 17:57 Thomas Deutschmann
0 siblings, 0 replies; 217+ messages in thread
From: Thomas Deutschmann @ 2020-08-29 17:57 UTC (permalink / raw
To: gentoo-commits
commit: c9d42205c4184f297a9885764b481b3d3e2663c2
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 29 17:49:16 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Aug 29 17:56:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9d42205
net-firewall/nftables: x86 stable (bug #738464)
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.6.ebuild b/net-firewall/nftables/nftables-0.9.6.ebuild
index dcc5edf1bde..0d30999fa1d 100644
--- a/net-firewall/nftables/nftables-0.9.6.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~ppc64 ~sparc x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-08-25 13:13 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2020-08-25 13:13 UTC (permalink / raw
To: gentoo-commits
commit: fe41e171b8452a7c39d98b2cf99df3de433a4635
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 13:12:46 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 13:12:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe41e171
net-firewall/nftables: Stabilize 0.9.6 arm, #738464
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.6.ebuild b/net-firewall/nftables/nftables-0.9.6.ebuild
index d4f50d64817..dcc5edf1bde 100644
--- a/net-firewall/nftables/nftables-0.9.6.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~ppc64 ~sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-08-25 12:53 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2020-08-25 12:53 UTC (permalink / raw
To: gentoo-commits
commit: 204147cfeec57c7c179582db1195618489685d69
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 12:52:12 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 12:52:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=204147cf
net-firewall/nftables: amd64 stable wrt bug #738464
Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.6.ebuild b/net-firewall/nftables/nftables-0.9.6.ebuild
index 2190ac9bb75..d4f50d64817 100644
--- a/net-firewall/nftables/nftables-0.9.6.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc64 ~sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-08-23 20:47 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2020-08-23 20:47 UTC (permalink / raw
To: gentoo-commits
commit: a0e40db6d32de4cbc140c010f5efdd6cf37781d9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 20:46:42 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 20:47:25 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0e40db6
net-firewall/nftables: Stabilize 0.9.6 arm64, #738464
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.6.ebuild b/net-firewall/nftables/nftables-0.9.6.ebuild
index 44e1fc441fb..2190ac9bb75 100644
--- a/net-firewall/nftables/nftables-0.9.6.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ia64 ~ppc64 ~sparc ~x86"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-08-20 13:20 Sam James
0 siblings, 0 replies; 217+ messages in thread
From: Sam James @ 2020-08-20 13:20 UTC (permalink / raw
To: gentoo-commits
commit: 79cbcb42cba93b94dc1aa7ad730f98f84e50b5d3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 20 13:16:45 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 20 13:20:35 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79cbcb42
net-firewall/nftables: Stabilize 0.9.3-r1 arm64, #738076
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.3-r1.ebuild b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
index 5b91d72210c..40a505c31ae 100644
--- a/net-firewall/nftables/nftables-0.9.3-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ia64 ~ppc64 ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~ppc64 ~sparc x86"
IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-07-23 2:06 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-07-23 2:06 UTC (permalink / raw
To: gentoo-commits
commit: e43b2f0dfb489f439535e9e52bb7bd6f396558fc
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 23 02:06:23 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Jul 23 02:06:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e43b2f0d
net-firewall/nftables-9999: Update deps in 9999
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
index 916382cdf8d..989c4f467e9 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://netfilter.org/projects/nftables/"
if [[ ${PV} =~ ^[9]{4,}$ ]]; then
inherit git-r3
- EGIT_REPO_URI="https://git.netfilter.org/nftables"
+ EGIT_REPO_URI="https://git.netfilter.org/${PN}"
BDEPEND="
sys-devel/bison
@@ -24,7 +24,7 @@ else
fi
LICENSE="GPL-2"
-SLOT="0"
+SLOT="0/1"
IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
@@ -33,7 +33,7 @@ RDEPEND="
json? ( dev-libs/jansson )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.7:0=
+ >=net-libs/libnftnl-1.1.8:0=
xtables? ( >=net-firewall/iptables-1.6.1 )
"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-06-27 20:37 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-06-27 20:37 UTC (permalink / raw
To: gentoo-commits
commit: 59c53b6dd088199ef5006a19c653dcc188b11b5a
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 20:33:27 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 20:37:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c53b6d
net-firewall/nftables: Add live ebuild
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-9999.ebuild | 173 +++++++++++++++++++++++++++++
1 file changed, 173 insertions(+)
diff --git a/net-firewall/nftables/nftables-9999.ebuild b/net-firewall/nftables/nftables-9999.ebuild
new file mode 100644
index 00000000000..916382cdf8d
--- /dev/null
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit autotools linux-info python-r1 systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+
+if [[ ${PV} =~ ^[9]{4,}$ ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.netfilter.org/nftables"
+
+ BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ "
+else
+ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.7:0=
+ xtables? ( >=net-firewall/iptables-1.6.1 )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND+="
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+python_make() {
+ emake \
+ -C py \
+ abs_builddir="${S}" \
+ DESTDIR="${D}" \
+ PYTHON_BIN="${PYTHON}" \
+ "${@}"
+}
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # fix installation path for doc stuff
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
+ -i files/nftables/Makefile.am || die
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
+ -i files/osf/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ python_foreach_impl python_make
+ fi
+}
+
+src_install() {
+ default
+
+ if ! use doc && [[ ! ${PV} =~ ^[9]{4,}$ ]]; then
+ pushd doc >/dev/null || die
+ doman *.?
+ popd >/dev/null || die
+ fi
+
+ local mksuffix="$(usex modern-kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ python_foreach_impl python_make install
+ python_foreach_impl python_optimize
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ if has_version 'sys-apps/systemd'; then
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart"
+ elog "the nftables-restore service must be manually started in order to"
+ elog "save those rules on shutdown."
+ fi
+ if has_version 'sys-apps/openrc'; then
+ elog "If you wish to enable the firewall rules on boot (on openrc) you"
+ elog "will need to enable the nftables service."
+ elog " 'rc-update add ${PN} default'"
+ elog
+ elog "If you are creating or updating the firewall rules and wish to save"
+ elog "them to be loaded on the next restart, use the \"save\" functionality"
+ elog "in the init script."
+ elog " 'rc-service ${PN} save'"
+ fi
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-06-27 20:37 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-06-27 20:37 UTC (permalink / raw
To: gentoo-commits
commit: ae62e133c84c646842cca143727a32805c59d921
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 20:37:10 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 20:37:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae62e133
net-firewall/nftables-0.9.6: Add py39, instructions for openrc
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.6.ebuild | 39 ++++++++++++++++++-----------
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.6.ebuild b/net-firewall/nftables/nftables-0.9.6.ebuild
index aad88b61923..44e1fc441fb 100644
--- a/net-firewall/nftables/nftables-0.9.6.ebuild
+++ b/net-firewall/nftables/nftables-0.9.6.ebuild
@@ -3,13 +3,12 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit autotools linux-info python-r1 systemd
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
-#SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
@@ -37,9 +36,9 @@ BDEPEND="
virtual/pkgconfig
"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-#S="${WORKDIR}/v${PV}"
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
python_make() {
emake \
@@ -47,7 +46,7 @@ python_make() {
abs_builddir="${S}" \
DESTDIR="${D}" \
PYTHON_BIN="${PYTHON}" \
- ${@}
+ "${@}"
}
pkg_setup() {
@@ -93,7 +92,7 @@ src_configure() {
src_compile() {
default
- if use python ; then
+ if use python; then
python_foreach_impl python_make
fi
}
@@ -141,11 +140,23 @@ pkg_postinst() {
ewarn " 'chmod 600 \"${save_file}\"'"
fi
- elog "If you wish to enable the firewall rules on boot (on systemd) you"
- elog "will need to enable the nftables-restore service."
- elog " 'systemctl enable ${PN}-restore.service'"
- elog
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
+ if has_version 'sys-apps/systemd'; then
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart"
+ elog "the nftables-restore service must be manually started in order to"
+ elog "save those rules on shutdown."
+ fi
+ if has_version 'sys-apps/openrc'; then
+ elog "If you wish to enable the firewall rules on boot (on openrc) you"
+ elog "will need to enable the nftables service."
+ elog " 'rc-update add ${PN} default'"
+ elog
+ elog "If you are creating or updating the firewall rules and wish to save"
+ elog "them to be loaded on the next restart, use the \"save\" functionality"
+ elog "in the init script."
+ elog " 'rc-service ${PN} save'"
+ fi
}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-06-16 2:20 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-06-16 2:20 UTC (permalink / raw
To: gentoo-commits
commit: cae70d6c888f7cc134157c380e904c90f1547282
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 16 02:20:02 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Jun 16 02:20:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cae70d6c
net-firewall/nftables-0.9.6: Version bump
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 +-
net-firewall/nftables/{nftables-0.9.5.ebuild => nftables-0.9.6.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index f51358d73d7..39e99bf8e47 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,4 +1,4 @@
DIST nftables-0.9.3.tar.bz2 786759 BLAKE2B 578276d861fdb2b843223aca1276bbc1dda9627d0058259a966e324e30ee64d8c102d1e2cceb82d29143caa9dcd1a4492df168f1c87b136fc7b3a1a7dc8568a8 SHA512 d264f6fc75c95510e29fe7d5b82ae418d502f40437b098ba6117ffb1374d9989d70a7296e2e58c5fb25142145a987bb9c160902637899f892589809f9541db43
DIST nftables-0.9.4-manpages.tar.xz 38580 BLAKE2B bb561c7824d032ecfff5c98af10c95af6f5188377f43de8398be7e503adff0441d49fa3e2cefcb646927cc1a4222957f0cc75d5ad4c770ef3a3f8cb8a677c5ce SHA512 1b94ff06ceccf75bbefbf64496d5fa0b492907d7ec5fe41f7808c6e239b2a0a42e88d61e35e22485abee7e4bd382178e962a7c5b113433247ca329cbfa408bca
DIST nftables-0.9.4.tar.bz2 792788 BLAKE2B 3f2d8ff3bcfe3ab815ee369c4937adef5e5730edee8ea59b32031732802e608bcb47ddd3e55303ad6c295158aff51b2f2c069d98600db83d732ff78836c7abb5 SHA512 cef5b5f26f3a2893a3eb1323f1f0ecfd6e2865e0eb040e9b7da5824e5be2274b888e661abe96e828add9e951f47303e30cb7c9238d267a031c0f99b5f3b6e2c0
-DIST nftables-0.9.5.tar.bz2 855740 BLAKE2B 82c6962616a1ba5329fe9f39a64e61984415be5087bc79457fc2f6c4e70edba0f2ccc63698eb620f9d9e22950b9de014d34bf499f8457179610ff749a9ad8658 SHA512 fc306984e951c3d036ce0d5bc0cd9dc07dd773a129ceb2df13db6636fbeeeb08ddd1586ef7116f3a0c3a08d1366da230ebcbcdb65e5fe29c07e24d612426f352
+DIST nftables-0.9.6.tar.bz2 859481 BLAKE2B 0ede36370d9f8b75d0179f8f28077124d47132413417382b737508c7ef81c7d2891e1934e69c1ef5af5450ac13c9a914d37bb62ebf40fb91fa048b4ec3a24c90 SHA512 ca6524ff1cb1e79d636afeb96f54e4699773e1cbda8e9a3ec5728f4d5b764c0df16b195cdcc0e304ae5643c8761b6b5a6685c737965a7415aec07aeb9f3dc5df
diff --git a/net-firewall/nftables/nftables-0.9.5.ebuild b/net-firewall/nftables/nftables-0.9.6.ebuild
similarity index 100%
rename from net-firewall/nftables/nftables-0.9.5.ebuild
rename to net-firewall/nftables/nftables-0.9.6.ebuild
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-06-07 18:17 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-06-07 18:17 UTC (permalink / raw
To: gentoo-commits
commit: 11f6d950515a2578fbb3f5c9a3d2dcd795477592
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 7 18:17:20 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sun Jun 7 18:17:35 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f6d950
net-firewall/nftables-0.9.5: Don't require extra tarball with USE=-doc
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 -
net-firewall/nftables/nftables-0.9.5.ebuild | 5 ++---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 52fef421cf2..f51358d73d7 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,5 +1,4 @@
DIST nftables-0.9.3.tar.bz2 786759 BLAKE2B 578276d861fdb2b843223aca1276bbc1dda9627d0058259a966e324e30ee64d8c102d1e2cceb82d29143caa9dcd1a4492df168f1c87b136fc7b3a1a7dc8568a8 SHA512 d264f6fc75c95510e29fe7d5b82ae418d502f40437b098ba6117ffb1374d9989d70a7296e2e58c5fb25142145a987bb9c160902637899f892589809f9541db43
DIST nftables-0.9.4-manpages.tar.xz 38580 BLAKE2B bb561c7824d032ecfff5c98af10c95af6f5188377f43de8398be7e503adff0441d49fa3e2cefcb646927cc1a4222957f0cc75d5ad4c770ef3a3f8cb8a677c5ce SHA512 1b94ff06ceccf75bbefbf64496d5fa0b492907d7ec5fe41f7808c6e239b2a0a42e88d61e35e22485abee7e4bd382178e962a7c5b113433247ca329cbfa408bca
DIST nftables-0.9.4.tar.bz2 792788 BLAKE2B 3f2d8ff3bcfe3ab815ee369c4937adef5e5730edee8ea59b32031732802e608bcb47ddd3e55303ad6c295158aff51b2f2c069d98600db83d732ff78836c7abb5 SHA512 cef5b5f26f3a2893a3eb1323f1f0ecfd6e2865e0eb040e9b7da5824e5be2274b888e661abe96e828add9e951f47303e30cb7c9238d267a031c0f99b5f3b6e2c0
-DIST nftables-0.9.5-manpages.tar.xz 38908 BLAKE2B ee4977ecd03d5f22657d8898c6758a8de481481df158f540e07fe5fc8dbb5dcbd38c5598c496359f1facbb9e5304bef8a8eefc798736092ed9df494d8cb57ebb SHA512 2f049ad6663ac926f6e6740457f9698afcfe7147fc90a9d20542171ca376beb71fd8bc3f8308c3e46fee517e8470c79ac8b54079bc036ef5471822e55d5cd3c3
DIST nftables-0.9.5.tar.bz2 855740 BLAKE2B 82c6962616a1ba5329fe9f39a64e61984415be5087bc79457fc2f6c4e70edba0f2ccc63698eb620f9d9e22950b9de014d34bf499f8457179610ff749a9ad8658 SHA512 fc306984e951c3d036ce0d5bc0cd9dc07dd773a129ceb2df13db6636fbeeeb08ddd1586ef7116f3a0c3a08d1366da230ebcbcdb65e5fe29c07e24d612426f352
diff --git a/net-firewall/nftables/nftables-0.9.5.ebuild b/net-firewall/nftables/nftables-0.9.5.ebuild
index 78b72cc2610..aad88b61923 100644
--- a/net-firewall/nftables/nftables-0.9.5.ebuild
+++ b/net-firewall/nftables/nftables-0.9.5.ebuild
@@ -10,8 +10,7 @@ inherit autotools linux-info python-r1 systemd
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
#SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
- !doc? ( https://dev.gentoo.org/~polynomial-c/dist/nftables/${P}-manpages.tar.xz )"
+SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -103,7 +102,7 @@ src_install() {
default
if ! use doc; then
- pushd "${WORKDIR}/${P}-manpages" >/dev/null || die
+ pushd doc >/dev/null || die
doman *.?
popd >/dev/null || die
fi
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-06-07 12:10 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2020-06-07 12:10 UTC (permalink / raw
To: gentoo-commits
commit: 8c3c94124f7669b9d3f34e17873df8f7a7284c37
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 7 12:10:33 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Jun 7 12:10:50 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3c9412
net-firewall/nftables: Fixed installation with USE="-doc"
Closes: https://bugs.gentoo.org/727368
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.9.5.ebuild | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index f51358d73d7..52fef421cf2 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,4 +1,5 @@
DIST nftables-0.9.3.tar.bz2 786759 BLAKE2B 578276d861fdb2b843223aca1276bbc1dda9627d0058259a966e324e30ee64d8c102d1e2cceb82d29143caa9dcd1a4492df168f1c87b136fc7b3a1a7dc8568a8 SHA512 d264f6fc75c95510e29fe7d5b82ae418d502f40437b098ba6117ffb1374d9989d70a7296e2e58c5fb25142145a987bb9c160902637899f892589809f9541db43
DIST nftables-0.9.4-manpages.tar.xz 38580 BLAKE2B bb561c7824d032ecfff5c98af10c95af6f5188377f43de8398be7e503adff0441d49fa3e2cefcb646927cc1a4222957f0cc75d5ad4c770ef3a3f8cb8a677c5ce SHA512 1b94ff06ceccf75bbefbf64496d5fa0b492907d7ec5fe41f7808c6e239b2a0a42e88d61e35e22485abee7e4bd382178e962a7c5b113433247ca329cbfa408bca
DIST nftables-0.9.4.tar.bz2 792788 BLAKE2B 3f2d8ff3bcfe3ab815ee369c4937adef5e5730edee8ea59b32031732802e608bcb47ddd3e55303ad6c295158aff51b2f2c069d98600db83d732ff78836c7abb5 SHA512 cef5b5f26f3a2893a3eb1323f1f0ecfd6e2865e0eb040e9b7da5824e5be2274b888e661abe96e828add9e951f47303e30cb7c9238d267a031c0f99b5f3b6e2c0
+DIST nftables-0.9.5-manpages.tar.xz 38908 BLAKE2B ee4977ecd03d5f22657d8898c6758a8de481481df158f540e07fe5fc8dbb5dcbd38c5598c496359f1facbb9e5304bef8a8eefc798736092ed9df494d8cb57ebb SHA512 2f049ad6663ac926f6e6740457f9698afcfe7147fc90a9d20542171ca376beb71fd8bc3f8308c3e46fee517e8470c79ac8b54079bc036ef5471822e55d5cd3c3
DIST nftables-0.9.5.tar.bz2 855740 BLAKE2B 82c6962616a1ba5329fe9f39a64e61984415be5087bc79457fc2f6c4e70edba0f2ccc63698eb620f9d9e22950b9de014d34bf499f8457179610ff749a9ad8658 SHA512 fc306984e951c3d036ce0d5bc0cd9dc07dd773a129ceb2df13db6636fbeeeb08ddd1586ef7116f3a0c3a08d1366da230ebcbcdb65e5fe29c07e24d612426f352
diff --git a/net-firewall/nftables/nftables-0.9.5.ebuild b/net-firewall/nftables/nftables-0.9.5.ebuild
index 01cfd9cb722..78b72cc2610 100644
--- a/net-firewall/nftables/nftables-0.9.5.ebuild
+++ b/net-firewall/nftables/nftables-0.9.5.ebuild
@@ -10,7 +10,8 @@ inherit autotools linux-info python-r1 systemd
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
#SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2
+ !doc? ( https://dev.gentoo.org/~polynomial-c/dist/nftables/${P}-manpages.tar.xz )"
LICENSE="GPL-2"
SLOT="0"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-06-07 0:18 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-06-07 0:18 UTC (permalink / raw
To: gentoo-commits
commit: a480b32c349e8c33907f9f50933d1d3cdcd7adb6
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 7 00:17:57 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sun Jun 7 00:18:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a480b32c
net-firewall/nftables-0.9.5: Version bump
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.9.5.ebuild | 151 ++++++++++++++++++++++++++++
2 files changed, 152 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index e2877db7245..f51358d73d7 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,3 +1,4 @@
DIST nftables-0.9.3.tar.bz2 786759 BLAKE2B 578276d861fdb2b843223aca1276bbc1dda9627d0058259a966e324e30ee64d8c102d1e2cceb82d29143caa9dcd1a4492df168f1c87b136fc7b3a1a7dc8568a8 SHA512 d264f6fc75c95510e29fe7d5b82ae418d502f40437b098ba6117ffb1374d9989d70a7296e2e58c5fb25142145a987bb9c160902637899f892589809f9541db43
DIST nftables-0.9.4-manpages.tar.xz 38580 BLAKE2B bb561c7824d032ecfff5c98af10c95af6f5188377f43de8398be7e503adff0441d49fa3e2cefcb646927cc1a4222957f0cc75d5ad4c770ef3a3f8cb8a677c5ce SHA512 1b94ff06ceccf75bbefbf64496d5fa0b492907d7ec5fe41f7808c6e239b2a0a42e88d61e35e22485abee7e4bd382178e962a7c5b113433247ca329cbfa408bca
DIST nftables-0.9.4.tar.bz2 792788 BLAKE2B 3f2d8ff3bcfe3ab815ee369c4937adef5e5730edee8ea59b32031732802e608bcb47ddd3e55303ad6c295158aff51b2f2c069d98600db83d732ff78836c7abb5 SHA512 cef5b5f26f3a2893a3eb1323f1f0ecfd6e2865e0eb040e9b7da5824e5be2274b888e661abe96e828add9e951f47303e30cb7c9238d267a031c0f99b5f3b6e2c0
+DIST nftables-0.9.5.tar.bz2 855740 BLAKE2B 82c6962616a1ba5329fe9f39a64e61984415be5087bc79457fc2f6c4e70edba0f2ccc63698eb620f9d9e22950b9de014d34bf499f8457179610ff749a9ad8658 SHA512 fc306984e951c3d036ce0d5bc0cd9dc07dd773a129ceb2df13db6636fbeeeb08ddd1586ef7116f3a0c3a08d1366da230ebcbcdb65e5fe29c07e24d612426f352
diff --git a/net-firewall/nftables/nftables-0.9.5.ebuild b/net-firewall/nftables/nftables-0.9.5.ebuild
new file mode 100644
index 00000000000..01cfd9cb722
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.9.5.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit autotools linux-info python-r1 systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+#SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.4:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.7:0=
+ xtables? ( >=net-firewall/iptables-1.6.1 )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+#S="${WORKDIR}/v${PV}"
+
+python_make() {
+ emake \
+ -C py \
+ abs_builddir="${S}" \
+ DESTDIR="${D}" \
+ PYTHON_BIN="${PYTHON}" \
+ ${@}
+}
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # fix installation path for doc stuff
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
+ -i files/nftables/Makefile.am || die
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
+ -i files/osf/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ default
+
+ if use python ; then
+ python_foreach_impl python_make
+ fi
+}
+
+src_install() {
+ default
+
+ if ! use doc; then
+ pushd "${WORKDIR}/${P}-manpages" >/dev/null || die
+ doman *.?
+ popd >/dev/null || die
+ fi
+
+ local mksuffix="$(usex modern-kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ python_foreach_impl python_make install
+ python_foreach_impl python_optimize
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemctl enable ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-04-13 18:48 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-04-13 18:48 UTC (permalink / raw
To: gentoo-commits
commit: 88e73ced2a730e212311b9a603b00846e3064e58
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 13 18:45:46 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Apr 13 18:47:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88e73ced
net-firewall/nftables-0.9.4-r{1,2}: Fix USE=-python (bug #717162)
Closes: https://bugs.gentoo.org/717162
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.4-r1.ebuild | 2 +-
net-firewall/nftables/nftables-0.9.4-r2.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.4-r1.ebuild b/net-firewall/nftables/nftables-0.9.4-r1.ebuild
index c6c7496044c..9cd3da3f64c 100644
--- a/net-firewall/nftables/nftables-0.9.4-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.4-r1.ebuild
@@ -115,9 +115,9 @@ src_install() {
if use python ; then
python_foreach_impl python_make install
+ python_foreach_impl python_optimize
fi
- python_foreach_impl python_optimize
find "${ED}" -type f -name "*.la" -delete || die
}
diff --git a/net-firewall/nftables/nftables-0.9.4-r2.ebuild b/net-firewall/nftables/nftables-0.9.4-r2.ebuild
index f9a434586f7..cf8385c7c2b 100644
--- a/net-firewall/nftables/nftables-0.9.4-r2.ebuild
+++ b/net-firewall/nftables/nftables-0.9.4-r2.ebuild
@@ -126,9 +126,9 @@ src_install() {
if use python ; then
python_foreach_impl python_make install
+ python_foreach_impl python_optimize
fi
- python_foreach_impl python_optimize
find "${ED}" -type f -name "*.la" -delete || die
}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-04-07 6:56 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-04-07 6:56 UTC (permalink / raw
To: gentoo-commits
commit: f103299fc4d3445f5e0f47b2aa4e43316500dfa3
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 7 06:56:06 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Apr 7 06:56:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f103299f
net-firewall/nftables-0.9.4-r1: revbump, call python_optimize, fix deps
Call python_optimize to fix QA warning about unoptimized python code.
The docbook2X dep is only needed for building man pages, so put it under
the doc USE flag.
Fix the pkg_postinst message about systemd (bug #705308)
Closes: https://bugs.gentoo.org/705308
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
.../nftables/{nftables-0.9.4.ebuild => nftables-0.9.4-r1.ebuild} | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.4.ebuild b/net-firewall/nftables/nftables-0.9.4-r1.ebuild
similarity index 95%
rename from net-firewall/nftables/nftables-0.9.4.ebuild
rename to net-firewall/nftables/nftables-0.9.4-r1.ebuild
index 1858322697d..c6c7496044c 100644
--- a/net-firewall/nftables/nftables-0.9.4.ebuild
+++ b/net-firewall/nftables/nftables-0.9.4-r1.ebuild
@@ -30,8 +30,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
- doc? ( app-text/asciidoc )
- >=app-text/docbook2X-0.8.8-r4
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
@@ -115,6 +117,7 @@ src_install() {
python_foreach_impl python_make install
fi
+ python_foreach_impl python_optimize
find "${ED}" -type f -name "*.la" -delete || die
}
@@ -136,7 +139,7 @@ pkg_postinst() {
elog "If you wish to enable the firewall rules on boot (on systemd) you"
elog "will need to enable the nftables-restore service."
- elog " 'systemd_enable_service basic.target ${PN}-restore.service'"
+ elog " 'systemctl enable ${PN}-restore.service'"
elog
elog "If you are creating firewall rules before the next system restart "
elog "the nftables-restore service must be manually started in order to "
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-04-02 7:47 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2020-04-02 7:47 UTC (permalink / raw
To: gentoo-commits
commit: 76027cc4939f1c5aa1d6ddc72aa1ee951dd5de3d
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 2 07:44:59 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Apr 2 07:47:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76027cc4
net-firewall/nftables: Bump to version 0.9.4
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.9.4.ebuild | 144 ++++++++++++++++++++++++++++
2 files changed, 145 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index f1c16ddeff7..38d6eefb1dd 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -2,3 +2,4 @@ DIST nftables-0.9.0.tar.gz 417981 BLAKE2B 4dfba4d71928f1694ffeb4871353fc373d88e2
DIST nftables-0.9.1.tar.bz2 764066 BLAKE2B 26b194d6b3b970c05348c32a3ab21e8c25fcdb0d09d3d6b467198ba23a5bb44e7b6450d3efb86c39a488df4a837885c4a1ab96c197d5449f7de49b7b18ff5f90 SHA512 e14b75197ba3fea2a46c090450bf8b45b39fdc20db67bab1d6919c90128dee8ea8bbe9508e070f86b22ec70bcad8ab584fb89630a2240f09683137471c77d242
DIST nftables-0.9.2.tar.bz2 779850 BLAKE2B 40bf9ed956a126048f27b343afc7aa4f6e34f35dc91127402cb127903f8150d212c80491fef2b54c18a63ca065608521062b3f6a2dd78969bdbf4d7d8a5a751d SHA512 2d83b104af0d70f99a16c2e40afdb9bf89bd984323810e2895976c5e2e346bf09dd88850a391f295e335279adfdd39d34c13610cf8e6b801499dc0df2a5cecf6
DIST nftables-0.9.3.tar.bz2 786759 BLAKE2B 578276d861fdb2b843223aca1276bbc1dda9627d0058259a966e324e30ee64d8c102d1e2cceb82d29143caa9dcd1a4492df168f1c87b136fc7b3a1a7dc8568a8 SHA512 d264f6fc75c95510e29fe7d5b82ae418d502f40437b098ba6117ffb1374d9989d70a7296e2e58c5fb25142145a987bb9c160902637899f892589809f9541db43
+DIST nftables-0.9.4.tar.bz2 792788 BLAKE2B 3f2d8ff3bcfe3ab815ee369c4937adef5e5730edee8ea59b32031732802e608bcb47ddd3e55303ad6c295158aff51b2f2c069d98600db83d732ff78836c7abb5 SHA512 cef5b5f26f3a2893a3eb1323f1f0ecfd6e2865e0eb040e9b7da5824e5be2274b888e661abe96e828add9e951f47303e30cb7c9238d267a031c0f99b5f3b6e2c0
diff --git a/net-firewall/nftables/nftables-0.9.4.ebuild b/net-firewall/nftables/nftables-0.9.4.ebuild
new file mode 100644
index 00000000000..1858322697d
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.9.4.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit autotools linux-info python-r1 systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+#SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.6:0=
+ xtables? ( >=net-firewall/iptables-1.6.1 )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ doc? ( app-text/asciidoc )
+ >=app-text/docbook2X-0.8.8-r4
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+#S="${WORKDIR}/v${PV}"
+
+python_make() {
+ emake \
+ -C py \
+ abs_builddir="${S}" \
+ DESTDIR="${D}" \
+ PYTHON_BIN="${PYTHON}" \
+ ${@}
+}
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # fix installation path for doc stuff
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
+ -i files/nftables/Makefile.am || die
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
+ -i files/osf/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ default
+
+ if use python ; then
+ python_foreach_impl python_make
+ fi
+}
+
+src_install() {
+ default
+
+ local mksuffix="$(usex modern-kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ python_foreach_impl python_make install
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemd_enable_service basic.target ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-02-26 19:23 Patrick McLean
0 siblings, 0 replies; 217+ messages in thread
From: Patrick McLean @ 2020-02-26 19:23 UTC (permalink / raw
To: gentoo-commits
commit: 5be57518c0b0b4556586770d204cdfe003f6b96b
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Wed Feb 26 19:23:08 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 19:23:25 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5be57518
net-firewall/nftables-0.9.3-r1: Add python3_8
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.3-r1.ebuild b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
index 3c1bc7e056a..eb102f26b55 100644
--- a/net-firewall/nftables/nftables-0.9.3-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit autotools linux-info python-r1 systemd
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-01-27 12:06 Mikle Kolyada
0 siblings, 0 replies; 217+ messages in thread
From: Mikle Kolyada @ 2020-01-27 12:06 UTC (permalink / raw
To: gentoo-commits
commit: f7f2b7d29ce64d5c797de51a604dafc8d8fd9ae4
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 27 12:06:21 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Jan 27 12:06:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7f2b7d2
net-firewall/nftables: arm stable wrt bug #701852
Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.3-r1.ebuild b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
index 0971c21eb9e..3c1bc7e056a 100644
--- a/net-firewall/nftables/nftables-0.9.3-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ia64 ~ppc64 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ia64 ~ppc64 ~sparc x86"
IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-01-15 23:52 Sergei Trofimovich
0 siblings, 0 replies; 217+ messages in thread
From: Sergei Trofimovich @ 2020-01-15 23:52 UTC (permalink / raw
To: gentoo-commits
commit: ea29841977ad796c27e89d1e4433d9f5ae5a902b
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 22:56:36 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 23:51:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea298419
net-firewall/nftables: stable 0.9.3-r1 for ia64, bug #701852
Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.3-r1.ebuild b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
index 93d6929a942..0971c21eb9e 100644
--- a/net-firewall/nftables/nftables-0.9.3-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 ~ppc64 ~sparc x86"
IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-01-10 12:16 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2020-01-10 12:16 UTC (permalink / raw
To: gentoo-commits
commit: b41d6168c31dc21aef2871051b163c766c2b4adb
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 10 12:16:26 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 12:16:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b41d6168
net-firewall/nftables: amd64 stable wrt bug #701852
Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.3-r1.ebuild b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
index cea073e88dd..93d6929a942 100644
--- a/net-firewall/nftables/nftables-0.9.3-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc x86"
IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2020-01-10 1:26 Thomas Deutschmann
0 siblings, 0 replies; 217+ messages in thread
From: Thomas Deutschmann @ 2020-01-10 1:26 UTC (permalink / raw
To: gentoo-commits
commit: 2a89ffaead4d0712bd7c5495e8b0f5ccbba54ac8
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 10 00:57:58 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 00:57:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a89ffae
net-firewall/nftables: x86 stable (bug #701852)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.3-r1.ebuild b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
index f0fb1f63c7b..cea073e88dd 100644
--- a/net-firewall/nftables/nftables-0.9.3-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc x86"
IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-12-28 21:32 Georgy Yakovlev
0 siblings, 0 replies; 217+ messages in thread
From: Georgy Yakovlev @ 2019-12-28 21:32 UTC (permalink / raw
To: gentoo-commits
commit: 7fdcbb2edfd73851d87eb3861c394b2f22dfa45d
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 28 21:09:38 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 21:32:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fdcbb2e
net-firewall/nftables: keyword 0.9.3-r1 on ~ppc64
Bug: https://bugs.gentoo.org/679888
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.3-r1.ebuild b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
index 7f18d19e346..2ee8c133989 100644
--- a/net-firewall/nftables/nftables-0.9.3-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc ~x86"
IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-12-05 2:19 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2019-12-05 2:19 UTC (permalink / raw
To: gentoo-commits
commit: 2bce2a7f66efe4b6152e4d0cbefd5fe148e5deec
Author: Francisco Blas (klondike) Izquierdo Riera <klondike <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 5 02:09:51 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Thu Dec 5 02:19:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bce2a7f
net-firewall/nftables: Depend on >=net-libs/libnftnl-1.1.5
Although upstreams reports that nftables 0.9.3 depends on
libnftnl 1.1.4 or higher. Using said version results on the
following errors:
netlink.c: In function ‘netlink_delinearize_chain’:
netlink.c:423:38: error: ‘NFTNL_CHAIN_DEVICES’ undeclared
(first use in this function); did you mean ‘NFTNL_CHAIN_DEV’?
} else if (nftnl_chain_is_set(nlc, NFTNL_CHAIN_DEVICES)) {
^~~~~~~~~~~~~~~~~~~
NFTNL_CHAIN_DEV
netlink.c:423:38: note: each undeclared identifier is reported
only once for each function it appears in
netlink.c: In function ‘netlink_delinearize_obj’:
netlink.c:1049:27: error: ‘NFTNL_OBJ_SYNPROXY_MSS’ undeclared
(first use in this function); did you mean ‘NFTNL_EXPR_SYNPROXY_MSS’?
nftnl_obj_get_u16(nlo, NFTNL_OBJ_SYNPROXY_MSS);
^~~~~~~~~~~~~~~~~~~~~~
NFTNL_EXPR_SYNPROXY_MSS
netlink.c:1051:26: error: ‘NFTNL_OBJ_SYNPROXY_WSCALE’ undeclared
(first use in this function); did you mean ‘NFTNL_EXPR_SYNPROXY_WSCALE’?
nftnl_obj_get_u8(nlo, NFTNL_OBJ_SYNPROXY_WSCALE);
^~~~~~~~~~~~~~~~~~~~~~~~~
NFTNL_EXPR_SYNPROXY_WSCALE
netlink.c:1053:27: error: ‘NFTNL_OBJ_SYNPROXY_FLAGS’ undeclared (first
use in this function); did you mean ‘NFTNL_EXPR_SYNPROXY_FLAGS’?
nftnl_obj_get_u32(nlo, NFTNL_OBJ_SYNPROXY_FLAGS);
^~~~~~~~~~~~~~~~~~~~~~~~
NFTNL_EXPR_SYNPROXY_FLAGS
netlink.c: In function ‘netlink_delinearize_flowtable’:
netlink.c:1137:3: warning: implicit declaration of function
‘nftnl_flowtable_get_u64’; did you mean ‘nftnl_flowtable_get_u32’?
[-Wimplicit-function-declaration]
nftnl_flowtable_get_u64(nlo, NFTNL_FLOWTABLE_HANDLE);
^~~~~~~~~~~~~~~~~~~~~~~
nftnl_flowtable_get_u32
netlink.c:1137:32: error: ‘NFTNL_FLOWTABLE_HANDLE’ undeclared (first
use in this function); did you mean ‘NFTA_FLOWTABLE_HANDLE’?
nftnl_flowtable_get_u64(nlo, NFTNL_FLOWTABLE_HANDLE);
^~~~~~~~~~~~~~~~~~~~~~
NFTA_FLOWTABLE_HANDLE
Depend instead on version 1.1.5 or higher with which the
compilation suceeds.
Closes: https://bugs.gentoo.org/701976
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike <AT> gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.11
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.3-r1.ebuild b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
index ded9ef81c8a..7f18d19e346 100644
--- a/net-firewall/nftables/nftables-0.9.3-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
json? ( dev-libs/jansson )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.4:0=
+ >=net-libs/libnftnl-1.1.5:0=
xtables? ( >=net-firewall/iptables-1.6.1 )
"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-12-05 2:19 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2019-12-05 2:19 UTC (permalink / raw
To: gentoo-commits
commit: 05a624159dea4811d5212e59d97c3ee471f58559
Author: Francisco Blas (klondike) Izquierdo Riera <klondike <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 5 02:03:01 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Thu Dec 5 02:19:37 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a62415
net-firewall/nftables: Port missing changes to 0.9.3
Lars added nftables-0.9.3 at the time I was doing the changes
to rename the modern_kernel USE flag and move the skel files
into its own folder in doc.
As a result of this, I missed the ebuild and didn't update it.
Update also the 0.9.3 ebuild so it follows the same conventions
as the others.
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike <AT> gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.11
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
.../nftables/{nftables-0.9.3.ebuild => nftables-0.9.3-r1.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.3.ebuild b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
similarity index 96%
rename from net-firewall/nftables/nftables-0.9.3.ebuild
rename to net-firewall/nftables/nftables-0.9.3-r1.ebuild
index 26df15a2aea..ded9ef81c8a 100644
--- a/net-firewall/nftables/nftables-0.9.3.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3-r1.ebuild
@@ -66,9 +66,9 @@ src_prepare() {
default
# fix installation path for doc stuff
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}@' \
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
-i files/nftables/Makefile.am || die
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/osf@' \
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
-i files/osf/Makefile.am || die
eautoreconf
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-12-03 16:52 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2019-12-03 16:52 UTC (permalink / raw
To: gentoo-commits
commit: 7bba4eb59a368b70758cf495a588d80d8a53903b
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 3 16:51:19 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Dec 3 16:52:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bba4eb5
net-firewall/nftables: fix modern_kernel flag
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.3.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.3.ebuild b/net-firewall/nftables/nftables-0.9.3.ebuild
index ad90d7a0673..26df15a2aea 100644
--- a/net-firewall/nftables/nftables-0.9.3.ebuild
+++ b/net-firewall/nftables/nftables-0.9.3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
-IUSE="debug +doc +gmp json +modern_kernel python +readline static-libs xtables"
+IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
>=net-libs/libmnl-1.0.3:0=
@@ -52,8 +52,8 @@ python_make() {
pkg_setup() {
if kernel_is ge 3 13; then
- if use modern_kernel && kernel_is lt 3 18; then
- eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly."
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
fi
CONFIG_CHECK="~NF_TABLES"
linux-info_pkg_setup
@@ -101,7 +101,7 @@ src_compile() {
src_install() {
default
- local mksuffix="$(usex modern_kernel '-mk' '')"
+ local mksuffix="$(usex modern-kernel '-mk' '')"
exeinto /usr/libexec/${PN}
newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-12-03 16:10 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2019-12-03 16:10 UTC (permalink / raw
To: gentoo-commits
commit: 269ef5357b7faf75145b073997908e74e9c18ea5
Author: Francisco Blas (klondike) Izquierdo Riera <klondike <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 3 00:39:53 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Dec 3 16:10:20 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=269ef535
net-firewall/nftables: rename modern_kernel use flag
When the new scripts supporting atomic updates on modern kernels
where introduced, usage of the new scripts was controlled by the
modern_kernel USE flag.
QA has requested that we avoid using underscores on USE flags as
they are a reserved character.
Rename the modern_kernel USE flag to modern-kernel to address
this issue.
Closes: https://bugs.gentoo.org/694838
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike <AT> gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.11
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/metadata.xml | 2 +-
net-firewall/nftables/nftables-0.9.0-r5.ebuild | 8 ++++----
net-firewall/nftables/nftables-0.9.1-r1.ebuild | 8 ++++----
net-firewall/nftables/nftables-0.9.2-r1.ebuild | 8 ++++----
4 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml
index 0984d13e0f0..0380331d510 100644
--- a/net-firewall/nftables/metadata.xml
+++ b/net-firewall/nftables/metadata.xml
@@ -16,7 +16,7 @@
<use>
<flag name="doc">Create man pages for the package (requires <pkg>app-text/asciidoc</pkg>)</flag>
<flag name="json">Enable JSON support via <pkg>dev-libs/jansson</pkg></flag>
- <flag name="modern_kernel">Install init scripts for 3.18 or higher kernels with atomic rule updates</flag>
+ <flag name="modern-kernel">Install init scripts for 3.18 or higher kernels with atomic rule updates</flag>
<flag name="xtables">Add libxtables support to try to automatically translate rules added by iptables-compat</flag>
</use>
</pkgmetadata>
diff --git a/net-firewall/nftables/nftables-0.9.0-r5.ebuild b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
index 2ad8c89d4c7..dc29d33b649 100644
--- a/net-firewall/nftables/nftables-0.9.0-r5.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ia64 x86"
-IUSE="debug doc +gmp json +modern_kernel +readline"
+IUSE="debug doc +gmp json +modern-kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
gmp? ( dev-libs/gmp:0= )
@@ -31,8 +31,8 @@ S="${WORKDIR}/v${PV}"
pkg_setup() {
if kernel_is ge 3 13; then
- if use modern_kernel && kernel_is lt 3 18; then
- eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly."
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
fi
CONFIG_CHECK="~NF_TABLES"
linux-info_pkg_setup
@@ -62,7 +62,7 @@ src_install() {
default
local mksuffix=""
- use modern_kernel && mksuffix="-mk"
+ use modern-kernel && mksuffix="-mk"
exeinto /usr/libexec/${PN}
newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
diff --git a/net-firewall/nftables/nftables-0.9.1-r1.ebuild b/net-firewall/nftables/nftables-0.9.1-r1.ebuild
index ef662d78f71..8538c51884d 100644
--- a/net-firewall/nftables/nftables-0.9.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.1-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
-IUSE="debug +doc +gmp json +modern_kernel python +readline static-libs xtables"
+IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
>=net-libs/libmnl-1.0.3:0=
@@ -57,8 +57,8 @@ python_make() {
pkg_setup() {
if kernel_is ge 3 13; then
- if use modern_kernel && kernel_is lt 3 18; then
- eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly."
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
fi
CONFIG_CHECK="~NF_TABLES"
linux-info_pkg_setup
@@ -106,7 +106,7 @@ src_compile() {
src_install() {
default
- local mksuffix="$(usex modern_kernel '-mk' '')"
+ local mksuffix="$(usex modern-kernel '-mk' '')"
exeinto /usr/libexec/${PN}
newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
diff --git a/net-firewall/nftables/nftables-0.9.2-r1.ebuild b/net-firewall/nftables/nftables-0.9.2-r1.ebuild
index f8649c46afa..5dd8147c26d 100644
--- a/net-firewall/nftables/nftables-0.9.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
-IUSE="debug +doc +gmp json +modern_kernel python +readline static-libs xtables"
+IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
RDEPEND="
>=net-libs/libmnl-1.0.3:0=
@@ -52,8 +52,8 @@ python_make() {
pkg_setup() {
if kernel_is ge 3 13; then
- if use modern_kernel && kernel_is lt 3 18; then
- eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly."
+ if use modern-kernel && kernel_is lt 3 18; then
+ eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly."
fi
CONFIG_CHECK="~NF_TABLES"
linux-info_pkg_setup
@@ -101,7 +101,7 @@ src_compile() {
src_install() {
default
- local mksuffix="$(usex modern_kernel '-mk' '')"
+ local mksuffix="$(usex modern-kernel '-mk' '')"
exeinto /usr/libexec/${PN}
newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-12-03 16:10 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2019-12-03 16:10 UTC (permalink / raw
To: gentoo-commits
commit: 30b3fa9d29308ecbd09b30a8357adeeb2768ca22
Author: Francisco Blas (klondike) Izquierdo Riera <klondike <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 3 01:36:40 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Dec 3 16:10:21 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b3fa9d
net-firewall/nftables: Move skel files
Currently the ebuild installs the skeleton files directly
into the ebuild's doc directory. In 0.9.0-r5 the intention
was installing them into a skels folder (although this was not
done correctly).
Replace the sed rules so that the skeleton files are installed
into the skel folder. This will be cleaner if for some reason
nftables adds further documentation on the future. It is also
easier to perform this change now than once we stabilize.
Bug: https://bugs.gentoo.org/671254
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike <AT> gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.11
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
...es-0.9.2-r1.ebuild => nftables-0.9.0-r6.ebuild} | 77 +++++-----------------
...es-0.9.1-r1.ebuild => nftables-0.9.1-r2.ebuild} | 4 +-
...es-0.9.2-r1.ebuild => nftables-0.9.2-r2.ebuild} | 4 +-
3 files changed, 22 insertions(+), 63 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.2-r1.ebuild b/net-firewall/nftables/nftables-0.9.0-r6.ebuild
similarity index 61%
copy from net-firewall/nftables/nftables-0.9.2-r1.ebuild
copy to net-firewall/nftables/nftables-0.9.0-r6.ebuild
index 5dd8147c26d..90884e99c1c 100644
--- a/net-firewall/nftables/nftables-0.9.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r6.ebuild
@@ -1,54 +1,33 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=6
-PYTHON_COMPAT=( python3_{5,6,7} )
-
-inherit autotools linux-info python-r1 systemd
+inherit autotools linux-info systemd
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="https://netfilter.org/projects/nftables/"
-#SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
-IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+IUSE="debug doc +gmp json +modern-kernel +readline"
-RDEPEND="
- >=net-libs/libmnl-1.0.3:0=
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
gmp? ( dev-libs/gmp:0= )
json? ( dev-libs/jansson )
- python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.4:0=
- xtables? ( >=net-firewall/iptables-1.6.1 )
-"
-
-DEPEND="${RDEPEND}"
+ >=net-libs/libnftnl-1.1.1:0="
-BDEPEND="
- doc? ( app-text/asciidoc )
+DEPEND="${RDEPEND}
>=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
sys-devel/bison
sys-devel/flex
- virtual/pkgconfig
-"
+ virtual/pkgconfig"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-#S="${WORKDIR}/v${PV}"
-
-python_make() {
- emake \
- -C py \
- abs_builddir="${S}" \
- DESTDIR="${D}" \
- PYTHON_BIN="${PYTHON}" \
- ${@}
-}
+S="${WORKDIR}/v${PV}"
pkg_setup() {
if kernel_is ge 3 13; then
@@ -64,44 +43,26 @@ pkg_setup() {
src_prepare() {
default
-
- # fix installation path for doc stuff
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}@' \
- -i files/nftables/Makefile.am || die
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/osf@' \
- -i files/osf/Makefile.am || die
-
eautoreconf
}
src_configure() {
local myeconfargs=(
- # We handle python separately
- --disable-python
--sbindir="${EPREFIX}"/sbin
$(use_enable debug)
- $(use_enable doc man-doc)
+ $(use_enable doc pdf-doc)
$(use_with !gmp mini_gmp)
$(use_with json)
$(use_with readline cli)
- $(use_enable static-libs static)
- $(use_with xtables)
)
econf "${myeconfargs[@]}"
}
-src_compile() {
- default
-
- if use python ; then
- python_foreach_impl python_make
- fi
-}
-
src_install() {
default
- local mksuffix="$(usex modern-kernel '-mk' '')"
+ local mksuffix=""
+ use modern-kernel && mksuffix="-mk"
exeinto /usr/libexec/${PN}
newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
@@ -111,16 +72,14 @@ src_install() {
systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- if use python ; then
- python_foreach_impl python_make install
- fi
-
- find "${ED}" -type f -name "*.la" -delete || die
+ docinto skels
+ dodoc "${D}"/etc/nftables/*
+ rm -R "${D}"/etc/nftables
}
pkg_postinst() {
local save_file
- save_file="${EROOT}/var/lib/nftables/rules-save"
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
# In order for the nftables-restore systemd service to start
# the save_file must exist.
diff --git a/net-firewall/nftables/nftables-0.9.1-r1.ebuild b/net-firewall/nftables/nftables-0.9.1-r2.ebuild
similarity index 96%
rename from net-firewall/nftables/nftables-0.9.1-r1.ebuild
rename to net-firewall/nftables/nftables-0.9.1-r2.ebuild
index 8538c51884d..fab18474325 100644
--- a/net-firewall/nftables/nftables-0.9.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.1-r2.ebuild
@@ -71,9 +71,9 @@ src_prepare() {
default
# fix installation path for doc stuff
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}@' \
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
-i files/nftables/Makefile.am || die
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/osf@' \
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
-i files/osf/Makefile.am || die
eautoreconf
diff --git a/net-firewall/nftables/nftables-0.9.2-r1.ebuild b/net-firewall/nftables/nftables-0.9.2-r2.ebuild
similarity index 96%
rename from net-firewall/nftables/nftables-0.9.2-r1.ebuild
rename to net-firewall/nftables/nftables-0.9.2-r2.ebuild
index 5dd8147c26d..a6478ad1215 100644
--- a/net-firewall/nftables/nftables-0.9.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.2-r2.ebuild
@@ -66,9 +66,9 @@ src_prepare() {
default
# fix installation path for doc stuff
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}@' \
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels@' \
-i files/nftables/Makefile.am || die
- sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/osf@' \
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/skels/osf@' \
-i files/osf/Makefile.am || die
eautoreconf
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-12-03 7:19 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2019-12-03 7:19 UTC (permalink / raw
To: gentoo-commits
commit: 1fb8c2e321d6da56ba0cf4087c275d4bce534989
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 3 07:19:16 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Dec 3 07:19:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fb8c2e3
net-firewall/nftables: Bump to version 0.9.3
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.9.3.ebuild | 144 ++++++++++++++++++++++++++++
2 files changed, 145 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 02cd9f86c8b..f1c16ddeff7 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,3 +1,4 @@
DIST nftables-0.9.0.tar.gz 417981 BLAKE2B 4dfba4d71928f1694ffeb4871353fc373d88e23c5ba716e726e1e6aba0efb2703233528f7a408bfefe47bfe54aa3612cccab9742c2a2208ec8c7a4bcda0e1823 SHA512 78e383bad5440c9414202cf0e4b6749fc5c01071d2fa547208e61cea6e7e179933990e7e538a60696eb0a7cf510d2c4b273a91d50287bb51507d244cd2875aed
DIST nftables-0.9.1.tar.bz2 764066 BLAKE2B 26b194d6b3b970c05348c32a3ab21e8c25fcdb0d09d3d6b467198ba23a5bb44e7b6450d3efb86c39a488df4a837885c4a1ab96c197d5449f7de49b7b18ff5f90 SHA512 e14b75197ba3fea2a46c090450bf8b45b39fdc20db67bab1d6919c90128dee8ea8bbe9508e070f86b22ec70bcad8ab584fb89630a2240f09683137471c77d242
DIST nftables-0.9.2.tar.bz2 779850 BLAKE2B 40bf9ed956a126048f27b343afc7aa4f6e34f35dc91127402cb127903f8150d212c80491fef2b54c18a63ca065608521062b3f6a2dd78969bdbf4d7d8a5a751d SHA512 2d83b104af0d70f99a16c2e40afdb9bf89bd984323810e2895976c5e2e346bf09dd88850a391f295e335279adfdd39d34c13610cf8e6b801499dc0df2a5cecf6
+DIST nftables-0.9.3.tar.bz2 786759 BLAKE2B 578276d861fdb2b843223aca1276bbc1dda9627d0058259a966e324e30ee64d8c102d1e2cceb82d29143caa9dcd1a4492df168f1c87b136fc7b3a1a7dc8568a8 SHA512 d264f6fc75c95510e29fe7d5b82ae418d502f40437b098ba6117ffb1374d9989d70a7296e2e58c5fb25142145a987bb9c160902637899f892589809f9541db43
diff --git a/net-firewall/nftables/nftables-0.9.3.ebuild b/net-firewall/nftables/nftables-0.9.3.ebuild
new file mode 100644
index 00000000000..ad90d7a0673
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.9.3.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit autotools linux-info python-r1 systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+#SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
+IUSE="debug +doc +gmp json +modern_kernel python +readline static-libs xtables"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.4:0=
+ xtables? ( >=net-firewall/iptables-1.6.1 )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ doc? ( app-text/asciidoc )
+ >=app-text/docbook2X-0.8.8-r4
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+#S="${WORKDIR}/v${PV}"
+
+python_make() {
+ emake \
+ -C py \
+ abs_builddir="${S}" \
+ DESTDIR="${D}" \
+ PYTHON_BIN="${PYTHON}" \
+ ${@}
+}
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern_kernel && kernel_is lt 3 18; then
+ eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # fix installation path for doc stuff
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}@' \
+ -i files/nftables/Makefile.am || die
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/osf@' \
+ -i files/osf/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with readline cli readline)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ default
+
+ if use python ; then
+ python_foreach_impl python_make
+ fi
+}
+
+src_install() {
+ default
+
+ local mksuffix="$(usex modern_kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ python_foreach_impl python_make install
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f "${save_file}" ]]; then
+ ( umask 177; touch "${save_file}" )
+ elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
+ ewarn "Your system has dangerous permissions for ${save_file}"
+ ewarn "It is probably affected by bug #691326."
+ ewarn "You may need to fix the permissions of the file. To do so,"
+ ewarn "you can run the command in the line below as root."
+ ewarn " 'chmod 600 \"${save_file}\"'"
+ fi
+
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemd_enable_service basic.target ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-12-02 18:52 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2019-12-02 18:52 UTC (permalink / raw
To: gentoo-commits
commit: e9d9a46d5115e5c75085f335bded4badbce05673
Author: Francisco Blas (klondike) Izquierdo Riera <klondike <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 2 18:27:29 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Dec 2 18:51:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d9a46d
net-firewall/nftables: Touch rules-save with right umask
The nftables ebuild contains code to ensure the rules-save
file is created so the service will start on systemd based
systems.
The current code creates the file with default permissions
644 which triggers the code for detecting misconfigured system
added to address bug #691326
Instead of just using touch, start a subshell so we can call
umask beforehand and address the issue.
Bug: https://bugs.gentoo.org/691326
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike <AT> gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.11
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r5.ebuild | 2 +-
net-firewall/nftables/nftables-0.9.1-r1.ebuild | 2 +-
net-firewall/nftables/nftables-0.9.2-r1.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r5.ebuild b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
index 24530d29291..2ad8c89d4c7 100644
--- a/net-firewall/nftables/nftables-0.9.0-r5.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
@@ -84,7 +84,7 @@ pkg_postinst() {
# In order for the nftables-restore systemd service to start
# the save_file must exist.
if [[ ! -f "${save_file}" ]]; then
- touch "${save_file}"
+ ( umask 177; touch "${save_file}" )
elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
ewarn "Your system has dangerous permissions for ${save_file}"
ewarn "It is probably affected by bug #691326."
diff --git a/net-firewall/nftables/nftables-0.9.1-r1.ebuild b/net-firewall/nftables/nftables-0.9.1-r1.ebuild
index 5752d73a1b9..ef662d78f71 100644
--- a/net-firewall/nftables/nftables-0.9.1-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.1-r1.ebuild
@@ -130,7 +130,7 @@ pkg_postinst() {
# In order for the nftables-restore systemd service to start
# the save_file must exist.
if [[ ! -f "${save_file}" ]]; then
- touch "${save_file}"
+ ( umask 177; touch "${save_file}" )
elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
ewarn "Your system has dangerous permissions for ${save_file}"
ewarn "It is probably affected by bug #691326."
diff --git a/net-firewall/nftables/nftables-0.9.2-r1.ebuild b/net-firewall/nftables/nftables-0.9.2-r1.ebuild
index d3579794781..f8649c46afa 100644
--- a/net-firewall/nftables/nftables-0.9.2-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.2-r1.ebuild
@@ -125,7 +125,7 @@ pkg_postinst() {
# In order for the nftables-restore systemd service to start
# the save_file must exist.
if [[ ! -f "${save_file}" ]]; then
- touch "${save_file}"
+ ( umask 177; touch "${save_file}" )
elif [[ $(( "$( stat --printf '%05a' "${save_file}" )" & 07177 )) -ne 0 ]]; then
ewarn "Your system has dangerous permissions for ${save_file}"
ewarn "It is probably affected by bug #691326."
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-12-02 18:52 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2019-12-02 18:52 UTC (permalink / raw
To: gentoo-commits
commit: c462d2e51ff55918629a7df082d8d1310a83b7ca
Author: Francisco Blas (klondike) Izquierdo Riera <klondike <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 2 18:24:50 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Dec 2 18:51:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c462d2e5
net-firewall/nftables: Drop vulnerable ebuild
Drop the nftables-0.9.0-r4 ebuild which is affected by the
permission handling bug as all stable arches can now use
-r5 instead.
Bug: https://bugs.gentoo.org/691326
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike <AT> gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.11
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r4.ebuild | 97 --------------------------
1 file changed, 97 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r4.ebuild b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
deleted file mode 100644
index e56ff112a6b..00000000000
--- a/net-firewall/nftables/nftables-0.9.0-r4.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ia64 x86"
-IUSE="debug doc +gmp json +modern_kernel +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- json? ( dev-libs/jansson )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.1:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern_kernel && kernel_is lt 3 18; then
- eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc pdf-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with readline cli)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- local mksuffix=""
- use modern_kernel && mksuffix="-mk"
-
- exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
-
- docinto /usr/share/doc/${PF}/skels
- dodoc "${D}"/etc/nftables/*
- rm -R "${D}"/etc/nftables
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you wish to enable the firewall rules on boot (on systemd) you"
- elog "will need to enable the nftables-restore service."
- elog " 'systemd_enable_service basic.target ${PN}-restore.service'"
- elog
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-09-13 18:47 Mikle Kolyada
0 siblings, 0 replies; 217+ messages in thread
From: Mikle Kolyada @ 2019-09-13 18:47 UTC (permalink / raw
To: gentoo-commits
commit: d98e6ffdb8d0a10e7cd99e9b72db2515cd3f9670
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 18:42:29 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 18:47:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98e6ffd
net-firewall/nftables: arm stable wrt bug #693716
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r5.ebuild b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
index 21a2f743d9e..24530d29291 100644
--- a/net-firewall/nftables/nftables-0.9.0-r5.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
+KEYWORDS="amd64 arm ~arm64 ia64 x86"
IUSE="debug doc +gmp json +modern_kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-09-13 17:27 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2019-09-13 17:27 UTC (permalink / raw
To: gentoo-commits
commit: 019af4cf9570a8cda4a92b75563a8da4c66f598e
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 17:27:06 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 17:27:30 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=019af4cf
net-firewall/nftables: ia64 stable wrt bug #693716
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r5.ebuild b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
index 4875e3c743d..21a2f743d9e 100644
--- a/net-firewall/nftables/nftables-0.9.0-r5.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
IUSE="debug doc +gmp json +modern_kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-09-09 6:54 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2019-09-09 6:54 UTC (permalink / raw
To: gentoo-commits
commit: 3379556cfd03edef7f1720351ddb0052e947c9a9
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 9 06:53:43 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Sep 9 06:53:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3379556c
net-firewall/nftables: amd64 stable wrt bug #693716
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r5.ebuild b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
index 18219f72747..4875e3c743d 100644
--- a/net-firewall/nftables/nftables-0.9.0-r5.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86"
IUSE="debug doc +gmp json +modern_kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-09-08 19:15 Thomas Deutschmann
0 siblings, 0 replies; 217+ messages in thread
From: Thomas Deutschmann @ 2019-09-08 19:15 UTC (permalink / raw
To: gentoo-commits
commit: 0d65ba4fb5f241b31fa30f36ba9334d92fe4231c
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 8 18:51:15 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 8 18:51:15 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d65ba4f
net-firewall/nftables: x86 stable (bug #693716)
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r5.ebuild b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
index d98c11e37e4..18219f72747 100644
--- a/net-firewall/nftables/nftables-0.9.0-r5.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 x86"
IUSE="debug doc +gmp json +modern_kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-08-27 7:35 Matt Turner
0 siblings, 0 replies; 217+ messages in thread
From: Matt Turner @ 2019-08-27 7:35 UTC (permalink / raw
To: gentoo-commits
commit: eedbd2b98c42ceb5728db8c3d476620df6dd67d9
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 27 07:31:25 2019 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Aug 27 07:35:17 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eedbd2b9
net-firewall/nftables-0.9.2: added ~sparc
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.2.ebuild b/net-firewall/nftables/nftables-0.9.2.ebuild
index 983784f71ba..112b5f0b9af 100644
--- a/net-firewall/nftables/nftables-0.9.2.ebuild
+++ b/net-firewall/nftables/nftables-0.9.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
IUSE="debug +doc +gmp json +modern_kernel python +readline static-libs xtables"
RDEPEND="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-08-23 17:02 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2019-08-23 17:02 UTC (permalink / raw
To: gentoo-commits
commit: 45bf97d12e222087b4b7f4fde6cd69deed12a37b
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 23 17:02:20 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Aug 23 17:02:34 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45bf97d1
net-firewall/nftables: Bump to version 0.9.2
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.9.2.ebuild | 138 ++++++++++++++++++++++++++++
2 files changed, 139 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 139c43a83f8..02cd9f86c8b 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,2 +1,3 @@
DIST nftables-0.9.0.tar.gz 417981 BLAKE2B 4dfba4d71928f1694ffeb4871353fc373d88e23c5ba716e726e1e6aba0efb2703233528f7a408bfefe47bfe54aa3612cccab9742c2a2208ec8c7a4bcda0e1823 SHA512 78e383bad5440c9414202cf0e4b6749fc5c01071d2fa547208e61cea6e7e179933990e7e538a60696eb0a7cf510d2c4b273a91d50287bb51507d244cd2875aed
DIST nftables-0.9.1.tar.bz2 764066 BLAKE2B 26b194d6b3b970c05348c32a3ab21e8c25fcdb0d09d3d6b467198ba23a5bb44e7b6450d3efb86c39a488df4a837885c4a1ab96c197d5449f7de49b7b18ff5f90 SHA512 e14b75197ba3fea2a46c090450bf8b45b39fdc20db67bab1d6919c90128dee8ea8bbe9508e070f86b22ec70bcad8ab584fb89630a2240f09683137471c77d242
+DIST nftables-0.9.2.tar.bz2 779850 BLAKE2B 40bf9ed956a126048f27b343afc7aa4f6e34f35dc91127402cb127903f8150d212c80491fef2b54c18a63ca065608521062b3f6a2dd78969bdbf4d7d8a5a751d SHA512 2d83b104af0d70f99a16c2e40afdb9bf89bd984323810e2895976c5e2e346bf09dd88850a391f295e335279adfdd39d34c13610cf8e6b801499dc0df2a5cecf6
diff --git a/net-firewall/nftables/nftables-0.9.2.ebuild b/net-firewall/nftables/nftables-0.9.2.ebuild
new file mode 100644
index 00000000000..983784f71ba
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.9.2.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit autotools linux-info python-r1 systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+#SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+IUSE="debug +doc +gmp json +modern_kernel python +readline static-libs xtables"
+
+RDEPEND="
+ >=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.4:0=
+ xtables? ( >=net-firewall/iptables-1.6.1 )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ doc? ( app-text/asciidoc )
+ >=app-text/docbook2X-0.8.8-r4
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+#S="${WORKDIR}/v${PV}"
+
+python_make() {
+ emake \
+ -C py \
+ abs_builddir="${S}" \
+ DESTDIR="${D}" \
+ PYTHON_BIN="${PYTHON}" \
+ ${@}
+}
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern_kernel && kernel_is lt 3 18; then
+ eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # fix installation path for doc stuff
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}@' \
+ -i files/nftables/Makefile.am || die
+ sed '/^pkgsysconfdir/s@${sysconfdir}.*$@${docdir}/osf@' \
+ -i files/osf/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # We handle python separately
+ --disable-python
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc man-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with readline cli)
+ $(use_enable static-libs static)
+ $(use_with xtables)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ default
+
+ if use python ; then
+ python_foreach_impl python_make
+ fi
+}
+
+src_install() {
+ default
+
+ local mksuffix="$(usex modern_kernel '-mk' '')"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ if use python ; then
+ python_foreach_impl python_make install
+ fi
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemd_enable_service basic.target ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-07-29 1:52 Matt Turner
0 siblings, 0 replies; 217+ messages in thread
From: Matt Turner @ 2019-07-29 1:52 UTC (permalink / raw
To: gentoo-commits
commit: bc857e824d55fd85a50341d6e5383ce51ce4671c
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 01:52:25 2019 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 01:52:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc857e82
net-firewall/nftables: Drop old versions
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
net-firewall/nftables/Manifest | 2 -
net-firewall/nftables/nftables-0.8-r3.ebuild | 84 ----------------------------
net-firewall/nftables/nftables-0.8.5.ebuild | 83 ---------------------------
3 files changed, 169 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 70378f4b869..139c43a83f8 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,4 +1,2 @@
-DIST nftables-0.8.5.tar.gz 355403 BLAKE2B 124bc5c35f050cc591f57b39cddcd595f97d14f83aed464b42efed272a03150623667dd0ca2862833c6b86d825d264c79dd1a211b9a6913b5734c0eaa4029b13 SHA512 311ec77646e2bc7da1b46ef2aba7492a5c0fdf23d33633649a6304771c5ce5ad839353b0702e942a82508c01d1c35705b602d91e54913944e03e176dc3f855f8
-DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
DIST nftables-0.9.0.tar.gz 417981 BLAKE2B 4dfba4d71928f1694ffeb4871353fc373d88e23c5ba716e726e1e6aba0efb2703233528f7a408bfefe47bfe54aa3612cccab9742c2a2208ec8c7a4bcda0e1823 SHA512 78e383bad5440c9414202cf0e4b6749fc5c01071d2fa547208e61cea6e7e179933990e7e538a60696eb0a7cf510d2c4b273a91d50287bb51507d244cd2875aed
DIST nftables-0.9.1.tar.bz2 764066 BLAKE2B 26b194d6b3b970c05348c32a3ab21e8c25fcdb0d09d3d6b467198ba23a5bb44e7b6450d3efb86c39a488df4a837885c4a1ab96c197d5449f7de49b7b18ff5f90 SHA512 e14b75197ba3fea2a46c090450bf8b45b39fdc20db67bab1d6919c90128dee8ea8bbe9508e070f86b22ec70bcad8ab584fb89630a2240f09683137471c77d242
diff --git a/net-firewall/nftables/nftables-0.8-r3.ebuild b/net-firewall/nftables/nftables-0.8-r3.ebuild
deleted file mode 100644
index 2c67f3c09ed..00000000000
--- a/net-firewall/nftables/nftables-0.8-r3.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ia64 x86"
-IUSE="debug doc +gmp +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.0.8:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable doc pdf-doc)
- $(use_enable debug)
- $(use_with readline cli)
- $(use_with !gmp mini_gmp)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- dodir /usr/libexec/${PN}
- exeinto /usr/libexec/${PN}
- doexe "${FILESDIR}"/libexec/${PN}.sh
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- systemd_enable_service basic.target ${PN}-restore.service
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
diff --git a/net-firewall/nftables/nftables-0.8.5.ebuild b/net-firewall/nftables/nftables-0.8.5.ebuild
deleted file mode 100644
index cc5cb45fc15..00000000000
--- a/net-firewall/nftables/nftables-0.8.5.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~x86"
-IUSE="debug doc +gmp +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.0:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable doc pdf-doc)
- $(use_enable debug)
- $(use_with readline cli)
- $(use_with !gmp mini_gmp)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- exeinto /usr/libexec/${PN}
- doexe "${FILESDIR}"/libexec/${PN}.sh
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- systemd_enable_service basic.target ${PN}-restore.service
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-07-28 19:58 Mikle Kolyada
0 siblings, 0 replies; 217+ messages in thread
From: Mikle Kolyada @ 2019-07-28 19:58 UTC (permalink / raw
To: gentoo-commits
commit: f751ccd4169bbaa828c64c44975cf004e15c3fc7
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 19:58:26 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 19:58:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f751ccd4
net-firewall/nftables: arm stable wrt bug #688970
Package-Manager: Portage-2.3.66, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r4.ebuild b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
index edd756eca79..e56ff112a6b 100644
--- a/net-firewall/nftables/nftables-0.9.0-r4.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
+KEYWORDS="amd64 arm ~arm64 ia64 x86"
IUSE="debug doc +gmp json +modern_kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-07-02 12:35 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2019-07-02 12:35 UTC (permalink / raw
To: gentoo-commits
commit: 72816b9f3ae1fcdd2e66c3f7b2299e0a1d8a1b4b
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 2 12:35:03 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jul 2 12:35:03 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72816b9f
net-firewall/nftables: ia64 stable wrt bug #688970
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="ia64"
net-firewall/nftables/nftables-0.9.0-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r4.ebuild b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
index 6df77a71727..edd756eca79 100644
--- a/net-firewall/nftables/nftables-0.9.0-r4.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
IUSE="debug doc +gmp json +modern_kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-07-02 11:55 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2019-07-02 11:55 UTC (permalink / raw
To: gentoo-commits
commit: b570f899afc49bfa8f04ddb7656cc5cac7ab652f
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 2 11:55:02 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jul 2 11:55:02 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b570f899
net-firewall/nftables: x86 stable wrt bug #688970
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="x86"
net-firewall/nftables/nftables-0.9.0-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r4.ebuild b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
index 7e2ab59fa42..6df77a71727 100644
--- a/net-firewall/nftables/nftables-0.9.0-r4.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86"
IUSE="debug doc +gmp json +modern_kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-07-02 10:33 Agostino Sarubbo
0 siblings, 0 replies; 217+ messages in thread
From: Agostino Sarubbo @ 2019-07-02 10:33 UTC (permalink / raw
To: gentoo-commits
commit: 404e34e51b2e81010fa466064f64b709c097baca
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 2 10:32:58 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jul 2 10:32:58 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=404e34e5
net-firewall/nftables: amd64 stable wrt bug #688970
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"
net-firewall/nftables/nftables-0.9.0-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r4.ebuild b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
index 0529f229347..7e2ab59fa42 100644
--- a/net-firewall/nftables/nftables-0.9.0-r4.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~x86"
IUSE="debug doc +gmp json +modern_kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-06-30 1:57 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2019-06-30 1:57 UTC (permalink / raw
To: gentoo-commits
commit: 3c4624aec145476efcb4ee04eab239d7dc45710a
Author: Francisco Blas (klondike) Izquierdo Riera <klondike <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 23:08:30 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 01:56:59 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4624ae
net-firewall/nftables: add doc and xtables USE flags
This commit adds some fixes on the 0.9.1 package:
* Adds the doc USE flag to control building of the man pages
* Adds the app-text/asciidoc when building the man pages
* Adds the xtables USE flag for better compatibility with iptables-compat
* Adds the net-firewall/iptables dependency when using the xtables flag
I have chosen +doc, xtables for better compatibility with prior versions.
Also whilst man pages generally make sense, the xtables USE isn't needed
on pure nftables setups which are the recommended approach.
Closes: https://bugs.gentoo.org/688952
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/metadata.xml | 2 ++
net-firewall/nftables/nftables-0.9.1.ebuild | 9 +++++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml
index dcc71d66d6f..0984d13e0f0 100644
--- a/net-firewall/nftables/metadata.xml
+++ b/net-firewall/nftables/metadata.xml
@@ -14,7 +14,9 @@
<name>Francisco Blas Izquierdo Riera</name>
</maintainer>
<use>
+ <flag name="doc">Create man pages for the package (requires <pkg>app-text/asciidoc</pkg>)</flag>
<flag name="json">Enable JSON support via <pkg>dev-libs/jansson</pkg></flag>
<flag name="modern_kernel">Install init scripts for 3.18 or higher kernels with atomic rule updates</flag>
+ <flag name="xtables">Add libxtables support to try to automatically translate rules added by iptables-compat</flag>
</use>
</pkgmetadata>
diff --git a/net-firewall/nftables/nftables-0.9.1.ebuild b/net-firewall/nftables/nftables-0.9.1.ebuild
index addd91fa7a8..db6f707d58c 100644
--- a/net-firewall/nftables/nftables-0.9.1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
-IUSE="debug +gmp json +modern_kernel python +readline static-libs"
+IUSE="debug +doc +gmp json +modern_kernel python +readline static-libs xtables"
RDEPEND="
>=net-libs/libmnl-1.0.3:0=
@@ -23,11 +23,14 @@ RDEPEND="
json? ( dev-libs/jansson )
python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.3:0="
+ >=net-libs/libnftnl-1.1.3:0=
+ xtables? ( >=net-firewall/iptables-1.6.1 )
+"
DEPEND="${RDEPEND}"
BDEPEND="
+ doc? ( app-text/asciidoc )
>=app-text/docbook2X-0.8.8-r4
sys-devel/bison
sys-devel/flex
@@ -82,10 +85,12 @@ src_configure() {
--disable-python
--sbindir="${EPREFIX}"/sbin
$(use_enable debug)
+ $(use_enable doc man-doc)
$(use_with !gmp mini_gmp)
$(use_with json)
$(use_with readline cli)
$(use_enable static-libs static)
+ $(use_with xtables)
)
econf "${myeconfargs[@]}"
}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-06-28 16:30 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2019-06-28 16:30 UTC (permalink / raw
To: gentoo-commits
commit: f32163f6c9c0a23b0bd43cecef9d062268e6796f
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 16:30:18 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 16:30:18 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32163f6
net-firewall/nftables: Same for PYTHON_REQUIRED_USE
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.1.ebuild b/net-firewall/nftables/nftables-0.9.1.ebuild
index 9d8f244af9e..addd91fa7a8 100644
--- a/net-firewall/nftables/nftables-0.9.1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.1.ebuild
@@ -34,7 +34,7 @@ BDEPEND="
virtual/pkgconfig
"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
#S="${WORKDIR}/v${PV}"
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-06-28 15:47 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2019-06-28 15:47 UTC (permalink / raw
To: gentoo-commits
commit: 10acadee5e72397db2d960134a346e29f60506af
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 15:46:52 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 15:47:05 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10acadee
net-firewall/nftables: Move ${PYTHON_DEPS} into USE="python"
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.1.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.1.ebuild b/net-firewall/nftables/nftables-0.9.1.ebuild
index 832ec7e67b4..9d8f244af9e 100644
--- a/net-firewall/nftables/nftables-0.9.1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.1.ebuild
@@ -17,10 +17,11 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
IUSE="debug +gmp json +modern_kernel python +readline static-libs"
-RDEPEND="${PYTHON_DEPS}
+RDEPEND="
>=net-libs/libmnl-1.0.3:0=
gmp? ( dev-libs/gmp:0= )
json? ( dev-libs/jansson )
+ python? ( ${PYTHON_DEPS} )
readline? ( sys-libs/readline:0= )
>=net-libs/libnftnl-1.1.3:0="
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-06-28 11:49 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2019-06-28 11:49 UTC (permalink / raw
To: gentoo-commits
commit: c0d8ff20ff2d1ef5b361456f25afcc0a6d7e4ad7
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 09:55:38 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 11:49:10 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0d8ff20
net-firewall/nftables: Removed old.
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r1.ebuild | 89 ------------------------
net-firewall/nftables/nftables-0.9.0-r3.ebuild | 94 --------------------------
net-firewall/nftables/nftables-0.9.0.ebuild | 85 -----------------------
3 files changed, 268 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r1.ebuild b/net-firewall/nftables/nftables-0.9.0-r1.ebuild
deleted file mode 100644
index 09ccb7d4001..00000000000
--- a/net-firewall/nftables/nftables-0.9.0-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~x86"
-IUSE="debug doc +gmp json +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- json? ( dev-libs/jansson )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.1:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc pdf-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with readline cli)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- exeinto /usr/libexec/${PN}
- doexe "${FILESDIR}"/libexec/${PN}.sh
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- systemd_enable_service basic.target ${PN}-restore.service
-
- docinto /usr/share/doc/${PF}/skels
- dodoc "${D}"/etc/nftables/*
- rm -R "${D}"/etc/nftables
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
diff --git a/net-firewall/nftables/nftables-0.9.0-r3.ebuild b/net-firewall/nftables/nftables-0.9.0-r3.ebuild
deleted file mode 100644
index 346d321bb37..00000000000
--- a/net-firewall/nftables/nftables-0.9.0-r3.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~x86"
-IUSE="debug doc +gmp json +modern_kernel +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- json? ( dev-libs/jansson )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.1:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- if use modern_kernel && kernel_is lt 3 18; then
- eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly."
- fi
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc pdf-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with readline cli)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- local mksuffix=""
- use modern_kernel && mksuffix="-mk"
-
- exeinto /usr/libexec/${PN}
- newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
- newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}${mksuffix}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- systemd_enable_service basic.target ${PN}-restore.service
-
- docinto /usr/share/doc/${PF}/skels
- dodoc "${D}"/etc/nftables/*
- rm -R "${D}"/etc/nftables
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
diff --git a/net-firewall/nftables/nftables-0.9.0.ebuild b/net-firewall/nftables/nftables-0.9.0.ebuild
deleted file mode 100644
index 3a8ef1f307a..00000000000
--- a/net-firewall/nftables/nftables-0.9.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
-IUSE="debug doc +gmp json +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- json? ( dev-libs/jansson )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.1:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable debug)
- $(use_enable doc pdf-doc)
- $(use_with !gmp mini_gmp)
- $(use_with json)
- $(use_with readline cli)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- exeinto /usr/libexec/${PN}
- doexe "${FILESDIR}"/libexec/${PN}.sh
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- systemd_enable_service basic.target ${PN}-restore.service
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-05-21 16:39 Stephen Klimaszewski
0 siblings, 0 replies; 217+ messages in thread
From: Stephen Klimaszewski @ 2019-05-21 16:39 UTC (permalink / raw
To: gentoo-commits
commit: efa7e175efed66ff4ded0f8345400348f04a1239
Author: Stephen Klimaszewski <steev <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 16:36:11 2019 +0000
Commit: Stephen Klimaszewski <steev <AT> gentoo <DOT> org>
CommitDate: Tue May 21 16:36:20 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efa7e175
net-firewall/nftables: add ~arm64 keyword
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Stephen Klimaszewski <steev <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r4.ebuild b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
index 6578419d4fe..0529f229347 100644
--- a/net-firewall/nftables/nftables-0.9.0-r4.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
IUSE="debug doc +gmp json +modern_kernel +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-04-08 20:21 Aaron Bauman
0 siblings, 0 replies; 217+ messages in thread
From: Aaron Bauman @ 2019-04-08 20:21 UTC (permalink / raw
To: gentoo-commits
commit: 3da16f2a976e598ef3af909cf3be880433e8798f
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 8 20:17:36 2019 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Apr 8 20:17:36 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3da16f2a
net-firewall/nftables: arm64 keyworded (bug #668906)
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
net-firewall/nftables/nftables-0.9.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.9.0.ebuild b/net-firewall/nftables/nftables-0.9.0.ebuild
index e50541dcd2f..3a8ef1f307a 100644
--- a/net-firewall/nftables/nftables-0.9.0.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
IUSE="debug doc +gmp json +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2019-01-28 15:24 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2019-01-28 15:24 UTC (permalink / raw
To: gentoo-commits
commit: 1b4128863073b653d7060c4c12559d8c6061abcf
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 28 15:24:06 2019 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Jan 28 15:24:11 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b412886
net-firewall/nftables: don't enable service by default
Fixes: https://bugs.gentoo.org/676290
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r4.ebuild | 97 ++++++++++++++++++++++++++
1 file changed, 97 insertions(+)
diff --git a/net-firewall/nftables/nftables-0.9.0-r4.ebuild b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
new file mode 100644
index 00000000000..6578419d4fe
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.9.0-r4.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+IUSE="debug doc +gmp json +modern_kernel +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.1:0="
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ if use modern_kernel && kernel_is lt 3 18; then
+ eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly."
+ fi
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc pdf-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with readline cli)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ local mksuffix=""
+ use modern_kernel && mksuffix="-mk"
+
+ exeinto /usr/libexec/${PN}
+ newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh
+ newconfd "${FILESDIR}"/${PN}${mksuffix}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}${mksuffix}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+
+ docinto /usr/share/doc/${PF}/skels
+ dodoc "${D}"/etc/nftables/*
+ rm -R "${D}"/etc/nftables
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you wish to enable the firewall rules on boot (on systemd) you"
+ elog "will need to enable the nftables-restore service."
+ elog " 'systemd_enable_service basic.target ${PN}-restore.service'"
+ elog
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-11-19 21:44 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2018-11-19 21:44 UTC (permalink / raw
To: gentoo-commits
commit: 659ad54cbd562e66c0919c519d92fa738d9f6215
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 19 21:43:46 2018 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Nov 19 21:43:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659ad54c
net-firewall/nftables: fix dodoc call
Fixes: https://bugs.gentoo.org/671540
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.9.0-r1.ebuild b/net-firewall/nftables/nftables-0.9.0-r1.ebuild
index 9d4e47a42ae..09ccb7d4001 100644
--- a/net-firewall/nftables/nftables-0.9.0-r1.ebuild
+++ b/net-firewall/nftables/nftables-0.9.0-r1.ebuild
@@ -69,7 +69,7 @@ src_install() {
systemd_enable_service basic.target ${PN}-restore.service
docinto /usr/share/doc/${PF}/skels
- dodoc /etc/nftables/*
+ dodoc "${D}"/etc/nftables/*
rm -R "${D}"/etc/nftables
}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-11-19 18:35 Matthew Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matthew Thode @ 2018-11-19 18:35 UTC (permalink / raw
To: gentoo-commits
commit: 0ce0b829e5b2cb3439e9f82be9e2ea62e5b6f7bc
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 19 18:35:18 2018 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Nov 19 18:35:35 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce0b829
net-firewall/nftables: move nft skels to doc
Closes: https://bugs.gentoo.org/671254
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
net-firewall/nftables/nftables-0.9.0-r1.ebuild | 89 ++++++++++++++++++++++++++
1 file changed, 89 insertions(+)
diff --git a/net-firewall/nftables/nftables-0.9.0-r1.ebuild b/net-firewall/nftables/nftables-0.9.0-r1.ebuild
new file mode 100644
index 00000000000..9d4e47a42ae
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.9.0-r1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+IUSE="debug doc +gmp json +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.1:0="
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc pdf-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with readline cli)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+ systemd_enable_service basic.target ${PN}-restore.service
+
+ docinto /usr/share/doc/${PF}/skels
+ dodoc /etc/nftables/*
+ rm -R "${D}"/etc/nftables
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-06-11 11:42 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2018-06-11 11:42 UTC (permalink / raw
To: gentoo-commits
commit: 3638fc1afcc2307a900fd63b1f2f16bf57337a37
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 11 11:42:00 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 11:42:00 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3638fc1a
net-firewall/nftables: Removed old.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-firewall/nftables/Manifest | 2 -
net-firewall/nftables/nftables-0.8.3.ebuild | 84 -----------------------------
net-firewall/nftables/nftables-0.8.4.ebuild | 83 ----------------------------
3 files changed, 169 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 1bef36d3477..528cd04345e 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,5 +1,3 @@
-DIST nftables-0.8.3.tar.gz 336963 BLAKE2B 534768559254d1c797ae84d97487dfca12bd2ab07170a8670778b46c7a6c854858b8ac670eedb0d0c443b457b4ad15d03c0a6b54ffa5ecde78ef538df71ec090 SHA512 cffea523fe2eee5937f30fe3d5215e5890dfc089d6f16d07090ef922e2782df53fe268d467734a1b6a604d7f16bca52ada3e48cce7699a59dd7a092294930332
-DIST nftables-0.8.4.tar.gz 353236 BLAKE2B 78d35880ea6cb9af2f9ed99134c930cb8bfa6290e2adee28e2147bab676ebef420db04e2eba6b8bc541c7afc040461c194e01e45f176cfbb663e04d6347bf119 SHA512 79cbf7098343cdb517a1790a72769738756eca499eb84aa7ad0b6c96314502f09ac4d03a712bfbe45fc1b8a730f2f56c6ef515e8d93d24f065a55e0594ab62bd
DIST nftables-0.8.5.tar.gz 355403 BLAKE2B 124bc5c35f050cc591f57b39cddcd595f97d14f83aed464b42efed272a03150623667dd0ca2862833c6b86d825d264c79dd1a211b9a6913b5734c0eaa4029b13 SHA512 311ec77646e2bc7da1b46ef2aba7492a5c0fdf23d33633649a6304771c5ce5ad839353b0702e942a82508c01d1c35705b602d91e54913944e03e176dc3f855f8
DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
DIST nftables-0.9.0.tar.gz 417981 BLAKE2B 4dfba4d71928f1694ffeb4871353fc373d88e23c5ba716e726e1e6aba0efb2703233528f7a408bfefe47bfe54aa3612cccab9742c2a2208ec8c7a4bcda0e1823 SHA512 78e383bad5440c9414202cf0e4b6749fc5c01071d2fa547208e61cea6e7e179933990e7e538a60696eb0a7cf510d2c4b273a91d50287bb51507d244cd2875aed
diff --git a/net-firewall/nftables/nftables-0.8.3.ebuild b/net-firewall/nftables/nftables-0.8.3.ebuild
deleted file mode 100644
index a38042ed9a6..00000000000
--- a/net-firewall/nftables/nftables-0.8.3.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~x86"
-IUSE="debug doc +gmp +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.0.9:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable doc pdf-doc)
- $(use_enable debug)
- $(use_with readline cli)
- $(use_with !gmp mini_gmp)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- dodir /usr/libexec/${PN}
- exeinto /usr/libexec/${PN}
- doexe "${FILESDIR}"/libexec/${PN}.sh
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- systemd_enable_service basic.target ${PN}-restore.service
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
diff --git a/net-firewall/nftables/nftables-0.8.4.ebuild b/net-firewall/nftables/nftables-0.8.4.ebuild
deleted file mode 100644
index cc5cb45fc15..00000000000
--- a/net-firewall/nftables/nftables-0.8.4.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~x86"
-IUSE="debug doc +gmp +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.1.0:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable doc pdf-doc)
- $(use_enable debug)
- $(use_with readline cli)
- $(use_with !gmp mini_gmp)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- exeinto /usr/libexec/${PN}
- doexe "${FILESDIR}"/libexec/${PN}.sh
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- systemd_enable_service basic.target ${PN}-restore.service
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-06-11 11:42 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2018-06-11 11:42 UTC (permalink / raw
To: gentoo-commits
commit: 30df3935757cc3cf40de8cd7d61183e6c464f564
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 11 11:41:09 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 11:41:09 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30df3935
net-firewall/nftables: Bump to version 0.9.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/metadata.xml | 3 +
net-firewall/nftables/nftables-0.9.0.ebuild | 85 +++++++++++++++++++++++++++++
3 files changed, 89 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index fd3b9ea098c..1bef36d3477 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -2,3 +2,4 @@ DIST nftables-0.8.3.tar.gz 336963 BLAKE2B 534768559254d1c797ae84d97487dfca12bd2a
DIST nftables-0.8.4.tar.gz 353236 BLAKE2B 78d35880ea6cb9af2f9ed99134c930cb8bfa6290e2adee28e2147bab676ebef420db04e2eba6b8bc541c7afc040461c194e01e45f176cfbb663e04d6347bf119 SHA512 79cbf7098343cdb517a1790a72769738756eca499eb84aa7ad0b6c96314502f09ac4d03a712bfbe45fc1b8a730f2f56c6ef515e8d93d24f065a55e0594ab62bd
DIST nftables-0.8.5.tar.gz 355403 BLAKE2B 124bc5c35f050cc591f57b39cddcd595f97d14f83aed464b42efed272a03150623667dd0ca2862833c6b86d825d264c79dd1a211b9a6913b5734c0eaa4029b13 SHA512 311ec77646e2bc7da1b46ef2aba7492a5c0fdf23d33633649a6304771c5ce5ad839353b0702e942a82508c01d1c35705b602d91e54913944e03e176dc3f855f8
DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
+DIST nftables-0.9.0.tar.gz 417981 BLAKE2B 4dfba4d71928f1694ffeb4871353fc373d88e23c5ba716e726e1e6aba0efb2703233528f7a408bfefe47bfe54aa3612cccab9742c2a2208ec8c7a4bcda0e1823 SHA512 78e383bad5440c9414202cf0e4b6749fc5c01071d2fa547208e61cea6e7e179933990e7e538a60696eb0a7cf510d2c4b273a91d50287bb51507d244cd2875aed
diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml
index c3018163bf3..1a891a6e533 100644
--- a/net-firewall/nftables/metadata.xml
+++ b/net-firewall/nftables/metadata.xml
@@ -9,4 +9,7 @@
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
+ <use>
+ <flag name="json">Enable JSON support via <pkg>dev-libs/jansson</pkg></flag>
+ </use>
</pkgmetadata>
diff --git a/net-firewall/nftables/nftables-0.9.0.ebuild b/net-firewall/nftables/nftables-0.9.0.ebuild
new file mode 100644
index 00000000000..e50541dcd2f
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.9.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+IUSE="debug doc +gmp json +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ json? ( dev-libs/jansson )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.1:0="
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable debug)
+ $(use_enable doc pdf-doc)
+ $(use_with !gmp mini_gmp)
+ $(use_with json)
+ $(use_with readline cli)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+ systemd_enable_service basic.target ${PN}-restore.service
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-05-10 18:58 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2018-05-10 18:58 UTC (permalink / raw
To: gentoo-commits
commit: 251defce6384dd328fa0a53c26a737b3a3974f62
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu May 10 18:54:50 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu May 10 18:58:22 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=251defce
net-firewall/nftables: Bump to version 0.8.5
Closes: https://bugs.gentoo.org/655412
Package-Manager: Portage-2.3.36, Repoman-2.3.9
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.8.5.ebuild | 83 +++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 3ad77dd5b26..fd3b9ea098c 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,3 +1,4 @@
DIST nftables-0.8.3.tar.gz 336963 BLAKE2B 534768559254d1c797ae84d97487dfca12bd2ab07170a8670778b46c7a6c854858b8ac670eedb0d0c443b457b4ad15d03c0a6b54ffa5ecde78ef538df71ec090 SHA512 cffea523fe2eee5937f30fe3d5215e5890dfc089d6f16d07090ef922e2782df53fe268d467734a1b6a604d7f16bca52ada3e48cce7699a59dd7a092294930332
DIST nftables-0.8.4.tar.gz 353236 BLAKE2B 78d35880ea6cb9af2f9ed99134c930cb8bfa6290e2adee28e2147bab676ebef420db04e2eba6b8bc541c7afc040461c194e01e45f176cfbb663e04d6347bf119 SHA512 79cbf7098343cdb517a1790a72769738756eca499eb84aa7ad0b6c96314502f09ac4d03a712bfbe45fc1b8a730f2f56c6ef515e8d93d24f065a55e0594ab62bd
+DIST nftables-0.8.5.tar.gz 355403 BLAKE2B 124bc5c35f050cc591f57b39cddcd595f97d14f83aed464b42efed272a03150623667dd0ca2862833c6b86d825d264c79dd1a211b9a6913b5734c0eaa4029b13 SHA512 311ec77646e2bc7da1b46ef2aba7492a5c0fdf23d33633649a6304771c5ce5ad839353b0702e942a82508c01d1c35705b602d91e54913944e03e176dc3f855f8
DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
diff --git a/net-firewall/nftables/nftables-0.8.5.ebuild b/net-firewall/nftables/nftables-0.8.5.ebuild
new file mode 100644
index 00000000000..cc5cb45fc15
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.8.5.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+IUSE="debug doc +gmp +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.0:0="
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable doc pdf-doc)
+ $(use_enable debug)
+ $(use_with readline cli)
+ $(use_with !gmp mini_gmp)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+ systemd_enable_service basic.target ${PN}-restore.service
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-05-02 13:57 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2018-05-02 13:57 UTC (permalink / raw
To: gentoo-commits
commit: ad884827f68aaf370d9745187d78b451616b7c71
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed May 2 13:57:22 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed May 2 13:57:40 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad884827
net-firewall/nftables: Removed old.
Package-Manager: Portage-2.3.33, Repoman-2.3.9
net-firewall/nftables/Manifest | 1 -
net-firewall/nftables/nftables-0.8.2.ebuild | 84 -----------------------------
2 files changed, 85 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index a1e87ccca28..3ad77dd5b26 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,4 +1,3 @@
-DIST nftables-0.8.2.tar.gz 332736 BLAKE2B 9730735a7112a80e257ee2dc4f7f957b6d62964d5bbf85bbed8d375e07ef86021f21f027e889b913bc5862ccda57942a4411fda7e642c949d1fbf37e640e5b5a SHA512 cc97937014c65bb2489759ac2f603d354be8d3b60f6e0f0f8c2598dc59a66d8701f426c9f91bc4b17d0f574832835ffc38de054a554bda02e09c617fd2a8129b
DIST nftables-0.8.3.tar.gz 336963 BLAKE2B 534768559254d1c797ae84d97487dfca12bd2ab07170a8670778b46c7a6c854858b8ac670eedb0d0c443b457b4ad15d03c0a6b54ffa5ecde78ef538df71ec090 SHA512 cffea523fe2eee5937f30fe3d5215e5890dfc089d6f16d07090ef922e2782df53fe268d467734a1b6a604d7f16bca52ada3e48cce7699a59dd7a092294930332
DIST nftables-0.8.4.tar.gz 353236 BLAKE2B 78d35880ea6cb9af2f9ed99134c930cb8bfa6290e2adee28e2147bab676ebef420db04e2eba6b8bc541c7afc040461c194e01e45f176cfbb663e04d6347bf119 SHA512 79cbf7098343cdb517a1790a72769738756eca499eb84aa7ad0b6c96314502f09ac4d03a712bfbe45fc1b8a730f2f56c6ef515e8d93d24f065a55e0594ab62bd
DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
diff --git a/net-firewall/nftables/nftables-0.8.2.ebuild b/net-firewall/nftables/nftables-0.8.2.ebuild
deleted file mode 100644
index a38042ed9a6..00000000000
--- a/net-firewall/nftables/nftables-0.8.2.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~x86"
-IUSE="debug doc +gmp +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.0.9:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable doc pdf-doc)
- $(use_enable debug)
- $(use_with readline cli)
- $(use_with !gmp mini_gmp)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- dodir /usr/libexec/${PN}
- exeinto /usr/libexec/${PN}
- doexe "${FILESDIR}"/libexec/${PN}.sh
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- systemd_enable_service basic.target ${PN}-restore.service
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-05-02 13:57 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2018-05-02 13:57 UTC (permalink / raw
To: gentoo-commits
commit: 11fb65ce4431b20147faaf94a4969d79a5539493
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed May 2 13:56:40 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed May 2 13:57:38 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11fb65ce
net-firewall/nftables: Bump to version 0.8.4
Closes: https://bugs.gentoo.org/654604
Package-Manager: Portage-2.3.33, Repoman-2.3.9
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.8.4.ebuild | 83 +++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 5e96e55431c..a1e87ccca28 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,3 +1,4 @@
DIST nftables-0.8.2.tar.gz 332736 BLAKE2B 9730735a7112a80e257ee2dc4f7f957b6d62964d5bbf85bbed8d375e07ef86021f21f027e889b913bc5862ccda57942a4411fda7e642c949d1fbf37e640e5b5a SHA512 cc97937014c65bb2489759ac2f603d354be8d3b60f6e0f0f8c2598dc59a66d8701f426c9f91bc4b17d0f574832835ffc38de054a554bda02e09c617fd2a8129b
DIST nftables-0.8.3.tar.gz 336963 BLAKE2B 534768559254d1c797ae84d97487dfca12bd2ab07170a8670778b46c7a6c854858b8ac670eedb0d0c443b457b4ad15d03c0a6b54ffa5ecde78ef538df71ec090 SHA512 cffea523fe2eee5937f30fe3d5215e5890dfc089d6f16d07090ef922e2782df53fe268d467734a1b6a604d7f16bca52ada3e48cce7699a59dd7a092294930332
+DIST nftables-0.8.4.tar.gz 353236 BLAKE2B 78d35880ea6cb9af2f9ed99134c930cb8bfa6290e2adee28e2147bab676ebef420db04e2eba6b8bc541c7afc040461c194e01e45f176cfbb663e04d6347bf119 SHA512 79cbf7098343cdb517a1790a72769738756eca499eb84aa7ad0b6c96314502f09ac4d03a712bfbe45fc1b8a730f2f56c6ef515e8d93d24f065a55e0594ab62bd
DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
diff --git a/net-firewall/nftables/nftables-0.8.4.ebuild b/net-firewall/nftables/nftables-0.8.4.ebuild
new file mode 100644
index 00000000000..cc5cb45fc15
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.8.4.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+IUSE="debug doc +gmp +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.1.0:0="
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable doc pdf-doc)
+ $(use_enable debug)
+ $(use_with readline cli)
+ $(use_with !gmp mini_gmp)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+ systemd_enable_service basic.target ${PN}-restore.service
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-03-07 9:13 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2018-03-07 9:13 UTC (permalink / raw
To: gentoo-commits
commit: 4d213145b9c88d8bdbec29d7132d093f38817a60
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 7 09:12:56 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar 7 09:12:56 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d213145
net-firewall/nftables: Removed old.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-firewall/nftables/Manifest | 1 -
net-firewall/nftables/nftables-0.8.1.ebuild | 84 -----------------------------
2 files changed, 85 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 81edd076bb7..5e96e55431c 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,4 +1,3 @@
-DIST nftables-0.8.1.tar.gz 329098 BLAKE2B d6e5803e146ed5883761d620ef1549e883a2947b495a9b1ff2a40c70794ab5125596e0802fb60bff6d1a21e666c94338b92a22ef3c4c1b66e0b4521cd3dfb78d SHA512 5cae3a411f24adc17786b45d4ed8256eb44fd90f044f7f5d7ddebb1875d0317197e13128d9b22115cd7fcdfa21dba3c539de325ecedce707f8766c93e03efc75
DIST nftables-0.8.2.tar.gz 332736 BLAKE2B 9730735a7112a80e257ee2dc4f7f957b6d62964d5bbf85bbed8d375e07ef86021f21f027e889b913bc5862ccda57942a4411fda7e642c949d1fbf37e640e5b5a SHA512 cc97937014c65bb2489759ac2f603d354be8d3b60f6e0f0f8c2598dc59a66d8701f426c9f91bc4b17d0f574832835ffc38de054a554bda02e09c617fd2a8129b
DIST nftables-0.8.3.tar.gz 336963 BLAKE2B 534768559254d1c797ae84d97487dfca12bd2ab07170a8670778b46c7a6c854858b8ac670eedb0d0c443b457b4ad15d03c0a6b54ffa5ecde78ef538df71ec090 SHA512 cffea523fe2eee5937f30fe3d5215e5890dfc089d6f16d07090ef922e2782df53fe268d467734a1b6a604d7f16bca52ada3e48cce7699a59dd7a092294930332
DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
diff --git a/net-firewall/nftables/nftables-0.8.1.ebuild b/net-firewall/nftables/nftables-0.8.1.ebuild
deleted file mode 100644
index a38042ed9a6..00000000000
--- a/net-firewall/nftables/nftables-0.8.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info systemd
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="https://netfilter.org/projects/nftables/"
-SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~x86"
-IUSE="debug doc +gmp +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3:0=
- gmp? ( dev-libs/gmp:0= )
- readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.0.9:0="
-
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- doc? ( >=app-text/dblatex-0.3.7 )
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig"
-
-S="${WORKDIR}/v${PV}"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --sbindir="${EPREFIX}"/sbin
- $(use_enable doc pdf-doc)
- $(use_enable debug)
- $(use_with readline cli)
- $(use_with !gmp mini_gmp)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- dodir /usr/libexec/${PN}
- exeinto /usr/libexec/${PN}
- doexe "${FILESDIR}"/libexec/${PN}.sh
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-
- systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
- systemd_enable_service basic.target ${PN}-restore.service
-}
-
-pkg_postinst() {
- local save_file
- save_file="${EROOT%/}/var/lib/nftables/rules-save"
-
- # In order for the nftables-restore systemd service to start
- # the save_file must exist.
- if [[ ! -f ${save_file} ]]; then
- touch ${save_file}
- fi
-
- elog "If you are creating firewall rules before the next system restart "
- elog "the nftables-restore service must be manually started in order to "
- elog "save those rules on shutdown."
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-03-07 9:13 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2018-03-07 9:13 UTC (permalink / raw
To: gentoo-commits
commit: f6961a2fa3404b8866a2bb8764dc762464b3cf12
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 7 09:12:23 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar 7 09:12:23 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6961a2f
net-firewall/nftables: Bump to version 0.8.3
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.8.3.ebuild | 84 +++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 08868d16b55..81edd076bb7 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,3 +1,4 @@
DIST nftables-0.8.1.tar.gz 329098 BLAKE2B d6e5803e146ed5883761d620ef1549e883a2947b495a9b1ff2a40c70794ab5125596e0802fb60bff6d1a21e666c94338b92a22ef3c4c1b66e0b4521cd3dfb78d SHA512 5cae3a411f24adc17786b45d4ed8256eb44fd90f044f7f5d7ddebb1875d0317197e13128d9b22115cd7fcdfa21dba3c539de325ecedce707f8766c93e03efc75
DIST nftables-0.8.2.tar.gz 332736 BLAKE2B 9730735a7112a80e257ee2dc4f7f957b6d62964d5bbf85bbed8d375e07ef86021f21f027e889b913bc5862ccda57942a4411fda7e642c949d1fbf37e640e5b5a SHA512 cc97937014c65bb2489759ac2f603d354be8d3b60f6e0f0f8c2598dc59a66d8701f426c9f91bc4b17d0f574832835ffc38de054a554bda02e09c617fd2a8129b
+DIST nftables-0.8.3.tar.gz 336963 BLAKE2B 534768559254d1c797ae84d97487dfca12bd2ab07170a8670778b46c7a6c854858b8ac670eedb0d0c443b457b4ad15d03c0a6b54ffa5ecde78ef538df71ec090 SHA512 cffea523fe2eee5937f30fe3d5215e5890dfc089d6f16d07090ef922e2782df53fe268d467734a1b6a604d7f16bca52ada3e48cce7699a59dd7a092294930332
DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
diff --git a/net-firewall/nftables/nftables-0.8.3.ebuild b/net-firewall/nftables/nftables-0.8.3.ebuild
new file mode 100644
index 00000000000..a38042ed9a6
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.8.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+IUSE="debug doc +gmp +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.0.9:0="
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable doc pdf-doc)
+ $(use_enable debug)
+ $(use_with readline cli)
+ $(use_with !gmp mini_gmp)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ dodir /usr/libexec/${PN}
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+ systemd_enable_service basic.target ${PN}-restore.service
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-02-03 22:58 Thomas Deutschmann
0 siblings, 0 replies; 217+ messages in thread
From: Thomas Deutschmann @ 2018-02-03 22:58 UTC (permalink / raw
To: gentoo-commits
commit: 0d92ad400e3dc1753df979c8a54001da91aecfe3
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 3 22:58:06 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Feb 3 22:58:06 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d92ad40
net-firewall/nftables: Bump to v0.8.2
Package-Manager: Portage-2.3.21, Repoman-2.3.6
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.8.2.ebuild | 84 +++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index d0f5ddd5bf4..08868d16b55 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,2 +1,3 @@
DIST nftables-0.8.1.tar.gz 329098 BLAKE2B d6e5803e146ed5883761d620ef1549e883a2947b495a9b1ff2a40c70794ab5125596e0802fb60bff6d1a21e666c94338b92a22ef3c4c1b66e0b4521cd3dfb78d SHA512 5cae3a411f24adc17786b45d4ed8256eb44fd90f044f7f5d7ddebb1875d0317197e13128d9b22115cd7fcdfa21dba3c539de325ecedce707f8766c93e03efc75
+DIST nftables-0.8.2.tar.gz 332736 BLAKE2B 9730735a7112a80e257ee2dc4f7f957b6d62964d5bbf85bbed8d375e07ef86021f21f027e889b913bc5862ccda57942a4411fda7e642c949d1fbf37e640e5b5a SHA512 cc97937014c65bb2489759ac2f603d354be8d3b60f6e0f0f8c2598dc59a66d8701f426c9f91bc4b17d0f574832835ffc38de054a554bda02e09c617fd2a8129b
DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
diff --git a/net-firewall/nftables/nftables-0.8.2.ebuild b/net-firewall/nftables/nftables-0.8.2.ebuild
new file mode 100644
index 00000000000..a38042ed9a6
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.8.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+IUSE="debug doc +gmp +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.0.9:0="
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable doc pdf-doc)
+ $(use_enable debug)
+ $(use_with readline cli)
+ $(use_with !gmp mini_gmp)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ dodir /usr/libexec/${PN}
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+ systemd_enable_service basic.target ${PN}-restore.service
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-01-20 18:58 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2018-01-20 18:58 UTC (permalink / raw
To: gentoo-commits
commit: c9956ab22b89a30b123b21dde55b9b9971c68dc4
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 18:57:40 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 18:57:58 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9956ab2
net-firewall/nftables: Adjusted dependency on net-libs/libnftnl.
Closes: https://bugs.gentoo.org/645144
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-firewall/nftables/nftables-0.8.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.8.1.ebuild b/net-firewall/nftables/nftables-0.8.1.ebuild
index 5658cb069df..a38042ed9a6 100644
--- a/net-firewall/nftables/nftables-0.8.1.ebuild
+++ b/net-firewall/nftables/nftables-0.8.1.ebuild
@@ -17,7 +17,7 @@ IUSE="debug doc +gmp +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
gmp? ( dev-libs/gmp:0= )
readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.0.8:0="
+ >=net-libs/libnftnl-1.0.9:0="
DEPEND="${RDEPEND}
>=app-text/docbook2X-0.8.8-r4
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-01-18 14:21 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2018-01-18 14:21 UTC (permalink / raw
To: gentoo-commits
commit: 33eefa8f70e9565edffbfc0a81e9db845dd3c523
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 14:18:48 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 14:21:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33eefa8f
net-firewall/nftables: Bump to version 0.8.1
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.8.1.ebuild | 84 +++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 4a06e23e9a4..3264c8d8d2b 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,3 +1,4 @@
DIST nftables-0.6.tar.gz 252523 BLAKE2B 0359ca5265b244c433efd0b3c5d6aaf1a68c40b70b9199602e8f17b4e509a24e48554aefafc89d51c9e1e821c471690af9c99f1178f227d3cd9395897837de9e SHA512 17f3b94687865e077dc082cf61b29ab2854fd1ffe18212a8d424f2876aef8db9780dd4d06dca8e6d093498151d47bab73e40e1f54062a83a23a3cbe75f27e921
DIST nftables-0.7.tar.gz 292652 BLAKE2B 036afb1d27ea7d078f976c76a87a4b1ccef519197594910f7f3cb9d37b09103da41c15f611e24392cc9648f216606a29bd312a9026ecf053fc3b71959d1da7e1 SHA512 6032720abf3af8a6dc0b4f507c6ae970447f504d59db4a34b2e0eea3c59962bc69d9ebfaa4e26a117747eb9d0224716a9709b96551b5479d914d7498f26ed43a
+DIST nftables-0.8.1.tar.gz 329098 BLAKE2B d6e5803e146ed5883761d620ef1549e883a2947b495a9b1ff2a40c70794ab5125596e0802fb60bff6d1a21e666c94338b92a22ef3c4c1b66e0b4521cd3dfb78d SHA512 5cae3a411f24adc17786b45d4ed8256eb44fd90f044f7f5d7ddebb1875d0317197e13128d9b22115cd7fcdfa21dba3c539de325ecedce707f8766c93e03efc75
DIST nftables-0.8.tar.gz 327629 BLAKE2B a484c22ac010f68fc7458c12cabd0c35e474a0bf81fa4edbefba12d75b424898d38adb11a7fbb4542efbbb2d14be823701b3d9ced7b9fd669338366733fa169b SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb
diff --git a/net-firewall/nftables/nftables-0.8.1.ebuild b/net-firewall/nftables/nftables-0.8.1.ebuild
new file mode 100644
index 00000000000..5658cb069df
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.8.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+IUSE="debug doc +gmp +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
+ gmp? ( dev-libs/gmp:0= )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.0.8:0="
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable doc pdf-doc)
+ $(use_enable debug)
+ $(use_with readline cli)
+ $(use_with !gmp mini_gmp)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ dodir /usr/libexec/${PN}
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+ systemd_enable_service basic.target ${PN}-restore.service
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-01-10 6:19 Markus Meier
0 siblings, 0 replies; 217+ messages in thread
From: Markus Meier @ 2018-01-10 6:19 UTC (permalink / raw
To: gentoo-commits
commit: 6e2e0adeec64a0c4018b5c173f9cb206183fa225
Author: Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 10 06:11:56 2018 +0000
Commit: Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 06:17:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2e0ade
net-firewall/nftables: arm stable, bug #641228
Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="arm"
net-firewall/nftables/nftables-0.8-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.8-r3.ebuild b/net-firewall/nftables/nftables-0.8-r3.ebuild
index bec149e37ce..2c67f3c09ed 100644
--- a/net-firewall/nftables/nftables-0.8-r3.ebuild
+++ b/net-firewall/nftables/nftables-0.8-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ia64 x86"
+KEYWORDS="amd64 arm ia64 x86"
IUSE="debug doc +gmp +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2018-01-04 20:40 Mikle Kolyada
0 siblings, 0 replies; 217+ messages in thread
From: Mikle Kolyada @ 2018-01-04 20:40 UTC (permalink / raw
To: gentoo-commits
commit: cd8523fc695423d855c263b30b8c8dc5feee1ab4
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 4 20:40:12 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Jan 4 20:40:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd8523fc
net-firewall/nftables: amd64 stable wrt bug #641228
Package-Manager: Portage-2.3.13, Repoman-2.3.3
net-firewall/nftables/nftables-0.8-r3.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.8-r3.ebuild b/net-firewall/nftables/nftables-0.8-r3.ebuild
index d8edc068ed5..bec149e37ce 100644
--- a/net-firewall/nftables/nftables-0.8-r3.ebuild
+++ b/net-firewall/nftables/nftables-0.8-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ia64 x86"
+KEYWORDS="amd64 ~arm ia64 x86"
IUSE="debug doc +gmp +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-12-25 9:28 Sergei Trofimovich
0 siblings, 0 replies; 217+ messages in thread
From: Sergei Trofimovich @ 2017-12-25 9:28 UTC (permalink / raw
To: gentoo-commits
commit: ebd691c04d3bf7cf26a29802dafeae3ed53fde55
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 09:28:11 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 09:28:29 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd691c0
net-firewall/nftables: stable 0.8-r3 for ia64, bug #641228
Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"
net-firewall/nftables/nftables-0.8-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.8-r3.ebuild b/net-firewall/nftables/nftables-0.8-r3.ebuild
index 0bc3f8b21e1..d8edc068ed5 100644
--- a/net-firewall/nftables/nftables-0.8-r3.ebuild
+++ b/net-firewall/nftables/nftables-0.8-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm x86"
+KEYWORDS="~amd64 ~arm ia64 x86"
IUSE="debug doc +gmp +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-12-19 15:46 Thomas Deutschmann
0 siblings, 0 replies; 217+ messages in thread
From: Thomas Deutschmann @ 2017-12-19 15:46 UTC (permalink / raw
To: gentoo-commits
commit: c5869b62c51aa75e3ef1f3adcb55d87f26973b2f
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 19 14:57:03 2017 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Dec 19 15:45:15 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5869b62
net-firewall/nftables: x86 stable (bug #641228)
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-firewall/nftables/nftables-0.8-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.8-r3.ebuild b/net-firewall/nftables/nftables-0.8-r3.ebuild
index 00a30dec484..0bc3f8b21e1 100644
--- a/net-firewall/nftables/nftables-0.8-r3.ebuild
+++ b/net-firewall/nftables/nftables-0.8-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm x86"
IUSE="debug doc +gmp +readline"
RDEPEND=">=net-libs/libmnl-1.0.3:0=
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-10-25 13:33 Matt Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matt Thode @ 2017-10-25 13:33 UTC (permalink / raw
To: gentoo-commits
commit: e1070a6a8e25357594e2aad2f2415e841c4c09b0
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 25 13:32:33 2017 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Oct 25 13:32:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1070a6a
net-firewall/nftables: fixing the rules creating bug 634804
Bug: 634804
Package-Manager: Portage-2.3.8, Repoman-2.3.3
.../{nftables-0.8-r2.ebuild => nftables-0.8-r3.ebuild} | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.8-r2.ebuild b/net-firewall/nftables/nftables-0.8-r3.ebuild
similarity index 79%
rename from net-firewall/nftables/nftables-0.8-r2.ebuild
rename to net-firewall/nftables/nftables-0.8-r3.ebuild
index 4656176d0d3..00a30dec484 100644
--- a/net-firewall/nftables/nftables-0.8-r2.ebuild
+++ b/net-firewall/nftables/nftables-0.8-r3.ebuild
@@ -72,13 +72,13 @@ pkg_postinst() {
local save_file
save_file="${EROOT%/}/var/lib/nftables/rules-save"
- elog "In order for the nftables-restore systemd service to start, "
- elog "the file, ${save_file}, must exist. To create this "
- elog "file run the following command: "
- elog ""
- elog " touch '${save_file}'"
- elog ""
- elog "Afterwards, the nftables-restore service should be manually started "
- elog "to ensure firewall changes are stored on system shutdown. The "
- elog "systemd service will function normally thereafter."
+ # In order for the nftables-restore systemd service to start
+ # the save_file must exist.
+ if [[ ! -f ${save_file} ]]; then
+ touch ${save_file}
+ fi
+
+ elog "If you are creating firewall rules before the next system restart "
+ elog "the nftables-restore service must be manually started in order to "
+ elog "save those rules on shutdown."
}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-10-18 6:11 Sergei Trofimovich
0 siblings, 0 replies; 217+ messages in thread
From: Sergei Trofimovich @ 2017-10-18 6:11 UTC (permalink / raw
To: gentoo-commits
commit: 37da6842251542f8cfee8b6821391bbad5d687aa
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 05:47:28 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 06:10:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37da6842
net-firewall/nftables: bind to net-libs/libnftnl and net-libs/libmnl subslots
Bug: https://bugs.gentoo.org/634604
Package-Manager: Portage-2.3.11, Repoman-2.3.3
net-firewall/nftables/{nftables-0.8.ebuild => nftables-0.8-r2.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.8.ebuild b/net-firewall/nftables/nftables-0.8-r2.ebuild
similarity index 96%
rename from net-firewall/nftables/nftables-0.8.ebuild
rename to net-firewall/nftables/nftables-0.8-r2.ebuild
index 8f0ddbe29ca..4656176d0d3 100644
--- a/net-firewall/nftables/nftables-0.8.ebuild
+++ b/net-firewall/nftables/nftables-0.8-r2.ebuild
@@ -14,10 +14,10 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="debug doc +gmp +readline"
-RDEPEND=">=net-libs/libmnl-1.0.3
+RDEPEND=">=net-libs/libmnl-1.0.3:0=
gmp? ( dev-libs/gmp:0= )
readline? ( sys-libs/readline:0= )
- >=net-libs/libnftnl-1.0.8"
+ >=net-libs/libnftnl-1.0.8:0="
DEPEND="${RDEPEND}
>=app-text/docbook2X-0.8.8-r4
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-10-18 5:33 Sergei Trofimovich
0 siblings, 0 replies; 217+ messages in thread
From: Sergei Trofimovich @ 2017-10-18 5:33 UTC (permalink / raw
To: gentoo-commits
commit: 4f0f796c71ddcd90815f07219b77bec32c7e1c34
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 05:33:03 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 05:33:14 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0f796c
net-firewall/nftables: enable USE=gmp by default, bug #634586
nftables uses mini-gmp in USE=-gmp mode. Use system's gmp by default.
This workarounds #634586 build failure by default but does not fix
underlying problem of mini-gmp incopleteness.
Bug: https://bugs.gentoo.org/634586
Package-Manager: Portage-2.3.11, Repoman-2.3.3
net-firewall/nftables/nftables-0.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/nftables-0.8.ebuild b/net-firewall/nftables/nftables-0.8.ebuild
index 8ea3783bb5c..8f0ddbe29ca 100644
--- a/net-firewall/nftables/nftables-0.8.ebuild
+++ b/net-firewall/nftables/nftables-0.8.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug doc gmp +readline"
+IUSE="debug doc +gmp +readline"
RDEPEND=">=net-libs/libmnl-1.0.3
gmp? ( dev-libs/gmp:0= )
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-10-17 14:12 Lars Wendler
0 siblings, 0 replies; 217+ messages in thread
From: Lars Wendler @ 2017-10-17 14:12 UTC (permalink / raw
To: gentoo-commits
commit: b75f49ebb606b23ff04aa2ec5e3972b60d1cbad2
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 17 14:10:47 2017 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Oct 17 14:12:10 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b75f49eb
net-firewall/nftables: Bump to version 0.8
Package-Manager: Portage-2.3.11, Repoman-2.3.3
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.8.ebuild | 84 +++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index dfd6553f63e..d07751502f1 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,2 +1,3 @@
DIST nftables-0.6.tar.gz 252523 SHA256 85dd7fa4e741c0be02efddbc57b5d300e1147f09ec6f81d0399110f96dc958f0 SHA512 17f3b94687865e077dc082cf61b29ab2854fd1ffe18212a8d424f2876aef8db9780dd4d06dca8e6d093498151d47bab73e40e1f54062a83a23a3cbe75f27e921 WHIRLPOOL d15eaf81426d73bea28752f96727d291120120fb2aaa994d421d900974eb45062957435e077664fb916780f636ed9b61889dbec8b627d5d309512bae96f02874
DIST nftables-0.7.tar.gz 292652 SHA256 192c9d92ee0c56eded599d1c54b0d68f4d9b0286f3d908579f0b9271aeba432f SHA512 6032720abf3af8a6dc0b4f507c6ae970447f504d59db4a34b2e0eea3c59962bc69d9ebfaa4e26a117747eb9d0224716a9709b96551b5479d914d7498f26ed43a WHIRLPOOL a999e85370bd9241daf015849ecdf5955f87a2d65f5525a6e75e9eda1bb87e1a84123c42e95f16c4469873a682409fea2ccc65a3af84a107b62d8c2a5727343d
+DIST nftables-0.8.tar.gz 327629 SHA256 95603f34e47dbfe89a1d704e17131ba1d60f458343c573c0985ac1e84cbca85a SHA512 90ffebc338c121334ca42822793b6fdeff48390e755c690308919de47064b53f9af735a2c2914e5255f1bddec90484599337d4cdd67f7a01a3956deefcef9fcb WHIRLPOOL ef5224eabdb57a640d4a3d53c90721c5fc473e06af977ea8e8e3fc566f8755e858fa7780642a34c4da72480357671d75a460a32d97d60bb47d009f5cc735f0e2
diff --git a/net-firewall/nftables/nftables-0.8.ebuild b/net-firewall/nftables/nftables-0.8.ebuild
new file mode 100644
index 00000000000..8ea3783bb5c
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.8.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="https://netfilter.org/projects/nftables/"
+SRC_URI="https://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug doc gmp +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3
+ gmp? ( dev-libs/gmp:0= )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.0.8"
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sbindir="${EPREFIX}"/sbin
+ $(use_enable doc pdf-doc)
+ $(use_enable debug)
+ $(use_with readline cli)
+ $(use_with !gmp mini_gmp)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ dodir /usr/libexec/${PN}
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+ systemd_enable_service basic.target ${PN}-restore.service
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ elog "In order for the nftables-restore systemd service to start, "
+ elog "the file, ${save_file}, must exist. To create this "
+ elog "file run the following command: "
+ elog ""
+ elog " touch '${save_file}'"
+ elog ""
+ elog "Afterwards, the nftables-restore service should be manually started "
+ elog "to ensure firewall changes are stored on system shutdown. The "
+ elog "systemd service will function normally thereafter."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-08-02 21:01 Matt Thode
0 siblings, 0 replies; 217+ messages in thread
From: Matt Thode @ 2017-08-02 21:01 UTC (permalink / raw
To: gentoo-commits
commit: 5e9de7594282978bf4e92dfacc514d5577d6f0f7
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 2 20:55:27 2017 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Aug 2 21:01:12 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e9de759
net-firewall/nftables: add self as maintainer
Package-Manager: Portage-2.3.6, Repoman-2.3.3
net-firewall/nftables/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml
index 4eb20a048df..c3018163bf3 100644
--- a/net-firewall/nftables/metadata.xml
+++ b/net-firewall/nftables/metadata.xml
@@ -5,4 +5,8 @@
<email>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
</maintainer>
+ <maintainer type="person">
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-07-23 12:16 Manuel Rüger
0 siblings, 0 replies; 217+ messages in thread
From: Manuel Rüger @ 2017-07-23 12:16 UTC (permalink / raw
To: gentoo-commits
commit: c332c62955ccc4a7a3ff8ee381f221d40aa2d5a2
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 12:16:41 2017 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 12:16:41 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c332c629
net-firewall/nftables: Drop myself as a maintainer
Package-Manager: Portage-2.3.6, Repoman-2.3.3
net-firewall/nftables/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml
index e22af2f1dac..4eb20a048df 100644
--- a/net-firewall/nftables/metadata.xml
+++ b/net-firewall/nftables/metadata.xml
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>mrueg@gentoo.org</email>
- <name>Manuel Rüger</name>
- </maintainer>
<maintainer type="project">
<email>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-04-08 7:27 Michał Górny
0 siblings, 0 replies; 217+ messages in thread
From: Michał Górny @ 2017-04-08 7:27 UTC (permalink / raw
To: gentoo-commits
commit: 3de552e3d2b7f7dc7663ce6f0ea86ce5f54b49e4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 8 07:24:38 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 8 07:27:01 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3de552e3
net-firewall/nftables: Remove proxy-maint (no proxied maintainers)
Fixes: 73eb8b0a628 (Remove nvinson234 <AT> gmail.com as maintainer)
net-firewall/nftables/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml
index e120f88cb65..e22af2f1dac 100644
--- a/net-firewall/nftables/metadata.xml
+++ b/net-firewall/nftables/metadata.xml
@@ -9,8 +9,4 @@
<email>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
</maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-01-07 21:46 Robin H. Johnson
0 siblings, 0 replies; 217+ messages in thread
From: Robin H. Johnson @ 2017-01-07 21:46 UTC (permalink / raw
To: gentoo-commits
commit: b6b2a0c93ecc164d8b3089ee932aeae5a9e38b0b
Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com>
AuthorDate: Tue Dec 20 15:53:21 2016 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Jan 7 21:46:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6b2a0c9
net-firewall/nftables: add xml USE flag
libnftnl-1.0.7 no longer supports outputing the firewall state as XML.
If a user wants that output, the user must use libnftnl-1.0.6.
Therefore, I added the xml USE flag so I could restrict libnftnl to
1.0.6 when xml is enabled and allow newer versions to be used when it is
not.
Unforunately, nftables unconditionally compiles support for xml output,
so when xml use is attempted with a version of libnftnl that does not
support it, the result is just an empty file.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
net-firewall/nftables/nftables-0.6-r4.ebuild | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.6-r4.ebuild b/net-firewall/nftables/nftables-0.6-r4.ebuild
index 7874baf..5750a3a 100644
--- a/net-firewall/nftables/nftables-0.6-r4.ebuild
+++ b/net-firewall/nftables/nftables-0.6-r4.ebuild
@@ -13,12 +13,13 @@ SRC_URI="http://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug doc gmp +readline"
+IUSE="debug doc gmp +readline xml"
RDEPEND=">=net-libs/libmnl-1.0.3
- >=net-libs/libnftnl-1.0.6
gmp? ( dev-libs/gmp:0= )
- readline? ( sys-libs/readline:0= )"
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.0.6[xml(-)?]
+ "
DEPEND="${RDEPEND}
>=app-text/docbook2X-0.8.8-r4
doc? ( >=app-text/dblatex-0.3.7 )
@@ -73,7 +74,7 @@ src_install() {
pkg_postinst() {
local save_file
- save_file="${EROOT}var/lib/nftables/rules-save"
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
elog "In order for the nftables-restore systemd service to start, "
elog "the file, ${save_file}, must exist. To create this "
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2017-01-07 21:46 Robin H. Johnson
0 siblings, 0 replies; 217+ messages in thread
From: Robin H. Johnson @ 2017-01-07 21:46 UTC (permalink / raw
To: gentoo-commits
commit: 318d063e9b2cb1d0dcf7fc7416f711ee52efae47
Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com>
AuthorDate: Sat Jan 7 14:56:05 2017 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Jan 7 21:46:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=318d063e
net-firewall/nftables: version bump to 0.7
Package-Manager: Portage-2.3.3, Repoman-2.3.1
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.7.ebuild | 83 +++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index ee4654f..dfd6553 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1 +1,2 @@
DIST nftables-0.6.tar.gz 252523 SHA256 85dd7fa4e741c0be02efddbc57b5d300e1147f09ec6f81d0399110f96dc958f0 SHA512 17f3b94687865e077dc082cf61b29ab2854fd1ffe18212a8d424f2876aef8db9780dd4d06dca8e6d093498151d47bab73e40e1f54062a83a23a3cbe75f27e921 WHIRLPOOL d15eaf81426d73bea28752f96727d291120120fb2aaa994d421d900974eb45062957435e077664fb916780f636ed9b61889dbec8b627d5d309512bae96f02874
+DIST nftables-0.7.tar.gz 292652 SHA256 192c9d92ee0c56eded599d1c54b0d68f4d9b0286f3d908579f0b9271aeba432f SHA512 6032720abf3af8a6dc0b4f507c6ae970447f504d59db4a34b2e0eea3c59962bc69d9ebfaa4e26a117747eb9d0224716a9709b96551b5479d914d7498f26ed43a WHIRLPOOL a999e85370bd9241daf015849ecdf5955f87a2d65f5525a6e75e9eda1bb87e1a84123c42e95f16c4469873a682409fea2ccc65a3af84a107b62d8c2a5727343d
diff --git a/net-firewall/nftables/nftables-0.7.ebuild b/net-firewall/nftables/nftables-0.7.ebuild
new file mode 100644
index 00000000..b90143d
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.7.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="http://netfilter.org/projects/nftables/"
+SRC_URI="http://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug doc gmp +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3
+ gmp? ( dev-libs/gmp:0= )
+ readline? ( sys-libs/readline:0= )
+ >=net-libs/libnftnl-1.0.7"
+
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ doc? ( >=app-text/dblatex-0.3.7 )
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+S="${WORKDIR}/v${PV}"
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sbindir="${EPREFIX}"/sbin \
+ $(use_enable doc pdf-doc) \
+ $(use_enable debug) \
+ $(use_with readline cli) \
+ $(use_with !gmp mini_gmp)
+}
+
+src_install() {
+ default
+
+ dodir /usr/libexec/${PN}
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}-restore.service
+ systemd_enable_service basic.target ${PN}-restore.service
+}
+
+pkg_postinst() {
+ local save_file
+ save_file="${EROOT%/}/var/lib/nftables/rules-save"
+
+ elog "In order for the nftables-restore systemd service to start, "
+ elog "the file, ${save_file}, must exist. To create this "
+ elog "file run the following command: "
+ elog ""
+ elog " touch '${save_file}'"
+ elog ""
+ elog "Afterwards, the nftables-restore service should be manually started "
+ elog "to ensure firewall changes are stored on system shutdown. The "
+ elog "systemd service will function normally thereafter."
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2016-06-16 1:03 Göktürk Yüksek
0 siblings, 0 replies; 217+ messages in thread
From: Göktürk Yüksek @ 2016-06-16 1:03 UTC (permalink / raw
To: gentoo-commits
commit: a932250134697ced272a7ed87025a860206ede58
Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com>
AuthorDate: Wed Jun 15 13:44:42 2016 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 01:01:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9322501
net-firewall/nftables: Reorder maintainers in metadata.xml and fix indents
Update the metadata.xml file so that it conforms with the current
Gentoo policy.
Closes: https://github.com/gentoo/gentoo/pull/1678
Package-Manager: portage-2.3.0_rc1
net-firewall/nftables/metadata.xml | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml
index 66990c0..abf494c 100644
--- a/net-firewall/nftables/metadata.xml
+++ b/net-firewall/nftables/metadata.xml
@@ -2,19 +2,18 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>mrueg@gentoo.org</email>
- <name>Manuel Rüger</name>
- </maintainer>
- <maintainer type="person">
<email>nvinson234@gmail.com</email>
<name>Nicholas Vinson</name>
- <description>Proxy maintainer to be assigned bugs</description>
</maintainer>
-<maintainer type="project">
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <maintainer type="project">
<email>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
</maintainer>
-<maintainer type="project">
+ <maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2016-06-15 15:48 Göktürk Yüksek
0 siblings, 0 replies; 217+ messages in thread
From: Göktürk Yüksek @ 2016-06-15 15:48 UTC (permalink / raw
To: gentoo-commits
commit: 1c80f594d8971d59cce294aa6720ddc5a4c2f954
Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com>
AuthorDate: Wed Jun 15 12:59:27 2016 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 15:42:58 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c80f594
net-firewall/nftables: correct install utility function calls
Previous modification changed the cp command to:
instinto /usr/libexec/${PN}
doins "${FILESDIR}"/libexec/${PN}.sh
However, this change is incorrect as it strips the exec flag from ${PN}.sh.
This commit changes the insinto and doins to exeinto and doexe which fixes the
problem.
Gentoo-bug: 586000
Package-Manager: portage-2.3.0_rc1
.../nftables/{nftables-0.5-r3.ebuild => nftables-0.5-r4.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.5-r3.ebuild b/net-firewall/nftables/nftables-0.5-r4.ebuild
similarity index 95%
rename from net-firewall/nftables/nftables-0.5-r3.ebuild
rename to net-firewall/nftables/nftables-0.5-r4.ebuild
index aa54e05..9ec62ec 100644
--- a/net-firewall/nftables/nftables-0.5-r3.ebuild
+++ b/net-firewall/nftables/nftables-0.5-r4.ebuild
@@ -56,8 +56,8 @@ src_install() {
default
dodir /usr/libexec/${PN}
- insinto /usr/libexec/${PN}
- doins "${FILESDIR}"/libexec/${PN}.sh
+ exeinto /usr/libexec/${PN}
+ doexe "${FILESDIR}"/libexec/${PN}.sh
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.init-r2 ${PN}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2015-12-26 13:34 Manuel Rüger
0 siblings, 0 replies; 217+ messages in thread
From: Manuel Rüger @ 2015-12-26 13:34 UTC (permalink / raw
To: gentoo-commits
commit: 65c9ca2c71842f8821d0615dbe11288814aba00f
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 26 13:33:36 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Dec 26 13:34:00 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c9ca2c
net-firewall/nftables: Remove old
Package-Manager: portage-2.2.26
net-firewall/nftables/nftables-0.5-r1.ebuild | 57 ----------------------------
net-firewall/nftables/nftables-0.5.ebuild | 57 ----------------------------
2 files changed, 114 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.5-r1.ebuild b/net-firewall/nftables/nftables-0.5-r1.ebuild
deleted file mode 100644
index 8c70616..0000000
--- a/net-firewall/nftables/nftables-0.5-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools linux-info eutils
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="http://netfilter.org/projects/nftables/"
-SRC_URI="http://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug gmp +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3
- >=net-libs/libnftnl-1.0.5
- gmp? ( dev-libs/gmp:0= )
- readline? ( sys-libs/readline:0= )"
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- sys-devel/bison
- sys-devel/flex"
-
-S="${WORKDIR}"/v${PV}
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- epatch_user
- eautoreconf
-}
-
-src_configure() {
- econf \
- --sbindir="${EPREFIX}"/sbin \
- $(use_enable debug) \
- $(use_with readline cli) \
- $(use_with !gmp mini_gmp)
-}
-
-src_install() {
- default
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
- keepdir /var/lib/nftables
-}
diff --git a/net-firewall/nftables/nftables-0.5.ebuild b/net-firewall/nftables/nftables-0.5.ebuild
deleted file mode 100644
index fdefe00..0000000
--- a/net-firewall/nftables/nftables-0.5.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools linux-info eutils
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="http://netfilter.org/projects/nftables/"
-SRC_URI="http://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug gmp +readline"
-
-RDEPEND=">=net-libs/libmnl-1.0.3
- >=net-libs/libnftnl-1.0.5
- gmp? ( dev-libs/gmp )
- readline? ( sys-libs/readline )"
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- sys-devel/bison
- sys-devel/flex"
-
-S="${WORKDIR}"/v${PV}
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- epatch_user
- eautoreconf
-}
-
-src_configure() {
- econf \
- --sbindir="${EPREFIX}"/sbin \
- $(use_enable debug) \
- $(use_with readline cli) \
- $(use_with !gmp mini_gmp)
-}
-
-src_install() {
- default
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2015-11-03 8:42 Ian Delaney
0 siblings, 0 replies; 217+ messages in thread
From: Ian Delaney @ 2015-11-03 8:42 UTC (permalink / raw
To: gentoo-commits
commit: 37bdeb0c57ba3978658d2b4373a5e2958f0ca5a6
Author: Nicholas Vinson <nvinson234 <AT> gmail <DOT> com>
AuthorDate: Tue Nov 3 06:10:22 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Tue Nov 3 06:11:28 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37bdeb0c
net-firewall/nftables: revbump to nftables-0.5-r2
Required for supporting systemd
Package-Manager: portage-2.2.23
net-firewall/nftables/nftables-0.5-r2.ebuild | 62 ++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/net-firewall/nftables/nftables-0.5-r2.ebuild b/net-firewall/nftables/nftables-0.5-r2.ebuild
new file mode 100644
index 0000000..a495588
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.5-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools linux-info eutils systemd
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="http://netfilter.org/projects/nftables/"
+SRC_URI="http://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug gmp +readline"
+
+RDEPEND=">=net-libs/libmnl-1.0.3
+ >=net-libs/libnftnl-1.0.5
+ gmp? ( dev-libs/gmp:0= )
+ readline? ( sys-libs/readline:0= )"
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ sys-devel/bison
+ sys-devel/flex"
+
+S="${WORKDIR}"/v${PV}
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ epatch_user
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sbindir="${EPREFIX}"/sbin \
+ $(use_enable debug) \
+ $(use_with readline cli) \
+ $(use_with !gmp mini_gmp)
+}
+
+src_install() {
+ default
+
+ dodir /usr/libexec/${PN}
+ cp -p "${FILESDIR}"/libexec/${PN}.sh "${D}"/usr/libexec/${PN}/${PN}.sh
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init-r2 ${PN}
+ keepdir /var/lib/nftables
+
+ systemd_dounit "${FILESDIR}"/systemd/${PN}{,-{re,}store}.service
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2015-10-16 3:41 Ian Delaney
0 siblings, 0 replies; 217+ messages in thread
From: Ian Delaney @ 2015-10-16 3:41 UTC (permalink / raw
To: gentoo-commits
commit: 6845bdefc6c9ffc008cbc5d4ea0c02127b8b3312
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 16 03:40:41 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 03:41:11 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6845bdef
net-firewall/nftables: Add proxy maintainer to metadata
Package-Manager: portage-2.2.20.1
net-firewall/nftables/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml
index 822af25..38fd447 100644
--- a/net-firewall/nftables/metadata.xml
+++ b/net-firewall/nftables/metadata.xml
@@ -10,6 +10,6 @@
<maintainer>
<email>nvinson234@gmail.com</email>
<name>Nicholas Vinson</name>
- <description>Proxy maintianer to be assifgned bugs</description>
+ <description>Proxy maintainer to be assigned bugs</description>
</maintainer>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2015-10-10 21:21 Mike Frysinger
0 siblings, 0 replies; 217+ messages in thread
From: Mike Frysinger @ 2015-10-10 21:21 UTC (permalink / raw
To: gentoo-commits
commit: d16def523fdb5e1b0341345e4f4bcdf73a25ff64
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 21:20:37 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 21:20:37 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16def52
net-firewall/nftables: inherit eutils for epatch_user #562740
net-firewall/nftables/nftables-0.5.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-firewall/nftables/nftables-0.5.ebuild b/net-firewall/nftables/nftables-0.5.ebuild
index 2162672..fdefe00 100644
--- a/net-firewall/nftables/nftables-0.5.ebuild
+++ b/net-firewall/nftables/nftables-0.5.ebuild
@@ -4,16 +4,16 @@
EAPI=5
-inherit autotools linux-info
+inherit autotools linux-info eutils
DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
HOMEPAGE="http://netfilter.org/projects/nftables/"
+SRC_URI="http://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="debug gmp +readline"
-SRC_URI="http://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
RDEPEND=">=net-libs/libmnl-1.0.3
>=net-libs/libnftnl-1.0.5
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2015-10-06 13:27 Manuel Rüger
0 siblings, 0 replies; 217+ messages in thread
From: Manuel Rüger @ 2015-10-06 13:27 UTC (permalink / raw
To: gentoo-commits
commit: f960f02361af5be69bd9e63e0428877e6ec24ca1
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 6 13:26:25 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Oct 6 13:27:21 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f960f023
net-firewall/nftables: Remove old
Package-Manager: portage-2.2.22
net-firewall/nftables/Manifest | 1 -
net-firewall/nftables/nftables-0.4.ebuild | 54 -------------------------------
2 files changed, 55 deletions(-)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index 34fa18e..78785f2 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1,2 +1 @@
-DIST nftables-0.4.tar.bz2 362120 SHA256 f6ca69b75c68915f9f3a3972274ec68354dfbbcfc0b9fc55c813a0525c351d3c SHA512 0932cf987da602285fbf7c7f61328b0d74d687889c2d4a5bd2bd7fe11e8b99433bc5ee53ebbddadf2c90e40acdcb28f6babf07e11feedff815c571c3b782dffc WHIRLPOOL 1604010f260247c2fd98d33ca931eb0be6f38097937983aadfbdf2eb44fd3827212d00e6e6351821ccd8a2696fc696d9e7ec102d447387f930b8fb2afadc22a8
DIST nftables-0.5.tar.gz 216740 SHA256 b48991f4e9e73b689bc254fa06b3ff3c1f937241d333291cb2ae72c0cd2398b6 SHA512 5d804ac9bb340446e52e5b0e86b726216ecc0d1eb42738cf133ba1acc5b442f720f5644005e02b9e3e8fae4e2bdc64d32560d6c6b1b26fe15bde24d62db51679 WHIRLPOOL 348d511c7ee530e6fb04b9828babad45407e4b60c443aaa8902aa9535705ff54cb78cd5e5c8ba970b57b97406b00718e94ab8a346fceaa82803bdaad84d30285
diff --git a/net-firewall/nftables/nftables-0.4.ebuild b/net-firewall/nftables/nftables-0.4.ebuild
deleted file mode 100644
index 85a0bbb..0000000
--- a/net-firewall/nftables/nftables-0.4.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools linux-info
-
-DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
-HOMEPAGE="http://netfilter.org/projects/nftables/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug +readline"
-SRC_URI="http://netfilter.org/projects/${PN}/files/${P}.tar.bz2"
-
-RDEPEND="net-libs/libmnl
- >=net-libs/libnftnl-1.0.2
- dev-libs/gmp
- readline? ( sys-libs/readline )"
-DEPEND="${RDEPEND}
- >=app-text/docbook2X-0.8.8-r4
- sys-devel/bison
- sys-devel/flex"
-
-pkg_setup() {
- if kernel_is ge 3 13; then
- CONFIG_CHECK="~NF_TABLES"
- linux-info_pkg_setup
- else
- eerror "This package requires kernel version 3.13 or newer to work properly."
- fi
-}
-
-src_prepare() {
- epatch_user
- eautoreconf
-}
-
-src_configure() {
- econf \
- --sbindir="${EPREFIX}"/sbin \
- $(use_enable debug) \
- $(use_with readline cli)
-}
-
-src_install() {
- default
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- keepdir /var/lib/nftables
-}
^ permalink raw reply related [flat|nested] 217+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/
@ 2015-09-19 21:46 Manuel Rüger
0 siblings, 0 replies; 217+ messages in thread
From: Manuel Rüger @ 2015-09-19 21:46 UTC (permalink / raw
To: gentoo-commits
commit: d87359c37c57ccc0a1b612ca29aa6d723f2e628e
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 21:46:01 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 21:46:01 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87359c3
net-firewall/nftables: Version bump
Package-Manager: portage-2.2.20.1
net-firewall/nftables/Manifest | 1 +
net-firewall/nftables/nftables-0.5.ebuild | 57 +++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/net-firewall/nftables/Manifest b/net-firewall/nftables/Manifest
index a443926..34fa18e 100644
--- a/net-firewall/nftables/Manifest
+++ b/net-firewall/nftables/Manifest
@@ -1 +1,2 @@
DIST nftables-0.4.tar.bz2 362120 SHA256 f6ca69b75c68915f9f3a3972274ec68354dfbbcfc0b9fc55c813a0525c351d3c SHA512 0932cf987da602285fbf7c7f61328b0d74d687889c2d4a5bd2bd7fe11e8b99433bc5ee53ebbddadf2c90e40acdcb28f6babf07e11feedff815c571c3b782dffc WHIRLPOOL 1604010f260247c2fd98d33ca931eb0be6f38097937983aadfbdf2eb44fd3827212d00e6e6351821ccd8a2696fc696d9e7ec102d447387f930b8fb2afadc22a8
+DIST nftables-0.5.tar.gz 216740 SHA256 b48991f4e9e73b689bc254fa06b3ff3c1f937241d333291cb2ae72c0cd2398b6 SHA512 5d804ac9bb340446e52e5b0e86b726216ecc0d1eb42738cf133ba1acc5b442f720f5644005e02b9e3e8fae4e2bdc64d32560d6c6b1b26fe15bde24d62db51679 WHIRLPOOL 348d511c7ee530e6fb04b9828babad45407e4b60c443aaa8902aa9535705ff54cb78cd5e5c8ba970b57b97406b00718e94ab8a346fceaa82803bdaad84d30285
diff --git a/net-firewall/nftables/nftables-0.5.ebuild b/net-firewall/nftables/nftables-0.5.ebuild
new file mode 100644
index 0000000..2162672
--- /dev/null
+++ b/net-firewall/nftables/nftables-0.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools linux-info
+
+DESCRIPTION="Linux kernel (3.13+) firewall, NAT and packet mangling tools"
+HOMEPAGE="http://netfilter.org/projects/nftables/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug gmp +readline"
+SRC_URI="http://git.netfilter.org/nftables/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+
+RDEPEND=">=net-libs/libmnl-1.0.3
+ >=net-libs/libnftnl-1.0.5
+ gmp? ( dev-libs/gmp )
+ readline? ( sys-libs/readline )"
+DEPEND="${RDEPEND}
+ >=app-text/docbook2X-0.8.8-r4
+ sys-devel/bison
+ sys-devel/flex"
+
+S="${WORKDIR}"/v${PV}
+
+pkg_setup() {
+ if kernel_is ge 3 13; then
+ CONFIG_CHECK="~NF_TABLES"
+ linux-info_pkg_setup
+ else
+ eerror "This package requires kernel version 3.13 or newer to work properly."
+ fi
+}
+
+src_prepare() {
+ epatch_user
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sbindir="${EPREFIX}"/sbin \
+ $(use_enable debug) \
+ $(use_with readline cli) \
+ $(use_with !gmp mini_gmp)
+}
+
+src_install() {
+ default
+
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ keepdir /var/lib/nftables
+}
^ permalink raw reply related [flat|nested] 217+ messages in thread
end of thread, other threads:[~2024-10-13 11:06 UTC | newest]
Thread overview: 217+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-10 1:16 [gentoo-commits] repo/gentoo:master commit in: net-firewall/nftables/ Patrick McLean
-- strict thread matches above, loose matches on Subject: below --
2024-10-13 11:06 Sam James
2024-10-10 12:20 Arthur Zamarin
2024-10-09 0:06 Jakov Smolić
2024-10-05 21:47 Jakov Smolić
2024-10-05 11:12 Sam James
2024-10-02 23:12 Patrick McLean
2024-10-02 23:12 Patrick McLean
2024-08-26 11:55 Sam James
2024-07-19 16:41 Patrick McLean
2024-07-19 16:41 Patrick McLean
2024-04-13 15:38 Matthew Thode
2023-12-17 19:11 Arthur Zamarin
2023-12-15 13:02 Arthur Zamarin
2023-12-15 10:44 Arthur Zamarin
2023-12-15 7:34 Sam James
2023-12-15 7:27 Sam James
2023-12-15 7:16 Sam James
2023-12-15 7:14 Sam James
2023-10-20 0:51 Sam James
2023-08-20 18:10 Arthur Zamarin
2023-08-20 17:37 Arthur Zamarin
2023-08-20 13:16 Sam James
2023-08-20 13:11 Sam James
2023-08-20 13:11 Sam James
2023-08-20 11:27 Sam James
2023-08-20 8:29 Sam James
2023-08-20 8:29 Sam James
2023-07-16 5:25 Sam James
2023-07-15 13:23 Sam James
2023-07-15 13:18 Sam James
2023-05-01 13:36 Sam James
2023-04-29 8:48 Sam James
2023-04-29 8:48 Sam James
2023-04-24 12:38 Jakov Smolić
2023-04-24 8:25 Arthur Zamarin
2023-04-24 8:25 Arthur Zamarin
2023-04-23 22:59 Sam James
2023-04-23 22:59 Sam James
2023-04-23 22:59 Sam James
2023-03-22 4:06 Sam James
2023-03-19 22:22 Sam James
2023-03-19 22:22 Sam James
2023-03-15 2:42 Sam James
2023-03-10 3:53 Sam James
2023-03-10 3:53 Sam James
2023-03-04 11:56 Arthur Zamarin
2023-03-04 9:55 Arthur Zamarin
2023-03-04 7:42 Arthur Zamarin
2023-03-04 7:04 Arthur Zamarin
2023-03-04 6:14 Arthur Zamarin
2023-03-04 5:49 Arthur Zamarin
2023-03-04 5:47 Arthur Zamarin
2023-03-04 5:38 Arthur Zamarin
2022-12-21 23:52 Sam James
2022-11-19 4:50 WANG Xuerui
2022-10-11 18:26 Sam James
2022-10-11 17:15 Arthur Zamarin
2022-10-11 9:19 Agostino Sarubbo
2022-10-11 9:19 Agostino Sarubbo
2022-10-11 6:46 Agostino Sarubbo
2022-10-10 23:36 Sam James
2022-10-10 23:36 Sam James
2022-10-10 22:35 Sam James
2022-09-16 18:01 Arthur Zamarin
2022-09-16 17:45 Arthur Zamarin
2022-09-15 19:58 Arthur Zamarin
2022-09-13 17:34 Mike Gilbert
2022-09-08 11:35 Agostino Sarubbo
2022-09-08 11:24 Agostino Sarubbo
2022-09-08 7:26 Agostino Sarubbo
2022-09-07 13:16 Agostino Sarubbo
2022-09-07 13:15 Agostino Sarubbo
2022-08-10 1:16 Patrick McLean
2022-06-17 18:44 Sam James
2022-06-17 16:18 Mike Gilbert
2022-06-07 20:31 Patrick McLean
2022-06-05 9:20 Sam James
2022-05-31 22:25 Patrick McLean
2022-05-22 11:27 Jakov Smolić
2022-05-22 6:22 Agostino Sarubbo
2022-05-22 6:19 Agostino Sarubbo
2022-05-22 6:17 Agostino Sarubbo
2022-05-22 3:53 Sam James
2022-05-22 3:25 Sam James
2022-05-22 3:21 Sam James
2022-05-22 3:20 Sam James
2022-04-17 17:12 Sam James
2022-03-27 2:58 Sam James
2022-03-27 2:58 Sam James
2022-03-27 2:58 Sam James
2022-02-13 14:58 Sam James
2022-02-10 11:50 Sam James
2022-02-10 11:43 Sam James
2022-02-10 11:43 Sam James
2022-02-10 10:17 Sam James
2022-02-10 10:17 Sam James
2022-02-10 10:12 Sam James
2022-02-10 9:59 Sam James
2022-02-10 9:50 Sam James
2022-02-01 6:56 Sam James
2022-01-31 19:00 Patrick McLean
2022-01-31 19:00 Patrick McLean
2021-11-19 18:18 Patrick McLean
2021-10-28 14:03 Agostino Sarubbo
2021-10-28 14:00 Agostino Sarubbo
2021-10-28 7:27 Sam James
2021-10-28 7:27 Sam James
2021-10-28 7:27 Sam James
2021-10-28 6:43 Agostino Sarubbo
2021-10-28 6:22 Sam James
2021-09-08 23:47 Joshua Kinard
2021-08-23 18:43 Patrick McLean
2021-08-23 18:43 Patrick McLean
2021-08-20 23:51 Sam James
2021-08-11 23:10 Sam James
2021-08-11 0:24 Sam James
2021-08-11 0:02 Sam James
2021-06-21 20:42 Marek Szuba
2021-05-27 16:57 Patrick McLean
2021-05-27 1:25 Patrick McLean
2021-05-09 6:01 Sam James
2021-05-09 1:29 Sam James
2021-05-08 18:58 Sam James
2021-05-08 18:49 Sam James
2021-05-08 18:44 Sam James
2021-05-08 18:41 Sam James
2021-04-27 18:02 Sam James
2021-04-27 18:01 Sam James
2021-03-06 23:10 Sam James
2021-02-28 12:22 Sergei Trofimovich
2021-02-28 12:22 Sergei Trofimovich
2021-01-16 23:36 Lars Wendler
2021-01-05 18:18 Patrick McLean
2020-11-08 3:02 Patrick McLean
2020-10-31 15:35 Matt Turner
2020-10-27 17:58 Patrick McLean
2020-08-29 17:57 Thomas Deutschmann
2020-08-25 13:13 Sam James
2020-08-25 12:53 Agostino Sarubbo
2020-08-23 20:47 Sam James
2020-08-20 13:20 Sam James
2020-07-23 2:06 Patrick McLean
2020-06-27 20:37 Patrick McLean
2020-06-27 20:37 Patrick McLean
2020-06-16 2:20 Patrick McLean
2020-06-07 18:17 Patrick McLean
2020-06-07 12:10 Lars Wendler
2020-06-07 0:18 Patrick McLean
2020-04-13 18:48 Patrick McLean
2020-04-07 6:56 Patrick McLean
2020-04-02 7:47 Lars Wendler
2020-02-26 19:23 Patrick McLean
2020-01-27 12:06 Mikle Kolyada
2020-01-15 23:52 Sergei Trofimovich
2020-01-10 12:16 Agostino Sarubbo
2020-01-10 1:26 Thomas Deutschmann
2019-12-28 21:32 Georgy Yakovlev
2019-12-05 2:19 Matthew Thode
2019-12-05 2:19 Matthew Thode
2019-12-03 16:52 Matthew Thode
2019-12-03 16:10 Matthew Thode
2019-12-03 16:10 Matthew Thode
2019-12-03 7:19 Lars Wendler
2019-12-02 18:52 Matthew Thode
2019-12-02 18:52 Matthew Thode
2019-09-13 18:47 Mikle Kolyada
2019-09-13 17:27 Agostino Sarubbo
2019-09-09 6:54 Agostino Sarubbo
2019-09-08 19:15 Thomas Deutschmann
2019-08-27 7:35 Matt Turner
2019-08-23 17:02 Lars Wendler
2019-07-29 1:52 Matt Turner
2019-07-28 19:58 Mikle Kolyada
2019-07-02 12:35 Agostino Sarubbo
2019-07-02 11:55 Agostino Sarubbo
2019-07-02 10:33 Agostino Sarubbo
2019-06-30 1:57 Matthew Thode
2019-06-28 16:30 Lars Wendler
2019-06-28 15:47 Lars Wendler
2019-06-28 11:49 Lars Wendler
2019-05-21 16:39 Stephen Klimaszewski
2019-04-08 20:21 Aaron Bauman
2019-01-28 15:24 Matthew Thode
2018-11-19 21:44 Matthew Thode
2018-11-19 18:35 Matthew Thode
2018-06-11 11:42 Lars Wendler
2018-06-11 11:42 Lars Wendler
2018-05-10 18:58 Lars Wendler
2018-05-02 13:57 Lars Wendler
2018-05-02 13:57 Lars Wendler
2018-03-07 9:13 Lars Wendler
2018-03-07 9:13 Lars Wendler
2018-02-03 22:58 Thomas Deutschmann
2018-01-20 18:58 Lars Wendler
2018-01-18 14:21 Lars Wendler
2018-01-10 6:19 Markus Meier
2018-01-04 20:40 Mikle Kolyada
2017-12-25 9:28 Sergei Trofimovich
2017-12-19 15:46 Thomas Deutschmann
2017-10-25 13:33 Matt Thode
2017-10-18 6:11 Sergei Trofimovich
2017-10-18 5:33 Sergei Trofimovich
2017-10-17 14:12 Lars Wendler
2017-08-02 21:01 Matt Thode
2017-07-23 12:16 Manuel Rüger
2017-04-08 7:27 Michał Górny
2017-01-07 21:46 Robin H. Johnson
2017-01-07 21:46 Robin H. Johnson
2016-06-16 1:03 Göktürk Yüksek
2016-06-15 15:48 Göktürk Yüksek
2015-12-26 13:34 Manuel Rüger
2015-11-03 8:42 Ian Delaney
2015-10-16 3:41 Ian Delaney
2015-10-10 21:21 Mike Frysinger
2015-10-06 13:27 Manuel Rüger
2015-09-19 21:46 Manuel Rüger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox