diff options
author | rafan <rafan@FreeBSD.org> | 2007-03-20 22:53:03 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-03-20 22:53:03 +0800 |
commit | f267b6b2eb5d4051d8c72fe3ee7614916ef5638b (patch) | |
tree | 46c177e26f90bebbbf1c86502488fc584560f6ae /mail | |
parent | e3e6d37d45a13272d415e67cc22f2cc5f191f557 (diff) | |
download | freebsd-ports-gnome-f267b6b2eb5d4051d8c72fe3ee7614916ef5638b.tar.gz freebsd-ports-gnome-f267b6b2eb5d4051d8c72fe3ee7614916ef5638b.tar.zst freebsd-ports-gnome-f267b6b2eb5d4051d8c72fe3ee7614916ef5638b.zip |
- 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)
Diffstat (limited to 'mail')
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 { + |