pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/cyrus-imapd Added 'ldap' option
details: https://anonhg.NetBSD.org/pkgsrc/rev/ff8e555a3d77
branches: trunk
changeset: 536795:ff8e555a3d77
user: adam <adam%pkgsrc.org@localhost>
date: Sat Dec 22 21:15:05 2007 +0000
description:
Added 'ldap' option
diffstat:
mail/cyrus-imapd/Makefile | 12 ++++++++++--
mail/cyrus-imapd/PLIST | 5 ++++-
2 files changed, 14 insertions(+), 3 deletions(-)
diffs (52 lines):
diff -r f0e32d4c08e3 -r ff8e555a3d77 mail/cyrus-imapd/Makefile
--- a/mail/cyrus-imapd/Makefile Sat Dec 22 21:13:46 2007 +0000
+++ b/mail/cyrus-imapd/Makefile Sat Dec 22 21:15:05 2007 +0000
@@ -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-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+= --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 -r f0e32d4c08e3 -r ff8e555a3d77 mail/cyrus-imapd/PLIST
--- a/mail/cyrus-imapd/PLIST Sat Dec 22 21:13:46 2007 +0000
+++ b/mail/cyrus-imapd/PLIST Sat Dec 22 21:15:05 2007 +0000
@@ -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/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
Home |
Main Index |
Thread Index |
Old Index