]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use -release instead of -version-info for internal library SONAMEs
authorOndřej Surý <ondrej@isc.org>
Tue, 12 Jan 2021 12:38:44 +0000 (13:38 +0100)
committerMichał Kępień <michal@isc.org>
Mon, 25 Jan 2021 13:19:53 +0000 (14:19 +0100)
commitc605d75ea5e1d200ea332f25d2bc303984517d9f
treee8b1c62d68a1b7fff742377283d88d2c3957b442
parent7939e7fd71f3ecd938d55f797aad33813241b373
Use -release instead of -version-info for internal library SONAMEs

The BIND 9 libraries are considered to be internal only and hence the
API and ABI changes a lot.  Keeping track of the API/ABI changes takes
time and it's a complicated matter as the safest way to make everything
stable would be to bump any library in the dependency chain as in theory
if libns links with libdns, and a binary links with both, and we bump
the libdns SOVERSION, but not the libns SOVERSION, the old libns might
be loaded by binary pulling old libdns together with new libdns loaded
by the binary.  The situation gets even more complicated with loading
the plugins that have been compiled with few versions old BIND 9
libraries and then dynamically loaded into the named.

We are picking the safest option possible and usable for internal
libraries - instead of using -version-info that has only a weak link to
BIND 9 version number, we are using -release libtool option that will
embed the corresponding BIND 9 version number into the library name.

That means that instead of libisc.so.1701 (as an example) the library
will now be named libisc-9.17.10.so.
19 files changed:
.gitlab-ci.yml
configure.ac
lib/bind9/Makefile.am
lib/bind9/api [deleted file]
lib/dns/Makefile.am
lib/dns/api [deleted file]
lib/irs/Makefile.am
lib/irs/api [deleted file]
lib/isc/Makefile.am
lib/isc/api [deleted file]
lib/isccc/Makefile.am
lib/isccc/api [deleted file]
lib/isccfg/Makefile.am
lib/isccfg/api [deleted file]
lib/ns/Makefile.am
lib/ns/api [deleted file]
m4/ax_bind9_lib_version.m4 [deleted file]
util/api-checker.sh [deleted file]
util/copyrights