Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2015 18:04:53 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398550 - in head/mail/squirrelmail: . files
Message-ID:  <201510031804.t93I4rVa040098@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Oct  3 18:04:52 2015
New Revision: 398550
URL: https://svnweb.freebsd.org/changeset/ports/398550

Log:
  ispell isn't available in FreeBSD and hasn't been for quite some time.
  Change references to ispell into aspell, which is readily available.
  
  PR:		202980
  Submitted by:	mcdouga9@egr.msu.edu

Added:
  head/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php   (contents, props changed)
Modified:
  head/mail/squirrelmail/Makefile

Modified: head/mail/squirrelmail/Makefile
==============================================================================
--- head/mail/squirrelmail/Makefile	Sat Oct  3 17:52:07 2015	(r398549)
+++ head/mail/squirrelmail/Makefile	Sat Oct  3 18:04:52 2015	(r398550)
@@ -3,7 +3,7 @@
 
 PORTNAME=	squirrelmail
 PORTVERSION=	20150324
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail www
 MASTER_SITES=	LOCAL/adamw/squirrelmail
 DISTNAME=	${PORTNAME}-${PORTVERSION}_0200-SVN.stable
@@ -52,7 +52,7 @@ DATABASE_RUN_DEPENDS=	${LOCALBASE}/share
 LDAP_USE=	PHP=ldap
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/ispell|g' \
+	@${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/aspell|g' \
 		${WRKSRC}/plugins/squirrelspell/sqspell_config.php
 	@${REINPLACE_CMD} -e 's|/usr/bin/fortune|/usr/games/fortune|g' \
 		${WRKSRC}/plugins/fortune/fortune_functions.php

Added: head/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php	Sat Oct  3 18:04:52 2015	(r398550)
@@ -0,0 +1,12 @@
+--- plugins/squirrelspell/sqspell_config.php.orig	2015-10-03 17:59:19 UTC
++++ plugins/squirrelspell/sqspell_config.php
+@@ -22,9 +22,6 @@ sqgetGlobalVar('username', $username, SQ
+  *
+  * $SQSPELL_APP = array( 'English' => 'ispell -a',
+  *                     'Spanish' => 'ispell -d spanish -a' );
+- * You can replace ispell with aspell keeping the same commandline:
+- * $SQSPELL_APP = array( 'English' => 'aspell -a',
+- *                     'Spanish' => 'aspell -d spanish -a' );
+  */
+ $SQSPELL_APP = array('English' => 'ispell -a',
+ 			'Spanish' => 'ispell -d spanish -a');



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