Subject: pkg/34916: Cyrus IMAPd authorisation module fix (patch supplied)
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 10/25/2006 20:55:00
>Number:         34916
>Category:       pkg
>Synopsis:       Cyrus IMAPd authorisation module fix (patch supplied)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 25 20:55:00 +0000 2006
>Originator:     Jukka Salmi
>Release:        pkgsrc HEAD
Since Cyrus IMAPd release 2.2.13 the authorisation module is selected
at run-time (in imapd.conf(5), option `auth_mech'); this used to be a
compile time option (`configure --with-auth=xyz').
Index: mail/cyrus-imapd/Makefile
RCS file: /cvsroot/pkgsrc/mail/cyrus-imapd/Makefile,v
retrieving revision 1.67
diff -u -p -r1.67 Makefile
--- mail/cyrus-imapd/Makefile	9 Oct 2006 12:46:01 -0000	1.67
+++ mail/cyrus-imapd/Makefile	25 Oct 2006 20:40:59 -0000
@@ -57,12 +57,10 @@ PKG_OPTIONS+=	gssapi
 .if !empty(PKG_OPTIONS:Mkerberos4)
 .  if exists(/usr/include/kerberosIV/krb.h)
 CRYPTO+=		uses Kerberos encryption code
-CONFIGURE_ARGS+=	--with-auth=krb
 CONFIGURE_ARGS+=	--with-krb=/usr
 .  endif
 .elif !empty(PKG_OPTIONS:Mgssapi)
 .  include "../../mk/"
-CONFIGURE_ARGS+=	--with-auth=krb5
 CONFIGURE_ARGS+=	--enable-gssapi=${KRB5BASE:Q}
 CONFIGURE_ARGS+=	--with-gss_impl=${GSSIMPL.${KRB5_TYPE}}
 GSSIMPL.heimdal=	heimdal
@@ -70,7 +68,6 @@	mit
-CONFIGURE_ARGS+=	--with-auth=unix
 CONFIGURE_ARGS+=	--without-krb
 CONFIGURE_ARGS+=	--disable-gssapi