[Pkg-samba-maint] building other libraries from the samba source

Mathieu Parent math.parent at gmail.com
Mon Apr 25 09:00:27 BST 2022


On Sun, Apr 24, 2022 at 7:21 PM Michael Tokarev <mjt at tls.msk.ru> wrote:
>
> Hi!

Hi!

> After this somewhat strange attempt to build libldb and related packages
> out of samba sources, I wonder if we should do the same with other libraries
> of the same nature, - talloc, tevent, and tdb, - too.
>
> This has its drawbacks as ldb package demonstrated. But this also has its good
> sides, - which is a much simpler maintenance.

I would recommend keeping things as they are. While samba is tightly
linked with ldb (thru private ABIs), talloc, tevent and tdb have a
clear public API that is consumed by samba. Also they have fewer
releases and are rarely affected by security updates (I checked this,
and there are NO CVE for those 3 packages).

(this is just a recommendation, it's up to you).

> The only real thing which bothers me is the lack of tests.
> We don't run samba testsuite (already discussed).  But we can run at least the
> common libraries testsuite. For one, we can run ldb testsuite.

Yes.

> I wonder if it is possible to do when ldb is built as part of samba build...

No idea.

Regards
-- 
Mathieu



More information about the Pkg-samba-maint mailing list