aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-10 07:55:11 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-10 07:55:11 +0000
commit0131c76e8822bfb3693e7c23f44134754ebd82bb (patch)
treef7a37b9fa5f201e87d300adc29e984598bb3e84b /mail
parentef8ec57fafc42ad7f05b2f11fec9cee3366e7317 (diff)
downloadports-0131c76e8822bfb3693e7c23f44134754ebd82bb.tar.gz
ports-0131c76e8822bfb3693e7c23f44134754ebd82bb.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-imap/Makefile6
-rw-r--r--mail/courier-imap/pkg-plist3
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index be5c52453a40..ef9aa04e5ba0 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -69,9 +69,11 @@ CONFIGURE_ARGS= --without-authshadow \
.if !defined(WITH_VPOPMAIL)
CONFIGURE_ARGS+= --without-authvchkpw
+PLIST_SUB+= VPOPMAILFLAG="@comment "
.else
CONFIGURE_ARGS+= --with-authvchkpw
BUILD_DEPENDS+= ${VPOPMAILDIR}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
+PLIST_SUB+= VPOPMAILFLAG=""
.endif
.if defined(WITH_LDAP)
@@ -164,11 +166,11 @@ post-patch:
${WRKSRC}/liblock/configure
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g' \
${WRKSRC}/authlib/configure
+ @${REINPLACE_CMD} -e 's|^@INSTALLAUTHMODULES@$$|& @AUTHMODULES@|' \
+ ${WRKSRC}/authlib/installlist.in
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/authlib/authtest ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/authlib/authuserdb \
- ${PREFIX}/libexec/courier-imap/authlib
.for i in imapd pop3d
${INSTALL_DATA} ${WRKSRC}/imap/${i}.cnf ${CONFDIR}/${i}.cnf.dist
${LN} -s ${LIBEXECDIR}/${i}.rc ${RCDIR}/${PORTNAME}-${i}.sh.sample
diff --git a/mail/courier-imap/pkg-plist b/mail/courier-imap/pkg-plist
index 006e31922172..0f4a5796a6eb 100644
--- a/mail/courier-imap/pkg-plist
+++ b/mail/courier-imap/pkg-plist
@@ -19,13 +19,16 @@ bin/pop3d
%%RCDIR%%/courier-imap-imapd-ssl.sh.sample
%%RCDIR%%/courier-imap-pop3d.sh.sample
%%RCDIR%%/courier-imap-pop3d-ssl.sh.sample
+%%LIBEXECDIR%%/authlib/authcustom
%%LIBEXECDIR%%/authlib/authdaemon
%%LIBEXECDIR%%/authlib/authdaemond
%%LDAPFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.ldap
%%MYSQLFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.mysql
%%PGSQLFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.pgsql
%%LIBEXECDIR%%/authlib/authdaemond.plain
+%%LIBEXECDIR%%/authlib/authpam
%%LIBEXECDIR%%/authlib/authuserdb
+%%VPOPMAILFLAG%%%%LIBEXECDIR%%/authlib/authvchkpw
%%LIBEXECDIR%%/courierlogger
%%LIBEXECDIR%%/couriertcpd
%%LIBEXECDIR%%/imapd-ssl.rc