aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd24
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-06-11 23:08:29 +0800
committerume <ume@FreeBSD.org>2004-06-11 23:08:29 +0800
commit680f924d232c97c6f63f7595c067c6a9f32fafff (patch)
tree228c0cdc00021453c8b8a9ad0f9928dd4007049d /mail/cyrus-imapd24
parent3e88a3da75662b795fbb59e0e7d03e2fb0e3393b (diff)
downloadfreebsd-ports-graphics-680f924d232c97c6f63f7595c067c6a9f32fafff.tar.gz
freebsd-ports-graphics-680f924d232c97c6f63f7595c067c6a9f32fafff.tar.zst
freebsd-ports-graphics-680f924d232c97c6f63f7595c067c6a9f32fafff.zip
add WITH_LDAP_PTLOADER which enables build with experimental
LDAP ptloader. Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de> (with modification)
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r--mail/cyrus-imapd24/Makefile10
-rw-r--r--mail/cyrus-imapd24/pkg-plist3
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index 86a150e133c..585e988be49 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -34,7 +34,6 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--with-cyrus-group=${CYRUS_GROUP} \
--with-sasl=${LOCALBASE} \
--with-bdb-libdir=${LOCALBASE}/lib \
- --with-auth=unix \
--with-com_err \
--with-openssl=${OPENSSLBASE} \
--with-perl=${PERL5}
@@ -132,6 +131,15 @@ CONFIGURE_ARGS+=--with-snmp=${LOCALBASE}
CONFIGURE_ARGS+=--with-snmp=no
.endif
+.if defined(WITH_LDAP_PTLOADER)
+USE_OPENLDAP= yes
+CONFIGURE_ARGS+=--with-auth=pts --with-pts=ldap --with-ldap=${LOCALBASE}
+PLIST_SUB+= LDAP_PTLOADER=""
+.else
+CONFIGURE_ARGS+=--with-auth=unix
+PLIST_SUB+= LDAP_PTLOADER="@comment "
+.endif
+
CYRUS_USER?= cyrus
CYRUS_GROUP?= cyrus
diff --git a/mail/cyrus-imapd24/pkg-plist b/mail/cyrus-imapd24/pkg-plist
index 6fcac84db7b..c234405baf2 100644
--- a/mail/cyrus-imapd24/pkg-plist
+++ b/mail/cyrus-imapd24/pkg-plist
@@ -35,6 +35,9 @@ cyrus/bin/notifyd
cyrus/bin/pop3d
cyrus/bin/pop3proxyd
%%MURDER%%cyrus/bin/proxyd
+%%LDAP_PTLOADER%%cyrus/bin/ptdump
+%%LDAP_PTLOADER%%cyrus/bin/ptexpire
+%%LDAP_PTLOADER%%cyrus/bin/ptloader
cyrus/bin/quota
cyrus/bin/reconstruct
cyrus/bin/sievec