diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-20 14:53:03 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-20 14:53:03 +0000 |
commit | 32d1173dbca478bab65a08a5b3a3a1f0394adf2f (patch) | |
tree | 133a376d6ca5e1993d784d34d3ab43b3c5716a74 /mail/squirrelmail-devel | |
parent | upgrade to 2.1.1 (diff) |
- Fix error while reading an already read mail which is caused by
incorrect constant passed to preg_split()
- Correct recipient address in return receipt
These are submitted to upstream, too.
PR: ports/108519, ports/108521
Submitted by: Cristian KLEIN <cristi at net.utcluj.ro>
Approved by: maintainer timeout (7 weeks)
Notes
Notes:
svn path=/head/; revision=187794
Diffstat (limited to 'mail/squirrelmail-devel')
3 files changed, 25 insertions, 0 deletions
diff --git a/mail/squirrelmail-devel/Makefile b/mail/squirrelmail-devel/Makefile index 25aea698e108..e1d2ca1cd15f 100644 --- a/mail/squirrelmail-devel/Makefile +++ b/mail/squirrelmail-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= squirrelmail PORTVERSION= 1.5.1 +PORTREVISION= 1 CATEGORIES= mail www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/mail/squirrelmail-devel/files/patch-class-deliver-Deliver_SMTP.class.php b/mail/squirrelmail-devel/files/patch-class-deliver-Deliver_SMTP.class.php new file mode 100644 index 000000000000..d3d024faf4a1 --- /dev/null +++ b/mail/squirrelmail-devel/files/patch-class-deliver-Deliver_SMTP.class.php @@ -0,0 +1,12 @@ +--- class/deliver/Deliver_SMTP.class.php.orig Sat Jan 28 21:24:07 2006 ++++ class/deliver/Deliver_SMTP.class.php Mon Nov 13 16:26:14 2006 +@@ -69,7 +69,7 @@ + $this->authPop($host, '', $user, $pass); + } + +- $rfc822_header = $message->rfc822_header; ++ $rfc822_header = unserialize(serialize($message->rfc822_header)); + + $from = $rfc822_header->from[0]; + $to = $rfc822_header->to; + diff --git a/mail/squirrelmail-devel/files/patch-functions-imap_messages.php b/mail/squirrelmail-devel/files/patch-functions-imap_messages.php new file mode 100644 index 000000000000..99bae8349db3 --- /dev/null +++ b/mail/squirrelmail-devel/files/patch-functions-imap_messages.php @@ -0,0 +1,12 @@ +--- functions/imap_messages.php.orig Sun Feb 12 20:21:50 2006 ++++ functions/imap_messages.php Mon Jan 22 20:14:11 2007 +@@ -923,7 +923,7 @@ + if ($read) { + if (preg_match('/.+FLAGS\s\((.*)\)\s/AUi',$read[0],$regs)) { + if (trim($regs[1])) { +- $flags = preg_split('/ /', $regs[1],-1,'PREG_SPLIT_NI_EMPTY'); ++ $flags = preg_split('/ /', $regs[1],-1,PREG_SPLIT_NO_EMPTY); + } + } + } else { + |