Patchwork build: fix incorrect library versioning

login
register
mail settings
Submitter Jan Engelhardt
Date Oct. 20, 2013, 1:17 p.m.
Message ID <1382275044-11654-1-git-send-email-jengelh@inai.de>
Download mbox | patch
Permalink /patch/284971/
State Accepted
Delegated to: Jozsef Kadlecsik
Headers show

Comments

Jan Engelhardt - Oct. 20, 2013, 1:17 p.m.
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(-)
Jozsef Kadlecsik - Oct. 27, 2013, 6:12 p.m.
On Sun, 20 Oct 2013, Jan Engelhardt wrote:

> 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.
> ---

Patch is applied, thanks. I should have noticed the shift in the library 
version number :-(.

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
          H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

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;