forked from pool/ipset
Accepting request 205890 from security:netfilter
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/205890 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ipset?expand=0&rev=15
This commit is contained in:
commit
0d4c261c69
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e91ea693d76118790a33514df41148f059d8c7d1378997c61a0a416160eae485
|
|
||||||
size 387924
|
|
3
ipset-6.20.1.tar.xz
Normal file
3
ipset-6.20.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:08456439ead82686f5884c90791240009f828be349c9564e5deef70734e53dcd
|
||||||
|
size 423584
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 28 12:34:04 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 6.20.1
|
||||||
|
* build fixes for kernel 3.8 and the userspace library
|
||||||
|
- Remove 0001-build-fix-incorrect-library-versioning.patch (merged)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 20 13:03:53 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Add 0001-build-fix-incorrect-library-versioning.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 20 12:43:51 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 6.20
|
||||||
|
* netns support
|
||||||
|
* new set types: hash:net,net and hash:net,port,net
|
||||||
|
* new extension: "comment", for annotation of set elements
|
||||||
|
- Drop sles11.diff (no longer needed, upstream has better fix)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 10 20:11:15 UTC 2013 - jengelh@inai.de
|
Fri May 10 20:11:15 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
16
ipset.spec
16
ipset.spec
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
Name: ipset
|
Name: ipset
|
||||||
%define lname libipset3
|
%define lname libipset3
|
||||||
Version: 6.19
|
Version: 6.20.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Netfilter ipset administration utility
|
Summary: Netfilter ipset administration utility
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
@ -31,9 +31,11 @@ Url: http://ipset.netfilter.org/
|
|||||||
#Git-Web: http://git.netfilter.org/
|
#Git-Web: http://git.netfilter.org/
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
Source3: %name-preamble
|
Source3: %name-preamble
|
||||||
Patch1: sles11.diff
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig >= 0.21
|
BuildRequires: pkgconfig >= 0.21
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||||
@ -122,7 +124,7 @@ when matching an entry against a set.
|
|||||||
tar --use=xz -xf "%{S:0}";
|
tar --use=xz -xf "%{S:0}";
|
||||||
%setup -DTq
|
%setup -DTq
|
||||||
%endif
|
%endif
|
||||||
%patch -P 1 -p1
|
autoreconf -fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?with_kmp}
|
%if 0%{?with_kmp}
|
||||||
@ -132,12 +134,13 @@ for flavor in %flavors_to_build; do
|
|||||||
# ksource: it just checks for a header
|
# ksource: it just checks for a header
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--with-kbuild="/usr/src/linux-obj/%_target_cpu/$flavor" \
|
--with-kbuild="/usr/src/linux-obj/%_target_cpu/$flavor" \
|
||||||
--with-ksource="/usr/src/linux";
|
--with-ksource="/usr/src/linux" \
|
||||||
|
--includedir="%_includedir/pkg"
|
||||||
make %{?_smp_mflags} all modules;
|
make %{?_smp_mflags} all modules;
|
||||||
popd;
|
popd;
|
||||||
done;
|
done;
|
||||||
%else
|
%else
|
||||||
%configure --disable-static --with-kmod=no
|
%configure --disable-static --with-kmod=no --includedir="%_includedir/pkg"
|
||||||
make %{?_smp_mflags};
|
make %{?_smp_mflags};
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -171,6 +174,7 @@ find "$b/%_libdir" -type f -name "*.la" -delete;
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libipset.so
|
%_libdir/libipset.so
|
||||||
%_includedir/libipset
|
%_libdir/pkgconfig/libipset.pc
|
||||||
|
%_includedir/pkg/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
21
sles11.diff
21
sles11.diff
@ -1,21 +0,0 @@
|
|||||||
|
|
||||||
The evil overlords backported the 5-argument form,
|
|
||||||
causing the version check to be meaningless.
|
|
||||||
|
|
||||||
---
|
|
||||||
kernel/net/netfilter/ipset/ip_set_core.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
Index: ipset-6.13/kernel/net/netfilter/ipset/ip_set_core.c
|
|
||||||
===================================================================
|
|
||||||
--- ipset-6.13.orig/kernel/net/netfilter/ipset/ip_set_core.c
|
|
||||||
+++ ipset-6.13/kernel/net/netfilter/ipset/ip_set_core.c
|
|
||||||
@@ -1180,7 +1180,7 @@ ip_set_dump(struct sock *ctnl, struct sk
|
|
||||||
if (unlikely(protocol_failed(attr)))
|
|
||||||
return -IPSET_ERR_PROTOCOL;
|
|
||||||
|
|
||||||
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0)
|
|
||||||
+#if 0
|
|
||||||
return netlink_dump_start(ctnl, skb, nlh,
|
|
||||||
ip_set_dump_start,
|
|
||||||
ip_set_dump_done);
|
|
Loading…
Reference in New Issue
Block a user