[Pkg-samba-maint] libldb depends expression

Mathieu Parent math.parent at gmail.com
Sat Apr 2 07:59:35 BST 2022


On Sat, Apr 2, 2022 at 8:36 AM Michael Tokarev <mjt at tls.msk.ru> wrote:
>
> 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.

Yes, but to support binNMUs, you may need to use a range anyway
(I've read the below doc without clear understanding).

Ref: https://wiki.debian.org/binNMU "How to make packages binNMU safe?"


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

OK.

--
Mathieu



More information about the Pkg-samba-maint mailing list