SHA256
1
0
forked from pool/nftables

Accepting request 724575 from security:netfilter

- Update to new upstream release 0.9.2

OBS-URL: https://build.opensuse.org/request/show/724575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nftables?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2019-08-27 13:21:40 +00:00 committed by Git OBS Bridge
commit 532dcc2d57
6 changed files with 32 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad8181b5fcb9ca572f444bed54018749588522ee97e4c21922648bb78d7e7e91
size 711108

Binary file not shown.

3
nftables-0.9.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cb66180143e6bfc774f4eb316206d40ac1cb6df269a90882404cbf7165513f5
size 779850

BIN
nftables-0.9.2.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 19 12:37:45 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 0.9.2
* Transport header port matching, e.g. "th dport 53"
* Support for matching on IPv4 options
* Support for synproxy
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 19 20:53:09 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de> Sat Jan 19 20:53:09 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package nftables # spec file for package nftables
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,56 +12,54 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: nftables Name: nftables
Version: 0.9.0 Version: 0.9.2
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
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Url: http://netfilter.org/projects/nftables/ URL: https://netfilter.org/projects/nftables/
#Git-Clone: git://git.netfilter.org/nftables #Git-Clone: git://git.netfilter.org/nftables
Source: http://ftp.netfilter.org/pub/nftables/nftables-%version.tar.bz2 Source: http://ftp.netfilter.org/pub/nftables/nftables-%version.tar.bz2
Source2: http://ftp.netfilter.org/pub/nftables/nftables-%version.tar.bz2.sig Source2: http://ftp.netfilter.org/pub/nftables/nftables-%version.tar.bz2.sig
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: asciidoc
BuildRequires: bison BuildRequires: bison
BuildRequires: docbook2x
BuildRequires: flex BuildRequires: flex
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: pkg-config >= 0.21 BuildRequires: pkg-config >= 0.21
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: xsltproc
BuildRequires: pkgconfig(libmnl) >= 1.0.3 BuildRequires: pkgconfig(libmnl) >= 1.0.3
BuildRequires: pkgconfig(libnftnl) >= 1.1.1 BuildRequires: pkgconfig(libnftnl) >= 1.1.4
BuildRequires: pkgconfig(xtables) >= 1.6.1 BuildRequires: pkgconfig(xtables) >= 1.6.1
%description %description
nf_tables is a firewalling mechanism in the Linux kernel, running nf_tables is a firewalling mechanism in the Linux kernel, running
independently of, and thus parallel to, ip_tables, ip6_tables, independently of and parallel to ip_tables, ip6_tables,
arp_tables and ebtables. nftables is the corresponsing userspace arp_tables and ebtables. nftables is the corresponsing userspace
frontend. frontend.
nftables features support for sets and dictionaries of arbitrary The nftables frontend features support for sets and dictionaries of arbitrary
types, support for different protocols, meta data types, access to types, meta data types, atomic incremental and full ruleset updates, and,
connection tracking and NAT, logging, atomic incremental and full similar to iptables, support for different protocols, access to connection
ruleset updates. tracking and NAT and logging.
%package -n libnftables0 %package -n libnftables1
Summary: nftables firewalling command interface Summary: nftables firewalling command interface
Group: System/Libraries Group: System/Libraries
%description -n libnftables0 %description -n libnftables1
libnftables is the nftables command line interface placed into a libnftables is the nftables command line interface placed into a
library. library.
%package devel %package devel
Summary: Development files for the nftables command line interface Summary: Development files for the nftables command line interface
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libnftables0 = %version Requires: libnftables1 = %version
%description devel %description devel
libnftables is the nftables command line interface placed into a libnftables is the nftables command line interface placed into a
@ -80,7 +78,7 @@ mkdir obj
pushd obj/ pushd obj/
%define _configure ../configure %define _configure ../configure
%configure --disable-silent-rules --disable-static --docdir="%_docdir/%name" \ %configure --disable-silent-rules --disable-static --docdir="%_docdir/%name" \
--includedir="%_includedir/%name" --includedir="%_includedir/%name" --disable-python
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
@ -91,22 +89,24 @@ rm -f "%buildroot/%_libdir"/*.la
mkdir -p "$b/%_docdir/%name/examples" mkdir -p "$b/%_docdir/%name/examples"
mv "$b/%_sysconfdir/nftables"/* "$b/%_docdir/%name/examples/" mv "$b/%_sysconfdir/nftables"/* "$b/%_docdir/%name/examples/"
%post -n libnftables0 -p /sbin/ldconfig %post -n libnftables1 -p /sbin/ldconfig
%postun -n libnftables0 -p /sbin/ldconfig %postun -n libnftables1 -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%license COPYING %license COPYING
%_sbindir/nft %_sbindir/nft
%_mandir/man5/*.5*
%_mandir/man8/nft* %_mandir/man8/nft*
%_docdir/%name/ %_docdir/%name/
%files -n libnftables0 %files -n libnftables1
%_libdir/libnftables.so.* %_libdir/libnftables.so.1*
%files devel %files devel
%_includedir/%name/ %_includedir/%name/
%_libdir/libnftables.so %_libdir/libnftables.so
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/*.pc
%_mandir/man3/*.3*
%changelog %changelog