diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2013-12-08 18:59:35 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2013-12-08 18:59:35 +0000 |
commit | 6ad04afc409a856c97a021b0172cf4c185d7e1aa (patch) | |
tree | bc716771127abae434b8aff46551e491a89f926c /mail/squirrelmail-sasql-plugin/files/patch-sasql_hooks.php | |
parent | SchwarzWeiss is german and means "black/white". (diff) |
Create a generic PKGMESSAGE, and use it where appropriate.
Make sure that bsd.port.pre.mk is included before bsd.squirrelmail.mk.
For ports with maintainers, I haven't switched you to the new
PKGMESSAGE, but I have corrected paths in pkg-message.in where
necessary. I also got a little over-zealous in cleaning redundant
definitions from the headers. Apologies in advance if this rubs
you the wrong way.
Notes
Notes:
svn path=/head/; revision=335921
Diffstat (limited to 'mail/squirrelmail-sasql-plugin/files/patch-sasql_hooks.php')
-rw-r--r-- | mail/squirrelmail-sasql-plugin/files/patch-sasql_hooks.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/mail/squirrelmail-sasql-plugin/files/patch-sasql_hooks.php b/mail/squirrelmail-sasql-plugin/files/patch-sasql_hooks.php deleted file mode 100644 index 3867c8b945ce..000000000000 --- a/mail/squirrelmail-sasql-plugin/files/patch-sasql_hooks.php +++ /dev/null @@ -1,31 +0,0 @@ -diff -Nur sasql.orig/sasql_hooks.php sasql/sasql_hooks.php ---- sasql.orig/sasql_hooks.php 2006-11-09 21:29:21.000000000 +0100 -+++ sasql/sasql_hooks.php 2006-12-10 12:13:12.000000000 +0100 -@@ -74,23 +74,23 @@ - - if (!sqimap_mailbox_exists($imap_stream, $mailbox)) { - sqimap_mailbox_create($imap_stream, $mailbox, ''); -- if ($imap_server_type == 'cyrus') { -+ if ($imap_server_type == 'cyrus' || $imap_server_type == 'courier') { - $boxes = sqimap_mailbox_list($imap_stream); - } else { - $boxes = sqimap_mailbox_list($imap_stream, true); - } -- session_register($boxes, 'boxesnew'); -+ sqsession_register($boxes, 'boxesnew'); - // echo "<foo sasql created: $box />"; - } - - if (!sqimap_mailbox_is_subscribed($imap_stream, $mailbox)) { - sqimap_subscribe($imap_stream, $mailbox); -- if ($imap_server_type == 'cyrus') { -+ if ($imap_server_type == 'cyrus' || $imap_server_type == 'courier') { - $boxes = sqimap_mailbox_list($imap_stream); - } else { - $boxes = sqimap_mailbox_list($imap_stream, true); - } -- session_register($boxes, 'boxesnew'); -+ sqsession_register($boxes, 'boxesnew'); - // echo "<foo sasql subscried: $box />"; - } - } |