aboutsummaryrefslogtreecommitdiff
path: root/databases/ldb
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2011-10-04 16:04:07 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2011-10-04 16:04:07 +0000
commit726cc4a068268f403ba5f95749261ebd672a2f84 (patch)
treed1f39e99204403c562b33908767d682c6d5569ea /databases/ldb
parent1e14aedb1dbdfcbb5841bedcec3c23e5de67c2e6 (diff)
downloadports-726cc4a068268f403ba5f95749261ebd672a2f84.tar.gz
ports-726cc4a068268f403ba5f95749261ebd672a2f84.zip
Notes
Diffstat (limited to 'databases/ldb')
-rw-r--r--databases/ldb/Makefile39
-rw-r--r--databases/ldb/distinfo2
-rw-r--r--databases/ldb/files/patch-wscript19
-rw-r--r--databases/ldb/pkg-descr9
-rw-r--r--databases/ldb/pkg-plist31
5 files changed, 100 insertions, 0 deletions
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