[Pkg-samba-maint] libldb depends expression

Michael Tokarev mjt at tls.msk.ru
Fri Apr 1 23:21:16 BST 2022


Hi.

Since before libldb binary package "merge" into samba source,
there was LDB_DEPENDS make variable that listed >=current <<next
versions of ldb, to set constraints for ldb: it should not be
less than the version currently in samba, and it should not be
larger than the next version (with some exceptions listed in
debian/library-equivalents).  It's been said libldb is very
tightly tied with samba.  Ok.

But why this LDB_DEPEDS variable (with this >=..<< expression)
is used only for samba-dsdb-modules?

Should we perhaps now use the exact =${binary:Version} expression
like it is done for every internal library?  It probably makes
sense when building ldb from samba source anyway, but I'd love
to understand a bit more what's going on here.

I see other parts of samba has regular shlib:Depends on libldb,
with min version being quite old (like 0.9.1 for samba for
example).

I don't really understand the importance of libldb for
dsdb-modules *only*.

And to be fair, I don't even know what these modules are, and
how the said modules in dsdb-modules are related with the ones
in libldb2? Can libldb2 load modules from dsdb-modules?  How
about the other way around?  They're both in the same subdir.

Thanks!

/mjt



More information about the Pkg-samba-maint mailing list