diff options
author | zi <zi@FreeBSD.org> | 2011-10-05 00:04:07 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2011-10-05 00:04:07 +0800 |
commit | 4d8262aaa8a6f502e2919ce313dc9eb88523e03e (patch) | |
tree | 400f9bd36eeb2dba0a2bcd0cb4dcc7a358b15771 /databases | |
parent | 1c52803d8ca05345c0086c0cc92127dec07916a6 (diff) | |
download | freebsd-ports-gnome-4d8262aaa8a6f502e2919ce313dc9eb88523e03e.tar.gz freebsd-ports-gnome-4d8262aaa8a6f502e2919ce313dc9eb88523e03e.tar.zst freebsd-ports-gnome-4d8262aaa8a6f502e2919ce313dc9eb88523e03e.zip |
New port: databases/ldb
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.
WWW: http://ldb.samba.org/
PR: ports/161266
Submitted by: Andrew Elble <aweits@rit.edu>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/ldb/Makefile | 39 | ||||
-rw-r--r-- | databases/ldb/distinfo | 2 | ||||
-rw-r--r-- | databases/ldb/files/patch-wscript | 19 | ||||
-rw-r--r-- | databases/ldb/pkg-descr | 9 | ||||
-rw-r--r-- | databases/ldb/pkg-plist | 31 |
6 files changed, 101 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 22f3747edca1..4c7e236011b1 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -142,6 +142,7 @@ SUBDIR += ksqlshell SUBDIR += kumofs SUBDIR += kyotocabinet + SUBDIR += ldb SUBDIR += libdbi SUBDIR += libdbi-drivers SUBDIR += libdrizzle diff --git a/databases/ldb/Makefile b/databases/ldb/Makefile new file mode 100644 index 000000000000..8f031b0e5dd4 --- /dev/null +++ b/databases/ldb/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: ldb +# Date created: Sep 6 2011 +# Whom: Ryan Steinmetz <zi@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ldb +DISTVERSION= 1.1.0 +CATEGORIES= databases +MASTER_SITES= SAMBA +MASTER_SITE_SUBDIR= ../../ftp/pub/${PORTNAME} + +MAINTAINER= aweits@rit.edu +COMMENT= An LDAP-like embedded database + +LICENSE= LGPL3 + +LIB_DEPENDS= talloc.2:${PORTSDIR}/devel/talloc \ + tevent.0:${PORTSDIR}/devel/tevent \ + tdb.1:${PORTSDIR}/databases/tdb \ + popt.0:${PORTSDIR}/devel/popt \ + xslt.2:${PORTSDIR}/textproc/libxslt + +CONFLICTS= samba4-devel-4* + +CONFIGURE_ARGS= --with-modulesdir=${PREFIX}/lib \ + --builtin-libraries=replace \ + --bundled-libraries=NONE +CFLAGS+= -L${LOCALBASE}/lib + +HAS_CONFIGURE= yes +USE_PYTHON= yes +USE_LDCONFIG= yes + +post-patch: + @${REINPLACE_CMD} -e 's|..LIBDIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/wscript + +.include <bsd.port.mk> diff --git a/databases/ldb/distinfo b/databases/ldb/distinfo new file mode 100644 index 000000000000..56b0ea5526fb --- /dev/null +++ b/databases/ldb/distinfo @@ -0,0 +1,2 @@ +SHA256 (ldb-1.1.0.tar.gz) = 84f3841a69f8b3bba30b70f6d548b145a0b87cfef13c21f8c776f4aec490347e +SIZE (ldb-1.1.0.tar.gz) = 839912 diff --git a/databases/ldb/files/patch-wscript b/databases/ldb/files/patch-wscript new file mode 100644 index 000000000000..e650f29166a4 --- /dev/null +++ b/databases/ldb/files/patch-wscript @@ -0,0 +1,19 @@ +--- ./wscript.orig 2011-10-04 07:47:27.000000000 -0400 ++++ ./wscript 2011-10-04 07:47:35.000000000 -0400 +@@ -220,16 +220,6 @@ + deps='ldb', + subsystem='ldb') + +- bld.SAMBA_MODULE('ldb_tdb', +- bld.SUBDIR('ldb_tdb', +- '''ldb_tdb.c ldb_pack.c ldb_search.c ldb_index.c +- ldb_cache.c ldb_tdb_wrap.c'''), +- init_function='ldb_tdb_init', +- module_init_name='ldb_init_module', +- internal_module=False, +- deps='tdb ldb', +- subsystem='ldb') +- + # have a separate subsystem for common/ldb.c, so it can rebuild + # for install with a different -DLDB_MODULESDIR= + bld.SAMBA_SUBSYSTEM('LIBLDB_MAIN', diff --git a/databases/ldb/pkg-descr b/databases/ldb/pkg-descr new file mode 100644 index 000000000000..af768c25b15f --- /dev/null +++ b/databases/ldb/pkg-descr @@ -0,0 +1,9 @@ +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. + +WWW: http://ldb.samba.org/ diff --git a/databases/ldb/pkg-plist b/databases/ldb/pkg-plist new file mode 100644 index 000000000000..7e0aa45ccd41 --- /dev/null +++ b/databases/ldb/pkg-plist @@ -0,0 +1,31 @@ +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/paged_results.so +lib/ldb/asq.so +lib/ldb/server_sort.so +lib/ldb/paged_searches.so +lib/ldb/rdn_name.so +lib/ldb/sample.so +lib/ldb/skel.so +lib/libldb.so +lib/libldb.so.1 +lib/libldb.so.1.1.0 +lib/libpyldb-util.so +lib/libpyldb-util.so.1 +lib/libpyldb-util.so.1.1.0 +libdata/pkgconfig/pyldb-util.pc +libdata/pkgconfig/ldb.pc +@dirrmtry libdata/pkgconfig +lib/%%PYTHON_VERSION%%/site-packages/ldb.so +@dirrmtry lib/ldb |