gnutls 2.12.17

Andreas Metzler ametzler at downhill.at.eu.org
Sun Mar 4 08:17:59 CET 2012


On 2012-03-04 Roman Bogorodskiy <novel at FreeBSD.org> wrote:
>   Nikos Mavrogiannopoulos wrote:
[...] 
> > Version 2.12.17 (released 2012-03-02)
[...] 
> > ** API and ABI modifications:
> > gnutls_pkcs11_reinit: Added

> Was it necessary to bump a major shlib version for the added function?

gnutls uses regular libtool library versioning. 

--- gnutls-2.12.16/lib/m4/hooks.m4      2012-01-06 20:06:23.000000000 +0100
+++ gnutls-2.12.17/lib/m4/hooks.m4      2012-03-01 17:49:34.000000000 +0100
@@ -26,9 +26,9 @@ AC_DEFUN([LIBGNUTLS_HOOKS],
   # Interfaces changed/added/removed:   CURRENT++       REVISION=0
   # Interfaces added:                             AGE++
   # Interfaces removed:                           AGE=0
-  AC_SUBST(LT_CURRENT, 47)
-  AC_SUBST(LT_REVISION, 9)
-  AC_SUBST(LT_AGE, 21)
+  AC_SUBST(LT_CURRENT, 48)
+  AC_SUBST(LT_REVISION, 0)
+  AC_SUBST(LT_AGE, 22)
-----------------------------------------

And at least on linux this does the correct thing, soname is unchanged
(ABI compability has been preserved!) which is the important as it is
the used by the dynamic linker. The filename changed from
libgnutls.so.26.21.9 to libgnutls.so.26.22.0, which has no effect on
any packages using libgnutls (unless they dlopen the full filename).

Does FreeBSD behave differently?
cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'




More information about the Gnutls-devel mailing list