summaryrefslogtreecommitdiff
path: root/net/nagios-plugins
diff options
context:
space:
mode:
authormorr <morr@pkgsrc.org>2011-04-08 22:56:12 +0000
committermorr <morr@pkgsrc.org>2011-04-08 22:56:12 +0000
commit745de260f842a3f0862f2af8b1ab04855ef09284 (patch)
tree6f85f0c2939f27457fa3631aaf7b616bce3fc9ed /net/nagios-plugins
parentc98892ea5e9a977e92fd646dc992d0d474e07a03 (diff)
downloadpkgsrc-745de260f842a3f0862f2af8b1ab04855ef09284.tar.gz
Update to nagios-plugins 1.4.15.
This release contains several enhancements, including rate calculation in check_snmp. There are also lots of bug fixes. * New check_ntp_peer -m and -n options to check the number of usable time sources ("truechimers") * New check_disk_smb -a option which allows for specifying the IP address of the remote server
Diffstat (limited to 'net/nagios-plugins')
-rw-r--r--net/nagios-plugins/Makefile5
-rw-r--r--net/nagios-plugins/Makefile.common9
-rw-r--r--net/nagios-plugins/Makefile.plugin8
-rw-r--r--net/nagios-plugins/PLIST6
-rw-r--r--net/nagios-plugins/distinfo28
-rw-r--r--net/nagios-plugins/patches/patch-ab39
-rw-r--r--net/nagios-plugins/patches/patch-ad16
-rw-r--r--net/nagios-plugins/patches/patch-ae8
-rw-r--r--net/nagios-plugins/patches/patch-af10
-rw-r--r--net/nagios-plugins/patches/patch-ah8
-rw-r--r--net/nagios-plugins/patches/patch-ai8
-rw-r--r--net/nagios-plugins/patches/patch-ak41
-rw-r--r--net/nagios-plugins/patches/patch-al4
-rw-r--r--net/nagios-plugins/patches/patch-am4
-rw-r--r--net/nagios-plugins/patches/patch-an8
15 files changed, 85 insertions, 117 deletions
diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile
index 952b1c68124..425df6a293d 100644
--- a/net/nagios-plugins/Makefile
+++ b/net/nagios-plugins/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.23 2010/12/27 08:01:47 obache Exp $
+# $NetBSD: Makefile,v 1.24 2011/04/08 22:56:12 morr Exp $
#
-PKGREVISION= 2
CATEGORIES= net sysutils
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/nagiosplug/
COMMENT= Nagios plugins
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= destdir
@@ -17,6 +17,7 @@ PKG_DESTDIR_SUPPORT= destdir
USE_TOOLS+= perl:run
PKG_GROUPS+= ${NAGIOS_GROUP}
+BUILD_DEFS+= ${NAGIOS_GROUP}
CONFIGURE_ARGS+= --without-pgsql --without-mysql \
--without-smbclient-command --without-snmpget-command \
diff --git a/net/nagios-plugins/Makefile.common b/net/nagios-plugins/Makefile.common
index 62147fb7aff..2e2615d05f1 100644
--- a/net/nagios-plugins/Makefile.common
+++ b/net/nagios-plugins/Makefile.common
@@ -1,7 +1,12 @@
-# $NetBSD: Makefile.common,v 1.7 2009/12/15 18:59:54 bouyer Exp $
+# $NetBSD: Makefile.common,v 1.8 2011/04/08 22:56:12 morr Exp $
#
+# used by net/nagios-plugin-mysql/Makefile
+# used by net/nagios-plugin-pgsql/Makefile
+# used by net/nagios-plugin-radius/Makefile
+# used by net/nagios-plugin-snmp/Makefile
+# used by net/nagios-plugins/Makefile
-PLUGINSVERSION= 1.4.14
+PLUGINSVERSION= 1.4.15
DISTNAME= nagios-plugins-${PLUGINSVERSION}
MASTER_SITES?= ${MASTER_SITE_SOURCEFORGE:=nagiosplug/}
diff --git a/net/nagios-plugins/Makefile.plugin b/net/nagios-plugins/Makefile.plugin
index e0421cf6536..b00eca8164b 100644
--- a/net/nagios-plugins/Makefile.plugin
+++ b/net/nagios-plugins/Makefile.plugin
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile.plugin,v 1.3 2008/05/27 21:22:03 tonnerre Exp $
+# $NetBSD: Makefile.plugin,v 1.4 2011/04/08 22:56:12 morr Exp $
#
+INSTALLATION_DIRS+= libexec/nagios
+
do-build:
cd ${WRKSRC}/lib && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE}
@@ -19,12 +21,12 @@ do-install:
.if ${BINARY_TARGET:D1}
for PROG in ${BINARY_TARGET}; do \
${INSTALL_PROGRAM} ${WRKSRC}/plugins/$${PROG} \
- ${PREFIX}/libexec/nagios; \
+ ${DESTDIR}${PREFIX}/libexec/nagios; \
done
.endif
.if ${SCRIPT_TARGET:D1}
for PROG in ${SCRIPT_TARGET}; do \
${INSTALL_SCRIPT} ${WRKSRC}/plugins-scripts/$${PROG} \
- ${PREFIX}/libexec/nagios; \
+ ${DESTDIR}${PREFIX}/libexec/nagios; \
done
.endif
diff --git a/net/nagios-plugins/PLIST b/net/nagios-plugins/PLIST
index fd09a6d1ae9..be6741126d1 100644
--- a/net/nagios-plugins/PLIST
+++ b/net/nagios-plugins/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2009/12/15 18:59:54 bouyer Exp $
+@comment $NetBSD: PLIST,v 1.7 2011/04/08 22:56:12 morr Exp $
libexec/nagios/check_by_ssh
libexec/nagios/check_clamd
libexec/nagios/check_dhcp
@@ -47,5 +47,5 @@ libexec/nagios/negate
libexec/nagios/urlize
libexec/nagios/utils.pm
libexec/nagios/utils.sh
-share/nagios/nagios/locale/de/LC_MESSAGES/nagios-plugins.mo
-share/nagios/nagios/locale/fr/LC_MESSAGES/nagios-plugins.mo
+share/nagios/locale/de/LC_MESSAGES/nagios-plugins.mo
+share/nagios/locale/fr/LC_MESSAGES/nagios-plugins.mo
diff --git a/net/nagios-plugins/distinfo b/net/nagios-plugins/distinfo
index 6c2cc048c7d..bc504714d7d 100644
--- a/net/nagios-plugins/distinfo
+++ b/net/nagios-plugins/distinfo
@@ -1,15 +1,15 @@
-$NetBSD: distinfo,v 1.10 2011/01/25 22:22:14 shattered Exp $
+$NetBSD: distinfo,v 1.11 2011/04/08 22:56:12 morr Exp $
-SHA1 (nagios-plugins-1.4.14.tar.gz) = b9998231f992c92b9370b62f15ac80323042f22c
-RMD160 (nagios-plugins-1.4.14.tar.gz) = f4e1768d84474fc4fa2b59a52efe320c7cbefb3a
-Size (nagios-plugins-1.4.14.tar.gz) = 1950729 bytes
-SHA1 (patch-ab) = 063bd2785d707e1daf21cbd17af04ac02cb3b224
-SHA1 (patch-ad) = edd4b7312f21b7bea1b8e74d7739de684aa266ad
-SHA1 (patch-ae) = 0b850f7e35ceceb32597e15b2c7de10abe99a5ba
-SHA1 (patch-af) = 62d8c6aee75a0cefd06af98f88033f13c109fbe0
-SHA1 (patch-ah) = c3ffc39ddcad231a225852e89aa309c039e18919
-SHA1 (patch-ai) = 383f5b19466c82454e198e1b9cdbec2dcfd04047
-SHA1 (patch-ak) = 48f56dd7b8e2c5480ef2e19e2535e4abf6a83472
-SHA1 (patch-al) = 658079cb3669ffcf2b0d158816b048c412f78d01
-SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436
-SHA1 (patch-an) = d7dc45376eca1ea0ed5ba2abc6244c7d52f840a4
+SHA1 (nagios-plugins-1.4.15.tar.gz) = 1faab309c06d37e559490fd852ecb0dc8a8ab610
+RMD160 (nagios-plugins-1.4.15.tar.gz) = c2780a3523cf4eaaed34a94c07f5f6bd6fb1f736
+Size (nagios-plugins-1.4.15.tar.gz) = 2095419 bytes
+SHA1 (patch-ab) = fa8dded3e0274fcc40839d6459bd709ad1a4fb47
+SHA1 (patch-ad) = 1418682ff599f91aa01a1eeb90f11c9e571212c8
+SHA1 (patch-ae) = 9975dfe9e7a1e448fe273ccb8427dcf3a74e195f
+SHA1 (patch-af) = c63176a78c7f73730c9f2ef3877b274f99be5dfa
+SHA1 (patch-ah) = c4f579b9f9971c44252eaea9a40775a2fcf23638
+SHA1 (patch-ai) = 2e045b6c10b06703772d0b9156b2e2f81aa4402b
+SHA1 (patch-ak) = dd9aba7a0930a6448e372b581ba04d62018a973b
+SHA1 (patch-al) = 63e28ae36d671e773acfe6aeb45ab7603c112594
+SHA1 (patch-am) = adc95ba1037a7d7caab6dde6ca1e27e47754db62
+SHA1 (patch-an) = 372a111ed040114479e363e42d66e2281d0d629f
diff --git a/net/nagios-plugins/patches/patch-ab b/net/nagios-plugins/patches/patch-ab
index 651587e14b3..62800adbb70 100644
--- a/net/nagios-plugins/patches/patch-ab
+++ b/net/nagios-plugins/patches/patch-ab
@@ -1,17 +1,8 @@
-$NetBSD: patch-ab,v 1.6 2011/01/25 22:22:14 shattered Exp $
+$NetBSD: patch-ab,v 1.7 2011/04/08 22:56:12 morr Exp $
---- configure.orig 2009-09-16 10:38:03.000000000 +0200
-+++ configure 2009-12-15 17:29:32.000000000 +0100
-@@ -1443,7 +1443,7 @@
- pdfdir='${docdir}'
- psdir='${docdir}'
- libdir='${exec_prefix}/lib'
--localedir='${datarootdir}/locale'
-+localedir='${datarootdir}/nagios/locale'
- mandir='${datarootdir}/man'
-
- ac_prev=
-@@ -22562,7 +22562,7 @@
+--- configure.orig 2010-07-27 20:48:13.000000000 +0000
++++ configure
+@@ -14688,7 +14688,7 @@ _ACEOF
fi
@@ -20,7 +11,7 @@ $NetBSD: patch-ab,v 1.6 2011/01/25 22:22:14 shattered Exp $
EXTRAS="$EXTRAS check_radius"
RADIUSLIBS="-lradiusclient"
-@@ -22717,7 +22717,7 @@
+@@ -14843,7 +14843,7 @@ _ACEOF
fi
@@ -29,7 +20,7 @@ $NetBSD: patch-ab,v 1.6 2011/01/25 22:22:14 shattered Exp $
LDAPLIBS="-lldap -llber"\
LDAPINCLUDE="-I/usr/include/ldap"
-@@ -26671,7 +26671,7 @@
+@@ -19037,7 +19037,7 @@ fi
then
{ echo "$as_me:$LINENO: checking for nslookup syntax" >&5
echo $ECHO_N "checking for nslookup syntax... $ECHO_C" >&6; }
@@ -38,7 +29,7 @@ $NetBSD: patch-ab,v 1.6 2011/01/25 22:22:14 shattered Exp $
then
ac_cv_nslookup_command="$PATH_TO_NSLOOKUP"
{ echo "$as_me:$LINENO: result: $ac_cv_nslookup_command" >&5
-@@ -26894,7 +26894,7 @@
+@@ -19260,7 +19260,7 @@ echo "${ECHO_T}no" >&6; }
fi
@@ -47,7 +38,7 @@ $NetBSD: patch-ab,v 1.6 2011/01/25 22:22:14 shattered Exp $
then
cat >>confdefs.h <<_ACEOF
-@@ -27065,7 +27065,7 @@
+@@ -19431,7 +19431,7 @@ if test "${with_snmpget_command+set}" =
withval=$with_snmpget_command; PATH_TO_SNMPGET=$withval
fi
@@ -56,7 +47,7 @@ $NetBSD: patch-ab,v 1.6 2011/01/25 22:22:14 shattered Exp $
then
cat >>confdefs.h <<_ACEOF
-@@ -27124,7 +27124,7 @@
+@@ -19490,7 +19490,7 @@ if test "${with_snmpgetnext_command+set}
withval=$with_snmpgetnext_command; PATH_TO_SNMPGETNEXT=$withval
fi
@@ -65,7 +56,7 @@ $NetBSD: patch-ab,v 1.6 2011/01/25 22:22:14 shattered Exp $
then
cat >>confdefs.h <<_ACEOF
-@@ -27133,7 +27133,7 @@
+@@ -19499,7 +19499,7 @@ _ACEOF
fi
@@ -74,7 +65,7 @@ $NetBSD: patch-ab,v 1.6 2011/01/25 22:22:14 shattered Exp $
then
{ echo "$as_me:$LINENO: checking for Net::SNMP perl module" >&5
echo $ECHO_N "checking for Net::SNMP perl module... $ECHO_C" >&6; }
-@@ -27300,7 +27300,7 @@
+@@ -19666,7 +19666,7 @@ if test "${with_fping_command+set}" = se
withval=$with_fping_command; PATH_TO_FPING=$withval
fi
@@ -83,12 +74,12 @@ $NetBSD: patch-ab,v 1.6 2011/01/25 22:22:14 shattered Exp $
then
cat >>confdefs.h <<_ACEOF
-@@ -28516,7 +28516,7 @@
+@@ -20882,7 +20882,7 @@ if test -n "$PATH_TO_APTGET" ; then
fi
--if test -f plugins/check_nt.c ; then
+-if test -f $srcdir/plugins/check_nt.c ; then
+if false ; then
EXTRAS="$EXTRAS check_nt"
- elif test -f ../plugins/check_nt.c ; then
- EXTRAS="$EXTRAS check_nt"
+ fi
+
diff --git a/net/nagios-plugins/patches/patch-ad b/net/nagios-plugins/patches/patch-ad
index 22ecace710b..e348206edcb 100644
--- a/net/nagios-plugins/patches/patch-ad
+++ b/net/nagios-plugins/patches/patch-ad
@@ -1,10 +1,10 @@
-$NetBSD: patch-ad,v 1.3 2009/12/15 18:59:54 bouyer Exp $
+$NetBSD: patch-ad,v 1.4 2011/04/08 22:56:12 morr Exp $
---- plugins-scripts/Makefile.in.orig 2009-09-16 10:38:00.000000000 +0200
-+++ plugins-scripts/Makefile.in 2009-12-15 17:30:07.000000000 +0100
-@@ -724,15 +724,11 @@
+--- plugins-scripts/Makefile.in.orig 2010-07-27 20:48:10.000000000 +0000
++++ plugins-scripts/Makefile.in
+@@ -963,15 +963,11 @@ top_srcdir = @top_srcdir@
with_trusted_path = @with_trusted_path@
- @RELEASE_PRESENT_TRUE@NP_VERSION = $(PACKAGE_VERSION)
+ @RELEASE_PRESENT_TRUE@NP_VERSION = @NP_RELEASE@
SUFFIXES = .pl .sh
-libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \
- check_log check_oracle check_rpc check_sensors check_wave \
@@ -16,10 +16,10 @@ $NetBSD: patch-ad,v 1.3 2009/12/15 18:59:54 bouyer Exp $
- check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_file_age.pl \
- 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
-+
++ 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
++ 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 017bbebe147..ff160bb69a6 100644
--- a/net/nagios-plugins/patches/patch-ae
+++ b/net/nagios-plugins/patches/patch-ae
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.4 2009/12/15 18:59:54 bouyer Exp $
+$NetBSD: patch-ae,v 1.5 2011/04/08 22:56:12 morr Exp $
---- plugins/Makefile.am.orig 2009-06-06 09:04:48.000000000 +0200
-+++ plugins/Makefile.am 2009-12-15 17:30:29.000000000 +0100
-@@ -170,7 +170,7 @@
+--- plugins/Makefile.am.orig 2010-07-27 20:47:16.000000000 +0000
++++ plugins/Makefile.am
+@@ -170,7 +170,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 f21b56f5b0a..b3141bbabbb 100644
--- a/net/nagios-plugins/patches/patch-af
+++ b/net/nagios-plugins/patches/patch-af
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.4 2009/12/15 18:59:54 bouyer Exp $
+$NetBSD: patch-af,v 1.5 2011/04/08 22:56:12 morr Exp $
---- plugins/Makefile.in.orig 2009-09-16 10:38:00.000000000 +0200
-+++ plugins/Makefile.in 2009-12-15 17:30:49.000000000 +0100
-@@ -31,7 +31,7 @@
+--- plugins/Makefile.in.orig 2010-07-27 20:48:10.000000000 +0000
++++ plugins/Makefile.in
+@@ -31,7 +31,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
@@ -11,7 +11,7 @@ $NetBSD: patch-af,v 1.4 2009/12/15 18:59:54 bouyer Exp $
check_disk$(EXEEXT) check_dummy$(EXEEXT) check_http$(EXEEXT) \
check_load$(EXEEXT) check_mrtg$(EXEEXT) \
check_mrtgtraf$(EXEEXT) check_ntp$(EXEEXT) \
-@@ -1539,7 +1539,7 @@
+@@ -1778,7 +1778,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-ah b/net/nagios-plugins/patches/patch-ah
index 8ac326a86ec..7ce9db5d811 100644
--- a/net/nagios-plugins/patches/patch-ah
+++ b/net/nagios-plugins/patches/patch-ah
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.2 2009/12/15 18:59:54 bouyer Exp $
+$NetBSD: patch-ah,v 1.3 2011/04/08 22:56:12 morr Exp $
---- plugins-scripts/check_ntp.pl.orig 2008-11-30 22:23:18.000000000 +0100
-+++ plugins-scripts/check_ntp.pl 2009-12-15 17:31:18.000000000 +0100
-@@ -311,6 +311,7 @@
+--- plugins-scripts/check_ntp.pl.orig 2010-07-27 20:47:16.000000000 +0000
++++ plugins-scripts/check_ntp.pl
+@@ -311,6 +311,7 @@ if ($have_ntpq) {
} else {
$jitter_error = $ERRORS{'OK'};
}
diff --git a/net/nagios-plugins/patches/patch-ai b/net/nagios-plugins/patches/patch-ai
index 93e7860ec59..6dc9dc9a392 100644
--- a/net/nagios-plugins/patches/patch-ai
+++ b/net/nagios-plugins/patches/patch-ai
@@ -1,8 +1,8 @@
-$NetBSD: patch-ai,v 1.1.1.1 2006/02/18 17:19:20 bouyer Exp $
+$NetBSD: patch-ai,v 1.2 2011/04/08 22:56:12 morr Exp $
---- plugins-scripts/subst.in.orig 2005-08-04 10:24:09.000000000 -0700
-+++ plugins-scripts/subst.in 2005-08-04 10:24:23.000000000 -0700
-@@ -9,13 +9,14 @@
+--- plugins-scripts/subst.in.orig 2010-07-27 20:47:16.000000000 +0000
++++ plugins-scripts/subst.in
+@@ -9,13 +9,14 @@ function which(c,path) {
sub(/\/.*\//,"",c);
for (dir in path) {
diff --git a/net/nagios-plugins/patches/patch-ak b/net/nagios-plugins/patches/patch-ak
index 51affb7a505..77d36668f6f 100644
--- a/net/nagios-plugins/patches/patch-ak
+++ b/net/nagios-plugins/patches/patch-ak
@@ -1,7 +1,7 @@
-$NetBSD: patch-ak,v 1.3 2009/12/15 18:59:54 bouyer Exp $
+$NetBSD: patch-ak,v 1.4 2011/04/08 22:56:12 morr Exp $
---- gl/mountlist.c.orig 2009-05-21 23:11:51.000000000 +0200
-+++ gl/mountlist.c 2009-12-15 17:31:57.000000000 +0100
+--- gl/mountlist.c.orig 2010-07-27 20:47:15.000000000 +0000
++++ gl/mountlist.c
@@ -52,7 +52,11 @@
# if HAVE_STRUCT_FSSTAT_F_FSTYPENAME
# define FS_TYPE(Ent) ((Ent).f_fstypename)
@@ -35,7 +35,7 @@ $NetBSD: patch-ak,v 1.3 2009/12/15 18:59:54 bouyer Exp $
static char *
fstype_to_string (short int t)
{
-@@ -266,9 +274,13 @@
+@@ -266,9 +274,13 @@ fstype_to_string (short int t)
# endif
static char *
@@ -50,19 +50,7 @@ $NetBSD: patch-ak,v 1.3 2009/12/15 18:59:54 bouyer Exp $
return (char *) (fsp->f_fstypename);
# else
return fstype_to_string (fsp->f_type);
-@@ -404,7 +416,11 @@
-
- #ifdef MOUNTED_GETMNTINFO /* 4.4BSD. */
- {
-+#ifdef STAT_STATVFS
-+ struct statvfs *fsp;
-+#else
- struct statfs *fsp;
-+#endif
- int entries;
-
- entries = getmntinfo (&fsp, MNT_NOWAIT);
-@@ -592,9 +608,17 @@
+@@ -592,9 +604,17 @@ read_file_system_list (bool need_fs_type
{
int numsys, counter;
size_t bufsize;
@@ -80,22 +68,3 @@ $NetBSD: patch-ak,v 1.3 2009/12/15 18:59:54 bouyer Exp $
if (numsys < 0)
return (NULL);
if (SIZE_MAX / sizeof *stats <= numsys)
-@@ -657,10 +681,18 @@
- # ifdef GETFSTYP /* SVR3. */
- if (need_fs_type)
- {
-+#ifdef STAT_STATVFS
-+ struct statvfs fsd;
-+#else
- struct statfs fsd;
-+#endif
- char typebuf[FSTYPSZ];
-
-+#ifdef STAT_STATVFS
-+ if (statvfs (me->me_mountdir, &fsd, sizeof fsd, 0) != -1
-+#else
- if (statfs (me->me_mountdir, &fsd, sizeof fsd, 0) != -1
-+#endif
- && sysfs (GETFSTYP, fsd.f_fstyp, typebuf) != -1)
- {
- me->me_type = xstrdup (typebuf);
diff --git a/net/nagios-plugins/patches/patch-al b/net/nagios-plugins/patches/patch-al
index a8fc97d2c20..a9061f9b1d7 100644
--- a/net/nagios-plugins/patches/patch-al
+++ b/net/nagios-plugins/patches/patch-al
@@ -1,6 +1,6 @@
-$NetBSD: patch-al,v 1.2 2008/05/27 21:22:03 tonnerre Exp $
+$NetBSD: patch-al,v 1.3 2011/04/08 22:56:12 morr Exp $
---- contrib/check_axis.sh.orig 2003-05-26 12:09:23.000000000 +0200
+--- contrib/check_axis.sh.orig 2010-07-27 20:47:15.000000000 +0000
+++ contrib/check_axis.sh
@@ -5,7 +5,7 @@ port=$2
usr=$3
diff --git a/net/nagios-plugins/patches/patch-am b/net/nagios-plugins/patches/patch-am
index 83ca5e86cd0..38dfaa7fbe1 100644
--- a/net/nagios-plugins/patches/patch-am
+++ b/net/nagios-plugins/patches/patch-am
@@ -1,6 +1,6 @@
-$NetBSD: patch-am,v 1.1 2006/10/16 05:29:40 seb Exp $
+$NetBSD: patch-am,v 1.2 2011/04/08 22:56:12 morr Exp $
---- contrib/check_mssql.sh.orig 2003-08-05 09:56:13.000000000 +0000
+--- contrib/check_mssql.sh.orig 2010-07-27 20:47:15.000000000 +0000
+++ contrib/check_mssql.sh
@@ -35,10 +35,10 @@ pswd=$3
srv=$4
diff --git a/net/nagios-plugins/patches/patch-an b/net/nagios-plugins/patches/patch-an
index 52e9ea688bc..f690be14c7b 100644
--- a/net/nagios-plugins/patches/patch-an
+++ b/net/nagios-plugins/patches/patch-an
@@ -1,8 +1,8 @@
-$NetBSD: patch-an,v 1.3 2009/12/15 18:59:54 bouyer Exp $
+$NetBSD: patch-an,v 1.4 2011/04/08 22:56:12 morr Exp $
---- lib/Makefile.in.orig 2009-09-16 10:37:59.000000000 +0200
-+++ lib/Makefile.in 2009-12-15 17:33:17.000000000 +0100
-@@ -127,7 +127,7 @@
+--- lib/Makefile.in.orig 2010-07-27 20:48:09.000000000 +0000
++++ lib/Makefile.in
+@@ -146,7 +146,7 @@ DEFAULT_INCLUDES = -I. -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \