postfix-mailgraph/postfix-mailgraph.patch

Sun, 19 Apr 2009 14:07:25 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 19 Apr 2009 14:07:25 +0200
changeset 171
b72f2be1f619
child 199
bf21249327af
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

     1 Index: mailgraph.cgi
     2 --- mailgraph.cgi.orig	2007-08-29 11:06:01 +0200
     3 +++ mailgraph.cgi	2007-08-29 19:05:41 +0200
     4 @@ -160,7 +160,7 @@
     5  <html>
     6  <head>
     7  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     8 -<title>Mail statistics for $host</title>
     9 +<title>Postfix Mail statistics for $host</title>
    10  <meta http-equiv="Refresh" content="300" />
    11  <meta http-equiv="Pragma" content="no-cache" />
    12  <link rel="stylesheet" href="mailgraph.css" type="text/css" />
    13 @@ -168,7 +168,7 @@
    14  <body>
    15  HEADER
    17 -	print "<h1>Mail statistics for $host</h1>\n";
    18 +	print "<h1>Postfix Mail statistics for $host</h1>\n";
    20  	print "<ul id=\"jump\">\n";
    21  	for my $n (0..$#graphs) {
    22 @@ -183,13 +183,6 @@
    23  	}
    25  	print <<FOOTER;
    26 -<hr/>
    27 -<table><tr><td>
    28 -<a href="http://mailgraph.schweikert.ch/">Mailgraph</a> $VERSION
    29 -by <a href="http://david.schweikert.ch/">David Schweikert</a></td>
    30 -<td align="right">
    31 -<a href="http://oss.oetiker.ch/rrdtool/"><img src="http://oss.oetiker.ch/rrdtool/.pics/rrdtool.gif" alt="" width="120" height="34"/></a>
    32 -</td></tr></table>
    33  </body></html>
    34  FOOTER
    35  }
    36 Index: mailgraph.pl
    37 --- mailgraph.pl.orig	2007-08-29 11:06:01 +0200
    38 +++ mailgraph.pl	2007-08-29 19:03:59 +0200
    39 @@ -211,6 +211,8 @@
    40              \s
    41              ([-\w\.\@:]+)        # host  -- 6
    42              \s+
    43 +            <[^>]+>              # OSSP fsl log level
    44 +            \s+
    45              (?:\[LOG_[A-Z]+\]\s+)?  # FreeBSD
    46              (.*)                 # text  -- 7
    47              $/x or do

mercurial