Accepting request 98564 from security:netfilter

- Update to new upstream release 1.0.2
* build and compile updates
* header: fix invalid use of type void * in arithmetic of
  mnl_for_each_nest(...)
* doc: fix wrong comment describing mnl_nlmsg_batch_stop

- SPDX format for License: tag
- Use separate include dir to detect compile errors

OBS-URL: https://build.opensuse.org/request/show/98564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmnl?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2012-01-04 06:24:38 +00:00 committed by Git OBS Bridge
commit d614d8b2ba
6 changed files with 36 additions and 44 deletions

View File

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

Binary file not shown.

3
libmnl-1.0.2.tar.bz2 Normal file
View File

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

BIN
libmnl-1.0.2.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Jan 2 21:24:22 UTC 2012 - jengelh@medozas.de
- Update to new upstream release 1.0.2
* build and compile updates
* header: fix invalid use of type void * in arithmetic of
mnl_for_each_nest(...)
* doc: fix wrong comment describing mnl_nlmsg_batch_stop
-------------------------------------------------------------------
Thu Dec 29 20:48:55 UTC 2011 - jengelh@medozas.de
- SPDX format for License: tag
- Use separate include dir to detect compile errors
-------------------------------------------------------------------
Sun Dec 26 21:30:34 UTC 2010 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libmnl (Version 1.0.1)
# spec file for package libmnl
#
# 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
@ -20,21 +20,19 @@
Name: libmnl
Summary: Minimalistic Netlink communication library
%define lname %{name}0
Version: 1.0.1
Release: 1
License: LGPLv2+
Version: 1.0.2
Release: 0
License: LGPL-2.1+
Group: Productivity/Networking/Security
Url: http://netfilter.org/projects/libmnl/
Source: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2
Source1: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2.sig
#Git-Clone: git://git.netfilter.org/libmnl
Source: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2
Source2: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2.sig
Source9: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config >= 0.19
%if 0%{?suse_version} < 1130
BuildRequires: linux-kernel-headers
%else
BuildRequires: linux-glibc-devel
%endif
BuildRequires: autoconf automake >= 1.6 libtool
BuildRequires: pkgconfig >= 0.23
%description
libmnl is a minimalistic user-space library oriented to Netlink
@ -43,16 +41,7 @@ constructing of both the Netlink header and TLVs that are repetitive
and easy to get wrong. This library aims to provide simple helpers
that allows you to re-use code and to avoid re-inventing the wheel.
Author(s):
----------
Pablo Neira Ayuso
Netfilter Team <netfilter-devel@vger.kernel.org>
%define debug_package_requires %lname = %version-%release
%package -n %lname
Group: System/Libraries
Summary: Minimalistic Netlink communication library
@ -63,14 +52,7 @@ constructing of both the Netlink header and TLVs that are repetitive
and easy to get wrong. This library aims to provide simple helpers
that allows you to re-use code and to avoid re-inventing the wheel.
Author(s):
----------
Pablo Neira Ayuso
Netfilter Team <netfilter-devel@vger.kernel.org>
%package -n %name-devel
Group: Development/Libraries/C and C++
Requires: %lname = %version
Summary: Development files for libmnl
@ -82,24 +64,19 @@ constructing of both the Netlink header and TLVs that are repetitive
and easy to get wrong. This library aims to provide simple helpers
that allows you to re-use code and to avoid re-inventing the wheel.
Author(s):
----------
Pablo Neira Ayuso
Netfilter Team <netfilter-devel@vger.kernel.org>
%prep
%setup -q
%build
if [ ! -e configure ]; then
./autogen.sh;
autoreconf -fi;
fi;
%configure
%configure --includedir=%_includedir/%name-%version
make %{?_smp_mflags}
%install
%makeinstall
find "%buildroot" -name "*.la" -delete;
rm -f "%buildroot/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig
@ -107,12 +84,12 @@ find "%buildroot" -name "*.la" -delete;
%files -n %lname
%defattr(-,root,root)
%_libdir/*.so.*
%_libdir/libmnl.so.0*
%files -n %name-devel
%defattr(-,root,root)
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/libmnl*
%_libdir/libmnl.so
%_libdir/pkgconfig/libmnl.pc
%changelog