Build with PAM support, since it seems to work. Can specify WITHOUT_PAM
to not compile in PAM authentication support. Submitted by: Blaz Zupan <blaz@amis.net>
This commit is contained in:
parent
3a8ffecdd4
commit
fec8d07b9a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46703
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user