SHA256
1
0
forked from pool/ipset
Jan Engelhardt 2013-10-28 12:39:08 +00:00 committed by Git OBS Bridge
parent 07492b853d
commit 8a8daca304
5 changed files with 11 additions and 47 deletions

View File

@ -1,41 +0,0 @@
From 99af47d7af976222360e729c0d0e0ff13c03c48b Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sun, 20 Oct 2013 14:59:09 +0200
Subject: [PATCH] build: fix incorrect library versioning
Commit v6.20~12 caused libipset to shift from libipset.so.3 to
.so.2. That is the wrong thing to do. Set it back to 3+2, as
intended.
---
Make_global.am | 2 +-
lib/libipset.map | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Make_global.am b/Make_global.am
index 9c228cc..33645da 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -69,7 +69,7 @@
# interface.
# curr:rev:age
-LIBVERSION = 4:1:2
+LIBVERSION = 5:0:2
AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \
-I/usr/local/include
diff --git a/lib/libipset.map b/lib/libipset.map
index ab0b96f..1080f0d 100644
--- a/lib/libipset.map
+++ b/lib/libipset.map
@@ -1,3 +1,7 @@
+/*
+ * These are library version numbers in here - not to be confused
+ * with the API numbers used with libtool's -version-info string.
+ */
LIBIPSET_1.0 {
global:
ipset_strlcpy;
--
1.8.2

3
ipset-6.20.1.tar.xz Normal file
View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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

View File

@ -18,7 +18,7 @@
Name: ipset
%define lname libipset3
Version: 6.20
Version: 6.20.1
Release: 0
Summary: Netfilter ipset administration utility
License: GPL-2.0
@ -31,7 +31,6 @@ Url: http://ipset.netfilter.org/
#Git-Web: http://git.netfilter.org/
Source: %name-%version.tar.xz
Source3: %name-preamble
Patch1: 0001-build-fix-incorrect-library-versioning.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
@ -125,7 +124,6 @@ when matching an entry against a set.
tar --use=xz -xf "%{S:0}";
%setup -DTq
%endif
%patch -P 1 -p1
autoreconf -fi
%build