ipset 6.11
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/ipset?expand=0&rev=5
This commit is contained in:
40
ipset.spec
40
ipset.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ipset
|
||||
#
|
||||
# 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,28 +15,31 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: ipset
|
||||
%define lname libipset1
|
||||
Version: 6.10+git9
|
||||
%define lname libipset2
|
||||
Version: 6.11
|
||||
Release: 0
|
||||
Group: Productivity/Networking/Security
|
||||
Summary: Netfilter ipset administration utility
|
||||
License: GPL-2.0
|
||||
URL: http://ipset.netfilter.org/
|
||||
Url: http://ipset.netfilter.org/
|
||||
|
||||
#Git-Clone: git://git.netfilter.org/ipset
|
||||
#Git-Web: http://git.netfilter.org/
|
||||
Source: %name-%version.tar.xz
|
||||
Source3: %name-preamble
|
||||
Patch1: no-static.diff
|
||||
Patch2: kernel-3_3.diff
|
||||
Patch1: no-static.diff
|
||||
Patch2: kernel-3_3.diff
|
||||
Patch3: linux-export.h.diff
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
BuildRequires: pkgconfig >= 0.23, pkgconfig(libmnl) >= 1, xz
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: pkgconfig >= 0.21 pkgconfig(libmnl) >= 1 xz
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: %kernel_module_package_buildreqs
|
||||
BuildRequires: kernel-syms >= 2.6.39
|
||||
BuildRequires: kernel-syms >= 2.6.39
|
||||
Recommends: %name-kmp
|
||||
%endif
|
||||
|
||||
@@ -71,8 +74,8 @@ when matching an entry against a set.
|
||||
This package contains a version update to the in-kernel ipset modules.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Userspace library for the in-kernel Netfilter ipset interface
|
||||
Group: System/Libraries
|
||||
Summary: Userspace library for the in-kernel Netfilter ipset interface
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
IP sets are a framework inside the Linux kernel, which can be
|
||||
@@ -82,9 +85,9 @@ addresses with MAC addresses in a way, which ensures lightning speed
|
||||
when matching an entry against a set.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for ipset extensions
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
Summary: Development files for ipset extensions
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
IP sets are a framework inside the Linux kernel, which can be
|
||||
@@ -95,12 +98,13 @@ when matching an entry against a set.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -P 2 -p1
|
||||
%patch -P 1 -P 2 -P 3 -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then
|
||||
./autogen.sh;
|
||||
fi;
|
||||
./autogen.sh; # got patches
|
||||
#if [ ! -e configure ]; then
|
||||
# ./autogen.sh;
|
||||
#fi;
|
||||
pushd ../;
|
||||
for flavor in %flavors_to_build; do
|
||||
cp -a "%name-%version" "%name-$flavor-%version";
|
||||
|
Reference in New Issue
Block a user