Hello again, porters! I've written a new flavor for Dovecot to add support for GSSAPI. Could someone take a look at it?
Thanks, William Leuschner Index: Makefile =================================================================== RCS file: /cvs/ports/mail/Makefile,v retrieving revision 1.342 diff -u -p -r1.342 Makefile --- Makefile 11 Jul 2016 10:15:18 -0000 1.342 +++ Makefile 31 Oct 2016 18:41:24 -0000 @@ -33,6 +33,7 @@ SUBDIR += dkim-milter SUBDIR += dkimproxy SUBDIR += dovecot + SUBDIR += dovecot,gssapi SUBDIR += dovecot-antispam SUBDIR += dovecot-pigeonhole SUBDIR += dspam Index: dovecot/Makefile =================================================================== RCS file: /cvs/ports/mail/dovecot/Makefile,v retrieving revision 1.241 diff -u -p -r1.241 Makefile --- dovecot/Makefile 5 Jul 2016 09:27:35 -0000 1.241 +++ dovecot/Makefile 31 Oct 2016 18:41:24 -0000 @@ -7,7 +7,7 @@ COMMENT-postgresql= PostgreSQL authentic V_MAJOR= 2.2 V_DOVECOT= 2.2.24 -REVISION= 0 +REVISION= 1 DISTNAME= dovecot-${V_DOVECOT} PKGNAME= dovecot-${V_DOVECOT} @@ -66,10 +66,17 @@ CONFIGURE_ARGS= --with-rundir=/var/dovec CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +FLAVORS= gssapi PSEUDO_FLAVORS= no_db no_ldap no_mysql no_postgresql FLAVOR?= .if ${FLAVOR:Mno_db} FLAVOR+= no_ldap no_mysql no_postgresql +.endif + +.if ${FLAVOR:Mgssapi} +CONFIGURE_ARGS+=KRB5CONFIG=/usr/local/heimdal/bin/krb5-config +CONFIGURE_ARGS+=--with-gssapi=yes +MODULES+=security/heimdal .endif MULTI_PACKAGES= -server -ldap -mysql -postgresql Index: dovecot/pkg/DESCR-server =================================================================== RCS file: /cvs/ports/mail/dovecot/pkg/DESCR-server,v retrieving revision 1.6 diff -u -p -r1.6 DESCR-server --- dovecot/pkg/DESCR-server 28 May 2011 19:40:41 -0000 1.6 +++ dovecot/pkg/DESCR-server 31 Oct 2016 18:41:24 -0000 @@ -4,3 +4,6 @@ several coding techniques to avoid most can work with standard mbox and maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers as well as mail clients accessing the mailboxes directly. + +Flavors: + gssapi: support for GSSAPI authentication in Dovecot