aboutsummaryrefslogtreecommitdiff
path: root/mail/courier-imap
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2001-08-23 11:46:18 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2001-08-23 11:46:18 +0000
commitfec8d07b9a10652150478ee784e395e6ae54f9f2 (patch)
tree2d9cf20a8ca88a825a5c4495adfb4d629d3b62e4 /mail/courier-imap
parent3a8ffecdd487ebaeae4ce58b27134cfc0bed9936 (diff)
downloadports-fec8d07b9a10652150478ee784e395e6ae54f9f2.tar.gz
ports-fec8d07b9a10652150478ee784e395e6ae54f9f2.zip
Notes
Diffstat (limited to 'mail/courier-imap')
-rw-r--r--mail/courier-imap/Makefile18
-rw-r--r--mail/courier-imap/pkg-plist1
2 files changed, 13 insertions, 6 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 0c02b4d6fe8c..011676db0000 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -7,7 +7,7 @@
PORTNAME= courier-imap
PORTVERSION= 1.3.8.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
@@ -25,12 +25,8 @@ PLIST_SUB= OPENSSLFLAG=
PLIST_SUB= OPENSSLFLAG="@comment "
.endif
-#.if !exists(/usr/include/openssl/idea.h)
-#CFLAGS+= -DNO_IDEA
-#.endif
-
CONFIGURE_ARGS= --without-authldap --with-authldaprc=filename \
- --without-authpam --without-authshadow \
+ --without-authshadow \
--without-authcram \
--without-authmysql \
--sysconfdir=${PREFIX}/etc/courier-imap \
@@ -48,6 +44,16 @@ PLIST_SUB+= VPOPMAILFLAG="@comment "
PLIST_SUB+= VPOPMAILFLAG=""
.endif
+.if !defined(WITHOUT_PAM)
+CONFIGURE_ARGS+= \
+ --with-authpam
+PLIST_SUB+= PAMFLAG=""
+.else
+CONFIGURE_ARGS+= \
+ --without-authpam
+PLIST_SUB+= PAMFLAG="@comment"
+.endif
+
MAN1= maildirmake.1
MAN8= authlib.8 makeuserdb.8 userdb.8 userdbpw.8 couriertcpd.8 \
deliverquota.8 imapd.8 mkimapdcert.8 mkpop3dcert.8
diff --git a/mail/courier-imap/pkg-plist b/mail/courier-imap/pkg-plist
index 0784706e8b8f..7a9c9dc3dc2a 100644
--- a/mail/courier-imap/pkg-plist
+++ b/mail/courier-imap/pkg-plist
@@ -10,6 +10,7 @@ etc/courier-imap/pop3d.cnf.dist
etc/courier-imap/pop3d.dist
etc/courier-imap/quotawarnmsg.example
libexec/courier-imap/authlib/authcustom
+%%PAMFLAG%%libexec/courier-imap/authlib/authpam
libexec/courier-imap/authlib/authpwd
libexec/courier-imap/authlib/authuserdb
%%VPOPMAILFLAG%%libexec/courier-imap/authlib/authvchkpw