ldb is a LDAP-like embedded database. It is not at all LDAP standards compliant, so if you want a standards compliant database then please see the excellent OpenLDAP project. What ldb does is provide 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. ldb is the database engine used in Samba4. Features: * The main features that separate ldb from other solutions are: * Safe multi-reader, multi-writer, using byte range locking * LDAP-like API * fast operation * choice of local tdb or remote LDAP backends * integration with talloc * schema-less operation, for trivial setup * modules for extensions (such as schema support) * easy setup of indexes and attribute properties * LDIF for import/export * ldbedit tool for database (via LDIF) editing (reminiscent of 'vipw')
15 lines
791 B
Python
15 lines
791 B
Python
$NetBSD: patch-buildtools_wafsamba_samba__install.py,v 1.1 2019/03/20 19:06:17 adam Exp $
|
|
|
|
Apply correct install_name on Darwin.
|
|
|
|
--- buildtools/wafsamba/samba_install.py.orig 2019-01-14 22:24:44.000000000 +0000
|
|
+++ buildtools/wafsamba/samba_install.py
|
|
@@ -151,6 +151,8 @@ def install_library(self):
|
|
bld.symlink_as(os.path.join(install_path, install_link), os.path.basename(install_name))
|
|
if dev_link:
|
|
bld.symlink_as(os.path.join(install_path, dev_link), os.path.basename(install_name))
|
|
+ if getattr(self, 'samba_type', None) != 'PYTHON' and self.env.MACOSX_DEPLOYMENT_TARGET:
|
|
+ self.env.append_value('LINKFLAGS', ['-install_name', os.path.join(install_path, install_name)])
|
|
finally:
|
|
bld.all_envs['default'] = default_env
|
|
|