squirrelmail/squirrelmail.patch

Wed, 08 Feb 2012 20:07:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Feb 2012 20:07:00 +0200
changeset 588
300d43423c2e
parent 159
5524672ebbe7
permissions
-rw-r--r--

Update version, adapt patch, correct PID writing, correct build on newer
FreeBSD releases, and most importantly introduce new patch to try to
avoid segfault caused by multiple network interfaces with the same (or
no) address. This is common when configuring bridges and tunnels.

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

mercurial