summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-05-04 18:16:37 +0000
committeradam <adam@pkgsrc.org>2013-05-04 18:16:37 +0000
commitfa5e95c89afd079a02feabb961146c813692a343 (patch)
tree6b8831faac2b653772397b1c042e227e28935646 /databases
parent60463c6c6473150c9790ed3f7a80293693f044e6 (diff)
downloadpkgsrc-fa5e95c89afd079a02feabb961146c813692a343.tar.gz
Added slapi support as an option
Diffstat (limited to 'databases')
-rw-r--r--databases/openldap-server/Makefile3
-rw-r--r--databases/openldap-server/PLIST3
-rw-r--r--databases/openldap-server/options.mk17
3 files changed, 18 insertions, 5 deletions
diff --git a/databases/openldap-server/Makefile b/databases/openldap-server/Makefile
index 18b25d91b5f..3a4d274db42 100644
--- a/databases/openldap-server/Makefile
+++ b/databases/openldap-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2013/03/16 12:49:55 adam Exp $
+# $NetBSD: Makefile,v 1.36 2013/05/04 18:16:37 adam Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
COMMENT= Lightweight Directory Access Protocol server suite
@@ -17,7 +17,6 @@ CONFIGURE_ARGS+= --enable-wrappers
# slapd backends
CONFIGURE_ARGS+= --enable-dnssrv
CONFIGURE_ARGS+= --enable-ldap
-CONFIGURE_ARGS+= --enable-ldbm
CONFIGURE_ARGS+= --enable-meta
CONFIGURE_ARGS+= --enable-monitor
CONFIGURE_ARGS+= --enable-null
diff --git a/databases/openldap-server/PLIST b/databases/openldap-server/PLIST
index d6b6c834e81..7eb171a033f 100644
--- a/databases/openldap-server/PLIST
+++ b/databases/openldap-server/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.10 2012/03/13 19:57:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2013/05/04 18:16:37 adam Exp $
+${PLIST.slapi}lib/libslapi.la
libexec/slapd
sbin/slapacl
sbin/slapadd
diff --git a/databases/openldap-server/options.mk b/databases/openldap-server/options.mk
index 49e1f7d6276..b818a96881a 100644
--- a/databases/openldap-server/options.mk
+++ b/databases/openldap-server/options.mk
@@ -1,13 +1,15 @@
-# $NetBSD: options.mk,v 1.16 2012/06/12 15:45:55 wiz Exp $
+# $NetBSD: options.mk,v 1.17 2013/05/04 18:16:37 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-server
-PKG_SUPPORTED_OPTIONS= bdb sasl slp inet6 smbk5pwd dso
+PKG_SUPPORTED_OPTIONS= bdb dso inet6 sasl slapi slp smbk5pwd
PKG_OPTIONS_OPTIONAL_GROUPS+= odbc
PKG_OPTIONS_GROUP.odbc= iodbc unixodbc
PKG_SUGGESTED_OPTIONS= bdb inet6
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= slapi
+
###
### Whether to build with the Berkeley DB based slapd backends.
###
@@ -101,3 +103,14 @@ INSTALL_UNSTRIPPED= yes
. endif
.include "../../devel/libltdl/buildlink3.mk"
.endif
+
+###
+### Enable SLAPI support
+###
+.if empty(PKG_OPTIONS:Mslapi)
+CONFIGURE_ARGS+= --disable-slapi
+.else
+CONFIGURE_ARGS+= --enable-slapi
+PLIST.slapi= yes
+.include "../../devel/libltdl/buildlink3.mk"
+.endif