squirrelmail/squirrelmail.patch

Sat, 24 Mar 2012 21:40:49 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 24 Mar 2012 21:40:49 +0100
changeset 414
fd611cde817f
parent 159
5524672ebbe7
permissions
-rw-r--r--

Introduce many changes to the buildconf and source code including:
(01) clean up, update, and partially update default config files,
(02) seems that Melware is unable to perform release engineering so
update chan_capi to new daily snapshot to solve echo problems,
(03) correct Asterisk inadequate hard coded gmime version check,
(04) force postgresql pthreads linkage to solve build problem,
(05) remove buggy hard coded LibXML configure definitions,
(06) remove local architecture specification to allow GCC
internal logic to determine proper CPU type instead,
(07) remove vendor sound install target causing uncontrolled
downloads and non RPM managed file installation,
(08) solve long outstanding bug in tcptls causing Asterisk
to ignore any intermediate CA certificate signatures,
(09) back out Digium engineering team's bright idea of replacing the
very portable and pervasive POSIX rand(1) with ast_random(), and
then not even implementing it causing all references to fail in
platforms not providing the very new POSIX.1-2008 mkdtemp(3)
function only distributed by BSD and some Linux,
(10) withdraw advanced linker symbol manipulations from SVR5 builds
until either Binutils supports hybrid versioned and anonymous
linker scripts or GCC stops hard coding versioned linker scripts,
(11) correct missing library linkage, some tailored to a specific OS,
(12) remove outdated logic for the no longer distributed gmime-config(1),
(13) remove local gmime buildconf hacks now that Asterisk has corrected
their own build configuration to almost portably support gmime,
(14) solve build problems relating to undetected LibXML paths,
(15) correct erroneous out of tree include definitions,
(16) improve some variable and comment naming,
(17) simplify sound language path hierarchy creation,
and correct australian english installation logic.

     1 Index: functions/display_messages.php
     2 --- functions/display_messages.php.orig	2005-03-21 23:18:32 +0100
     3 +++ functions/display_messages.php	2005-07-30 21:15:29 +0200
     4 @@ -97,8 +97,8 @@
     5               "\"$width_and_height /><br />\n";
     6      }
     7      echo ( $hide_sm_attributions ? '' :
     8 -            '<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />'.
     9 -            _("By the SquirrelMail Project Team") . "<br /></small>\n" ).
    10 +            '<br />'.
    11 +            "<br />\n" ).
    12           '<table cellspacing="1" cellpadding="0" bgcolor="'.$color[1].'" width="70%">'.
    13           '<tr><td>'.
    14           '<table width="100%" border="0" bgcolor="'.$color[4].'" align="center">'.
    15 Index: functions/imap_general.php
    16 --- functions/imap_general.php.orig	2005-05-20 12:37:34 +0200
    17 +++ functions/imap_general.php	2005-07-30 21:14:27 +0200
    18 @@ -618,6 +618,7 @@
    20                  set_up_language($squirrelmail_language, true);
    21                  include_once(SM_PATH . 'functions/display_messages.php' );
    22 +                do_hook('invalid_login'); /* used with squirrelmail_logger */
    23                  sqsession_destroy();
    24                  /* terminate the session nicely */
    25                  sqimap_logout($imap_stream);
    26 Index: src/login.php
    27 --- src/login.php.orig	2005-06-22 15:45:35 +0200
    28 +++ src/login.php	2005-07-30 21:15:39 +0200
    29 @@ -198,8 +198,8 @@
    30                  ' /><br />' . "\n"
    31                : '' ).
    32              ( (isset($hide_sm_attributions) && $hide_sm_attributions) ? '' :
    33 -            '<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />' ."\n".
    34 -            '  ' . _("By the SquirrelMail Project Team") . '<br /></small>' . "\n" ) .
    35 +            '<br />' ."\n".
    36 +            '<br />' . "\n" ) .
    37              html_tag( 'table',
    38                  html_tag( 'tr',
    39                      html_tag( 'td',
    40 Index: src/right_main.php
    41 --- src/right_main.php.orig	2005-06-15 23:12:05 +0200
    42 +++ src/right_main.php	2005-07-30 21:14:27 +0200
    43 @@ -194,6 +194,7 @@
    44                               )
    45                          ) ,
    46                      'center', $color[9], 'width="70%" cellpadding="0" cellspacing="3" border="0"' );
    47 +            echo "<br />\n";
    48          }
    49      }
    50  }

mercurial