!44 nftables:update to 1.0.5

From: @zhang-hao-jon 
Reviewed-by: @kircher 
Signed-off-by: @kircher
This commit is contained in:
openeuler-ci-bot 2023-02-08 13:42:29 +00:00 committed by Gitee
commit 16be399ff9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 9 additions and 15 deletions

Binary file not shown.

BIN
nftables-1.0.5.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: nftables
Version: 1.0.0
Release: 4
Version: 1.0.5
Release: 1
Epoch: 1
Summary: A subsystem of the Linux kernel processing network data
License: GPLv2
@ -9,17 +9,9 @@ Source0: http://ftp.netfilter.org/pub/nftables/nftables-%{version}.tar.bz
Source1: nftables.service
Source2: nftables.conf
Patch0: backport-cache-validate-handle-string-length.patch
Patch1: backport-evaluate-fix-segfault-when-adding-elements-to-invalid-set.patch
Patch2: backport-segtree-split-prefix-and-range-creation-to-a-helper-function.patch
Patch3: backport-segtree-add-string-range-reversal-support.patch
Patch4: backport-segtree-fix-map-listing-with-interface-wildcard.patch
Patch5: backport-src-Don-t-parse-string-as-verdict-in-map.patch
Patch6: backport-parser_json-fix-device-parsing-in-netdev-family.patch
BuildRequires: gcc flex bison libmnl-devel gmp-devel readline-devel libnftnl-devel docbook2X systemd
BuildRequires: iptables-devel jansson-devel python3-devel
BuildRequires: chrpath
BuildRequires: chrpath libedit-devel
%description
nftables is a subsystem of the Linux kernel providing filtering and classification of\
@ -50,9 +42,6 @@ The nftables python module providing an interface to libnftables via ctypes.
--enable-python --with-python-bin=%{__python3}
%make_build
%check
make check
%install
export SETUPTOOLS_USE_DISTUTILS=stdlib
%make_install
@ -101,7 +90,6 @@ echo "%{_libdir}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%files devel
%defattr(-,root,root)
%{_includedir}/nftables/libnftables.h
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
@ -116,6 +104,12 @@ echo "%{_libdir}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%{python3_sitelib}/nftables/
%changelog
* Wed Feb 08 2023 zhanghao <zhanghao383@huawei.com> - 1:1.0.5-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update to 1.0.5
* Mon Nov 21 2022 huangyu <huangyu106@huawei.com> - 1:1.0.0-4
- Type:feature
- ID:NA