1
0

Accepting request 98569 from security:netfilter

- Update to new upstream release 1.0.1
* build and compile fixes
* add NFQNL_MSG_VERDICT_BATCH support
* add notes on NF_STOLEN and NF_REPEAT to documentation
* utils: document ENOBUFS in nfqnl_test.c
* nfq: add missing documentation on nfq_snprintf_xml
* doc: document some performance tweaks for libnetfilter_queue
* doc: fix wrong documentation on NFQNL_COPY_NONE

- Use SPDX format for License: tag
- Use separate include directory to detect compilation errors

OBS-URL: https://build.opensuse.org/request/show/98569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnetfilter_queue?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2012-01-04 06:24:52 +00:00 committed by Git OBS Bridge
commit c71dfbfeac
5 changed files with 48 additions and 28 deletions

View File

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

View File

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

Binary file not shown.

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Jan 2 21:19:24 UTC 2012 - jengelh@medozas.de
- Update to new upstream release 1.0.1
* build and compile fixes
* add NFQNL_MSG_VERDICT_BATCH support
* add notes on NF_STOLEN and NF_REPEAT to documentation
* utils: document ENOBUFS in nfqnl_test.c
* nfq: add missing documentation on nfq_snprintf_xml
* doc: document some performance tweaks for libnetfilter_queue
* doc: fix wrong documentation on NFQNL_COPY_NONE
-------------------------------------------------------------------
Thu Dec 29 21:27:10 UTC 2011 - jengelh@medozas.de
- Use SPDX format for License: tag
- Use separate include directory to detect compilation errors
-------------------------------------------------------------------
Sun Jul 11 16:44:46 UTC 2010 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libnetfilter_queue (Version 1.0.0)
# spec file for package libnetfilter_queue
#
# Copyright (c) 2010 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,20 +15,23 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define soname 1
Name: libnetfilter_queue
Version: 1.0.0
%define libsoname %{name}1
Version: 1.0.1
Release: 1
License: GNU GPL v2
License: GPL-2.0
Group: Productivity/Networking/Security
Url: http://netfilter.org/projects/libnetfilter_queue/
Source: http://netfilter.org/projects/libnetfilter_queue/files/%name-%version.tar.bz2
Source2: baselibs.conf
#Git-Clone: git://git.netfilter.org/libnetfiler_queue
Source: ftp://ftp.netfilter.org/pub/libnetfilter_queue/%name-%version.tar.bz2
Source2: ftp://ftp.netfilter.org/pub/libnetfilter_queue/%name-%version.tar.bz2.sig
Source3: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libnfnetlink-devel linux-kernel-headers >= 2.6.14 pkg-config
BuildRequires: autoconf automake >= 1.6 libtool
BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 0.0.41
Summary: Userspace library for packets that have been queued by the kernel packet filter
%description
@ -38,14 +41,11 @@ system that deprecates the old ip_queue / libipq mechanism.
libnetfilter_queue has been previously known as libnfnetlink_queue.
%define debug_package_requires %name%soname = %version-%release
%package -n %name%soname
%package -n %libsoname
Group: System/Libraries
Summary: Userspace library for packets that have been queued by the kernel packet filter
%description -n %name%soname
%description -n %libsoname
libnetfilter_queue is a userspace library providing an API to packets
that have been queued by the kernel packet filter. It is is part of a
system that deprecates the old ip_queue / libipq mechanism.
@ -53,9 +53,8 @@ system that deprecates the old ip_queue / libipq mechanism.
libnetfilter_queue has been previously known as libnfnetlink_queue.
%package devel
License: GNU GPL v2
Group: Development/Libraries/C and C++
Requires: %name%soname = %version, libnfnetlink-devel
Requires: %libsoname = %version, libnfnetlink-devel
Summary: Userspace library for packets that have been queued by the kernel packet filter
%description devel
@ -69,24 +68,27 @@ libnetfilter_queue has been previously known as libnfnetlink_queue.
%setup -q
%build
%configure --disable-static
%__make %{?_smp_mflags}
if [ ! -e configure ]; then
./autogen.sh;
fi;
%configure --disable-static --includedir=%_includedir/%name-%version
make %{?_smp_mflags}
%install
%makeinstall
find "%buildroot" -name "*.la" -delete
rm -f "%buildroot/%_libdir"/*.la;
%post -n %name%soname -p /sbin/ldconfig
%post -n %libsoname -p /sbin/ldconfig
%postun -n %name%soname -p /sbin/ldconfig
%postun -n %libsoname -p /sbin/ldconfig
%files -n %name%soname
%files -n %libsoname
%defattr(-,root,root)
%_libdir/libnetfilter_queue.so.%{soname}*
%_libdir/libnetfilter_queue.so.1*
%files -n %{name}-devel
%files devel
%defattr(-,root,root)
%_includedir/libnetfilter_queue
%_includedir/libnetfilter_queue*
%_libdir/libnetfilter_queue.so
%_libdir/pkgconfig/libnetfilter_queue.pc