summaryrefslogtreecommitdiffstats
path: root/debian/samba-libs.links
blob: 7d6123252c1b32250f34421529b4e53e885319a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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