From e1bc2e1fcd49dcc8785af5b005651b87243d651312eec0087dbdee36a059985b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 11 May 2018 07:31:21 +0000 Subject: [PATCH] - Update to new upstream release 0.8.5 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/nftables?expand=0&rev=34 --- nftables-0.8.4.tar.bz2 | 3 --- nftables-0.8.4.tar.bz2.sig | Bin 590 -> 0 bytes nftables-0.8.5.tar.bz2 | 3 +++ nftables-0.8.5.tar.bz2.sig | Bin 0 -> 590 bytes nftables.changes | 9 +++++++ nftables.spec | 52 ++++++++++++++++++++++++++++--------- 6 files changed, 52 insertions(+), 15 deletions(-) delete mode 100644 nftables-0.8.4.tar.bz2 delete mode 100644 nftables-0.8.4.tar.bz2.sig create mode 100644 nftables-0.8.5.tar.bz2 create mode 100644 nftables-0.8.5.tar.bz2.sig diff --git a/nftables-0.8.4.tar.bz2 b/nftables-0.8.4.tar.bz2 deleted file mode 100644 index 2593e00..0000000 --- a/nftables-0.8.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ef372ee4592b07852f4cac233584ead7cbd08fa3041b2d3ff3d3590c8d76769f -size 649791 diff --git a/nftables-0.8.4.tar.bz2.sig b/nftables-0.8.4.tar.bz2.sig deleted file mode 100644 index 1fb3ef8c57c3f7306edd1335d98823fe76b75ce9088fc5445de821f2a7c34383..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 590 zcmV-U04?5axQOjX8;Nb5UWO2p(fIjpmfFP5H+zCB?g@|xpe@P-2CL`3&TrveVuk&toVMd{rHW;6{4b(nnm>KL*>e_bW z@Z7mU{}+EUzbuY0+h;E471FwSOj+Tf=$N!5HDw=DGIyS6)*Q{p}Ts`Ol#8h4vF z?h~I#1WSps+=w0pPTa~wcrK~~-t0@aNA6t_i!OuY_mA&Zo`>5d^`CWd&y~>+a^kK( z@lg$ZIl{-9_Ss^YyNJUiQCrNe7&VF-hNTL0KqlWMu%2k>9FD^1Fxn#ewu|ni0Wd!~ zTeRmmUlD0-*0@#PCi3aM*@gAlWk!b==LRs{;7wLmYhAVR7GiYHc?xG>``;-};fF{3 zCeZUY@I)(b2M7sUTElcxyO9z96oX);MWKV=)Xq-}#7nPK-|E)%=dr}~Iuw_`Qoksx zWHSl!JCoBA4`izp6@-9Q>#ywTqyDdum_Gd<*any!3de67P)`X{#-()GS^~fF3oS$E cB%PM`2(sCZd9#_lP+U$G&+AS^1eocPW{062KL7v# diff --git a/nftables-0.8.5.tar.bz2 b/nftables-0.8.5.tar.bz2 new file mode 100644 index 0000000..c61ab56 --- /dev/null +++ b/nftables-0.8.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e9baf80a1c7f0e19e5b50e469bda4487793d839da45c75e8a20fadcbaeae323 +size 663561 diff --git a/nftables-0.8.5.tar.bz2.sig b/nftables-0.8.5.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..ad9eb99b54ff8f92d3640196ae0cd789ff1e2c6fade51cfafdae78667c7df33c GIT binary patch literal 590 zcmV-U04?5axQOjX8;Nb5UWO2p(fIjDaAn_XnY2a=f`HtI!-qY8-zE^Y6_3)!--r>H2x zoFcPW0Kql2dkoi!NzIWri|-BLKEHqwTa$;t?S?i)RR3af(OYWm>n4nA(%X6&QH3Fb z#W|t2P?!wK0qgb)rS>k{U+45DO|^P^g3y(5ir{q-4#V>8L;8MyFcPO3U(y=AJ8-r3 zwO%_Kz*3>Q``;5a_0^P1{}#yqXjrm+g&8+G8Z-#iY_B-5lD-V+(8+Ue2p^v>wn5r( z$X(W|F&)p+{E|9c5#9ZDMIou}9kqWU!>tqSvE9kdFi*+1G_i4QTLtwnw>TQ#;Br;3 zjhR~HGbt%n{|pyG#L(W^D^i5hJFT0Yy_4Lt?#?w+ImqZc-|I51pOAJagNNHLV*!ul zRccR?fs+JjS|;f+7g-QaUkg7j7v&t;)J=+t&LvHLZ66x?c&c@L#Zol!k)L46Sf)y8 zN60_u12w1nmRc%Y0NaRep4F85vlT=dX^f60XD%N0+vWQYobpw>qSksm1Cn|BcM%zp z6hAebcZui;dXF(iG2Gj>Wwxl$78W%m*Wn4BjnBD cg3SP<+Hs8~69rzcJU#N~pl}pFT42EWolBS+5dZ)H literal 0 HcmV?d00001 diff --git a/nftables.changes b/nftables.changes index cf10439..197fd34 100644 --- a/nftables.changes +++ b/nftables.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri May 11 07:30:10 UTC 2018 - jengelh@inai.de + +- Update to new upstream release 0.8.5 + * support to add/insert a rule at a given index position + * meter statement now supports a configureable upper max size + * timeouts for sets can now be specified in milliseconds + * re-add iptables-like empty skeleton rulesets + ------------------------------------------------------------------- Wed May 2 06:08:00 UTC 2018 - jengelh@inai.de diff --git a/nftables.spec b/nftables.spec index 6fa5fdf..18ced21 100644 --- a/nftables.spec +++ b/nftables.spec @@ -17,7 +17,7 @@ Name: nftables -Version: 0.8.4 +Version: 0.8.5 Release: 0 Summary: Userspace utility to access the nf_tables packet filter License: GPL-2.0-only @@ -46,10 +46,29 @@ independently of, and thus parallel to, ip_tables, ip6_tables, arp_tables and ebtables. nftables is the corresponsing userspace frontend. -nftables features native support for sets and dictionaries of -arbitrary types, support for many different protocols, meta data -types, connection tracking, NAT setup, logging, atomic incremental -and full ruleset updates. +nftables features support for sets and dictionaries of arbitrary +types, support for different protocols, meta data types, access to +connection tracking and NAT, logging, atomic incremental and full +ruleset updates. + +%package -n libnftables0 +Summary: nftables firewalling command interface +Group: System/Libraries + +%description -n libnftables0 +libnftables is the nftables command line interface placed into a +library. + +%package devel +Summary: Development files for the nftables command line interface +Group: Development/Libraries/C and C++ +Requires: libnftables0 = %version + +%description devel +libnftables is the nftables command line interface placed into a +library. + +This package contains the header files for the library. %prep %setup -q @@ -61,7 +80,8 @@ export PATH="$PATH:$PWD/bin" mkdir obj pushd obj/ %define _configure ../configure -%configure --disable-silent-rules --disable-static --docdir="%_docdir/%name" +%configure --disable-silent-rules --disable-static --docdir="%_docdir/%name" \ + --includedir="%_includedir/%name" make %{?_smp_mflags} popd @@ -69,17 +89,25 @@ popd b="%buildroot" %make_install -C obj rm -f "%buildroot/%_libdir"/*.la -# No headers, so it is quite pointless to have. -rm -f "%buildroot/%_libdir"/*.so "%buildroot/%_libdir/pkgconfig"/*.pc +mkdir -p "$b/%_docdir/%name/examples" +mv "$b/%_sysconfdir/nftables"/* "$b/%_docdir/%name/examples/" -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post -n libnftables0 -p /sbin/ldconfig +%postun -n libnftables0 -p /sbin/ldconfig %files %defattr(-,root,root) -%_libdir/libnftables.so.* +%license COPYING %_sbindir/nft %_mandir/man8/nft* -%doc COPYING +%_docdir/%name/ + +%files -n libnftables0 +%_libdir/libnftables.so.* + +%files devel +%_includedir/%name/ +%_libdir/libnftables.so +%_libdir/pkgconfig/*.pc %changelog