Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
ldb25 LDAP-like embedded database
2.5.3_4 databases Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.5.3_2Version of this port present on the latest quarterly branch.
Maintainer: samba@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-03-12 19:45:23
Last Update: 2026-10-22 02:38:06
Commit Hash: 9b99912
License: GPLv3+
WWW:
https://ldb.samba.org/
Description: #
ldb is a LDAP-like embedded database. ldb provides a fast database with an LDAP-like API designed to be used within an application. In some ways it can be seen as a intermediate solution between key-value pair databases and a real LDAP database.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages: #
pkg-plist: as obtained via: make generate-plist #
Expand this list (40 items)
Collapse this list.
  1. bin/ldbedit
  2. bin/ldbmodify
  3. bin/ldbadd
  4. bin/ldbdel
  5. bin/ldbsearch
  6. bin/ldbrename
  7. lib/libldb.so
  8. lib/libldb.so.2
  9. lib/ldb/libldb-tdb-int.so
  10. lib/ldb/libldb-tdb-err-map.so
  11. lib/ldb/libldb-key-value.so
  12. lib/ldb/libldb-cmdline.so
  13. lib/shared-modules/ldb/skel.so
  14. lib/shared-modules/ldb/server_sort.so
  15. lib/shared-modules/ldb/sample.so
  16. lib/shared-modules/ldb/rdn_name.so
  17. lib/shared-modules/ldb/paged_searches.so
  18. lib/shared-modules/ldb/ldb.so
  19. lib/shared-modules/ldb/ldap.so
  20. lib/shared-modules/ldb/asq.so
  21. lib/shared-modules/ldb/tdb.so
  22. lib/ldb/libldb-mdb-int.so
  23. lib/shared-modules/ldb/mdb.so
  24. /usr/local/libdata/pkgconfig/ldb.pc
  25. include/ldb.h
  26. include/ldb_errors.h
  27. include/ldb_handlers.h
  28. include/ldb_module.h
  29. include/ldb_version.h
  30. share/man/man1/ldbadd.1.gz
  31. share/man/man1/ldbdel.1.gz
  32. share/man/man1/ldbedit.1.gz
  33. share/man/man1/ldbmodify.1.gz
  34. share/man/man1/ldbrename.1.gz
  35. share/man/man1/ldbsearch.1.gz
  36. share/man/man3/ldb.3.gz
  37. @ldconfig
  38. /usr/local/share/licenses/ldb25-2.5.3_4/catalog.mk
  39. /usr/local/share/licenses/ldb25-2.5.3_4/LICENSE
  40. /usr/local/share/licenses/ldb25-2.5.3_4/GPLv3+
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • ldb25>0:databases/ldb25
  • For LIB depends:
    • libldb.so:databases/ldb25
Conflicts: #
CONFLICTS_INSTALL:
  • ldb[0-9][0-9]
To install the port: #
cd /usr/ports/databases/ldb25/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/ldb25
  • pkg install ldb25
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ldb25
Flavors: there is no flavor information for this port. #
distinfo: #
TIMESTAMP = 1700563483 SHA256 (ldb-2.5.3.tar.gz) = 396d8bb9bb926a0fd2e6aa4ebec56e50942cc53648737aabcdf18d30fe6ac226 SIZE (ldb-2.5.3.tar.gz) = 1736354

Packages (timestamps in pop-ups are UTC): #
ldb25
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.5.3_2--2.5.3_12.5.3_4
FreeBSD:14:quarterly2.5.3_22.5.3_2-2.5.3_12.5.3_2
FreeBSD:15:latest2.5.3_22.5.3_4n/a2.5.3_1n/a
FreeBSD:15:quarterly2.5.3_22.5.3_2n/a-n/a
FreeBSD:16:latest2.5.3_22.5.3_4n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. talloc>=2.2.0 : devel/talloc
  2. tevent>=0.10.0 : devel/tevent
  3. tdb>=1.4.0 : databases/tdb
  4. lmdb0>=0.9.23 : databases/lmdb0
  5. popt>=0 : devel/popt
  6. py312-setuptools>0 : devel/py-setuptools@py312
  7. cmocka>=1.1.3 : sysutils/cmocka
  8. docbook.xsl : textproc/docbook-xsl
  9. xsltproc : textproc/libxslt
  10. pkgconf>=1.3.0_1 : devel/pkgconf
  11. python3.12 : lang/python312
Test dependencies: #
  1. talloc>=2.2.0 : devel/talloc
  2. tevent>=0.10.0 : devel/tevent
  3. tdb>=1.4.0 : databases/tdb
  4. lmdb0>=0.9.23 : databases/lmdb0
  5. popt>=0 : devel/popt
  6. cmocka>=1.1.3 : sysutils/cmocka
Runtime dependencies: #
  1. talloc>=2.2.0 : devel/talloc
  2. tevent>=0.10.0 : devel/tevent
  3. tdb>=1.4.0 : databases/tdb
  4. lmdb0>=0.9.23 : databases/lmdb0
  5. popt>=0 : devel/popt
Library dependencies: #
  1. libldap.so.2 : databases/openldap26-client
This port is required by: #
for Libraries #
  1. security/sssd2

Configuration Options: #
===> The following configuration options are available for ldb25-2.5.3_4: DEBUG=off: Build with debugging support MANPAGES=on: Build and/or install manual pages PYTHON3=off: Python 3.x bindings or support ===> Use 'make config' to modify these settings
Options name: #
databases_ldb25
USES: #
compiler ldap localbase:ldflags pkgconfig waf python:build,test
FreshPorts was unable to extract/find any pkg message #
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://ftp.samba.org/pub/ldb/
Collapse this list.

Number of commits found: 12 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.5.3_4
22 Oct 2026 02:38:06
commit hash: 9b999127a0662d1d9814b8350186892459f2b8a4commit hash: 9b999127a0662d1d9814b8350186892459f2b8a4commit hash: 9b999127a0662d1d9814b8350186892459f2b8a4commit hash: 9b999127a0662d1d9814b8350186892459f2b8a4 files touched by this commit
Xavier Beaudouin (kiwi) search for other commits by this committer
database/ldb*: fix lmdb0 brekage

Reported by:	pkg-fallout
Sponsored by:	Klara, Inc.
2.5.3_3
20 Oct 2026 09:48:39
commit hash: 85ba298b7e0c5fbf9c5629abb3721cf485553b3ecommit hash: 85ba298b7e0c5fbf9c5629abb3721cf485553b3ecommit hash: 85ba298b7e0c5fbf9c5629abb3721cf485553b3ecommit hash: 85ba298b7e0c5fbf9c5629abb3721cf485553b3e files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
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/D60741
2.5.3_2
06 Jul 2026 19:38:18
commit hash: 7a7dea44149e933dc87f3f116b056e252f1fa2f7commit hash: 7a7dea44149e933dc87f3f116b056e252f1fa2f7commit hash: 7a7dea44149e933dc87f3f116b056e252f1fa2f7commit hash: 7a7dea44149e933dc87f3f116b056e252f1fa2f7 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
*: Fix dependency on lmdb0
2.5.3_2
06 Jul 2026 15:57:32
commit hash: 5f9d389f299ac8124a5114c2f014984390b6fd1ecommit hash: 5f9d389f299ac8124a5114c2f014984390b6fd1ecommit hash: 5f9d389f299ac8124a5114c2f014984390b6fd1ecommit hash: 5f9d389f299ac8124a5114c2f014984390b6fd1e files touched by this commit
Xin LI (delphij) search for other commits by this committer
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
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.5.3_1
07 May 2026 21:47:29
commit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4acommit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4acommit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4acommit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4a files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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 office
2.5.3_1
13 Jan 2026 17:43:54
commit hash: c536fdf2eb9f6bd817c315c471425b12d795d73ecommit hash: c536fdf2eb9f6bd817c315c471425b12d795d73ecommit hash: c536fdf2eb9f6bd817c315c471425b12d795d73ecommit hash: c536fdf2eb9f6bd817c315c471425b12d795d73e files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
databases/ldb25: fix build with python 3.12

PR:		285957
2.5.3_1
19 Jun 2025 20:28:47
commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.5.3_1
13 Mar 2025 07:39:36
commit hash: 47b3df759415229017044b07129793d65f1cd2c0commit hash: 47b3df759415229017044b07129793d65f1cd2c0commit hash: 47b3df759415229017044b07129793d65f1cd2c0commit hash: 47b3df759415229017044b07129793d65f1cd2c0 files touched by this commit
Michael Osipov (michaelo) search for other commits by this committer
*/*: 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/D49327
2.5.3
13 Aug 2024 11:43:09
commit hash: b6ec64a9a2c9fc664db261f07c373bb65b522252commit hash: b6ec64a9a2c9fc664db261f07c373bb65b522252commit hash: b6ec64a9a2c9fc664db261f07c373bb65b522252commit hash: b6ec64a9a2c9fc664db261f07c373bb65b522252 files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
*/*: Let samba@ maintain ldb, tdb, talloc, tevent, and Samba

PR:		280556
Approved by:	portmgr
2.5.3
12 Aug 2024 12:58:05
commit hash: f75a3ece178d1758eb704ec53df88df3e93e6525commit hash: f75a3ece178d1758eb704ec53df88df3e93e6525commit hash: f75a3ece178d1758eb704ec53df88df3e93e6525commit hash: f75a3ece178d1758eb704ec53df88df3e93e6525 files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
databases/ldb25 net/freeipa-client: Update MAINTAINER email address

Approved by:	kiwi@oav.net (maintainer)
2.5.3
13 Mar 2024 10:57:54
commit hash: 473cf29a8f51a5fdb042ae81d711c08116bc68d0commit hash: 473cf29a8f51a5fdb042ae81d711c08116bc68d0commit hash: 473cf29a8f51a5fdb042ae81d711c08116bc68d0commit hash: 473cf29a8f51a5fdb042ae81d711c08116bc68d0 files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
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 blanket
2.5.3
12 Mar 2024 19:42:41
commit hash: fcceba49c9c175ecd36f7bb04c4aac822b283589commit hash: fcceba49c9c175ecd36f7bb04c4aac822b283589commit hash: fcceba49c9c175ecd36f7bb04c4aac822b283589commit hash: fcceba49c9c175ecd36f7bb04c4aac822b283589 files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
Author: Xavier Beaudouin
databases/ldb25: Add port, needed for noldb flavor of Samba

Sponsored by:		Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D43748

Number of commits found: 12