diff options
author | nbm <nbm@FreeBSD.org> | 2001-08-23 19:46:18 +0800 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2001-08-23 19:46:18 +0800 |
commit | c538d50c7c56f5020dbd44d8da8684f308c2877c (patch) | |
tree | 2161619c521601816163d155be6c5b88f5763cc8 /mail/courier-imap | |
parent | 7e2fe3c02b4622f4c0a6c4eb6a683bfe60ad286d (diff) | |
download | freebsd-ports-graphics-c538d50c7c56f5020dbd44d8da8684f308c2877c.tar.gz freebsd-ports-graphics-c538d50c7c56f5020dbd44d8da8684f308c2877c.tar.zst freebsd-ports-graphics-c538d50c7c56f5020dbd44d8da8684f308c2877c.zip |
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>
Diffstat (limited to 'mail/courier-imap')
-rw-r--r-- | mail/courier-imap/Makefile | 18 | ||||
-rw-r--r-- | mail/courier-imap/pkg-plist | 1 |
2 files changed, 13 insertions, 6 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index 0c02b4d6fe8..011676db000 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 0784706e8b8..7a9c9dc3dc2 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 |