From willow@mugen.ht.sfc.keio.ac.jp  Fri Jul 12 06:40:56 2002
Return-Path: <willow@mugen.ht.sfc.keio.ac.jp>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1858137B400
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 12 Jul 2002 06:40:56 -0700 (PDT)
Received: from mugen.ht.sfc.keio.ac.jp (mugen.ht.sfc.keio.ac.jp [133.27.171.224])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D7B9843E65
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 12 Jul 2002 06:40:54 -0700 (PDT)
	(envelope-from willow@mugen.ht.sfc.keio.ac.jp)
Received: from mugen.ht.sfc.keio.ac.jp (localhost [127.0.0.1])
	by mugen.ht.sfc.keio.ac.jp (8.12.3/8.12.3) with ESMTP id g6CDgNYT075502
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 12 Jul 2002 22:42:23 +0900 (JST)
	(envelope-from willow@mugen.ht.sfc.keio.ac.jp)
Received: (from willow@localhost)
	by mugen.ht.sfc.keio.ac.jp (8.12.3/8.12.3/Submit) id g6CDgMuK075501;
	Fri, 12 Jul 2002 22:42:22 +0900 (JST)
Message-Id: <200207121342.g6CDgMuK075501@mugen.ht.sfc.keio.ac.jp>
Date: Fri, 12 Jul 2002 22:42:22 +0900 (JST)
From: Tadashi Yanagihara <willow@ht.sfc.keio.ac.jp>
Reply-To: Tadashi Yanagihara <willow@ht.sfc.keio.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: update of courier-imap port
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         40482
>Category:       ports
>Synopsis:       update of courier-imap port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nbm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 12 06:50:00 PDT 2002
>Closed-Date:    Sun Aug 04 13:42:17 PDT 2002
>Last-Modified:  Sun Aug 04 13:42:17 PDT 2002
>Originator:     Tadashi Yanagihara
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
Tokuda Laboratory, Keio University
>Environment:
System: FreeBSD mugen.ht.sfc.keio.ac.jp 4.6-RELEASE FreeBSD 4.6-RELEASE #2: Thu Jun 27 11:45:24 JST 2002 willow@mugen.ht.sfc.keio.ac.jp:/usr/src/sys/compile/MUGEN i386
>Description:
	This is related to ports/39717, but I have not seen the 
	courier-imap update from 1.4.3 for a while now.
	Courier-imap has received many enhancements from 1.4.3, 
	(especially for us 2 byte character speakers :-) ), 
	so I think an update would be appropriate.

	Also, I noticed authshadow and authcram being disabled in the 
	base CONFIGURE_ARG parameter. Shouldn't this be set with the 
	WITH_AUTHSHADOW and WITH_AUTHCRAM parameters?
	Basically most of the IMAP MUAs that I know of only can 
	authenticate with CRAM-MD5, so I think leaving this as 
	an option shouldn't be a problem.
>How-To-Repeat:
	
>Fix:
	Here's a patch to fix the problem within the description.
	This patch worked fine, with no problems.
	You won't be needing files/rfc882_parsedt.c, by the way.

--- courier-imap.diff begins here ---
--- /usr/ports/mail/courier-imap/Makefile	Thu Jun 20 21:19:21 2002
+++ /usr/ports/mail/courier-imap/Makefile	Fri Jul 12 22:13:58 2002
@@ -6,10 +6,11 @@
 #
 
 PORTNAME=	courier-imap
-PORTVERSION=	1.4.3
-PORTREVISION=	1
+PORTVERSION=	1.5.1
 CATEGORIES=	mail ipv6
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES=	http://prdownloads.sourceforge.net/courier/
+#
 MASTER_SITE_SUBDIR=	courier
 
 MAINTAINER=	nbm@FreeBSD.org
@@ -36,9 +37,7 @@
 PLIST_SUB=	OPENSSLFLAG="@comment "
 .endif
 
-CONFIGURE_ARGS=	--without-authshadow \
-		--without-authcram \
-		--sysconfdir=${PREFIX}/etc/courier-imap \
+CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/courier-imap \
 		--with-userdb=${PREFIX}/etc/userdb \
 		--datadir=${PREFIX}/share/courier-imap \
 		--libexecdir=${PREFIX}/libexec/courier-imap \
@@ -97,6 +96,22 @@
 .else
 CONFIGURE_ARGS+=	\
 		--without-authpam
+.endif
+
+.if defined(WITH_AUTHSHADOW)
+CONFIGURE_ARGS+=	\
+		--with-authshadow
+.else
+CONFIGURE_ARGS+=	\
+		--without-authshadow
+.endif
+
+.if defined(WITH_AUTHCRAM)
+CONFIGURE_ARGS+=	\
+		--with-authcram
+.else
+CONFIGURE_ARGS+=	\
+		--without-authcram
 .endif
 
 MAN1=		couriertcpd.1 maildirmake.1
--- courier-imap.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->nbm 
Responsible-Changed-By: pat 
Responsible-Changed-When: Fri Jul 12 13:09:28 PDT 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40482 
State-Changed-From-To: open->closed 
State-Changed-By: nbm 
State-Changed-When: Sun Aug 4 13:39:19 PDT 2002 
State-Changed-Why:  
Have enabled authcram (I don't think authshadow is any different 
to authpwd on FreeBSD), and I've updated courier-imap to 1.5.2. 
Thanks for your help! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40482 
>Unformatted:
