ports/69346: Mainainer port update: mail/squirrelmail

Simon Dick simond at irrelevant.org
Tue Jul 20 15:50:31 UTC 2004


>Number:         69346
>Category:       ports
>Synopsis:       Mainainer port update: mail/squirrelmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 20 15:50:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Simon Dick
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD nelly.internal.irrelevant.org 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #5: Sat Feb 7 07:48:58 GMT 2004 root at nelly.internal.irrelevant.org:/usr/obj/usr/src/sys/ELEPHANT i386


	
>Description:

Update mail/squirrelmail to use new PHP framework

>How-To-Repeat:
	
>Fix:

diff -ruN squirrelmail.orig/Makefile squirrelmail/Makefile
--- squirrelmail.orig/Makefile	Tue Jul 20 16:12:32 2004
+++ squirrelmail/Makefile	Tue Jul 20 16:24:37 2004
@@ -16,11 +16,19 @@
 
 CONFLICTS?=	ja-squirrelmail-1.*
 
-USE_PHP=	yes
+USE_PHP=	session mhash gettext mbstring
 WANT_PHP_WEB=	yes
 
 USE_BZIP2=	yes
 
+.ifdef WITH_DATABASE
+WANT_PHP_PEAR=	yes
+.endif
+
+.ifdef WITH_LDAP
+USE_PHP=	${USE_PHP} ldap
+.endif
+
 .ifndef WITHOUT_WWWDIR
 SQUIRRELDIR?=	${PREFIX}/www/squirrelmail
 .else
@@ -42,6 +50,9 @@
 	@${ECHO_CMD} "SquirrelMail is installed into ${SQUIRRELDIR}"
 	@${ECHO_CMD} "To use the old location ${PREFIX}/squirrelmail define"
 	@${ECHO_CMD} "WITHOUT_WWWDIR when patching or installing"
+	@${ECHO_CMD}
+	@${ECHO_CMD} "Use WITH_LDAP to ensure PHP LDAP support is installed"
+	@${ECHO_CMD} "Use WITH_DATABASE to ensure PEAR framework for database support is installed"
 	@${ECHO_CMD}
 
 .if !target(slaveport-post-patch)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list