pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/ldb



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Mar 20 19:06:56 UTC 2019

Added Files:
        pkgsrc/databases/ldb: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
ldb: added version 1.5.4

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')


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/ldb/DESCR \
    pkgsrc/databases/ldb/Makefile pkgsrc/databases/ldb/PLIST \
    pkgsrc/databases/ldb/buildlink3.mk pkgsrc/databases/ldb/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/databases/ldb/DESCR
diff -u /dev/null pkgsrc/databases/ldb/DESCR:1.1
--- /dev/null   Wed Mar 20 19:06:56 2019
+++ pkgsrc/databases/ldb/DESCR  Wed Mar 20 19:06:56 2019
@@ -0,0 +1,22 @@
+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')
Index: pkgsrc/databases/ldb/Makefile
diff -u /dev/null pkgsrc/databases/ldb/Makefile:1.1
--- /dev/null   Wed Mar 20 19:06:56 2019
+++ pkgsrc/databases/ldb/Makefile       Wed Mar 20 19:06:56 2019
@@ -0,0 +1,70 @@
+# $NetBSD: Makefile,v 1.1 2019/03/20 19:06:56 adam Exp $
+
+# Before updating, make sure net/samba4 supports the newer version.
+DISTNAME=      ldb-1.5.4
+CATEGORIES=    databases
+MASTER_SITES=  http://www.samba.org/ftp/ldb/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://ldb.samba.org/
+COMMENT=       LDAP-like embedded database
+LICENSE=       gnu-gpl-v3
+
+BUILD_DEPENDS+=        libxslt-[0-9]*:../../textproc/libxslt
+BUILD_DEPENDS+=        docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
+USE_TOOLS+=            gmake
+HAS_CONFIGURE=         yes
+CONFIG_SHELL=          ${PYTHONBIN}
+CONFIGURE_SCRIPT=      ${WRKSRC}/buildtools/bin/waf
+CONFIGURE_ARGS+=       configure
+CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+=       --abi-check-disable
+CONFIGURE_ARGS+=       --disable-symbol-versions
+CONFIGURE_ARGS+=       --with-libiconv=${BUILDLINK_PREFIX.iconv}
+.if defined(MAKE_JOBS) && !empty(MAKE_JOBS) && !(defined(MAKE_JOBS_SAFE) && !empty(MAKE_JOBS_SAFE:M[nN][oO]))
+CONFIGURE_ARGS+=       --jobs=${MAKE_JOBS}
+.else
+CONFIGURE_ARGS+=       --jobs=1
+.endif
+TEST_TARGET=           test
+
+USE_GCC_RUNTIME=       yes
+
+PY_PATCHPLIST=         yes
+REPLACE_PYTHON+=       buildtools/bin/waf
+MAKE_FLAGS+=           WAF_BINARY=${PYTHONBIN}\ ${WRKSRC}/buildtools/bin/waf
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${SHLIB_TYPE} == "dylib"
+PLIST_SUBST+=  SOEXT=dylib
+.else
+PLIST_SUBST+=  SOEXT=so
+.endif
+
+SUBST_CLASSES+=                docbook
+SUBST_MESSAGE.docbook= Fixing docbook URLs.
+SUBST_FILES.docbook+=  buildtools/wafsamba/samba_conftests.py
+SUBST_FILES.docbook+=  buildtools/wafsamba/wafsamba.py
+SUBST_STAGE.docbook=   pre-configure
+SUBST_SED.docbook+=    -e 's,http://docbook.sourceforge.net/release/xsl/current,${PREFIX}/share/xsl/docbook,g'
+
+PLIST_VARS+=   64bit
+.if !empty(LP64PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) || \
+       (defined(ABI) && ${ABI} == "64")
+PLIST.64bit=           yes
+.include "../../databases/lmdb/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-ldb-lmdb
+.endif
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../databases/tdb/buildlink3.mk"
+.include "../../devel/cmocka/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/talloc/buildlink3.mk"
+.include "../../devel/tevent/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/databases/ldb/PLIST
diff -u /dev/null pkgsrc/databases/ldb/PLIST:1.1
--- /dev/null   Wed Mar 20 19:06:56 2019
+++ pkgsrc/databases/ldb/PLIST  Wed Mar 20 19:06:56 2019
@@ -0,0 +1,45 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/20 19:06:56 adam Exp $
+bin/ldbadd
+bin/ldbdel
+bin/ldbedit
+bin/ldbmodify
+bin/ldbrename
+bin/ldbsearch
+include/ldb.h
+include/ldb_errors.h
+include/ldb_handlers.h
+include/ldb_module.h
+include/ldb_version.h
+include/pyldb.h
+lib/ldb/libldb-cmdline.so
+lib/ldb/libldb-key-value.so
+${PLIST.64bit}lib/ldb/libldb-mdb-int.so
+lib/ldb/libldb-tdb-err-map.so
+lib/ldb/libldb-tdb-int.so
+lib/libldb.so
+lib/libldb.so.${PKGVERSION}
+lib/libldb.so.1
+lib/libpyldb-util.so
+lib/libpyldb-util.so.${PKGVERSION}
+lib/libpyldb-util.so.1
+lib/pkgconfig/ldb.pc
+lib/pkgconfig/pyldb-util.pc
+${PYSITELIB}/_ldb_text.py
+${PYSITELIB}/ldb.so
+man/man1/ldbadd.1
+man/man1/ldbdel.1
+man/man1/ldbedit.1
+man/man1/ldbmodify.1
+man/man1/ldbrename.1
+man/man1/ldbsearch.1
+man/man3/ldb.3
+modules/ldb/asq.${SOEXT}
+modules/ldb/ldap.${SOEXT}
+modules/ldb/ldb.${SOEXT}
+${PLIST.64bit}modules/ldb/mdb.${SOEXT}
+modules/ldb/paged_searches.${SOEXT}
+modules/ldb/rdn_name.${SOEXT}
+modules/ldb/sample.${SOEXT}
+modules/ldb/server_sort.${SOEXT}
+modules/ldb/skel.${SOEXT}
+modules/ldb/tdb.${SOEXT}
Index: pkgsrc/databases/ldb/buildlink3.mk
diff -u /dev/null pkgsrc/databases/ldb/buildlink3.mk:1.1
--- /dev/null   Wed Mar 20 19:06:56 2019
+++ pkgsrc/databases/ldb/buildlink3.mk  Wed Mar 20 19:06:56 2019
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/20 19:06:56 adam Exp $
+
+BUILDLINK_TREE+=       ldb
+
+.if !defined(LDB_BUILDLINK3_MK)
+LDB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ldb+=    ldb>=1.5.4
+BUILDLINK_PKGSRCDIR.ldb?=      ../../databases/ldb
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../databases/tdb/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/talloc/buildlink3.mk"
+.include "../../devel/tevent/buildlink3.mk"
+.endif # LDB_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ldb
Index: pkgsrc/databases/ldb/distinfo
diff -u /dev/null pkgsrc/databases/ldb/distinfo:1.1
--- /dev/null   Wed Mar 20 19:06:56 2019
+++ pkgsrc/databases/ldb/distinfo       Wed Mar 20 19:06:56 2019
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2019/03/20 19:06:56 adam Exp $
+
+SHA1 (ldb-1.5.4.tar.gz) = 870e4112053ae350f5de27b00aa8703d3e7dc34d
+RMD160 (ldb-1.5.4.tar.gz) = d2bbb808990f7dc80a4d0d1278756f13a4526f85
+SHA512 (ldb-1.5.4.tar.gz) = fc323e4283671c14d6dd4feb7e9ca943a63a166688077dbf3591f9d957cf821f9e739869842e15ca1ec4fd3764123d5afc6f4954b1af437bd1ec54df58366a22
+Size (ldb-1.5.4.tar.gz) = 1629123 bytes
+SHA1 (patch-buildtools_wafsamba_samba__conftests.py) = 4d2727e1ca3d65c26200bf699b93b5bf3198bfd0
+SHA1 (patch-buildtools_wafsamba_samba__install.py) = d801340617da325e3bb70a90350e45cc8e383c2d



Home | Main Index | Thread Index | Old Index