[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnutls 2.12.17
From: |
Roman Bogorodskiy |
Subject: |
Re: gnutls 2.12.17 |
Date: |
Sun, 4 Mar 2012 11:41:00 +0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Andreas Metzler wrote:
> On 2012-03-04 Roman Bogorodskiy <address@hidden> 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
pgpoJIYXOmYWT.pgp
Description: PGP signature