Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331305 - www-apps/postfixadmin-2.3.1 bugfix version bump
Summary: www-apps/postfixadmin-2.3.1 bugfix version bump
Status: RESOLVED DUPLICATE of bug 336036
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL: http://sourceforge.net/projects/postf...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 11:31 UTC by renato gallo
Modified: 2010-10-22 10:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description renato gallo 2010-08-05 11:31:12 UTC
lots of bugs are solved in this new version

Reproducible: Always

Steps to Reproduce:
1.emerge postfixadmin

Actual Results:  
in portage the newest version is the 2.3

Expected Results:  
I would like to emerge postfixadmin 2.3.1
Comment 1 renato gallo 2010-08-05 11:33:55 UTC
and this is a patch for the last warning about the date function (I paste it here because I am at the office and I do not trust wordpad ):

--- backup.php  2009-10-24 02:11:09.000000000 +0200
+++ backup.php   2010-08-05 13:24:49.0000                                                                                                 00000 +0200
@@ -20,7 +20,8 @@
  *
  * Form POST \ GET Variables: -none-
  */
-
+date_default_timezone_set('Europe/Oslo');
+$date = date_default_timezone_get();
 require_once('common.php');

 authentication_require_role('global-admin');
@@ -55,7 +56,8 @@
 {
    umask (077);
    $path = (ini_get('upload_tmp_dir') != '') ? ini_get('upload_tmp_dir') : '/tm                                                                                                 p';
-   $filename = "postfixadmin-" . date ("Ymd") . "-" . getmypid() . ".sql";
+   #$filename = "postfixadmin-" . date ("Ymd") . "-" . getmypid() . ".sql";
+   $filename = "postfixadmin-" .  date('dmY') ."-" . getmypid() . ".sql";
    $backup = $path . DIRECTORY_SEPARATOR . $filename;

    $header = "#\n# Postfix Admin $version\n# Date: " . date ("D M j G:i:s T Y")                                                                                                  . "\n#\n";
Comment 2 renato gallo 2010-08-05 11:34:27 UTC
I am testing it on my server and it works like a charme without annoying warnings whatsoever
Comment 3 renato gallo 2010-10-03 11:12:23 UTC
bump ?
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-10-22 10:02:14 UTC
Thank you for report! I'll resolve this bug as duplicate of 336036 as bug 336036 has attachment to work with (although in reality that bug is duplicate of this :) ). The patch you pasted here does not apply in postfixadmin-2.3.2 and I think is not needed any more.

*** This bug has been marked as a duplicate of bug 336036 ***