forked from pool/nftables
- Update to release 1.0.9
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/nftables?expand=0&rev=82
This commit is contained in:
parent
34ac7985b3
commit
be865fcbea
@ -1,24 +0,0 @@
|
|||||||
From 2125091e724c399d653790af854d9daba0218b99 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jan Engelhardt <jengelh@inai.de>
|
|
||||||
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
|
|
||||||
|
|
BIN
nftables-1.0.8.tar.xz
(Stored with Git LFS)
BIN
nftables-1.0.8.tar.xz
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
3
nftables-1.0.9.tar.xz
Normal file
3
nftables-1.0.9.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a3c304cd9ba061239ee0474f9afb938a9bb99d89b960246f66f0c3a0a85e14cd
|
||||||
|
size 971968
|
BIN
nftables-1.0.9.tar.xz.sig
Normal file
BIN
nftables-1.0.9.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 19 23:42:57 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 1.0.9
|
||||||
|
* Custom conntrack timeouts can use time specification with
|
||||||
|
units other than seconds.
|
||||||
|
* Allow combination of dnat with numgen.
|
||||||
|
* Allow for using constants as key in dynamic sets.
|
||||||
|
* Support for matching on the target address of a IPv6 neighbour
|
||||||
|
solicitation/advertisement.
|
||||||
|
* Restore bitwise operations in combination with maps, e.g. jump
|
||||||
|
to chain depending on bitwise operation on packet mark.
|
||||||
|
* Fix crash with log prefix longer that 127 bytes.
|
||||||
|
- Drop merged 0001-Revert-py-replace-distutils-with-setuptools.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 14 11:56:43 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
Fri Jul 14 11:56:43 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: nftables
|
Name: nftables
|
||||||
Version: 1.0.8
|
Version: 1.0.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Userspace utility to access the nf_tables packet filter
|
Summary: Userspace utility to access the nf_tables packet filter
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
@ -28,19 +28,22 @@ URL: https://netfilter.org/projects/nftables/
|
|||||||
Source: http://ftp.netfilter.org/pub/%name/%name-%version.tar.xz
|
Source: http://ftp.netfilter.org/pub/%name/%name-%version.tar.xz
|
||||||
Source2: http://ftp.netfilter.org/pub/%name/%name-%version.tar.xz.sig
|
Source2: http://ftp.netfilter.org/pub/%name/%name-%version.tar.xz.sig
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Patch1: 0001-Revert-py-replace-distutils-with-setuptools.patch
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config >= 0.21
|
BuildRequires: pkg-config >= 0.21
|
||||||
BuildRequires: python3-base
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: pkgconfig(jansson)
|
BuildRequires: pkgconfig(jansson)
|
||||||
BuildRequires: pkgconfig(libedit)
|
BuildRequires: pkgconfig(libedit)
|
||||||
BuildRequires: pkgconfig(libmnl) >= 1.0.4
|
BuildRequires: pkgconfig(libmnl) >= 1.0.4
|
||||||
BuildRequires: pkgconfig(libnftnl) >= 1.2.6
|
BuildRequires: pkgconfig(libnftnl) >= 1.2.6
|
||||||
BuildRequires: pkgconfig(xtables) >= 1.6.1
|
BuildRequires: pkgconfig(xtables) >= 1.6.1
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
nf_tables is a firewalling mechanism in the Linux kernel, running
|
nf_tables is a firewalling mechanism in the Linux kernel, running
|
||||||
@ -72,13 +75,6 @@ library.
|
|||||||
|
|
||||||
This package contains the header files for the library.
|
This package contains the header files for the library.
|
||||||
|
|
||||||
%package -n python3-nftables
|
|
||||||
Summary: Python interface for nftables
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
|
|
||||||
%description -n python3-nftables
|
|
||||||
A Python module for nftables.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
@ -95,10 +91,17 @@ pushd obj/
|
|||||||
--enable-python --with-python-bin="$(which python3)"
|
--enable-python --with-python-bin="$(which python3)"
|
||||||
%make_build
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
pushd py
|
||||||
|
%pyproject_wheel
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
%make_install -C obj
|
%make_install -C obj
|
||||||
|
pushd py
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %buildroot/%{$python_sitelib}
|
||||||
|
popd
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
mkdir -p "$b/%_docdir/%name/examples"
|
mkdir -p "$b/%_docdir/%name/examples"
|
||||||
mv -v "$b/%_datadir/nftables"/*.nft "$b/%_docdir/%name/examples/"
|
mv -v "$b/%_datadir/nftables"/*.nft "$b/%_docdir/%name/examples/"
|
||||||
@ -106,7 +109,7 @@ mv -v "$b/%_datadir/nftables"/*.nft "$b/%_docdir/%name/examples/"
|
|||||||
%post -n libnftables1 -p /sbin/ldconfig
|
%post -n libnftables1 -p /sbin/ldconfig
|
||||||
%postun -n libnftables1 -p /sbin/ldconfig
|
%postun -n libnftables1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files -n nftables
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%_sysconfdir/nftables/
|
%_sysconfdir/nftables/
|
||||||
%_sbindir/nft
|
%_sbindir/nft
|
||||||
@ -117,13 +120,13 @@ mv -v "$b/%_datadir/nftables"/*.nft "$b/%_docdir/%name/examples/"
|
|||||||
%files -n libnftables1
|
%files -n libnftables1
|
||||||
%_libdir/libnftables.so.1*
|
%_libdir/libnftables.so.1*
|
||||||
|
|
||||||
%files devel
|
%files -n nftables-devel
|
||||||
%_includedir/%name/
|
%_includedir/%name/
|
||||||
%_libdir/libnftables.so
|
%_libdir/libnftables.so
|
||||||
%_libdir/pkgconfig/*.pc
|
%_libdir/pkgconfig/*.pc
|
||||||
%_mandir/man3/*.3*
|
%_mandir/man3/*.3*
|
||||||
|
|
||||||
%files -n python3-nftables
|
%files %{python_files}
|
||||||
%python3_sitelib/nftables*
|
%{python_sitelib}/nftables*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user