Accepting request 981167 from security:netfilter

- Update to release 1.0.4

OBS-URL: https://build.opensuse.org/request/show/981167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nftables?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2022-06-08 12:24:18 +00:00 committed by Git OBS Bridge
commit 765036412a
7 changed files with 25 additions and 34 deletions

View File

@ -1,28 +0,0 @@
From 6b46cd26f9503ae50e9741747092a72d2fc35ec3 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Tue, 22 Feb 2022 05:44:57 +0100
Subject: [PATCH] build: add missing AM_CPPFLAGS to examples/
examples$ make V=1
depbase=`echo nft-buffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT nft-buffer.o -MD -MP -MF $depbase.Tpo -c -o nft-buffer.o nft-buffer.c &&\
mv -f $depbase.Tpo $depbase.Po
nft-buffer.c:3:10: fatal error: nftables/libnftables.h: No such file or directory
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
---
examples/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/Makefile.am b/examples/Makefile.am
index c972170d..d7234ce4 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,3 +1,4 @@
+AM_CPPFLAGS = -I$(top_srcdir)/include
noinst_PROGRAMS = nft-buffer \
nft-json-file
--
2.35.1

View File

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

Binary file not shown.

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

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

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

Binary file not shown.

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Jun 7 14:55:21 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.0.4
* Fixed a segfault in -o/--optimize with unsupported statements.
* Bogus datatype mismatch error report in sets was fixed.
-------------------------------------------------------------------
Tue May 31 13:34:12 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.0.3
* Support for wildcard interface name matching with sets
* Support for runtime auto-merge of set elements.
* Enhancements for the ruleset optimization -o/--optimize
option which allows to coalesce several NAT rules into map.
* Support for raw expressions in concatenations.
* Support for integer type protocol header fields in concatenations.
* Allow to reset TCP options (requires Linux kernel >= 5.18)
- Drop 0001-build-add-missing-AM_CPPFLAGS-to-examples.patch
-------------------------------------------------------------------
Tue Feb 22 04:39:01 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,7 +17,7 @@
Name: nftables
Version: 1.0.2
Version: 1.0.4
Release: 0
Summary: Userspace utility to access the nf_tables packet filter
License: GPL-2.0-only
@ -28,7 +28,6 @@ URL: https://netfilter.org/projects/nftables/
Source: http://ftp.netfilter.org/pub/%name/%name-%version.tar.bz2
Source2: http://ftp.netfilter.org/pub/%name/%name-%version.tar.bz2.sig
Source3: %name.keyring
Patch1: 0001-build-add-missing-AM_CPPFLAGS-to-examples.patch
BuildRequires: asciidoc
BuildRequires: bison
BuildRequires: flex
@ -39,7 +38,7 @@ BuildRequires: python3-base
BuildRequires: pkgconfig(jansson)
BuildRequires: pkgconfig(libedit)
BuildRequires: pkgconfig(libmnl) >= 1.0.4
BuildRequires: pkgconfig(libnftnl) >= 1.2.1
BuildRequires: pkgconfig(libnftnl) >= 1.2.2
BuildRequires: pkgconfig(xtables) >= 1.6.1
%description