From b6b26485f514b9053097c6600bd38c2a73a28399 Mon Sep 17 00:00:00 2001 From: Mike McGrath Date: Oct 27 2006 14:19:36 +0000 Subject: Forgot to add patches --- diff --git a/nagios-plugins-1.4.4-check_ide_smart.patch b/nagios-plugins-1.4.4-check_ide_smart.patch new file mode 100644 index 0000000..e8ddec0 --- /dev/null +++ b/nagios-plugins-1.4.4-check_ide_smart.patch @@ -0,0 +1,21 @@ +--- nagios-plugins-1.4.4/plugins/check_ide_smart.c.orig 2006-10-19 03:25:16.000000000 +0300 ++++ nagios-plugins-1.4.4/plugins/check_ide_smart.c 2006-10-26 11:28:53.000000000 +0300 +@@ -439,7 +439,7 @@ print_values (values_t * p, thresholds_t + + + void +-print_thresholds (thresholds_t * p) ++smart_print_thresholds (thresholds_t * p) + { + threshold_t * threshold = p->thresholds; + int i; +@@ -541,7 +541,7 @@ print_help (void) + void + print_usage (void) + { +- printf (_("Usage:"); ++ printf (_("Usage:")); + printf ("%s [-d ] [-i ] [-q quiet] [-1 ]",progname); +- pritnf (" [-O ] [-n ]\n"); ++ printf (" %s\n", "[-O ] [-n ]"); + } diff --git a/nagios-plugins-1.4.4-linux_raid.patch b/nagios-plugins-1.4.4-linux_raid.patch new file mode 100644 index 0000000..b3a0c64 --- /dev/null +++ b/nagios-plugins-1.4.4-linux_raid.patch @@ -0,0 +1,10 @@ +--- contrib/check_linux_raid.pl 2006-10-27 15:25:54.000000000 +0200 ++++ contrib/check_linux_raid.pl 2006-10-27 15:24:02.000000000 +0200 +@@ -23,7 +23,7 @@ + # WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min + + use strict; +-use lib utils.pm; ++use lib '/usr/lib/nagios/plugins'; + use utils qw(%ERRORS); +