database/ldb*: fix lmdb0 brekage Reported by: pkg-fallout Sponsored by: Klara, Inc.9b999127a0
Port details
databases/ldb25 2.5.3_4
LDAP-like embedded database
Port info
- Maintainer
- samba@FreeBSD.org
- Packages
- latest: 2.5.3_4
- Upstream
- up to date
- Last update
- to 2.5.3_4 · 9b999127a0
- Quarterly
- 2026Q4: 2.5.3_2
- WWW
- https://ldb.samba.org/
- Links
- cgit · VuXML
Install
- Package
# pkg install ldb25installs 2.5.3_4 fromlatest; fromquarterly(2026Q4) 2.5.3_2- Port
# cd /usr/ports/databases/ldb25 && make install clean# make -C /usr/ports/databases/ldb25 config # change options first
- Size
- 192 KiB download · 838 KiB installed
- Depends on
- databases/lmdb0 0.9.36_1, databases/openldap26-client 2.6.16, databases/tdb 1.4.9_1,1, devel/popt 1.19,2, devel/talloc 2.4.1_1, devel/tevent 0.15.0_2
- License
- GPLv3+
- Options
- 1 of 3 on in the package: MANPAGES
Show the 2 options that are off
DEBUG PYTHON3
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 2.5.3_4 | 2.5.3_2 | – |
| FreeBSD 15 | 2.5.3_4 | 2.5.3_2 | – |
| FreeBSD 14 | ✗ | 2.5.3_2 | 2.5.3_3 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 2.5.3_2 | 2.5.3_2 | – |
| FreeBSD 14 | 2.5.3_2 | 2.5.3_2 | 2.5.3_2 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 2.5.3_4.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (12)
databases/lmdb: allow to install both 0.x and 1.x together
LMDB 1.0 and the legacy 0.9 ABI cannot be mixed, the datanase format are
incompatibles as well.
Rename or relocate everything databases/lmdb0 installs so that it no
longer overlaps with databases/lmdb:
- the utilities are now mdb_copy0, mdb_dump0, mdb_load0 and mdb_stat0
- the header is include/lmdb0/lmdb.h
- the linker name is liblmdb0.so, the shared object keeps its ABI name
liblmdb.so.0 so already linked programs are unaffected
- the pkg-config file is lmdb0.pc
A compatibility prefix holding the previous layout is also installed
under ${PREFIX}/lmdb0/ (include/, lib/ and libdata/pkgconfig/) so that
build systems which expect to find lmdb.h and -llmdb relative to a
single directory only need a path change.
Now all ports should migrate to lmdb 1.X and use the lmdb 0.9 port to ease
in the migration path, lmdb, the lmdb 0.x is supposed to get removed at
some point.
Approved by: mat (portmgr)
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D6074185ba298b7e*: Fix dependency on lmdb07a7dea4414
databases/lmdb0: Add port for LMDB 0.9.x legacy ABI LMDB 1.0 introduced an incompatible on-disk format change and subtle API breakage: applications that compiled cleanly against 1.0 headers could fail silently at run time. Known affected ports include dns/knot3, mail/bogofilter, and mail/postfix; the postfix issue has been confirmed upstream. Linux distributions such as Arch Linux have observed the same breakage. Samba can also be affected in certain configurations. Because the regression is not detectable in an -exp build run -- the postfix failure only manifests at run time, and bogofilter was caught only because post-build self-tests happen to exercise this path -- we cannot rely on package builds to validate the 1.0 upgrade. This commit introduces databases/lmdb0 as a holding port for the 0.9.35 release, pinned to the 0.x branch with PORTSCOUT=limit:^0. and mutually conflicting with databases/lmdb, which retains 1.0. The two packages cannot be installed simultaneously, but having lmdb0 available means: * Ports known to require the 0.9 ABI can declare an explicit dependency on databases/lmdb0 until they are validated against 1.0. * Users with existing databases in the 0.9 format can still access the mdb_dump and mdb_load utilities to migrate data before upgrading. * The package conflict prevents accidental mixing. All 50 direct dependents of databases/lmdb are redirected to databases/lmdb0 for now with a PORTREVISION bump, effectively restoring the tree to the state prior to the LMDB 1.0 update. Once all dependent ports are validated against LMDB 1.0, they will be moved back to databases/lmdb and databases/lmdb0 will be removed. PR: ports/2965305f9d389f29
all: drop support for FreeBSD 13, mips and risc64sf Reviewed by: many (*) Differential Revision: https://reviews.freebsd.org/D55624 Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh) many (*) acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka nobutaka pkubaj se tagattie thj Anton Saietskii GenericRikka Gert Doering Jan Bramkamp Oleh Hushchenkov Oleksandr Kryvulia Ralf van der Enden Yamagi desktop kde python tcltk office2a7c056120
databases/ldb25: fix build with python 3.12 PR: 285957c536fdf2eb
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc EXT_SUFFIX, according to PEP 3149, refers to the full tag and extension for compiled extension module objects, eg .cpython-311.so, .cpython-313t.so, etc. We do not use the correct semantic meaning, and this usage becomes ambiguous and confusing when tags do not match between bytecode and compiled extension module objects. Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's specification of a magic tag, which consists of implementation name and shorthand version only. This is meant for bytecode and other files containing this tag in their filename that do not depend on a specific Python ABI for the same version. Chase all existing consumers. Introduce PYTHON_SOABI to align with PEP 3149's specification of a tag, which consists of implementation name, shorthand version and any ABI flags present (this and PYTHON_TAG are identical without ABI flags). This is meant for compiled extension module objects and other files that depend on a specific Python ABI for the same version. Add documentation for these variables that our PYTHON_EXT_SUFFIX never had. PR: 274671 Event: Kitchener-Waterloo Hackathon 2025064f0eba1efd
*/*: Rework manpages handling in Samba-related ports
* Remove outdated, incorrect, precompiled manpages from ${FILESDIR}/files/man.
* Properly disable manpages generation since XSLTPROC was set to true(1) WAF
always assumed xsltproc(1) to work and if any automatic dependency pulled in
textproc/docbook-xsl, manpages were generated even if explicitly disabled.
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D4932747b3df7594*/*: Let samba@ maintain ldb, tdb, talloc, tevent, and Samba PR: 280556 Approved by: portmgrb6ec64a9a2
databases/ldb25 net/freeipa-client: Update MAINTAINER email address Approved by: kiwi@oav.net (maintainer)f75a3ece17
databases/ldb25: drop hardcoded path, pet portlint (+) * replace /usr/local/libdata/pkgconfig with %%PKGCONFIGDIR%% macro in patch * switch to USES+= localbase:ldflags Approved by: portmgr blanket473cf29a8f
databases/ldb25: Add port, needed for noldb flavor of Samba Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D43748fcceba49c9