Update to 1.4.4.
PR: ports/76886[1], ports/76584[2] Submitted by: Simon Dick <simond@irrelevant.org> (maintainer) [1] Joseph Scott <joseph@randomnetworks.com> [2]
This commit is contained in:
parent
7838f9a483
commit
d02b8823ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128287
4 changed files with 918 additions and 112 deletions
|
@ -6,11 +6,14 @@
|
|||
#
|
||||
|
||||
PORTNAME= squirrelmail
|
||||
PORTVERSION?= 1.4.3a
|
||||
PORTREVISION?= 5
|
||||
PORTVERSION?= 1.4.4
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES?= mail www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= squirrelmail
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
all_locales-${PORTVERSION}-20050122${EXTRACT_SUFX}
|
||||
DIST_SUBDIR= squirrelmail
|
||||
|
||||
MAINTAINER?= simond@irrelevant.org
|
||||
COMMENT?= A webmail system which accesses mail over IMAP
|
||||
|
@ -56,6 +59,7 @@ pre-everything::
|
|||
@${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} " (note that this does not install the database specific PEAR support, e.g. MySQL)"
|
||||
@${ECHO_CMD}
|
||||
|
||||
.if !target(slaveport-post-patch)
|
||||
|
@ -74,6 +78,7 @@ post-patch: slaveport-post-patch
|
|||
${MASTERDIR}/pkg-message > ${PKGMESSAGE}
|
||||
@${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/ispell|g' \
|
||||
${WRKSRC}/plugins/squirrelspell/sqspell_config.php
|
||||
@${RM} ${WRKSRC}/plugins/squirrelspell/sqspell_config.php.bak
|
||||
|
||||
# Rearrange the documentation
|
||||
do-build:
|
||||
|
@ -94,6 +99,9 @@ do-build:
|
|||
${RM} -f doc/plugins/squirrelspell/index.php ; \
|
||||
${RM} -rf plugins/squirrelspell/doc
|
||||
@${ECHO} "left_refresh=300" >> ${WRKSRC}/data/default_pref
|
||||
@${CP} -r ${WRKSRC}/../locale ${WRKSRC}
|
||||
@${CP} -r ${WRKSRC}/../images ${WRKSRC}
|
||||
@${CP} -r ${WRKSRC}/../help ${WRKSRC}
|
||||
|
||||
pre-install:
|
||||
@${ECHO} "Your umask should be lax while installing this. Like, 022 or something."
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
MD5 (squirrelmail-1.4.3a.tar.bz2) = 9564fed8b8dc6fc75d5ac31825569a77
|
||||
SIZE (squirrelmail-1.4.3a.tar.bz2) = 2254039
|
||||
MD5 (squirrelmail/squirrelmail-1.4.4.tar.bz2) = 285b42bec8967b88ef3c083fcad18634
|
||||
SIZE (squirrelmail/squirrelmail-1.4.4.tar.bz2) = 468790
|
||||
MD5 (squirrelmail/all_locales-1.4.4-20050122.tar.bz2) = ec7f97d77c706135571732ac7accf961
|
||||
SIZE (squirrelmail/all_locales-1.4.4-20050122.tar.bz2) = 2804548
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
diff -urN functions/mime.php functions/mime.php
|
||||
--- functions/mime.php 2004-05-23 19:14:11.000000000 +0300
|
||||
+++ functions/mime.php 2004-11-03 19:16:50.000000000 +0200
|
||||
@@ -602,13 +602,22 @@
|
||||
}
|
||||
$iLastMatch = $i;
|
||||
$j = $i;
|
||||
- $ret .= $res[1];
|
||||
+ if ($htmlsave) {
|
||||
+ $ret .= htmlspecialchars($res[1]);
|
||||
+ } else {
|
||||
+ $ret .= $res[1];
|
||||
+ }
|
||||
$encoding = ucfirst($res[3]);
|
||||
switch ($encoding)
|
||||
{
|
||||
case 'B':
|
||||
$replace = base64_decode($res[4]);
|
||||
- $ret .= charset_decode($res[2],$replace);
|
||||
+ if ($utfencode) {
|
||||
+ $replace = charset_decode($res[2],$replace);
|
||||
+ } elseif ($htmlsave) {
|
||||
+ $replace = htmlspecialchars($replace);
|
||||
+ }
|
||||
+ $ret .= $replace;
|
||||
break;
|
||||
case 'Q':
|
||||
$replace = str_replace('_', ' ', $res[4]);
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue