Accepting request 56287 from security:netfilter

Accepted submit request 56287 from user jengelh

OBS-URL: https://build.opensuse.org/request/show/56287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmnl?expand=0&rev=3
This commit is contained in:
Marcus Rückert 2010-12-20 15:40:24 +00:00 committed by Git OBS Bridge
commit eeca0a3655
6 changed files with 50 additions and 23 deletions

3
libmnl-0+git107.tar.xz Normal file
View File

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

View File

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

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

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

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

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Dec 17 16:25:22 UTC 2010 - jengelh@medozas.de
- Update to initial public tarball release, version 1.0.0
* Added checking variants of the put function family.
* Message batching infrastructure
- Run spec-beautifier on .spec file
-------------------------------------------------------------------
Tue Oct 19 11:01:25 UTC 2010 - jengelh@medozas.de

View File

@ -1,5 +1,5 @@
#
# spec file for package libmnl (Version 0+git86)
# spec file for package libmnl (Version 0+git107)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,22 +18,23 @@
Name: libmnl
%define soname 0
Version: 0+git86
Release: 1
License: GPLv2+
Summary: Minimalistic Netlink communication library
%define lname %{name}0
Version: 1.0.0
Release: 0
License: LGPLv2+
Group: Productivity/Networking/Security
Url: http://netfilter.org/projects/libmnl/
Source: %name-%version.tar.xz
Source1: baselibs.conf
URL: http://netfilter.org/projects/libmnl/
Source: http://netfilter.org/projects/libmnl/files/libmnl-1.0.0.tar.bz2
Source1: http://netfilter.org/projects/libmnl/files/libmnl-1.0.0.tar.bz2.sig
Source9: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config >= 0.19 xz
BuildRequires: pkg-config >= 0.19
%if 0%{?suse_version} < 1130
BuildRequires: linux-kernel-headers
%else
BuildRequires: linux-glibc-devel
%endif
Summary: Minimalistic Netlink communication library
%description
libmnl is a minimalistic user-space library oriented to Netlink
@ -42,24 +43,34 @@ 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.
%define debug_package_requires %name%soname = %version-%release
Author(s):
----------
Pablo Neira Ayuso
Netfilter Team <netfilter-devel@vger.kernel.org>
%package -n %name%soname
%define debug_package_requires %lname = %version-%release
%package -n %lname
Group: System/Libraries
Summary: Minimalistic Netlink communication library
%description -n %name%soname
%description -n %lname
libmnl is a minimalistic user-space library oriented to Netlink
developers. There are a lot of common tasks in parsing, validating,
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: %name%soname = %version
Requires: %lname = %version
Summary: Development files for libmnl
%description -n %name-devel
@ -69,8 +80,13 @@ 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 -qn %name
%setup -q
%build
if [ ! -e configure ]; then
@ -83,11 +99,11 @@ make %{?_smp_mflags}
%makeinstall
find "%buildroot" -name "*.la" -delete;
%post -n %name%soname -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %name%soname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %name%soname
%files -n %lname
%defattr(-,root,root)
%_libdir/*.so.*