diff --git a/0001-Revert-py-replace-distutils-with-setuptools.patch b/0001-Revert-py-replace-distutils-with-setuptools.patch new file mode 100644 index 0000000..915e3ed --- /dev/null +++ b/0001-Revert-py-replace-distutils-with-setuptools.patch @@ -0,0 +1,24 @@ +From 2125091e724c399d653790af854d9daba0218b99 Mon Sep 17 00:00:00 2001 +From: Jan Engelhardt +Date: Mon, 17 Jul 2023 12:13:05 +0200 +Subject: [PATCH] Revert "py: replace distutils with setuptools" + +This reverts commit 1acc2fd48c755a8931fa87b8d0560b750316059f. +--- + py/setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/py/setup.py b/py/setup.py +index 8ad73e7b..72fc8fd9 100755 +--- a/py/setup.py ++++ b/py/setup.py +@@ -1,5 +1,5 @@ + #!/usr/bin/env python +-from setuptools import setup ++from distutils.core import setup + from nftables import NFTABLES_VERSION + + setup(name='nftables', +-- +2.41.0 + diff --git a/nftables-1.0.7.tar.xz b/nftables-1.0.7.tar.xz deleted file mode 100644 index d416892..0000000 --- a/nftables-1.0.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c12ac941fff9adaedf17367d5ce213789b98a0d314277bc22b3d71e10891f412 -size 857140 diff --git a/nftables-1.0.7.tar.xz.sig b/nftables-1.0.7.tar.xz.sig deleted file mode 100644 index 1cf93d6..0000000 Binary files a/nftables-1.0.7.tar.xz.sig and /dev/null differ diff --git a/nftables-1.0.8.tar.xz b/nftables-1.0.8.tar.xz new file mode 100644 index 0000000..5879930 --- /dev/null +++ b/nftables-1.0.8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9373740de41a82dbc98818e0a46a073faeb8a8d0689fa4fa1a74399c32bf3d50 +size 882980 diff --git a/nftables-1.0.8.tar.xz.sig b/nftables-1.0.8.tar.xz.sig new file mode 100644 index 0000000..4307b29 Binary files /dev/null and b/nftables-1.0.8.tar.xz.sig differ diff --git a/nftables.changes b/nftables.changes index 68903a4..c042f13 100644 --- a/nftables.changes +++ b/nftables.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Jul 14 11:56:43 UTC 2023 - Jan Engelhardt + +- Update to release 1.0.8 + * Support for setting meta and ct mark from other fields in + rules, e.g. set meta mark to ip dscp header field. + * Enhacements for -o/--optimize to deal with NAT statements, to + compact masquerade statements. + * Support for stateful statements in anonymous maps, such as + counters. + * Support for resetting stateful expressions in sets, maps and + elements, e.g. counters. + * broute support to short-circuit bridge logic from the bridge + prerouting hook and pass up packets to the local IP stack. + * JSON support for table and chain comments. +- Added 0001-Revert-py-replace-distutils-with-setuptools.patch + ------------------------------------------------------------------- Mon Mar 13 20:47:53 UTC 2023 - Jan Engelhardt diff --git a/nftables.spec b/nftables.spec index 66ff863..2334328 100644 --- a/nftables.spec +++ b/nftables.spec @@ -17,7 +17,7 @@ Name: nftables -Version: 1.0.7 +Version: 1.0.8 Release: 0 Summary: Userspace utility to access the nf_tables packet filter License: GPL-2.0-only @@ -28,6 +28,7 @@ URL: https://netfilter.org/projects/nftables/ Source: http://ftp.netfilter.org/pub/%name/%name-%version.tar.xz Source2: http://ftp.netfilter.org/pub/%name/%name-%version.tar.xz.sig Source3: %name.keyring +Patch1: 0001-Revert-py-replace-distutils-with-setuptools.patch BuildRequires: asciidoc BuildRequires: bison BuildRequires: flex @@ -38,7 +39,7 @@ BuildRequires: python3-base BuildRequires: pkgconfig(jansson) BuildRequires: pkgconfig(libedit) BuildRequires: pkgconfig(libmnl) >= 1.0.4 -BuildRequires: pkgconfig(libnftnl) >= 1.2.5 +BuildRequires: pkgconfig(libnftnl) >= 1.2.6 BuildRequires: pkgconfig(xtables) >= 1.6.1 %description