Re: Strange version inconsistency in Samba t* utils (e.g. talloc)

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 04 Feb 2025 02:55:56 UTC
From: Xavier Beaudouin <kiwi@freebsd.org>
Subject: Re: Strange version inconsistency in Samba t* utils (e.g. talloc)
Date: Sun, 2 Feb 2025 10:17:35 +0100 (CET)

> Hi Tatsuki !
> 
>> The following two lines exist in INDEX-*.
>> 
>> tdb-1.4.9,1|/usr/ports/databases/tdb|/usr/local|Trivial
>> Database|/usr/ports/dat...
>> tdb-1.4.10,1|/usr/ports/databases/tdb1410|/usr/local|Trivial
>> Database|/usr/port...
>> 
>> I haven't checked which one takes precedence, but I guess it's bad that
>> package-name is duplicated.
> 
> I understand, but samba is really picky with their "satellite" libraries.
> When you don't use them as embedded tools then you can have strange results 
> if the version it not the one needed.
> For example, net/samba420 needs tdb >= 1.4.10, but other net/samba may not
> work with this version.
> 
> This is very unfortunate but also some other tools like sssd2 and sudo may
> need this libraries as external when compiled with samba support.
> 
> Kind regards,
> Xavier
> 

I created patch to fix conflict of PKGNAME and related issue, and
submitted as review.

https://reviews.freebsd.org/D48826

Feedback and suggestions are welcome.

---
Yasuhiro Kimura