Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  6 Oct 2001 23:34:34 +0200 (CEST)
From:      Thierry Thomas <thierry@thomas.as>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31090: Port mail/imp: change the default IMAP server.
Message-ID:  <20011006213434.CEBEA7692@graf.pompo.net>

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

>Number:         31090
>Category:       ports
>Synopsis:       Port mail/imp: change the default IMAP server.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 06 14:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Sep 22 10:41:40 CEST 2001 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386


	
>Description:
	Trying to make the post-install configuration easier:
	- add some minor patches to the indications;
	- change the default IMAP server from cyrus-imapd to the new imap-uw.
	
	imap-uw is much easier to configure, and it does not imply to change the current MDA.
	Of course, power-users may still install IMP with cyrus-imapd (better on a dedicated
	machine) or with other IMAP servers.

>How-To-Repeat:
	Apply the included patch.
>Fix:

	
--- Makefile.orig	Mon Sep  3 05:51:14 2001
+++ Makefile	Sat Oct  6 22:50:21 2001
@@ -42,7 +42,7 @@
 #
 # - WITH_COURIER-IMAP	: IMP will work with courier-imap.
 #
-# These choice are mutually exclusive, and cyrus-imapd is the default.
+# These choice are mutually exclusive, and imap-uw is the default.
 #
 #-----------------------------------------------------------------------
 
@@ -63,20 +63,20 @@
 # I have no report about the support of dkimap4 by IMP,
 # but I shall be happy to add it if somebody report success with it.
 # If an IMAP server is already installed, we just record the dependence,
-# else we shall install cyrus-imapd.
+# else we shall install imap-uw.
 # IMAP servers are ordered according to my tastes, if several are
 # installed, we just record the first one.
 .if !defined(WITHOUT_IMAPSERVER)
-.if defined(WITH_CYRUS-IMAPD)
-RUN_DEPENDS+=	${LOCALBASE}/lib/libacap.a:${PORTSDIR}/mail/cyrus-imapd
-.elif defined(WITH_IMAP-UW)
+.if defined(WITH_IMAP-UW)
 RUN_DEPENDS+=	${LOCALBASE}/libexec/imapd:${PORTSDIR}/mail/imap-uw
+.elif defined(WITH_CYRUS-IMAPD)
+RUN_DEPENDS+=	${LOCALBASE}/lib/libacap.a:${PORTSDIR}/mail/cyrus-imapd
 .elif defined(WITH_CYRUS)
 RUN_DEPENDS+=	${LOCALBASE}/cyrus/:${PORTSDIR}/mail/cyrus
 .elif defined(WITH_COURIER-IMAP)
 RUN_DEPENDS+=	${LOCALBASE}/libexec/courier-imap/:${PORTSDIR}/mail/courier-imap
 .else
-RUN_DEPENDS+=	${LOCALBASE}/lib/libacap.a:${PORTSDIR}/mail/cyrus-imapd
+RUN_DEPENDS+=	${LOCALBASE}/libexec/imapd:${PORTSDIR}/mail/imap-uw
 .endif
 .endif
 
@@ -100,6 +100,7 @@
 
 LHORDEDIR?=	www/horde
 LIMPDIR?=	${LHORDEDIR}/imp
+HORDESBIN?=	${PREFIX}/sbin
 
 PLIST_SUB=	HORDEDIR=${LHORDEDIR} IMPDIR=${LIMPDIR}
 
@@ -173,6 +174,12 @@
 	${PERL} -pi -e "s:/bin/tar:/usr/bin/tar:g" ${IMPDIR}/config/defaults.php3.dist
 	${PERL} -pi -e "s:/usr/bin/zipinfo:${LOCALBASE}/bin/zipinfo:g" \
 			${IMPDIR}/config/defaults.php3.dist
+	${PERL} -pi -e "s:sh ./secure.sh:${HORDESBIN}/horde_secure.sh:g" \
+			${IMPDIR}/templates/index/imp_notconfigured.inc
+	${PERL} -pi -e "s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g" \
+			${IMPDIR}/templates/index/imp_notconfigured.inc
+	${PERL} -pi -e "s:sh ./secure.sh:${HORDESBIN}/horde_secure.sh:g" \
+			${HORDEDIR}/templates/setup/imp/write_file.inc
 	@if [ ! -f ${IMPDIR}/config/defaults.php3 ]; then \
 	    ${CP}     ${IMPDIR}/config/defaults.php3.dist ${IMPDIR}/config/defaults.php3; \
 	fi
>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?20011006213434.CEBEA7692>