Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Dec 2004 14:13:44 +0000
From:      Simon Dick <simond@irrelevant.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/74850: Maintainer port update: mail/squirrelmail
Message-ID:  <E1Cc2Zc-0003FO-1k@home.irrelevant.org>
Resent-Message-ID: <200412081420.iB8EKOrF055285@freefall.freebsd.org>

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

>Number:         74850
>Category:       ports
>Synopsis:       Maintainer 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:   Wed Dec 08 14:20:24 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@nelly.internal.irrelevant.org:/usr/obj/usr/src/sys/ELEPHANT i386


	
>Description:

Fix two problems:
1) Hard code a path to ispell so it'll work out the box if ispell is installed.
   (pointed out by Harold Paulson <haroldp@internal.org>)
2) Add pear-DB as a requirement when installing with database support
   (pointed out by Andryan <andryan@makeworld.net>)

>How-To-Repeat:
>Fix:

diff -ruN squirrelmail.orig/Makefile squirrelmail/Makefile
--- squirrelmail.orig/Makefile	Wed Dec  8 10:16:37 2004
+++ squirrelmail/Makefile	Wed Dec  8 14:06:36 2004
@@ -24,6 +24,7 @@
 
 .ifdef WITH_DATABASE
 WANT_PHP_PEAR=	yes
+RUN_DEPENDS+=	${PREFIX}/share/pear/DB.php:${PORTSDIR}/pear-DB
 .endif
 
 .ifdef WITH_LDAP
diff -ruN squirrelmail.orig/files/patch-sqspell_config.php squirrelmail/files/patch-sqspell_config.php
--- squirrelmail.orig/files/patch-sqspell_config.php	Thu Jan  1 01:00:00 1970
+++ squirrelmail/files/patch-sqspell_config.php	Wed Dec  8 14:08:24 2004
@@ -0,0 +1,13 @@
+--- plugins/squirrelspell/sqspell_config.php.orig	Tue Feb 24 15:57:34 2004
++++ plugins/squirrelspell/sqspell_config.php	Wed Dec  8 14:07:38 2004
+@@ -23,8 +23,8 @@
+  * $SQSPELL_APP = array( 'English' => 'ispell -a',
+  *                     'Spanish' => 'ispell -d spanish -a' );
+  */
+-$SQSPELL_APP = array('English' => 'ispell -a',
+-			'Spanish' => 'ispell -d spanish -a');
++$SQSPELL_APP = array('English' => '/usr/local/bin/ispell -a',
++			'Spanish' => '/usr/local/bin/ispell -d spanish -a');
+ $SQSPELL_APP_DEFAULT = 'English';
+ $SQSPELL_WORDS_FILE = 
+    getHashedFile($username, $data_dir, "$username.words");
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Cc2Zc-0003FO-1k>