rpms/xpilot-ng/devel logwatch.script.xpilot, 1.1, 1.2 xpilot-ng.spec, 1.10, 1.11

Michael Thomas (wart) fedora-extras-commits at redhat.com
Fri Feb 23 18:17:36 UTC 2007


Author: wart

Update of /cvs/extras/rpms/xpilot-ng/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24239/devel

Modified Files:
	logwatch.script.xpilot xpilot-ng.spec 
Log Message:
Update logwatch script with a previously unknown log field




Index: logwatch.script.xpilot
===================================================================
RCS file: /cvs/extras/rpms/xpilot-ng/devel/logwatch.script.xpilot,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- logwatch.script.xpilot	23 Feb 2007 05:07:27 -0000	1.1
+++ logwatch.script.xpilot	23 Feb 2007 18:17:03 -0000	1.2
@@ -28,13 +28,13 @@
    chomp($ThisLine);
    if ( ($Msg) = ($ThisLine =~ /Server runs at .*$/)) {
       $Start{$Msg}++;
-   } elsif ( ($pilot,$user,$ip,$version) = ($ThisLine =~ /Welcome ([^=]+)=([^|]+)\| \(([^\)]+)\) \(([^\)]+)\)$/)) {
+   } elsif ( ($pilot,$user,$ip,$version) = ($ThisLine =~ /Welcome ([^=]+)=([^|]+)\|.* \(([^\)]+)\) \(([^\)]+)\)$/)) {
       $Login{$pilot}{$user}{$ip}{$version}++;
    } elsif ( ($pilot) = ($ThisLine =~ /([^ ]+) \(\d+\) starts at startpos/)) {
       $TakeChar{$pilot}++;
    } elsif ( ($ip) = ($ThisLine =~ /Checking Address:\((.*)\)$/)) {
       $Ping{$ip}++;
-   } elsif ( ($pilot,$user,$reason) = ($ThisLine =~ /Goodbye ([^=]+)=([^|]+)\| \((.*)\)$/)) {
+   } elsif ( ($pilot,$user,$reason) = ($ThisLine =~ /Goodbye ([^=]+)=([^|]+)\|.* \((.*)\)$/)) {
       $Logout{$pilot}{$user}{$reason}++;
    }  
 }


Index: xpilot-ng.spec
===================================================================
RCS file: /cvs/extras/rpms/xpilot-ng/devel/xpilot-ng.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- xpilot-ng.spec	23 Feb 2007 05:07:27 -0000	1.10
+++ xpilot-ng.spec	23 Feb 2007 18:17:03 -0000	1.11
@@ -7,7 +7,7 @@
 
 Name:           xpilot-ng
 Version:        4.7.2
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Multiplayer space arcade game
 
 Group:          Amusements/Games
@@ -267,6 +267,9 @@
 %{logwatch_scripts}/shared/applyxpilotdate
 
 %changelog
+* Fri Feb 23 2007 Wart <wart at kobold.org> 4.7.2-12
+- Update logwatch script with a previously unknown log field
+
 * Thu Feb 22 2007 Wart <wart at kobold.org> 4.7.2-11
 - Add patch to prevent crash when running with robots not in idle mode
 - Added logwatch files




More information about the fedora-extras-commits mailing list