Bug 268147 - databases/ldb22: Patch to update to 2.2.3 so security/sssd builds with net/samba413 and databases/ldb22
Summary: databases/ldb22: Patch to update to 2.2.3 so security/sssd builds with net/sa...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks: 267626
  Show dependency treegraph
 
Reported: 2022-12-04 12:04 UTC by Richard Frewin
Modified: 2022-12-18 12:28 UTC (History)
4 users (show)

See Also:


Attachments
Update ldb to 2.2.3 (39.96 KB, patch)
2022-12-04 12:04 UTC, Richard Frewin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Frewin 2022-12-04 12:04:16 UTC
Created attachment 238509 [details]
Update ldb to 2.2.3

Patch to update ldb22 to 2.2.3 so security/sssd can build with samba413 and ldb22.

This also adds parts of patch-samba-4.14.14 from net/samba413 to databases/ldb22 for compatibility.

Requires make variables SAMBA4_BUNDLED_LDB=no set for samba and OPTIONS_SET+=PYTHON3 for ldb.

This builds for me in poudriere for i386 and amd64 FreeBSD 12.3 and 13.1

Tested in small production environment and appears to work for me, YMMV. 

See also sssd patch in Bug 267626
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-12-18 12:27:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7b88f02eff10a461300f194e98ca8d2c62d79938

commit 7b88f02eff10a461300f194e98ca8d2c62d79938
Author:     Richard Frewin <Richard@FrewinIT.uk>
AuthorDate: 2022-12-18 12:11:03 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-12-18 12:17:20 +0000

    databases/ldb22: update to 2.2.3

    Add some fixes from Samba 4.14 to aid security/sssd

    PR:             268147
    Approved by:    maintainer timeout (timur, 14 days)

 databases/ldb22/Makefile                           |   3 +-
 databases/ldb22/distinfo                           |   6 +-
 .../files/patch-samba-4.14.14-for-ldb22 (new)      | 825 +++++++++++++++++++++
 3 files changed, 829 insertions(+), 5 deletions(-)
Comment 2 Rene Ladan freebsd_committer freebsd_triage 2022-12-18 12:28:00 UTC
Patch committed after maintainer timeout.