summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/squirrelmail-devel/Makefile1
-rw-r--r--mail/squirrelmail-devel/files/patch-class-deliver-Deliver_SMTP.class.php12
-rw-r--r--mail/squirrelmail-devel/files/patch-functions-imap_messages.php12
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 {
+