From 7c5a1bf5fe234226f321a64359f18bf41213965a1b8668f7cac0e973f32be38e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 6 Dec 2010 14:37:29 +0000 Subject: [PATCH 1/6] Update to newer git snapshot OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=5 --- libmnl-0+git107.tar.xz | 3 ++ libmnl.spec | 70 +++++++++++++++--------------------------- 2 files changed, 28 insertions(+), 45 deletions(-) create mode 100644 libmnl-0+git107.tar.xz diff --git a/libmnl-0+git107.tar.xz b/libmnl-0+git107.tar.xz new file mode 100644 index 0000000..8460415 --- /dev/null +++ b/libmnl-0+git107.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bed48a1d342cefcd5c7cce2b4bc9a83959acfc25c106af20b9a8d1c4c6a01f6d +size 27264 diff --git a/libmnl.spec b/libmnl.spec index da147a4..3c8302f 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -1,39 +1,21 @@ -# -# spec file for package libmnl (Version 0+git86) -# -# Copyright (c) 2010 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 -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - - -Name: libmnl -%define soname 0 -Version: 0+git86 -Release: 1 -License: GPLv2+ -Group: Productivity/Networking/Security -Url: http://netfilter.org/projects/libmnl/ -Source: %name-%version.tar.xz -Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: pkg-config >= 0.19 xz +Name: libmnl +%define lname %{name}0 +Version: 0+git107 +Release: 0 +License: LGPLv2+ +Group: Productivity/Networking/Security +URL: http://netfilter.org/projects/libmnl/ +Source: %name-%version.tar.xz +Source1: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkg-config >= 0.19, xz %if 0%{?suse_version} < 1130 -BuildRequires: linux-kernel-headers +BuildRequires: linux-kernel-headers %else -BuildRequires: linux-glibc-devel +BuildRequires: linux-glibc-devel %endif -Summary: Minimalistic Netlink communication library +Summary: Minimalistic Netlink communication library %description libmnl is a minimalistic user-space library oriented to Netlink @@ -42,14 +24,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. -%define debug_package_requires %name%soname = %version-%release +%define debug_package_requires %lname = %version-%release -%package -n %name%soname +%package -n %lname +Group: System/Libraries +Summary: Minimalistic Netlink communication library -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 @@ -57,10 +38,9 @@ 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. %package -n %name-devel - -Group: Development/Libraries/C and C++ -Requires: %name%soname = %version -Summary: Development files for libmnl +Group: Development/Libraries/C and C++ +Requires: %lname = %version +Summary: Development files for libmnl %description -n %name-devel libmnl is a minimalistic user-space library oriented to Netlink @@ -83,11 +63,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.* From e2306221335d95cc523f0137cb130ab82c4b6f5fd5d1524d43e0d36acc8f8377 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 7 Dec 2010 11:01:34 +0000 Subject: [PATCH 2/6] OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=6 --- libmnl-0+git107.tar.xz | 3 -- libmnl.spec | 70 +++++++++++++++++++++++++++--------------- 2 files changed, 45 insertions(+), 28 deletions(-) delete mode 100644 libmnl-0+git107.tar.xz diff --git a/libmnl-0+git107.tar.xz b/libmnl-0+git107.tar.xz deleted file mode 100644 index 8460415..0000000 --- a/libmnl-0+git107.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bed48a1d342cefcd5c7cce2b4bc9a83959acfc25c106af20b9a8d1c4c6a01f6d -size 27264 diff --git a/libmnl.spec b/libmnl.spec index 3c8302f..da147a4 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -1,21 +1,39 @@ +# +# spec file for package libmnl (Version 0+git86) +# +# Copyright (c) 2010 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. -Name: libmnl -%define lname %{name}0 -Version: 0+git107 -Release: 0 -License: LGPLv2+ -Group: Productivity/Networking/Security -URL: http://netfilter.org/projects/libmnl/ -Source: %name-%version.tar.xz -Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: pkg-config >= 0.19, xz +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + + +Name: libmnl +%define soname 0 +Version: 0+git86 +Release: 1 +License: GPLv2+ +Group: Productivity/Networking/Security +Url: http://netfilter.org/projects/libmnl/ +Source: %name-%version.tar.xz +Source1: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkg-config >= 0.19 xz %if 0%{?suse_version} < 1130 -BuildRequires: linux-kernel-headers +BuildRequires: linux-kernel-headers %else -BuildRequires: linux-glibc-devel +BuildRequires: linux-glibc-devel %endif -Summary: Minimalistic Netlink communication library +Summary: Minimalistic Netlink communication library %description libmnl is a minimalistic user-space library oriented to Netlink @@ -24,13 +42,14 @@ 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 %lname = %version-%release +%define debug_package_requires %name%soname = %version-%release -%package -n %lname -Group: System/Libraries -Summary: Minimalistic Netlink communication library +%package -n %name%soname -%description -n %lname +Group: System/Libraries +Summary: Minimalistic Netlink communication library + +%description -n %name%soname 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 @@ -38,9 +57,10 @@ 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. %package -n %name-devel -Group: Development/Libraries/C and C++ -Requires: %lname = %version -Summary: Development files for libmnl + +Group: Development/Libraries/C and C++ +Requires: %name%soname = %version +Summary: Development files for libmnl %description -n %name-devel libmnl is a minimalistic user-space library oriented to Netlink @@ -63,11 +83,11 @@ make %{?_smp_mflags} %makeinstall find "%buildroot" -name "*.la" -delete; -%post -n %lname -p /sbin/ldconfig +%post -n %name%soname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%postun -n %name%soname -p /sbin/ldconfig -%files -n %lname +%files -n %name%soname %defattr(-,root,root) %_libdir/*.so.* From 8dc3ba02c7f92d5691cb9375f2af64910f8c835aff939be15f44bad948f4e2d0 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 7 Dec 2010 11:02:15 +0000 Subject: [PATCH 3/6] prepare_spec OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=8 --- libmnl.spec | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libmnl.spec b/libmnl.spec index da147a4..256a570 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -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,9 +18,9 @@ Name: libmnl -%define soname 0 -Version: 0+git86 -Release: 1 +%define lname %{name}0 +Version: 0+git107 +Release: 0 License: GPLv2+ Group: Productivity/Networking/Security Url: http://netfilter.org/projects/libmnl/ @@ -42,14 +42,14 @@ 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 +%define debug_package_requires %lname = %version-%release -%package -n %name%soname +%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 @@ -59,7 +59,7 @@ that allows you to re-use code and to avoid re-inventing the wheel. %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 @@ -83,11 +83,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.* From e65adead585953016be7af581c458516488dc7cf7b724f920a0dd47629ba1cff Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 7 Dec 2010 11:03:11 +0000 Subject: [PATCH 4/6] remove old tar OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=9 --- libmnl-0+git86.tar.xz | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 libmnl-0+git86.tar.xz diff --git a/libmnl-0+git86.tar.xz b/libmnl-0+git86.tar.xz deleted file mode 100644 index 2bc3f52..0000000 --- a/libmnl-0+git86.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36b7218c4186e9ea828261a874cfc1d28d94f3ba8213ad2b4a56313b4259c112 -size 23820 From e39247fcc12637eb6b9bfb66399d55a6e3c3e738464d8825a36a5dd3ca66b8dc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 17 Dec 2010 16:25:35 +0000 Subject: [PATCH 5/6] Run spec-beautifier OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=10 --- libmnl.changes | 5 +++++ libmnl.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libmnl.changes b/libmnl.changes index 60bf06e..6196356 100644 --- a/libmnl.changes +++ b/libmnl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 17 16:25:22 UTC 2010 - jengelh@medozas.de + +- Run spec-beautifier on .spec file + ------------------------------------------------------------------- Tue Oct 19 11:01:25 UTC 2010 - jengelh@medozas.de diff --git a/libmnl.spec b/libmnl.spec index 256a570..f85f9c1 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -23,11 +23,11 @@ Version: 0+git107 Release: 0 License: GPLv2+ Group: Productivity/Networking/Security -Url: http://netfilter.org/projects/libmnl/ +URL: http://netfilter.org/projects/libmnl/ Source: %name-%version.tar.xz Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: pkg-config >= 0.19 xz +BuildRoot: %_tmppath/%name-%version-build +BuildRequires: pkg-config >= 0.19, xz %if 0%{?suse_version} < 1130 BuildRequires: linux-kernel-headers %else From 70be1b9c2a9ef82c1395f8e423a7da044eafad01be91f3c40fabc916ac853b94 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 17 Dec 2010 16:26:31 +0000 Subject: [PATCH 6/6] Update to release 1.0.0 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=11 --- libmnl-1.0.0.tar.bz2 | 3 +++ libmnl-1.0.0.tar.bz2.sig | Bin 0 -> 72 bytes libmnl.changes | 3 +++ libmnl.spec | 38 +++++++++++++++++++++++++++----------- 4 files changed, 33 insertions(+), 11 deletions(-) create mode 100644 libmnl-1.0.0.tar.bz2 create mode 100644 libmnl-1.0.0.tar.bz2.sig diff --git a/libmnl-1.0.0.tar.bz2 b/libmnl-1.0.0.tar.bz2 new file mode 100644 index 0000000..80fe41f --- /dev/null +++ b/libmnl-1.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64fc055e5acab05d401809a17f85a64c48544de76ed26941c2ce834f159599a6 +size 256060 diff --git a/libmnl-1.0.0.tar.bz2.sig b/libmnl-1.0.0.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..2c08ae066c387b9e84c692c259f543c58f2cdbc896e2ea14225014e79ae748de GIT binary patch literal 72 zcmV-O0Jr~$Mg#y60ssaD0!<5L#sCTl5J89dWi1JZ=2CY6pHj9W4>X7I0Y*sw`V7Cj e9gCM^r2wCBsUKy>lL!sJYN6^#vEzsjn>cSZVjC9# literal 0 HcmV?d00001 diff --git a/libmnl.changes b/libmnl.changes index 6196356..f5d2225 100644 --- a/libmnl.changes +++ b/libmnl.changes @@ -1,6 +1,9 @@ ------------------------------------------------------------------- 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 ------------------------------------------------------------------- diff --git a/libmnl.spec b/libmnl.spec index f85f9c1..72eb439 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -18,22 +18,23 @@ Name: libmnl +Summary: Minimalistic Netlink communication library %define lname %{name}0 -Version: 0+git107 -Release: 0 -License: GPLv2+ -Group: Productivity/Networking/Security -URL: http://netfilter.org/projects/libmnl/ -Source: %name-%version.tar.xz -Source1: baselibs.conf -BuildRoot: %_tmppath/%name-%version-build -BuildRequires: pkg-config >= 0.19, xz +Version: 1.0.0 +Release: 0 +License: LGPLv2+ +Group: Productivity/Networking/Security +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 %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,6 +43,11 @@ 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 + %define debug_package_requires %lname = %version-%release %package -n %lname @@ -56,6 +62,11 @@ 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 + %package -n %name-devel Group: Development/Libraries/C and C++ @@ -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 + %prep -%setup -qn %name +%setup -q %build if [ ! -e configure ]; then