From cd572e5025164e5db25482673a1cc8117d6ef67478555564ecba3a3999f445b4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 27 Mar 2012 14:09:09 +0000 Subject: [PATCH 1/2] libnetfilter_acct 1.0.0 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_acct?expand=0&rev=5 --- libnetfilter_acct-0.0.0.26.tar.xz | 3 --- libnetfilter_acct-1.0.0.tar.bz2 | 3 +++ libnetfilter_acct-1.0.0.tar.bz2.sig | Bin 0 -> 543 bytes libnetfilter_acct.changes | 8 +++++++ libnetfilter_acct.spec | 36 ++++++++++++++++++---------- 5 files changed, 34 insertions(+), 16 deletions(-) delete mode 100644 libnetfilter_acct-0.0.0.26.tar.xz create mode 100644 libnetfilter_acct-1.0.0.tar.bz2 create mode 100644 libnetfilter_acct-1.0.0.tar.bz2.sig diff --git a/libnetfilter_acct-0.0.0.26.tar.xz b/libnetfilter_acct-0.0.0.26.tar.xz deleted file mode 100644 index d44c390..0000000 --- a/libnetfilter_acct-0.0.0.26.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5731e4bdb2cf62e92c1b166ce78f10ade3708124e7679855c9c485bcdf0b90d -size 18064 diff --git a/libnetfilter_acct-1.0.0.tar.bz2 b/libnetfilter_acct-1.0.0.tar.bz2 new file mode 100644 index 0000000..9dea65c --- /dev/null +++ b/libnetfilter_acct-1.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:567ede1f54fbf2ffd752203ea3aea6f430244fb29bd943af58d1d0f4b1796dc9 +size 282380 diff --git a/libnetfilter_acct-1.0.0.tar.bz2.sig b/libnetfilter_acct-1.0.0.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..ba44915748ee0d04eaa19f5fbd7d2f45f32b744c82a39cfdf5ddba509282c422 GIT binary patch literal 543 zcmV+)0^t3L0vrSY0RjL91p-fTj(Y$K2@s?aABnqPSj?t#5C3s@4^M9w3-&`5Gd6*? z!)deaqxJfRvqqQO;9b&f;N;(>7%Fx3GToaQCo91Y>cwOP_b~9ewGk$rZM@lu4`XV> zx&vv}c``L$%-rIfvTV$@IR>fr{LCw6bN0kS_OP35MkYZ4mcvmMgzAyRLnc7?b|NkF zQvI{{3fC}d`g zFBfi4-OsGX^D!#jAJ;*Dbh*%o?aJMb`9KEVC|rp?sB6soMcFZcN4VHy6itDqvXWTA zL~r|%iyPE5!}UFscO_TCW2OdtGz&17xY_EaX&0I{=&u-~RY;*^5aVudXtGmO3+!y` zVlK)GOx(Qso-PrN2z-F-epWi_$!mjKCA^nK3AA^}wir4!g*(_k~K)Lk4go zj@E>X*sHGX8B6D4d=ed-)fe33vW9%b>-YYe9DR~IoF!rx;)FX|m1W$3m2=j*p)&Px z7l@?6f=d$^G(1h8@`8Xv6YDG99cuXyQe}3m*Ug literal 0 HcmV?d00001 diff --git a/libnetfilter_acct.changes b/libnetfilter_acct.changes index 0fa5c1c..7b60806 100644 --- a/libnetfilter_acct.changes +++ b/libnetfilter_acct.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Mar 27 13:55:31 UTC 2012 - jengelh@medozas.de + +- Update to new upstream release 1.0.0 +* nfacct: change prototype of nfacct_snprintf() to support output + in XML +* nfacct: check if attribute is set in nfacct_attr_get* + ------------------------------------------------------------------- Thu Dec 29 21:28:40 UTC 2011 - jengelh@medozas.de diff --git a/libnetfilter_acct.spec b/libnetfilter_acct.spec index fc9b9ff..d6e11d8 100644 --- a/libnetfilter_acct.spec +++ b/libnetfilter_acct.spec @@ -1,7 +1,7 @@ # # spec file for package libnetfilter_acct # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,43 +15,53 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: libnetfilter_acct -%define lname %{name}0 -Version: 0.0.0.26 -Release: 1 +%define lname %{name}1 +Version: 1.0.0 +Release: 0 +Url: http://netfilter.org/projects/libnetfilter_acct/ +Source: %name-%version.tar.bz2 +Source2: %name-%version.tar.bz2.sig +Source3: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake >= 1.6 +BuildRequires: libtool +BuildRequires: pkgconfig >= 0.21 +BuildRequires: pkgconfig(libmnl) >= 1.0.0 +Summary: Userspace library for the in-kernel Netfilter counters License: LGPL-2.1+ Group: Productivity/Networking/Security -URL: http://netfilter.org/projects/libnetfilter_acct/ -Source: %name-%version.tar.xz -Source3: baselibs.conf -BuildRoot: %_tmppath/%name-%version-build -BuildRequires: autoconf, automake >= 1.6, libtool -BuildRequires: pkgconfig >= 0.23, pkgconfig(libmnl) >= 1.0.0, xz -Summary: Userspace library for the in-kernel Netfilter counters %description This library provides the programming interface (API) to the Netfilter extended accounting infrastructure. %package -n %lname -Group: System/Libraries Summary: Userspace library for the in-kernel Netfilter counters +Group: System/Libraries %description -n %lname This library provides the programming interface (API) to the Netfilter extended accounting infrastructure. %package devel -Group: Development/Libraries/C and C++ Requires: %lname = %version Summary: Userspace library for the in-kernel Netfilter counters +Group: Development/Libraries/C and C++ %description devel This library provides the programming interface (API) to the Netfilter extended accounting infrastructure. %prep +%if 0%{?__xz:1} %setup -q +%else +tar -xf "%{S:0}" --use=bzip2; +%setup -DTq +%endif %build if [ ! -e configure ]; then From 39ffce309a2c307f5bedade4034669b11ad57058610c123a83a8f3f12bb4ea83 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 28 Mar 2012 12:49:32 +0000 Subject: [PATCH 2/2] Adjust baselibs.conf for SONAME change OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_acct?expand=0&rev=6 --- baselibs.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baselibs.conf b/baselibs.conf index 0d2f359..6a7a88e 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libnetfilter_acct0 +libnetfilter_acct1