Gentoo Archives: gentoo-commits

From: "Tobias Scherbaum (dertobi123)" <dertobi123@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nagios-plugins/files: nagios-plugins-1.4.10-contrib.patch digest-nagios-plugins-1.4.10 digest-nagios-plugins-1.4.9
Date: Sat, 29 Sep 2007 09:19:48
Message-Id: E1IbYLk-0007zm-LG@stork.gentoo.org
1 dertobi123 07/09/29 09:11:00
2
3 Added: nagios-plugins-1.4.10-contrib.patch
4 digest-nagios-plugins-1.4.10
5 Removed: digest-nagios-plugins-1.4.9
6 Log:
7 Version bump, fix quoting, 1.4.10 fixes a buffer overflow vulnerability in its check_http plugin
8 (Portage version: 2.1.3.9)
9
10 Revision Changes Path
11 1.1 net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-contrib.patch
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-contrib.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-contrib.patch?rev=1.1&content-type=text/plain
15
16 Index: nagios-plugins-1.4.10-contrib.patch
17 ===================================================================
18 diff -Naur nagios-plugins-1.4.10.orig/contrib/check_dns_random.pl nagios-plugins-1.4.10/contrib/check_dns_random.pl
19 --- nagios-plugins-1.4.10.orig/contrib/check_dns_random.pl 2003-01-29 06:27:20.000000000 +0100
20 +++ nagios-plugins-1.4.10/contrib/check_dns_random.pl 2007-09-29 10:57:38.000000000 +0200
21 @@ -1,4 +1,4 @@
22 -#!/usr/bin/perl
23 +#!/usr/bin/perl -w
24 # ------------------------------------------------------------------------------
25 # File Name: check_dns_random.pl
26 # Author: Richard Mayhew - South Africa
27 @@ -33,9 +33,9 @@
28
29 my $host = shift || &usage;
30
31 -my $domainfile = "/usr/local/nagios/etc/domains.list";
32 +my $domainfile = "/etc/nagios/domains.list";
33 my $wc = `/usr/bin/wc -l $domainfile`;
34 -my $check = "/usr/local/nagios/libexec/check_dns";
35 +my $check = "/usr/nagios/libexec/check_dns";
36 my $x = 0;
37 my $srv_file = "";
38 my $z = "";
39 @@ -49,8 +49,7 @@
40 my @data = split(/\n/,$srv_file);
41
42 chomp $wc;
43 -$wc =~ s/ //g;
44 -$wc =~ s/domains//g;
45 +$wc =~ s/([[:digit:]]+) .*/$1/g;
46
47 $x = rand $wc;
48 ($z,$y) = split(/\./,$x);
49 diff -Naur nagios-plugins-1.4.10.orig/contrib/check_linux_raid.pl nagios-plugins-1.4.10/contrib/check_linux_raid.pl
50 --- nagios-plugins-1.4.10.orig/contrib/check_linux_raid.pl 2007-08-28 05:19:45.000000000 +0200
51 +++ nagios-plugins-1.4.10/contrib/check_linux_raid.pl 2007-09-29 10:57:50.000000000 +0200
52 @@ -23,7 +23,7 @@
53 # WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min
54
55 use strict;
56 -use lib "/usr/local/nagios/libexec";
57 +use lib "/usr/nagios/libexec";
58 use utils qw(%ERRORS);
59
60 # die with an error if we're not on Linux
61
62
63
64 1.1 net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.10
65
66 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.10?rev=1.1&view=markup
67 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.10?rev=1.1&content-type=text/plain
68
69 Index: digest-nagios-plugins-1.4.10
70 ===================================================================
71 MD5 c67841223864ae1626ab2adb2f0b4c9d nagios-plugins-1.4.10.tar.gz 1693979
72 RMD160 8f8167f07d6162165d7cb38c9c09ebff418151bd nagios-plugins-1.4.10.tar.gz 1693979
73 SHA256 193ef480cd2b98d63de9183a83e277d6ef3b55032f44bd76616ef5e7a3d4a76e nagios-plugins-1.4.10.tar.gz 1693979
74
75
76
77 --
78 gentoo-commits@g.o mailing list