~ubuntu-branches/ubuntu/vivid/awstats/vivid

« back to all changes in this revision

Viewing changes to .pc/1003_redirect_to_STDERR.patch/tools/maillogconvert.pl

  • Committer: Package Import Robot
  • Author(s): Sergey B Kirpichev
  • Date: 2013-03-29 01:06:00 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20130329010600-uij0bs2sh31jxe2g
Tags: 7.1.1~dfsg-1
New upstream release (Closes: #703596)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
# Defines
20
20
#-------------------------------------------------------
21
21
use vars qw/ $REVISION $VERSION /;
22
 
$REVISION='$Revision: 1.34 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
 
22
$REVISION='$Revision: 1.35 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
23
23
$VERSION="1.2 (build $REVISION)";
24
24
 
25
25
use vars qw/
572
572
        #
573
573
        # Matched MDaemon log file record
574
574
        #
575
 
        elsif (/^\"(\d\d\d\d)-(\d\d)-(\d\d) (\d\d:\d\d:\d\d)\",\"[^\"]*\",(\w+),\d+,\"([^\"]*)\",\"([^\"]*)\",\"([^\"]*)\",\"[^\"]*\",\"([^\"]*)\",\"([^\"]*)\",\"([^\"]*)\",([\.\d]+),(\d+),(\d+)/) {
 
575
    elsif (/^\"(\d\d\d\d)-(\d\d)-(\d\d) (\d\d:\d\d:\d\d)\",\"[^\"]*\",(\w+),\d+,\"([^\"]*)\",\"([^\"]*)\",\"([^\"]*)\",\"[^\"]*\",\"([^\"]*)\",\"([^\"]*)\",\"([^\"]*)\",(-?[\.\d]+),(\d+),(\d+)/) {
576
576
                # Example: "2003-11-06 00:00:42","2003-11-06 00:00:45",SMTPI,9443,"dillon_fm@aaaaa.net","cpeltier@domain.com","","","10.0.0.16","","",0,4563,1
577
577
                $MailType||='mdaemon';
578
578
                my ($id)=($numrecord);