notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Port details
ldb22 LDAP-like embedded database
2.2.3 databases on this many watch lists=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.2.3Version of this port present on the latest quarterly branch.
Maintainer: search for ports maintained by this maintainer
Port Added: 2020-09-23 00:46:10
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
License: GPLv3+
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (40 items)
Collapse this list.
  1. include/ldb_version.h
  2. include/ldb_handlers.h
  3. include/ldb_errors.h
  4. include/ldb.h
  5. include/ldb_module.h
  6. bin/ldbedit
  7. bin/ldbmodify
  8. bin/ldbadd
  9. bin/ldbdel
  10. bin/ldbsearch
  11. bin/ldbrename
  12. lib/
  13. lib/
  14. lib/ldb/
  15. lib/ldb/
  16. lib/ldb/
  17. lib/ldb/
  18. lib/shared-modules/ldb/
  19. lib/shared-modules/ldb/
  20. lib/shared-modules/ldb/
  21. lib/shared-modules/ldb/
  22. lib/shared-modules/ldb/
  23. lib/shared-modules/ldb/
  24. lib/shared-modules/ldb/
  25. lib/shared-modules/ldb/
  26. lib/shared-modules/ldb/
  27. lib/ldb/
  28. lib/shared-modules/ldb/
  29. /usr/local/libdata/pkgconfig/ldb.pc
  30. man/man1/ldbadd.1.gz
  31. man/man1/ldbdel.1.gz
  32. man/man1/ldbedit.1.gz
  33. man/man1/ldbmodify.1.gz
  34. man/man1/ldbrename.1.gz
  35. man/man1/ldbsearch.1.gz
  36. man/man3/ldb.3.gz
  37. @ldconfig
  38. /usr/local/share/licenses/ldb22-2.2.3/
  39. /usr/local/share/licenses/ldb22-2.2.3/LICENSE
  40. /usr/local/share/licenses/ldb22-2.2.3/GPLv3+
Collapse this list.
Dependency lines:
  • ldb22>0:databases/ldb22
  • ldb[0-9][0-9]
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/databases/ldb22/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/ldb22
  • pkg install ldb22
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ldb22
Flavors: there is no flavor information for this port.

Packages (timestamps in pop-ups are UTC):
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. lmdb>=0.9.23 : databases/lmdb
  5. popt>=0 : devel/popt
  6. cmocka>=1.1.3 : sysutils/cmocka
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. python3.9 : lang/python39
Test dependencies:
  1. talloc>=2.2.0 : devel/talloc
  2. tevent>=0.10.0 : devel/tevent
  3. tdb>=1.4.0 : databases/tdb
  4. lmdb>=0.9.23 : databases/lmdb
  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. lmdb>=0.9.23 : databases/lmdb
  5. popt>=0 : devel/popt
Library dependencies:
  1. : net/openldap26-client
This port is required by:
for Libraries
  1. security/sssd
  2. security/sssd-devel

Configuration Options:
Options name:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2020-01-13
    Affects: users of python and net/samba410, devel/talloc, devel/tevent, databases/tdb, databases/ldb*
      In the entry 20191216 for the Python update the filtering constrains
      are too limiting and omit the Samba supplimentary libraries, which do
      have Python bindings to the default Python 3.x version. With the update
      of the default Python3 version you also need to rebuild all the
      supplementary Samba libraries and samba410 itself.
      For portmaster users it would be enough to run:
      # portmaster devel/talloc devel/tevent databases/tdb databases/ldb15 net/samba410
Expand this list (2 items)
  • 2019-06-30
    Affects: users of net/samba410, net/samba4[6-8] and devel/talloc?, devel/tevent?, databases/tdb?, databases/ldb*
      The port of the new version of Samba 4.10 is introduced. Due necessarily
      to keep backwards compatibility for the legacy samba4[6-8] ports the
      upgrade procedure is a bit convoluted.
      You are safe to perform fresh new install of samba410 port. In case you
      are upgrading from the previous versions of Samba, please use the
      following procedure:
      0.  Take backups of all the relevant files, in particular PREFIX/etc/smb4.conf
          and /var/db/samba4/ subdirectory. Keep in mind that files there (may)
          have extended attributes, so use appropriate tools to preserve them.
      1a. If you haven't updated Samba between 20190619 and 20190630 then next
          step should be as simple as:
            portmaster -o net/samba410 net/samba48
      1b. If you have been affected by the archiving legacy versions of
          Samba-related libraries for legacy versions of Samba, which happened
          in the given time frame, then you need to reverse operation from the
           20190619 entry:
          for users of portmaster:
            portmaster -o devel/talloc devel/talloc1
            portmaster -o devel/tevent devel/tevent1
            portmaster -o databases/tdb databases/tdb1
            portmaster -o net/samba410 net/samba48
          for users of portupgrade:
            portupgrade -o devel/talloc devel/talloc1
            portupgrade -o devel/tevent devel/tevent1
            portupgrade -o databases/tdb databases/tdb1
            portupgrade -o net/samba410 net/samba48
  • 2019-06-19
    Affects: users of samba4[6-8] and devel/talloc, devel/tevent, databases/tdb, databases/ldb*
      To introduce samba410(we deliberately skip samba49 due the complexity of handling)
      and to drop dependency on deprecated Python 2.7, Samba supplementary libraries
      talloc, tevent and tdb were split into current Python 3 compatible versions
      and legacy ones, with the suffix "1".
      Old versions of Samba were changed to depend on the legacy supplementary libraries,
      so if you need to install samba46, samba47 or samba48 over previous Samba
      installations you need to downgrade supplementary libs with the following commands:
      for users of portmaster:
            portmaster -o devel/talloc1 devel/talloc
            portmaster -o devel/tevent1 devel/tevent
            portmaster -o databases/tdb1 databases/tdb
            portmaster -r talloc1
      for users of portupgrade:
            portupgrade -o devel/talloc1 devel/talloc
            portupgrade -o devel/tevent1 devel/tevent
            portupgrade -o databases/tdb1 databases/tdb
            portupgrade -fr devel/talloc1
  • 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
27 Jun 2023 19:34:34
commit hash:3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash:3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash:3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash:3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<>
08 Feb 2023 10:53:56
commit hash:6e1233be229212a0496f42d611bd40f3e3a628dacommit hash:6e1233be229212a0496f42d611bd40f3e3a628dacommit hash:6e1233be229212a0496f42d611bd40f3e3a628dacommit hash:6e1233be229212a0496f42d611bd40f3e3a628da files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Mk/** Convert USE_LDAP to USES=ldap

Convert the USE_LDAP=yes to USES=ldap and adds the following features:

- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in
- Changes consumers to use the features

Reviewed by:	delphij
Approved by:	portmgr
Differential Revision:
18 Dec 2022 12:17:20
commit hash:7b88f02eff10a461300f194e98ca8d2c62d79938commit hash:7b88f02eff10a461300f194e98ca8d2c62d79938commit hash:7b88f02eff10a461300f194e98ca8d2c62d79938commit hash:7b88f02eff10a461300f194e98ca8d2c62d79938 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
Author: Richard Frewin
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)
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
29 Jun 2022 15:57:40
commit hash:da00957fbe1f79c12851e0958ee7e4c8276a5527commit hash:da00957fbe1f79c12851e0958ee7e4c8276a5527commit hash:da00957fbe1f79c12851e0958ee7e4c8276a5527commit hash:da00957fbe1f79c12851e0958ee7e4c8276a5527 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Fix CONFLICTS_INSTALL in the databases category

Approved by:	portmgr (implicit)
02 Aug 2021 04:41:48
commit hash:3ba73dad6f600e4da54237e381201faec678984ccommit hash:3ba73dad6f600e4da54237e381201faec678984ccommit hash:3ba73dad6f600e4da54237e381201faec678984ccommit hash:3ba73dad6f600e4da54237e381201faec678984c files touched by this commit
Xin LI (delphij) search for other commits by this committer
net/openldap24-client: bump all dependent port

In the earlier net/openldap24-server commit, only those which depend on
net/openldap24-sasl-client were bumped. Bumping all dependent port that
didn't get a bump to force a rebuild of these packages.

Suggested by:	kib
07 Apr 2021 08:09:01
commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash:cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash:cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
28 Mar 2021 23:48:12
Revision:569419Original commit files touched by this commit
timur search for other commits by this committer
Update ports versions to address recent CVEs in Samba.
03 Mar 2021 11:33:15
Revision:567072Original commit files touched by this commit
fluffy search for other commits by this committer
databases/ldb2[012]:	Unbreak build with python3.8+

PR:		253815
Approved by:	python
23 Sep 2020 00:46:03
Revision:549649Original commit files touched by this commit
timur search for other commits by this committer
Add Samba 4.13 supplimentary lib databases/ldb22

Number of commits found: 12