Port details
lmdb0 OpenLDAP Lightning Memory-Mapped Database (legacy)
0.9.36_1 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 0.9.35Version of this port present on the latest quarterly branch.
Maintainer: delphij@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-07-06 16:00:07
Last Update: 2026-10-20 09:48:39
Commit Hash: 85ba298
License: OPENLDAP
WWW:
https://symas.com/lmdb/
Description: #
LMDB is an ultra-fast, ultra-compact key-value data store developed by Symas for the OpenLDAP Project. It uses memory-mapped files, so it has the read performance of a pure in-memory database while still offering the persistence of standard disk-based databases, and is only limited to the size of the virtual address space, (it is not limited to the size of physical RAM). LMDB was originally called MDB, but was renamed to avoid confusion with other software associated with the name MDB.
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 (24 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/lmdb0-0.9.36_1/catalog.mk
  3. /usr/local/share/licenses/lmdb0-0.9.36_1/LICENSE
  4. /usr/local/share/licenses/lmdb0-0.9.36_1/OPENLDAP
  5. bin/mdb_copy0
  6. bin/mdb_dump0
  7. bin/mdb_load0
  8. bin/mdb_stat0
  9. include/lmdb0/lmdb.h
  10. lib/liblmdb.so.0
  11. lib/liblmdb0.a
  12. lib/liblmdb0.so
  13. libdata/pkgconfig/lmdb0.pc
  14. lmdb0/include/lmdb.h
  15. lmdb0/lib/liblmdb.a
  16. lmdb0/lib/liblmdb.so
  17. lmdb0/libdata/pkgconfig/lmdb.pc
  18. share/man/man1/mdb_copy0.1.gz
  19. share/man/man1/mdb_dump0.1.gz
  20. share/man/man1/mdb_load0.1.gz
  21. share/man/man1/mdb_stat0.1.gz
  22. @owner
  23. @group
  24. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • lmdb0>0:databases/lmdb0
  • For LIB depends:
    • liblmdb.so:databases/lmdb0
    • liblmdb0.so:databases/lmdb0
To install the port: #
cd /usr/ports/databases/lmdb0/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/lmdb0
  • pkg install lmdb0
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lmdb0
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1792209251 SHA256 (openldap-openldap-LMDB_0.9.36_GH0.tar.gz) = 90a595ea500074af61b213464452d8d212405261094667a686357467ae7b57b9 SIZE (openldap-openldap-LMDB_0.9.36_GH0.tar.gz) = 150219

Packages (timestamps in pop-ups are UTC): #
lmdb0
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.36_10.9.36_1--0.9.36_1
FreeBSD:14:quarterly0.9.350.9.35--0.9.35
FreeBSD:15:latest0.9.36_10.9.36_1n/a-n/a
FreeBSD:15:quarterly0.9.350.9.35n/a-n/a
FreeBSD:16:latest CURRENT0.9.36_10.9.36_1n/a-n/a
This port has no dependencies. #
This port is required by: #
for Build #
  1. databases/ldb25
  2. databases/ldb28
  3. databases/ldb29
  4. devel/appstream
  5. devel/appstream-compose
  6. devel/appstream-qt
  7. net/samba416
Expand this list (11 items / 4 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. net/samba422
  3. net/samba423
  4. net/samba424
  5. net/samba425
  6. Collapse this list.
for Libraries #
  1. archivers/urbackup-server
  2. biology/ncbi-blast+
  3. biology/ncbi-cxx-toolkit
  4. databases/p5-LMDB_File
  5. databases/py-lmdb
  6. databases/rubygem-lmdb
  7. databases/tcl-lmdb
Expand this list (38 items / 31 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. devel/ice37
  3. dns/bind9-devel
  4. dns/bind920
  5. dns/dnsdist
  6. dns/dnsjit
  7. dns/powerdns
  8. mail/bogofilter
  9. mail/libetpan
  10. mail/neomutt
  11. mail/postfix
  12. mail/postfix-current
  13. misc/caffe
  14. net/389-ds-base
  15. net-im/nheko
  16. net-p2p/cardano-db-sync
  17. net-p2p/cardano-node
  18. net-p2p/ogmios
  19. ports-mgmt/appstream-generator
  20. sysutils/cardano-cli
  21. sysutils/cfengine
  22. sysutils/cfengine-devel
  23. sysutils/cfengine-lts
  24. sysutils/cfengine327
  25. sysutils/cfengine328
  26. sysutils/cfengine329
  27. sysutils/kf5-baloo
  28. x11/cde
  29. x11/cde-devel
  30. Collapse this list.

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. sysutils/cfengine324*
  2. sysutils/cfengine325*
  3. sysutils/cfengine326*
  4. Collapse this list of deleted ports.
for Run #
  1. databases/ldb25
  2. databases/ldb28
  3. databases/ldb29
  4. net/samba416
  5. net/samba422
  6. net/samba423
  7. net/samba424
Expand this list (8 items / 1 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. net/samba425
  3. Collapse this list.
for Test #
  1. databases/ldb25
  2. databases/ldb28
  3. databases/ldb29

Configuration Options: #
No options to configure
Options name: #
databases_lmdb0
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/openldap/openldap/tar.gz/LMDB_0.9.36?dummy=/
Collapse this list.

Number of commits found: 3 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.9.36_1
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
0.9.36
17 Oct 2026 18:16:37
commit hash: 3db6975588686b0f6f49e5c9cc096a91d8684f17commit hash: 3db6975588686b0f6f49e5c9cc096a91d8684f17commit hash: 3db6975588686b0f6f49e5c9cc096a91d8684f17commit hash: 3db6975588686b0f6f49e5c9cc096a91d8684f17 files touched by this commit
Xin LI (delphij) search for other commits by this committer
databases/lmdb0: update to 0.9.36

This is a bugfix release.

Notable changes since 0.9.35:
 - ITS#7772 - limit sub-page growth when re-adding existing data
 - ITS#8335 - more input validation for put(MDB_MULTIPLE)
 - ITS#9388 - fix mdb_stat page counts for dupsort DBs
 - ITS#10054 - fix write of 2GB values
 - ITS#10522 - reject 0-length values in DUPSORT DBs
0.9.35
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)

Number of commits found: 3