Skip to contentSkip to conversation

build: fix incorrect library versioning

PATCH In review Jan Engelhardt 2 participants 2 messages Oct 20, 2013 – Oct 27, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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(-)
Make_global.am +1 -1
index 9c228cc..33645da 100644
@@ -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
lib/libipset.map +4 -0
index ab0b96f..1080f0d 100644
@@ -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;
Signature · 1 line
1.8.2
#1 lore raw
Quoted 4 lines · Jan Engelhardt

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 : [email protected], [email protected] 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