BSD Ports

databases/lmdb0 0.9.36_1 FreeBSD

OpenLDAP Lightning Memory-Mapped Database (legacy)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
85ba298b7e
License
OPENLDAP
Categories
databases
Package size
102.7 KiB, 588.9 KiB installed

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.

Install

Binary package:

pkg install lmdb0

From the ports tree:

cd /usr/ports/databases/lmdb0/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	lmdb0>0:databases/lmdb0
LIB_DEPENDS=	liblmdb0.so:databases/lmdb0

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.350.9.35--0.9.36
FreeBSD:14:quarterly0.9.350.9.35n/a-0.9.35
FreeBSD:15:latest0.9.350.9.36n/a--
FreeBSD:15:quarterly0.9.350.9.35n/an/an/a
FreeBSD:16:latest0.9.350.9.36n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Required by 260

The first 100 are listed.

Configuration

No options to configure.

Service scripts
none

Files

Manual pages 4
  • mdb_copy0(1)
  • mdb_dump0(1)
  • mdb_load0(1)
  • mdb_stat0(1)
pkg-plist 17
  • bin/mdb_copy0
  • bin/mdb_dump0
  • bin/mdb_load0
  • bin/mdb_stat0
  • include/lmdb0/lmdb.h
  • lib/liblmdb.so.0
  • lib/liblmdb0.a
  • lib/liblmdb0.so
  • libdata/pkgconfig/lmdb0.pc
  • lmdb0/include/lmdb.h
  • lmdb0/lib/liblmdb.a
  • lmdb0/lib/liblmdb.so
  • lmdb0/libdata/pkgconfig/lmdb.pc
  • share/man/man1/mdb_copy0.1.gz
  • share/man/man1/mdb_dump0.1.gz
  • share/man/man1/mdb_load0.1.gz
  • share/man/man1/mdb_stat0.1.gz
distinfo 1
FileSizeSHA256
openldap-openldap-LMDB_0.9.36_GH0.tar.gz15021990a595ea500074af61b213464452d8d212405261094667a686357467ae7b57b9

Commit history 3

DateCommitCreditsLog message
85ba298b7e Baptiste Daroussin 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 …
3db6975588 Xin LI 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
5f9d389f29 Xin LI 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 …