[Bug 291392] net/samba422: Install talloc, tdb, and tevent as Samba public libraries

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Dec 2025 13:37:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291392

            Bug ID: 291392
           Summary: net/samba422: Install talloc, tdb, and tevent as Samba
                    public libraries
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: samba@FreeBSD.org
          Reporter: 0mp@FreeBSD.org
                CC: kiwi@FreeBSD.org
          Assignee: samba@FreeBSD.org
             Flags: maintainer-feedback?(samba@FreeBSD.org)

Together with kiwi@ we are considering installing talloc, tdb, and tevent as
Samba public libraries similar to how Samba 4.22 handles ldb now.

This would allow us to simplify Samba maintenance. Currently, we maintain
talloc, tdb, and tevent as separate ports. If we turn them into public
libraries, then they will be installed with Samba (allowing us to maintain less
ports). Consumers would still be able to depend on talloc, tdb, and tevent this
way.

In summary the plan would be to:
- Remove the option of unbundling talloc, tdb, and tevent from Samba
- Patch net/samba422 and newer to install talloc, tdb, and tevent as public
libraries
- Update consumers to use new library paths

I've not checked yet if it's actually possible to install talloc, tdb, and
tevent as public libraries. That's the next step. I'm posting this idea online,
however, to gather feedback. Let me know what you think.

-- 
You are receiving this mail because:
You are the assignee for the bug.