diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:31 +0000 |
commit | 236cb75e4430569627585a5818d9ce9bc85640f8 (patch) | |
tree | f84b5c0335eb76eb9df1e6c2c0004d7d9667c6e4 /debian/samba-libs.links | |
parent | Adding upstream version 2:4.17.12+dfsg. (diff) | |
download | samba-debian.tar.xz samba-debian.zip |
Adding debian version 2:4.17.12+dfsg-0+deb12u1.debian/2%4.17.12+dfsg-0+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/samba-libs.links')
-rw-r--r-- | debian/samba-libs.links | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/samba-libs.links b/debian/samba-libs.links new file mode 100644 index 0000000..7d61232 --- /dev/null +++ b/debian/samba-libs.links @@ -0,0 +1,18 @@ +# libndr.so.X mess. This library does not have stable ABI and can change. +# But it is used by other software (eg, sssd, openchange, evolution-mapi). +# openchange and evolution-mapi are not in debian (bullseye/bookworm). +# Only a small subset of the symbols is actually used. +# Since we package libndr.so.N inside samba-libs package, not inside its own +# libndrN package (because it links with all internal samba libs, and different +# libndrNs can't co-exist), we have to deal with the soname bumps somehow. + +# 4.15 changed soname of libndr.so.1 in incompatible way and bumbed soname to .2 +# Only small subset of symbols is actually used by sssd, neither of which were +# affected, so we can "assume" the ABI in .2 is "sufficienly compatible" with .1 +# Provide compat symlink. +# This is a gross hack, but it let us to survive. +# Remove past bookworm. +usr/lib/${DEB_HOST_MULTIARCH}/libndr.so.3 usr/lib/${DEB_HOST_MULTIARCH}/libndr.so.1 + +# 4.17 changed soname of libndr without a reason, provide compat symlink +usr/lib/${DEB_HOST_MULTIARCH}/libndr.so.3 usr/lib/${DEB_HOST_MULTIARCH}/libndr.so.2 |