summaryrefslogtreecommitdiff
path: root/net/nagios-plugins/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/nagios-plugins/patches')
-rw-r--r--net/nagios-plugins/patches/patch-aa100
-rw-r--r--net/nagios-plugins/patches/patch-ab78
-rw-r--r--net/nagios-plugins/patches/patch-ad30
-rw-r--r--net/nagios-plugins/patches/patch-ae15
-rw-r--r--net/nagios-plugins/patches/patch-af24
-rw-r--r--net/nagios-plugins/patches/patch-ak38
-rw-r--r--net/nagios-plugins/patches/patch-al10
-rw-r--r--net/nagios-plugins/patches/patch-an10
8 files changed, 104 insertions, 201 deletions
diff --git a/net/nagios-plugins/patches/patch-aa b/net/nagios-plugins/patches/patch-aa
deleted file mode 100644
index 479b56fb232..00000000000
--- a/net/nagios-plugins/patches/patch-aa
+++ /dev/null
@@ -1,100 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2008/03/22 14:52:21 tonnerre Exp $
-
---- plugins/check_http.c.orig 2006-04-05 09:58:27.000000000 +0200
-+++ plugins/check_http.c
-@@ -34,7 +34,8 @@ const char *email = "nagiosplug-devel@li
- enum {
- MAX_IPV4_HOSTLENGTH = 255,
- HTTP_PORT = 80,
-- HTTPS_PORT = 443
-+ HTTPS_PORT = 443,
-+ MAX_PORT = 65535
- };
-
- #ifdef HAVE_SSL
-@@ -1043,14 +1044,14 @@ check_http (void)
-
- /* per RFC 2396 */
- #define HDR_LOCATION "%*[Ll]%*[Oo]%*[Cc]%*[Aa]%*[Tt]%*[Ii]%*[Oo]%*[Nn]: "
--#define URI_HTTP "%[HTPShtps]://"
--#define URI_HOST "%[-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
--#define URI_PORT ":%[0123456789]"
-+#define URI_HTTP "%5[HTPShtps]"
-+#define URI_HOST "%255[-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
-+#define URI_PORT "%6d" /* MAX_PORT's width is 5 chars, 6 to detect overflow */
- #define URI_PATH "%[-_.!~*'();/?:@&=+$,%#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
--#define HD1 URI_HTTP URI_HOST URI_PORT URI_PATH
--#define HD2 URI_HTTP URI_HOST URI_PATH
--#define HD3 URI_HTTP URI_HOST URI_PORT
--#define HD4 URI_HTTP URI_HOST
-+#define HD1 URI_HTTP "://" URI_HOST ":" URI_PORT "/" URI_PATH
-+#define HD2 URI_HTTP "://" URI_HOST "/" URI_PATH
-+#define HD3 URI_HTTP "://" URI_HOST ":" URI_PORT
-+#define HD4 URI_HTTP "://" URI_HOST
- #define HD5 URI_PATH
-
- void
-@@ -1061,7 +1062,6 @@ redir (char *pos, char *status_line)
- char xx[2];
- char type[6];
- char *addr;
-- char port[6];
- char *url;
-
- addr = malloc (MAX_IPV4_HOSTLENGTH + 1);
-@@ -1093,10 +1093,8 @@ redir (char *pos, char *status_line)
- die (STATE_UNKNOWN, _("could not allocate url\n"));
-
- /* URI_HTTP, URI_HOST, URI_PORT, URI_PATH */
-- if (sscanf (pos, HD1, type, addr, port, url) == 4) {
-+ if (sscanf (pos, HD1, type, addr, &i, url) == 4)
- use_ssl = server_type_check (type);
-- i = atoi (port);
-- }
-
- /* URI_HTTP URI_HOST URI_PATH */
- else if (sscanf (pos, HD2, type, addr, url) == 3 ) {
-@@ -1105,10 +1103,9 @@ redir (char *pos, char *status_line)
- }
-
- /* URI_HTTP URI_HOST URI_PORT */
-- else if(sscanf (pos, HD3, type, addr, port) == 3) {
-+ else if(sscanf (pos, HD3, type, addr, &i) == 3) {
- strcpy (url, HTTP_URL);
- use_ssl = server_type_check (type);
-- i = atoi (port);
- }
-
- /* URI_HTTP URI_HOST */
-@@ -1154,7 +1151,6 @@ redir (char *pos, char *status_line)
- _("WARNING - redirection creates an infinite loop - %s://%s:%d%s%s\n"),
- type, addr, i, url, (display_html ? "</A>" : ""));
-
-- server_port = i;
- strcpy (server_type, type);
-
- free (host_name);
-@@ -1164,7 +1160,22 @@ redir (char *pos, char *status_line)
- server_address = strdup (addr);
-
- free (server_url);
-- server_url = strdup (url);
-+ if ((url[0] == '/'))
-+ server_url = strdup (url);
-+ else if (asprintf(&server_url, "/%s", url) == -1)
-+ die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate server_url%s\n"),
-+ display_html ? "</A>" : "");
-+ free(url);
-+
-+ if ((server_port = i) > MAX_PORT)
-+ die (STATE_UNKNOWN,
-+ _("HTTP UNKNOWN - Redirection to port above %d - %s://%s:%d%s%s\n"),
-+ MAX_PORT, server_type, server_address, server_port, server_url,
-+ display_html ? "</A>" : "");
-+
-+ if (verbose)
-+ printf ("Redirection to %s://%s:%d%s\n", server_type, server_address,
-+ server_port, server_url);
-
- check_http ();
- }
diff --git a/net/nagios-plugins/patches/patch-ab b/net/nagios-plugins/patches/patch-ab
index 0390e11ef48..54743f0c16e 100644
--- a/net/nagios-plugins/patches/patch-ab
+++ b/net/nagios-plugins/patches/patch-ab
@@ -1,8 +1,17 @@
-$NetBSD: patch-ab,v 1.2 2006/08/17 14:20:14 taca Exp $
+$NetBSD: patch-ab,v 1.3 2008/05/27 21:22:03 tonnerre Exp $
---- configure.orig 2006-04-19 12:52:19.000000000 +0900
+--- configure.orig 2007-12-13 23:42:38.000000000 +0100
+++ configure
-@@ -24395,7 +24395,7 @@ _ACEOF
+@@ -1058,7 +1058,7 @@ dvidir='${docdir}'
+ pdfdir='${docdir}'
+ psdir='${docdir}'
+ libdir='${exec_prefix}/lib'
+-localedir='${datarootdir}/locale'
++localedir='${datarootdir}/nagios/locale'
+ mandir='${datarootdir}/man'
+
+ ac_prev=
+@@ -21137,7 +21137,7 @@ _ACEOF
fi
@@ -11,7 +20,7 @@ $NetBSD: patch-ab,v 1.2 2006/08/17 14:20:14 taca Exp $
if test -n "$PGSQL"; then
LDFLAGS="$LDFLAGS -L$PGSQL/lib"
CPPFLAGS="$CPPFLAGS -I$PGSQL/include"
-@@ -25040,7 +25040,7 @@ _ACEOF
+@@ -21746,7 +21746,7 @@ _ACEOF
fi
@@ -20,7 +29,7 @@ $NetBSD: patch-ab,v 1.2 2006/08/17 14:20:14 taca Exp $
EXTRAS="$EXTRAS check_radius"
RADIUSLIBS="-lradiusclient"
-@@ -25121,7 +25121,7 @@ _ACEOF
+@@ -21901,7 +21901,7 @@ _ACEOF
fi
@@ -29,70 +38,77 @@ $NetBSD: patch-ab,v 1.2 2006/08/17 14:20:14 taca Exp $
LDAPLIBS="-lldap -llber"\
LDAPINCLUDE="-I/usr/include/ldap"
-@@ -30212,7 +30212,7 @@ fi
+@@ -25688,7 +25688,7 @@ fi
then
- echo "$as_me:$LINENO: checking for nslookup syntax" >&5
- echo $ECHO_N "checking for nslookup syntax... $ECHO_C" >&6
+ { echo "$as_me:$LINENO: checking for nslookup syntax" >&5
+ echo $ECHO_N "checking for nslookup syntax... $ECHO_C" >&6; }
- if $PATH_TO_NSLOOKUP -sil 127.0.0.1 2>&1 | grep "Invalid option: sil" >/dev/null
+ if $PATH_TO_NSLOOKUP -sil 127.0.0.1 2>&1 | fgrep "Invalid option: sil" >/dev/null
then
ac_cv_nslookup_command="$PATH_TO_NSLOOKUP"
- echo "$as_me:$LINENO: result: $ac_cv_nslookup_command" >&5
-@@ -30530,7 +30530,7 @@ else
- echo "${ECHO_T}no" >&6
+ { echo "$as_me:$LINENO: result: $ac_cv_nslookup_command" >&5
+@@ -25911,7 +25911,7 @@ echo "${ECHO_T}no" >&6; }
fi
+
-if test -x "$PATH_TO_LMSTAT"
+if false
then
cat >>confdefs.h <<_ACEOF
-@@ -30698,7 +30698,7 @@ if test "${with_snmpget_command+set}" =
- withval="$with_snmpget_command"
- PATH_TO_SNMPGET=$withval
- fi;
+@@ -26082,7 +26082,7 @@ if test "${with_snmpget_command+set}" =
+ withval=$with_snmpget_command; PATH_TO_SNMPGET=$withval
+ fi
+
-if test -n "$PATH_TO_SNMPGET"
+if test -n "$PATH_TO_SNMPGET" -a "$PATH_TO_SNMPGET" != "no"
then
cat >>confdefs.h <<_ACEOF
-@@ -30765,7 +30765,7 @@ _ACEOF
+@@ -26141,7 +26141,7 @@ if test "${with_snmpgetnext_command+set}
+ withval=$with_snmpgetnext_command; PATH_TO_SNMPGETNEXT=$withval
+ fi
+
+-if test -n "$PATH_TO_SNMPGETNEXT"
++if test -n "$PATH_TO_SNMPGETNEXT" -a "$PATH_TO_SNMPGETNEXT" != "no"
+ then
+
+ cat >>confdefs.h <<_ACEOF
+@@ -26150,7 +26150,7 @@ _ACEOF
fi
-if ( $PERL -M"Net::SNMP 3.6" -e 'exit' 2>/dev/null )
+if false
then
- echo "$as_me:$LINENO: checking for Net::SNMP perl module" >&5
- echo $ECHO_N "checking for Net::SNMP perl module... $ECHO_C" >&6
-@@ -30929,7 +30929,7 @@ if test "${with_fping_command+set}" = se
- withval="$with_fping_command"
- PATH_TO_FPING=$withval
- fi;
+ { echo "$as_me:$LINENO: checking for Net::SNMP perl module" >&5
+ echo $ECHO_N "checking for Net::SNMP perl module... $ECHO_C" >&6; }
+@@ -26317,7 +26317,7 @@ if test "${with_fping_command+set}" = se
+ withval=$with_fping_command; PATH_TO_FPING=$withval
+ fi
+
-if test -n "$PATH_TO_FPING"
+if test -n "$PATH_TO_FPING" -a "$PATH_TO_FPING" != "no"
then
cat >>confdefs.h <<_ACEOF
-@@ -32115,7 +32115,7 @@ _ACEOF
-
+@@ -27533,7 +27533,7 @@ if test -n "$PATH_TO_APTGET" ; then
fi
+
-if test -f plugins/check_nt.c ; then
+if false ; then
EXTRAS="$EXTRAS check_nt"
elif test -f ../plugins/check_nt.c ; then
EXTRAS="$EXTRAS check_nt"
-@@ -41104,6 +41104,12 @@ do
- _ACEOF
- cat >>$CONFIG_STATUS <<\_ACEOF
+@@ -45418,6 +45418,10 @@ do
+ case $ac_option in
+ # Handling of the options.
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ : Avoid regenerating within pkgsrc
+ exit 0
+ : Avoid regenerating within pkgsrc
+ exit 0
-+ : Avoid regenerating within pkgsrc
-+ exit 0
ac_cs_recheck=: ;;
- --version | --vers* | -V )
- echo "$ac_cs_version"; exit 0 ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ echo "$ac_cs_version"; exit ;;
diff --git a/net/nagios-plugins/patches/patch-ad b/net/nagios-plugins/patches/patch-ad
index 15126b27380..da7ff080cc0 100644
--- a/net/nagios-plugins/patches/patch-ad
+++ b/net/nagios-plugins/patches/patch-ad
@@ -1,25 +1,25 @@
-$NetBSD: patch-ad,v 1.1.1.1 2006/02/18 17:19:20 bouyer Exp $
+$NetBSD: patch-ad,v 1.2 2008/05/27 21:22:03 tonnerre Exp $
---- plugins-scripts/Makefile.in.orig 2005-08-01 14:34:40.000000000 -0700
-+++ plugins-scripts/Makefile.in 2005-08-04 11:02:01.000000000 -0700
-@@ -238,14 +238,14 @@
- with_nagios_user = @with_nagios_user@
+--- plugins-scripts/Makefile.in.orig 2007-12-13 23:42:35.000000000 +0100
++++ plugins-scripts/Makefile.in
+@@ -330,15 +330,11 @@ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
with_trusted_path = @with_trusted_path@
SUFFIXES = .pl .sh
-libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \
-- check_log check_ntp check_oracle check_rpc check_sensors check_wave \
+- check_log check_oracle check_rpc check_sensors check_wave \
- check_ifstatus check_ifoperstatus check_mailq check_file_age \
-+libexec_SCRIPTS = check_ircd \
-+ check_log check_ntp check_rpc \
-+ check_mailq check_file_age \
- utils.sh utils.pm
-
+- utils.sh utils.pm
+-
-EXTRA_DIST = check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \
- check_log.sh check_ntp.pl check_oracle.sh check_rpc.pl check_sensors.sh \
- check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_file_age.pl \
-+EXTRA_DIST = check_ircd.pl \
-+ check_log.sh check_ntp.pl check_rpc.pl \
-+ check_mailq.pl check_file_age.pl \
- utils.sh.in utils.pm.in t
+- utils.sh.in utils.pm.in t
++libexec_SCRIPTS = check_ircd check_log check_ntp check_rpc check_mailq \
++ check_file_age utils.sh utils.pm
++
++EXTRA_DIST = check_ircd.pl check_log.sh check_ntp.pl check_rpc.pl \
++ check_mailq.pl check_file_age.pl utils.sh.in utils.pm.in t
TESTS_ENVIRONMENT = perl -I $(top_builddir) -I $(top_srcdir)
+ TESTS = @SCRIPT_TEST@
diff --git a/net/nagios-plugins/patches/patch-ae b/net/nagios-plugins/patches/patch-ae
index 3fb10bc7073..3bf889914e8 100644
--- a/net/nagios-plugins/patches/patch-ae
+++ b/net/nagios-plugins/patches/patch-ae
@@ -1,17 +1,8 @@
-$NetBSD: patch-ae,v 1.2 2006/08/17 14:20:14 taca Exp $
+$NetBSD: patch-ae,v 1.3 2008/05/27 21:22:03 tonnerre Exp $
---- plugins/Makefile.am.orig 2006-03-21 20:42:59.000000000 +0900
+--- plugins/Makefile.am.orig 2007-12-12 02:27:48.000000000 +0100
+++ plugins/Makefile.am
-@@ -46,7 +46,7 @@ test:
- cd tests && make test
- perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
-
--AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@
-+#AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@
-
- ##############################################################################
- # the actual targets
-@@ -155,7 +155,7 @@ install-exec-hook:
+@@ -162,7 +162,7 @@ install-exec-hook:
cd $(DESTDIR)$(libexecdir) && \
for i in $(check_tcp_programs) ; do rm -f $$i; ln -s check_tcp $$i ; done ;\
if [ -x check_ldap ] ; then rm -f check_ldaps ; ln -s check_ldap check_ldaps ; fi
diff --git a/net/nagios-plugins/patches/patch-af b/net/nagios-plugins/patches/patch-af
index 22432cdf3e2..74343954641 100644
--- a/net/nagios-plugins/patches/patch-af
+++ b/net/nagios-plugins/patches/patch-af
@@ -1,17 +1,17 @@
-$NetBSD: patch-af,v 1.2 2006/08/17 14:20:14 taca Exp $
+$NetBSD: patch-af,v 1.3 2008/05/27 21:22:03 tonnerre Exp $
---- plugins/Makefile.in.orig 2006-04-19 12:52:11.000000000 +0900
+--- plugins/Makefile.in.orig 2007-12-13 23:42:36.000000000 +0100
+++ plugins/Makefile.in
-@@ -407,7 +407,7 @@ SSLOBJS = sslutils.o
- NETLIBS = $(NETOBJS) $(SOCKETLIBS)
- TESTS_ENVIRONMENT = perl -I $(top_builddir) -I $(top_srcdir)
- TESTS = @PLUGIN_TEST@
--AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@
-+#AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@
-
- ##############################################################################
- # the actual targets
-@@ -1129,7 +1129,7 @@ $(check_tcp_programs): check_tcp
+@@ -34,7 +34,7 @@ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-libexec_PROGRAMS = check_apt$(EXEEXT) check_cluster$(EXEEXT) \
++libexec_PROGRAMS = \
+ check_disk$(EXEEXT) check_dummy$(EXEEXT) check_http$(EXEEXT) \
+ check_load$(EXEEXT) check_mrtg$(EXEEXT) \
+ check_mrtgtraf$(EXEEXT) check_ntp$(EXEEXT) \
+@@ -1131,7 +1131,7 @@ $(check_tcp_programs): check_tcp
install-exec-hook:
cd $(DESTDIR)$(libexecdir) && \
for i in $(check_tcp_programs) ; do rm -f $$i; ln -s check_tcp $$i ; done ;\
diff --git a/net/nagios-plugins/patches/patch-ak b/net/nagios-plugins/patches/patch-ak
index e3e76bc81d9..6f30cf339ed 100644
--- a/net/nagios-plugins/patches/patch-ak
+++ b/net/nagios-plugins/patches/patch-ak
@@ -1,8 +1,8 @@
-$NetBSD: patch-ak,v 1.1.1.1 2006/02/18 17:19:20 bouyer Exp $
+$NetBSD: patch-ak,v 1.2 2008/05/27 21:22:03 tonnerre Exp $
---- lib/mountlist.c.orig 2005-10-14 22:09:29.000000000 +0200
-+++ lib/mountlist.c 2005-10-14 22:23:14.000000000 +0200
-@@ -66,7 +66,11 @@
+--- gl/mountlist.c.orig 2007-01-24 23:47:25.000000000 +0100
++++ gl/mountlist.c
+@@ -57,7 +57,11 @@ char *strstr ();
# if HAVE_STRUCT_FSSTAT_F_FSTYPENAME
# define FS_TYPE(Ent) ((Ent).f_fstypename)
# else
@@ -15,7 +15,7 @@ $NetBSD: patch-ak,v 1.1.1.1 2006/02/18 17:19:20 bouyer Exp $
# endif
#endif /* MOUNTED_GETFSSTAT */
-@@ -109,6 +113,10 @@
+@@ -104,6 +108,10 @@ char *strstr ();
# include <sys/statfs.h>
#endif
@@ -26,18 +26,18 @@ $NetBSD: patch-ak,v 1.1.1.1 2006/02/18 17:19:20 bouyer Exp $
#ifdef MOUNTED_LISTMNTENT
# include <mntent.h>
#endif
-@@ -173,7 +181,7 @@
+@@ -178,7 +186,7 @@ char *strstr ();
#if MOUNTED_GETMNTINFO
--# if ! HAVE_F_FSTYPENAME_IN_STATFS
-+# if ! HAVE_F_FSTYPENAME_IN_STATFS && ! STAT_STATVFS
+-# if ! HAVE_STRUCT_STATFS_F_FSTYPENAME
++# if ! HAVE_STRUCT_STATFS_F_FSTYPENAME && ! STAT_STATVFS
static char *
- fstype_to_string (short t)
+ fstype_to_string (short int t)
{
-@@ -271,12 +279,16 @@
+@@ -275,9 +283,13 @@ fstype_to_string (short int t)
+ # endif
- /* __NetBSD__ || BSD_NET2 || __OpenBSD__ */
static char *
+#ifdef STAT_STATVFS
+fsp_to_string (const struct statvfs *fsp)
@@ -45,16 +45,12 @@ $NetBSD: patch-ak,v 1.1.1.1 2006/02/18 17:19:20 bouyer Exp $
fsp_to_string (const struct statfs *fsp)
+#endif
{
--# if defined HAVE_F_FSTYPENAME_IN_STATFS
-+# if defined HAVE_F_FSTYPENAME_IN_STATFS || defined STAT_STATVFS
+-# if HAVE_STRUCT_STATFS_F_FSTYPENAME
++# if defined HAVE_STRUCT_STATFS_F_FSTYPENAME || defined STAT_STATVFS
return (char *) (fsp->f_fstypename);
# else
-- return fstype_to_string (fsp->f_type);
-+ return fstype_to_string (fsp->f_type);
- # endif
- }
-
-@@ -381,7 +393,11 @@
+ return fstype_to_string (fsp->f_type);
+@@ -413,7 +425,11 @@ read_file_system_list (bool need_fs_type
#ifdef MOUNTED_GETMNTINFO /* 4.4BSD. */
{
@@ -66,7 +62,7 @@ $NetBSD: patch-ak,v 1.1.1.1 2006/02/18 17:19:20 bouyer Exp $
int entries;
entries = getmntinfo (&fsp, MNT_NOWAIT);
-@@ -543,9 +559,17 @@
+@@ -601,9 +617,17 @@ read_file_system_list (bool need_fs_type
{
int numsys, counter;
size_t bufsize;
@@ -84,7 +80,7 @@ $NetBSD: patch-ak,v 1.1.1.1 2006/02/18 17:19:20 bouyer Exp $
if (numsys < 0)
return (NULL);
if (SIZE_MAX / sizeof *stats <= numsys)
-@@ -608,10 +632,18 @@
+@@ -666,10 +690,18 @@ read_file_system_list (bool need_fs_type
# ifdef GETFSTYP /* SVR3. */
if (need_fs_type)
{
diff --git a/net/nagios-plugins/patches/patch-al b/net/nagios-plugins/patches/patch-al
index ef11283469b..a8fc97d2c20 100644
--- a/net/nagios-plugins/patches/patch-al
+++ b/net/nagios-plugins/patches/patch-al
@@ -1,6 +1,6 @@
-$NetBSD: patch-al,v 1.1 2006/10/16 05:29:40 seb Exp $
+$NetBSD: patch-al,v 1.2 2008/05/27 21:22:03 tonnerre Exp $
---- contrib/check_axis.sh.orig 2003-05-26 10:09:23.000000000 +0000
+--- contrib/check_axis.sh.orig 2003-05-26 12:09:23.000000000 +0200
+++ contrib/check_axis.sh
@@ -5,7 +5,7 @@ port=$2
usr=$3
@@ -18,9 +18,9 @@ $NetBSD: patch-al,v 1.1 2006/10/16 05:29:40 seb Exp $
-if [ "$status" == "Printing" ]; then
+if [ "$status" = "Printing" ]; then
bytes=`echo $lines | awk '{ print $4 }'`;
- comments=`echo $lines | tr -d " " | awk '{ print $5 " " $6 }'`;
- else
-@@ -40,48 +40,48 @@ if [ "$comma" -eq "1" ]; then
+ comments=`echo $lines | tr -d "
+ " | awk '{ print $5 " " $6 }'`;
+@@ -42,48 +42,48 @@ if [ "$comma" -eq "1" ]; then
fi
diff --git a/net/nagios-plugins/patches/patch-an b/net/nagios-plugins/patches/patch-an
index 16033d75844..7395db12b39 100644
--- a/net/nagios-plugins/patches/patch-an
+++ b/net/nagios-plugins/patches/patch-an
@@ -1,13 +1,13 @@
-$NetBSD: patch-an,v 1.1 2007/03/30 05:52:37 grant Exp $
+$NetBSD: patch-an,v 1.2 2008/05/27 21:22:03 tonnerre Exp $
---- lib/Makefile.in.orig 2006-04-19 13:52:06.000000000 +1000
+--- lib/Makefile.in.orig 2007-12-13 23:42:34.000000000 +0100
+++ lib/Makefile.in
-@@ -82,7 +82,7 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
- depcomp = $(SHELL) $(top_srcdir)/depcomp
+@@ -109,7 +109,7 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CPPFLAGS_LFS)
- LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)