[Pkg-samba-maint] libldb depends expression
Michael Tokarev
mjt at tls.msk.ru
Sat Apr 2 07:36:42 BST 2022
02.04.2022 09:27, Mathieu Parent wroe:
..
>> 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 think ldb packages should use ldb version, and not samba version.
Yes, this is exactly that should be done and it is done.
What I mean is that currently, we use this >>cur_ver,<next_ver
expression for the ldb version, I thought maybe it is better now
to use the exact =cur_ver_deb_rev instead of a range.
My usage of "binary:version" was meant to be referring to the
*ldb* version, not to samba version, - it was just inaccurate
attempt at shortening what I'm writing.
> This lib has it's own versioning which is used by sssd and others.
>
> See https://salsa.debian.org/samba-team/samba/-/merge_requests/56/diffs?commit_id=8238d63481a1e943cc3f6ae5bd9fff1c284d84a3#8756c63497c8dc39f7773438edf53b220c773f67_318_322
> for how to pass args to dh_gencontrol.
This is not enough, I learned this the hard way, see
https://salsa.debian.org/samba-team/samba/-/commit/e43929f385573ff30dd4fbd73b50ab0b9786288c
https://salsa.debian.org/samba-team/samba/-/commit/de9705dd2a102c634675abb5d9b816bb71ee6b63
I merged ldb package creation into the samba package already.
And I faced and solved lots of other probs while at it :)
> Andrew has all those answers, he is probably the top commiter of ldb
> and AD LDAP ;-).
Let's wait for his answer :)
Thank you!
/mjt
More information about the Pkg-samba-maint
mailing list