summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoradam <adam>2007-12-22 21:15:05 +0000
committeradam <adam>2007-12-22 21:15:05 +0000
commita34c78c0c1668583c388946754abdd443ca4d691 (patch)
tree9f288aa14bec181a62ad9358157682d9d1deb2df /mail
parentc1e9ca913b723de98e09ea2ec8fa09e5e73c9d27 (diff)
downloadpkgsrc-a34c78c0c1668583c388946754abdd443ca4d691.tar.gz
Added 'ldap' option
Diffstat (limited to 'mail')
-rw-r--r--mail/cyrus-imapd/Makefile12
-rw-r--r--mail/cyrus-imapd/PLIST5
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile
index 6d0db1edea6..a8cc72c6304 100644
--- a/mail/cyrus-imapd/Makefile
+++ b/mail/cyrus-imapd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2007/11/21 05:27:49 obache Exp $
+# $NetBSD: Makefile,v 1.74 2007/12/22 21:15:05 adam Exp $
DISTNAME= cyrus-imapd-2.2.13
PKGREVISION= 4
@@ -47,7 +47,7 @@ CONFIGURE_ARGS+= --without-zephyr
CONFIGURE_ARGS+= --without-ucdsnmp
PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-imapd
-PKG_SUPPORTED_OPTIONS= gssapi kerberos kerberos4
+PKG_SUPPORTED_OPTIONS= gssapi kerberos kerberos4 ldap
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mkerberos)
@@ -74,6 +74,14 @@ CONFIGURE_ARGS+= --without-krb
CONFIGURE_ARGS+= --disable-gssapi
.endif
+.if !empty(PKG_OPTIONS:Mldap)
+CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap-client}
+. include "../../databases/openldap-client/buildlink3.mk"
+PLIST_SUBST+= LDAP=
+.else
+PLIST_SUBST+= LDAP="@comment "
+.endif
+
.if exists(/usr/bin/compile_et)
COMERRBASE?= /usr
.endif
diff --git a/mail/cyrus-imapd/PLIST b/mail/cyrus-imapd/PLIST
index d362c65769c..a78cb7e0748 100644
--- a/mail/cyrus-imapd/PLIST
+++ b/mail/cyrus-imapd/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2006/10/04 12:18:14 obache Exp $
+@comment $NetBSD: PLIST,v 1.10 2007/12/22 21:15:06 adam Exp $
bin/imtest
bin/installsieve
bin/lmtptest
@@ -36,6 +36,9 @@ cyrus/bin/notifyd
cyrus/bin/pop3d
cyrus/bin/pop3proxyd
cyrus/bin/proxyd
+${LDAP}cyrus/bin/ptdump
+${LDAP}cyrus/bin/ptexpire
+${LDAP}cyrus/bin/ptloader
cyrus/bin/quota
cyrus/bin/reconstruct
cyrus/bin/rehash