pkgsrc/mail/squirrelmail/patches/patch-aa
taca fff65a0a96 Update squirrelmail to 1.4.23pre14345, snap shot from squirrelmail's
repository.  Approved by wiz@.

* Now work well with PHP 5.4 and later.

Version 1.4.23 - SVN
--------------------
  - Added capability to issue SEARCH commands in literal format (so that
    non-ASCII search terms are handled RFC-correctly).
  - Fixed hook name clash: new "smtp_auth" hook added in version 1.4.22
    has been renamed to "smtp_authenticate"
  - Added SASL PLAIN mechanism for IMAP logins; backported from version
    1.5.2.
  - Prevent syslog warning in call_user_func_array() call when no
    arguments given.  Patch from Jean-Philippe Guerard (#3309935).
  - Changed the read_body_menu_top hook from concat_hook_function to
    do_hook_function (plugin authors please note)
  - Always ensure that the Reply-To header is a full email address in
    outgoing messages
  - Fixed issue with Noselect mailboxes being clickable in folder list
  - Made performance improvements in mailbox listing
  - Attachment filename extensions changed from ".msg" to ".eml"
  - Unified address book searches somewhat: file-backed address books now
    search in each field individually; database-backed address books now
    search in fields other than first/last name (nickname, email); LDAP-
    backed address books now search in common name fields as well as by
    email address (cn, sn, givenname, mail)
  - You may now enable LDAP-backed address books to be listed (using
    the "List all" button on the address search screen accessed via
    the "Addresses" button on the compose screen) by adding
    "$ldap_abook_allow_listing = TRUE;" (without quotes) to
    config/config_local.php (previously, this required editing of a
    file).
  - Added ability to control browser rendering mode (quirks versus
    standards) - see the $browser_rendering_mode setting in
    config/config.php or the "4. General Options ==> 19. Browser
    rendering mode" setting in the configuration tool (#3240356).
  - Added "search_index_before" hook (analog of the "mailbox_index_before"
    hook)
  - Made performance improvements in security token handling
  - Improvements for compatibility with PHP 5.4.
  - Added option that allows users to have replies to their own
    messages sent to the recipient of the previous message (#3520988).
2012-12-28 04:03:34 +00:00

42 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.17 2012/12/28 04:03:34 taca Exp $
Make this pkgsrc friendly.
--- config/config_default.php.orig 2012-12-24 15:11:12.000000000 +0000
+++ config/config_default.php
@@ -446,7 +446,7 @@ $default_sub_of_inbox = true;
* false. (Cyrus works fine whether it's true OR false).
* @global bool $show_contain_subfolders_option
*/
-$show_contain_subfolders_option = false;
+$show_contain_subfolders_option = true;
/**
* These next two options set the defaults for the way that the
@@ -487,7 +487,7 @@ $noselect_fix_enable = false;
* Here are two examples:
*
* Absolute:
- * $data_dir = '/var/local/squirrelmail/data/';
+ * $data_dir = '@USER_PREFS_DIR@/';
*
* Relative (to main SM directory):
* $data_dir = SM_PATH . 'data/';
@@ -496,7 +496,7 @@ $noselect_fix_enable = false;
*
* @global string $data_dir
*/
-$data_dir = '/var/local/squirrelmail/data/';
+$data_dir = '@USER_PREFS_DIR@/';
/**
* Attachments directory
@@ -514,7 +514,7 @@ $data_dir = '/var/local/squirrelmail/dat
* + It should probably be another directory than data_dir.
* @global string $attachment_dir
*/
-$attachment_dir = '/var/local/squirrelmail/attach/';
+$attachment_dir = '@ATTACHMENTS_DIR@/';
/**
* Hash level used for data directory.