[Pkg-nagios-devel] nagios-plugins/debian/patches 00list, 1.12,
1.13 20_check_ntp_lessbeastlyregex.dpatch, NONE, 1.1
seanius at haydn.debian.org
seanius at haydn.debian.org
Tue Oct 11 15:16:37 UTC 2005
Update of /cvsroot/pkg-nagios/nagios-plugins/debian/patches
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv19352/debian/patches
Modified Files:
00list
Added Files:
20_check_ntp_lessbeastlyregex.dpatch
Log Message:
what the heck, let's include this too, before release.
Index: 00list
===================================================================
RCS file: /cvsroot/pkg-nagios/nagios-plugins/debian/patches/00list,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- 00list 11 Oct 2005 09:54:02 -0000 1.12
+++ 00list 11 Oct 2005 15:16:34 -0000 1.13
@@ -9,3 +9,4 @@
17_check_smb_freespace.dpatch
18_check_game_cmdline.dpatch
19_check_disk_subdirs.dpatch
+20_check_ntp_lessbeastlyregex.dpatch
--- NEW FILE: 20_check_ntp_lessbeastlyregex.dpatch ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_check_ntp_lessbeastlyregex.dpatch by <seanius at debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad nagios-plugins~/plugins-scripts/check_ntp.pl nagios-plugins/plugins-scripts/check_ntp.pl
--- nagios-plugins~/plugins-scripts/check_ntp.pl 2005-05-25 16:05:41.000000000 +0200
+++ nagios-plugins/plugins-scripts/check_ntp.pl 2005-10-11 16:57:37.000000000 +0200
@@ -293,7 +293,7 @@
}
# match sys.peer or pps.peer
- if (/^(\*|o)([-0-9.\s]+)\s+([-0-9A-Za-z_().]+)\s+([-0-9.]+)\s+([lumb-]+)\s+([-0-9hm.]+)\s+([-0-9.mh]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)/) {
+ if (/^(\*|o)(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)/) {
$syspeer = $2;
$stratum = $4;
$jitter = $11;
More information about the Pkg-nagios-devel
mailing list