summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2007-05-11 17:44:20 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2007-05-11 17:44:20 +0000
commitda998b9965335ba4d5c1e88c41b895ba094ebd68 (patch)
tree2dae83f35a67587755e5807f23d8a3c8137f77fe /net-analyzer/nagios-plugins/files
parentChange check not to use svn-config as it doesn't get installed by Subversion ... (diff)
downloadhistorical-da998b9965335ba4d5c1e88c41b895ba094ebd68.tar.gz
historical-da998b9965335ba4d5c1e88c41b895ba094ebd68.tar.bz2
historical-da998b9965335ba4d5c1e88c41b895ba094ebd68.zip
revbump, bug #178076 by Serhij S. Stasyuk
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-analyzer/nagios-plugins/files')
-rw-r--r--net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.8-r13
-rw-r--r--net-analyzer/nagios-plugins/files/nagios-plugins-1.4-contrib.patch43
-rw-r--r--net-analyzer/nagios-plugins/files/nagios-plugins-1.4.8-mysql.patch12
3 files changed, 58 insertions, 0 deletions
diff --git a/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.8-r1 b/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.8-r1
new file mode 100644
index 000000000000..73aa45de0e8a
--- /dev/null
+++ b/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.8-r1
@@ -0,0 +1,3 @@
+MD5 ab16f99f8bd8a9b2897d003d3ba7024e nagios-plugins-1.4.8.tar.gz 1356563
+RMD160 28754b5e09ef0617530fdc6f54c62f5f94c0bd03 nagios-plugins-1.4.8.tar.gz 1356563
+SHA256 ce59972199049e587f2ee078888beb3824a6612d75a8efc9feaafe64d6ee83ef nagios-plugins-1.4.8.tar.gz 1356563
diff --git a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4-contrib.patch b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4-contrib.patch
new file mode 100644
index 000000000000..c3f34cc592fa
--- /dev/null
+++ b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4-contrib.patch
@@ -0,0 +1,43 @@
+diff -Nru nagios-plugins-1.4.8.orig/contrib/check_dns_random.pl nagios-plugins-1.4.8/contrib/check_dns_random.pl
+--- nagios-plugins-1.4.8.orig/contrib/check_dns_random.pl 2003-01-29 07:27:20.000000000 +0200
++++ nagios-plugins-1.4.8/contrib/check_dns_random.pl 2007-05-11 18:58:36.000000000 +0300
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/bin/perl -w
+ # ------------------------------------------------------------------------------
+ # File Name: check_dns_random.pl
+ # Author: Richard Mayhew - South Africa
+@@ -33,9 +33,9 @@
+
+ my $host = shift || &usage;
+
+-my $domainfile = "/usr/local/nagios/etc/domains.list";
++my $domainfile = "/etc/nagios/domains.list";
+ my $wc = `/usr/bin/wc -l $domainfile`;
+-my $check = "/usr/local/nagios/libexec/check_dns";
++my $check = "/usr/nagios/libexec/check_dns";
+ my $x = 0;
+ my $srv_file = "";
+ my $z = "";
+@@ -49,8 +49,7 @@
+ my @data = split(/\n/,$srv_file);
+
+ chomp $wc;
+-$wc =~ s/ //g;
+-$wc =~ s/domains//g;
++$wc =~ s/([[:digit:]]+) .*/$1/g;
+
+ $x = rand $wc;
+ ($z,$y) = split(/\./,$x);
+diff -Nru nagios-plugins-1.4.8.orig/contrib/check_linux_raid.pl nagios-plugins-1.4.8/contrib/check_linux_raid.pl
+--- nagios-plugins-1.4.8.orig/contrib/check_linux_raid.pl 2006-06-07 17:28:33.000000000 +0300
++++ nagios-plugins-1.4.8/contrib/check_linux_raid.pl 2007-05-11 18:45:52.000000000 +0300
+@@ -23,7 +23,7 @@
+ # WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min
+
+ use strict;
+-use lib utils.pm;
++use lib '/usr/nagios/libexec';
+ use utils qw(%ERRORS);
+
+ # die with an error if we're not on Linux
diff --git a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.8-mysql.patch b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.8-mysql.patch
new file mode 100644
index 000000000000..ca26a1f6d4f1
--- /dev/null
+++ b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.8-mysql.patch
@@ -0,0 +1,12 @@
+diff -Nru nagios-plugins-1.4.8.orig/configure.in nagios-plugins-1.4.8/configure.in
+--- nagios-plugins-1.4.8.orig/configure.in 2007-04-11 15:08:05.000000000 +0300
++++ nagios-plugins-1.4.8/configure.in 2007-05-11 19:44:10.000000000 +0300
+@@ -246,7 +246,7 @@
+ AC_MSG_WARN([Skipping mysql plugin])
+ AC_MSG_WARN([install mysql client libs to compile this plugin (see REQUIREMENTS).])
+ else
+- EXTRAS="$EXTRA check_mysql check_mysql_query"
++ EXTRAS="$EXTRAS check_mysql check_mysql_query"
+ MYSQLINCLUDE="$np_mysql_include"
+ MYSQLLIBS="$np_mysql_libs"
+ MYSQLCFLAGS="$np_mysql_cflags"