ports/74850: Maintainer port update: mail/squirrelmail
Simon Dick
simond at irrelevant.org
Wed Dec 8 14:20:25 UTC 2004
>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 at 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 at internal.org>)
2) Add pear-DB as a requirement when installing with database support
(pointed out by Andryan <andryan at 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:
More information about the freebsd-ports-bugs
mailing list