gnutls 2.12.17
Roman Bogorodskiy
novel at FreeBSD.org
Sun Mar 4 08:41:00 CET 2012
Andreas Metzler wrote:
> 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
Yes, FreeBSD has:
lib/libgnutls.so
lib/libgnutls.so.47
After the update, it will become
lib/libgnutls.so
lib/libgnutls.so.48
so all the applications that link to libgnutls has to be recompiled,
which is unnecessary as far as I understand.
However, libtool documentation indeed tells to bump current version:
http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
which is quite confusing...
Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: </pipermail/attachments/20120304/94f1ad8b/attachment.pgp>
More information about the Gnutls-devel
mailing list