diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-11 00:58:47 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-11 00:58:47 +0300 |
commit | 3c6305af8fbdd07d66fbb583e71bb58f6ce31f99 (patch) | |
tree | 959a163bc276a3b32317cffb32940fe64974156e | |
parent | 03fa47c11955c6151a5001c8d44e90a907c6e549 (diff) |
restored dev-db/ldb-1.4.0
-rw-r--r-- | metadata/categories.conf | 1 | ||||
-rw-r--r-- | metadata/repository_mask.conf | 1 | ||||
-rw-r--r-- | packages/dev-db/ldb/ldb-1.4.0.exheres-0 | 47 |
3 files changed, 49 insertions, 0 deletions
diff --git a/metadata/categories.conf b/metadata/categories.conf index f9b709c..89a9db8 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -24,5 +24,6 @@ x11-apps app-misc app-emulation sys-libs +dev-db net-fs sys-apps diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index adfaa73..801534f 100644 --- a/metadata/repository_mask.conf +++ b/metadata/repository_mask.conf @@ -39,6 +39,7 @@ x11-apps/redshift x11-libs/qtbase x11-themes/qtcurve + dev-db/ldb ) [[ *date = [ 11 Jul 2018 ] diff --git a/packages/dev-db/ldb/ldb-1.4.0.exheres-0 b/packages/dev-db/ldb/ldb-1.4.0.exheres-0 new file mode 100644 index 0000000..c569360 --- /dev/null +++ b/packages/dev-db/ldb/ldb-1.4.0.exheres-0 @@ -0,0 +1,47 @@ +# Copyright 2011-2012 Pierre Lejeune <superheron@gmail.com> +# Distributed under the terms of the GNU General Public License v2 + +require wafsamba + +SUMMARY="LDAP-like embedded database" +DESCRIPTION=" +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. +" +HOMEPAGE="https://${PN}.samba.org" +DOWNLOADS="mirror://samba/../${PN}/${PNV}.tar.gz" + +LICENCES="LGPL-3" +SLOT="0" +PLATFORMS="~amd64 ~armv7 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + build+run: + dev-db/tdb[>=1.3.15] + dev-libs/popt + dev-libs/talloc[>=2.1.11] + dev-libs/tevent[>=0.9.36] + build+test: + dev-util/cmocka[>=1.1.1] + recommendation: + net-directory/openldap [[ description = [ ldb can use OpenLDAP as a backend ] ]] +" + +WAF_SRC_CONFIGURE_PARAMS+=( --with-modulesdir=/usr/$(exhost --target)/lib ) +WAF_SRC_COMPILE_PARAMS+=( -j1 ) + +src_test() { + # https://bugzilla.samba.org/show_bug.cgi?id=9787 + edo ln -s libldb.so bin/default/libldb.so.$(ever major) + edo ln -s libpyldb-util.so bin/default/libpyldb-util.so.$(ever major) + + waf_src_test +} + |