aboutsummaryrefslogtreecommitdiffstats
path: root/mail/courier-imap
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-07-10 15:55:11 +0800
committeroliver <oliver@FreeBSD.org>2003-07-10 15:55:11 +0800
commitbeb3cd302da39ee6982876cfc93a705e9c4d3245 (patch)
tree79c6b8c916a204daeec3882adaaa27279bb69e59 /mail/courier-imap
parent75407a08bd151009587228031b98cd7e139b56aa (diff)
downloadfreebsd-ports-gnome-beb3cd302da39ee6982876cfc93a705e9c4d3245.tar.gz
freebsd-ports-gnome-beb3cd302da39ee6982876cfc93a705e9c4d3245.tar.zst
freebsd-ports-gnome-beb3cd302da39ee6982876cfc93a705e9c4d3245.zip
install additional authlib modules
Diffstat (limited to 'mail/courier-imap')
-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