Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 22:42:22 +0900 (JST)
From:      Tadashi Yanagihara <willow@ht.sfc.keio.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40482: update of courier-imap port
Message-ID:  <200207121342.g6CDgMuK075501@mugen.ht.sfc.keio.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         40482
>Category:       ports
>Synopsis:       update of courier-imap port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 12 06:50:00 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207121342.g6CDgMuK075501>