diff options
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 |