From e44f24fd2719d1d3bc6f0bdbb2db83c8082ac9d7 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 22 Dec 2007 21:15:05 +0000 Subject: Added 'ldap' option --- mail/cyrus-imapd/Makefile | 12 ++++++++++-- mail/cyrus-imapd/PLIST | 5 ++++- 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 -- cgit v1.2.3