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
Ukraine
Port details
ldb21 LDAP-like embedded database
2.1.5_1 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.1.5_1Version of this port present on the latest quarterly branch.
Maintainer: timur@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-09-23 00:16:04
Last Update: 2023-11-19 20:10:09
Commit Hash: d049bac
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

Manual pages:
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/libldb.so
  13. lib/libldb.so.2
  14. lib/ldb/libldb-tdb-int.so
  15. lib/ldb/libldb-tdb-err-map.so
  16. lib/ldb/libldb-key-value.so
  17. lib/ldb/libldb-cmdline.so
  18. lib/shared-modules/ldb/skel.so
  19. lib/shared-modules/ldb/server_sort.so
  20. lib/shared-modules/ldb/sample.so
  21. lib/shared-modules/ldb/rdn_name.so
  22. lib/shared-modules/ldb/paged_searches.so
  23. lib/shared-modules/ldb/ldb.so
  24. lib/shared-modules/ldb/ldap.so
  25. lib/shared-modules/ldb/asq.so
  26. lib/shared-modules/ldb/tdb.so
  27. lib/ldb/libldb-mdb-int.so
  28. lib/shared-modules/ldb/mdb.so
  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/ldb21-2.1.5_1/catalog.mk
  39. /usr/local/share/licenses/ldb21-2.1.5_1/LICENSE
  40. /usr/local/share/licenses/ldb21-2.1.5_1/GPLv3+
Collapse this list.
Dependency lines:
  • ldb21>0:databases/ldb21
Conflicts:
CONFLICTS_INSTALL:
  • 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/ldb21/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/ldb21
  • pkg install ldb21
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ldb21
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1616901772 SHA256 (ldb-2.1.5.tar.gz) = 7caccce63c720cd662d9ac43b522f3f0e5927dfcf68f494cd8c65644c6bf067e SIZE (ldb-2.1.5.tar.gz) = 1675898

Packages (timestamps in pop-ups are UTC):
ldb21
ABIlatestquarterly
FreeBSD:12:aarch64-2.1.5_1
FreeBSD:12:amd642.1.5_12.1.5_1
FreeBSD:12:armv6-2.1.4
FreeBSD:12:armv7-2.1.4
FreeBSD:12:i3862.1.5_12.1.5_1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-2.1.5
FreeBSD:13:aarch642.1.5_12.1.5_1
FreeBSD:13:amd642.1.5_12.1.5_1
FreeBSD:13:armv62.1.42.1.5_1
FreeBSD:13:armv72.1.5_12.1.5_1
FreeBSD:13:i3862.1.5_12.1.5_1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc642.1.42.1.5_1
FreeBSD:13:riscv64-2.1.5_1
FreeBSD:14:aarch642.1.5_12.1.5_1
FreeBSD:14:amd642.1.5_12.1.5_1
FreeBSD:14:armv62.1.5_1-
FreeBSD:14:armv72.1.5_12.1.5_1
FreeBSD:14:i3862.1.5_12.1.5_1
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc642.1.5_12.1.5_1
FreeBSD:14:riscv642.1.5_1-
FreeBSD:15:aarch642.1.5_1-
FreeBSD:15:amd642.1.5_1-
FreeBSD:15:armv6--
FreeBSD:15:armv72.1.5_1-
FreeBSD:15:i3862.1.5_1-
FreeBSD:15:mips64--
FreeBSD:15:powerpc642.1.5_1-
FreeBSD:15:riscv64--
 
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. lmdb>=0.9.23 : databases/lmdb
  5. cmocka>=1.1.3 : sysutils/cmocka
  6. popt>=0 : devel/popt
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. python3.9 : lang/python39
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. cmocka>=1.1.3 : sysutils/cmocka
  6. popt>=0 : devel/popt
Library dependencies:
  1. libldap.so.2 : net/openldap26-client
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for ldb21-2.1.5_1: DEBUG=off: Build with debugging support MANPAGES=off: Build and install manpages (requires textproc/docbook-xsl) PYTHON3=off: Python 3.x bindings or support ===> Use 'make config' to modify these settings
Options name:
databases_ldb21
USES:
compiler ldap 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.
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*
    Author: timur@FreeBSD.org
    Reason: 
      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*
    Author: timur@FreeBSD.org
    Reason: 
      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*
    Author: timur@FreeBSD.org
    Reason: 
      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
2.1.5_1
19 Nov 2023 20:10:09
commit hash: d049bac0155cc703dc9d9b731897ec6c03803750commit hash: d049bac0155cc703dc9d9b731897ec6c03803750commit hash: d049bac0155cc703dc9d9b731897ec6c03803750commit hash: d049bac0155cc703dc9d9b731897ec6c03803750 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
databases/ldb21: fix build with lld 17

Building databases/ldb21 with lld 17 results in the following link
errors:

  ld: error: version script assignment of 'LDB_0.9.10' to symbol
'ldb_connect_backend' failed: symbol not defined
  ld: error: version script assignment of 'LDB_0.9.10' to symbol
'ldb_init_module_chain' failed: symbol not defined
  ld: error: version script assignment of 'LDB_0.9.10' to symbol
'ldb_load_modules_list' failed: symbol not defined
  ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_asq_init'
failed: symbol not defined
  ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_paged_results_init' failed: symbol not defined
  ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_paged_searches_init' failed: symbol not defined
  ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_rdn_name_init' failed: symbol not defined
  ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_sample_init' failed: symbol not defined
  ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_server_sort_init' failed: symbol not defined
  ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_skel_init'
failed: symbol not defined
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.1.5_1
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
itself.

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++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-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
.libs/_quickfix_la-QuickfixPython.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:	<https://reviews.freebsd.org/D40568>
2.1.5_1
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/**ldap.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
  RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features

Reviewed by:	delphij
Approved by:	portmgr
Differential Revision: https://reviews.freebsd.org/D38233
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)
2.1.5_1
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)
2.1.5_1
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)
2.1.5_1
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
2.1.5
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
2.1.5
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.
2.1.5
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.
2.1.4
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
2.1.4
23 Sep 2020 00:15:27
Revision:549645Original commit files touched by this commit
timur search for other commits by this committer
Add new Samba 4.12 supplimentary databases/ldb21 port

Number of commits found: 12