pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net Update the nagios-plugins package to version 1.4.1...
details: https://anonhg.NetBSD.org/pkgsrc/rev/865fc289174f
branches: trunk
changeset: 542796:865fc289174f
user: tonnerre <tonnerre%pkgsrc.org@localhost>
date: Tue May 27 21:22:02 2008 +0000
description:
Update the nagios-plugins package to version 1.4.11. This fixes various
crashes on various architectures and system, such as, for example,
the check_icmp bus error on sparc64.
Changes in 1.4.4:
- check_ntp is now written in C instead of Perl.
- check_disk bugfixes.
- check_udp2, check_udp and check_tcp are now united.
- check_mailq now reports mailq errors better.
- check_snmp now compiles with a sane amount of effort.
Changes in 1.4.5:
- Fixed bug in perl's is_hostname routine.
Changes in 1.4.6:
- check_ping and netutils.c now do less DNS lookups.
- alloca.h related compile fixes.
- check_swap now works on Solaris too.
- check_disk perf data can now be monitored.
- check_procs had a buffer overflow.
- Fixed UNIX socket error handling.
- check_by_ssh now can pass -q and -o to ssh.
- GNUlib sync.
- check_jabber can now return things different from a warning.
Changes in 1.4.7:
- check_procs uses /usr/ucb/ps on Solaris which fixes pst3 problems.
- check_smtp does a non-broken HELO now.
- check_icmp can now have a minimum number of required hosts and also
works if running for a long time on BSDs.
- check_ping timeout reduced.
- Everybody can now execute SUID check plugins unless indicated otherwise
to configure.
Changes in 1.4.8:
- check_disk now has an extra option for regex matching and grouping of FSes.
- check_ntp various fixes.
Changes in 1.4.9:
- New plugin check_cluster (not built by pkgsrc).
- check_by_ssh now has improved stderr/stdout handling options (-E/-S).
- check_ldap, check_radius and check_pgsql compile fixes.
- check_snmp 64-bit counter support.
- Better underflow checking for check_time.
- check_http output is more consistent now.
- check_http HTTP redirect segfault fixes.
- check_tcp doesn't segfault anymore when multiple expect strings are given.
- check_tcp now supports -A to check if all expect strings match.
Changes in 1.4.10:
- check_http redirect buffer overflow vulnerability fixed (was fixed
in pkgsrc before).
- check_http now shuts down HTTP/1.1 keepalive connections cleanly.
- check_ldaps doesn't guess anymore whether to use SSL or STARTTLS.
- check_disk now calls stat on all file systems.
- check_disk now supports the -L flag for local file system checks.
- check_disk now supports -i/-I for ignoring paths/partitions by regex.
- check_disk now supports -A to select all file systems explicitly.
- check_disk now needs to have the -E flag passed before -p or -r/-R.
- check_disk is no longer buggy when case sensitive and insensitive regexes
are mixed.
- check_dhcp now supports -u (unicast) to emulate a relay.
- check_dhcp now lets you specify the MAC address in the request using -m.
- check_dhcp -r and -s options now accept host names.
- check_icmp no longer bus errors on various platforms.
- check_smtp now handles multiple-packet server responses properly.
- Negate command line options are no longer evaluated twice by the shell.
- Negate commands to be run must now be fully qualified.
- Negate can now remap custom states.
- check_radius now supports radius-client-ng (was already in pkgsrc).
- check_by_ssh now supports multiline output.
- check_ntp now honors ntp flags.
Changes in 1.4.10:
- check_ntp returns UNKNOWN rather than WARNING if no jitter is available.
- check_cluster now accept all valid characters in its thresholds.
- check_ntp is now deprecated in favor of check_ntp_peer and check_ntp_time.
- check_disk no longer reports OK if disk usage exceeds 100%.
- check_load handles non-triplet arguments correctly now.
- Nagios::Plugin updated to 0.22.
diffstat:
net/nagios-plugin-ldap/Makefile | 3 +-
net/nagios-plugin-ldap/distinfo | 12 +-
net/nagios-plugin-ldap/patches/patch-ak | 38 +++++------
net/nagios-plugin-ldap/patches/patch-al | 10 +-
net/nagios-plugin-mysql/Makefile | 3 +-
net/nagios-plugin-mysql/distinfo | 12 +-
net/nagios-plugin-mysql/patches/patch-ak | 38 +++++------
net/nagios-plugin-mysql/patches/patch-al | 10 +-
net/nagios-plugin-pgsql/distinfo | 12 +-
net/nagios-plugin-pgsql/patches/patch-ak | 38 +++++------
net/nagios-plugin-pgsql/patches/patch-al | 10 +-
net/nagios-plugin-radius/Makefile | 3 +-
net/nagios-plugin-radius/distinfo | 15 ++--
net/nagios-plugin-radius/patches/patch-aa | 69 +-------------------
net/nagios-plugin-radius/patches/patch-ab | 37 -----------
net/nagios-plugin-radius/patches/patch-ak | 38 +++++------
net/nagios-plugin-radius/patches/patch-al | 10 +-
net/nagios-plugin-snmp/Makefile | 3 +-
net/nagios-plugin-snmp/distinfo | 14 ++--
net/nagios-plugin-snmp/patches/patch-aa | 38 -----------
net/nagios-plugin-snmp/patches/patch-ak | 38 +++++------
net/nagios-plugin-snmp/patches/patch-al | 10 +-
net/nagios-plugins/Makefile | 3 +-
net/nagios-plugins/Makefile.common | 4 +-
net/nagios-plugins/Makefile.plugin | 4 +-
net/nagios-plugins/PLIST | 5 +-
net/nagios-plugins/distinfo | 23 +++---
net/nagios-plugins/patches/patch-aa | 100 ------------------------------
net/nagios-plugins/patches/patch-ab | 78 ++++++++++++++---------
net/nagios-plugins/patches/patch-ad | 30 ++++----
net/nagios-plugins/patches/patch-ae | 15 +---
net/nagios-plugins/patches/patch-af | 24 +++---
net/nagios-plugins/patches/patch-ak | 38 +++++------
net/nagios-plugins/patches/patch-al | 10 +-
net/nagios-plugins/patches/patch-an | 10 +-
35 files changed, 274 insertions(+), 531 deletions(-)
diffs (truncated from 1475 to 300 lines):
diff -r a928d489aa57 -r 865fc289174f net/nagios-plugin-ldap/Makefile
--- a/net/nagios-plugin-ldap/Makefile Tue May 27 19:39:05 2008 +0000
+++ b/net/nagios-plugin-ldap/Makefile Tue May 27 21:22:02 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2008/01/18 05:08:44 tnn Exp $
+# $NetBSD: Makefile,v 1.8 2008/05/27 21:22:02 tonnerre Exp $
#
PKGNAME= nagios-plugin-ldap-${PLUGINSVERSION}
-PKGREVISION= 1
CATEGORIES= net sysutils databases
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
diff -r a928d489aa57 -r 865fc289174f net/nagios-plugin-ldap/distinfo
--- a/net/nagios-plugin-ldap/distinfo Tue May 27 19:39:05 2008 +0000
+++ b/net/nagios-plugin-ldap/distinfo Tue May 27 21:22:02 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2006/10/16 08:40:45 seb Exp $
+$NetBSD: distinfo,v 1.4 2008/05/27 21:22:02 tonnerre Exp $
-SHA1 (nagios-plugins-1.4.3.tar.gz) = c26fc2f31d7579c3a8174dcd1965046c4b1c8d37
-RMD160 (nagios-plugins-1.4.3.tar.gz) = bc1d4f8cddd481775c514758a462fe533e01e846
-Size (nagios-plugins-1.4.3.tar.gz) = 1257775 bytes
-SHA1 (patch-ak) = c3d9f6ea9a971c45ec4159f800c2a975a3013c82
-SHA1 (patch-al) = cfeef69928795681f17e1faa1639fb3e57a31c32
+SHA1 (nagios-plugins-1.4.11.tar.gz) = bc91a57ad6f5468b17f24429ba25225cfff45d59
+RMD160 (nagios-plugins-1.4.11.tar.gz) = 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15
+Size (nagios-plugins-1.4.11.tar.gz) = 1734230 bytes
+SHA1 (patch-ak) = 801eaa64d88db20880c8b7e61922f198fc5791ac
+SHA1 (patch-al) = 658079cb3669ffcf2b0d158816b048c412f78d01
SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436
diff -r a928d489aa57 -r 865fc289174f net/nagios-plugin-ldap/patches/patch-ak
--- a/net/nagios-plugin-ldap/patches/patch-ak Tue May 27 19:39:05 2008 +0000
+++ b/net/nagios-plugin-ldap/patches/patch-ak Tue May 27 21:22:02 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ak,v 1.1.1.1 2006/02/18 17:20:43 bouyer Exp $
+$NetBSD: patch-ak,v 1.2 2008/05/27 21:22:02 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 @@
# endif
#endif /* MOUNTED_GETFSSTAT */
-@@ -109,6 +113,10 @@
+@@ -104,6 +108,10 @@ char *strstr ();
# include <sys/statfs.h>
#endif
@@ -26,18 +26,18 @@
#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 @@
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 @@
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 @@
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 -r a928d489aa57 -r 865fc289174f net/nagios-plugin-ldap/patches/patch-al
--- a/net/nagios-plugin-ldap/patches/patch-al Tue May 27 19:39:05 2008 +0000
+++ b/net/nagios-plugin-ldap/patches/patch-al Tue May 27 21:22:02 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-al,v 1.1 2006/10/16 08:40:45 seb Exp $
+$NetBSD: patch-al,v 1.2 2008/05/27 21:22:02 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 @@
-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 -r a928d489aa57 -r 865fc289174f net/nagios-plugin-mysql/Makefile
--- a/net/nagios-plugin-mysql/Makefile Tue May 27 19:39:05 2008 +0000
+++ b/net/nagios-plugin-mysql/Makefile Tue May 27 21:22:02 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2008/01/18 05:08:44 tnn Exp $
+# $NetBSD: Makefile,v 1.6 2008/05/27 21:22:02 tonnerre Exp $
#
PKGNAME= nagios-plugin-mysql-${PLUGINSVERSION}
-PKGREVISION= 1
CATEGORIES= net sysutils databases
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
diff -r a928d489aa57 -r 865fc289174f net/nagios-plugin-mysql/distinfo
--- a/net/nagios-plugin-mysql/distinfo Tue May 27 19:39:05 2008 +0000
+++ b/net/nagios-plugin-mysql/distinfo Tue May 27 21:22:02 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2006/10/16 08:40:45 seb Exp $
+$NetBSD: distinfo,v 1.4 2008/05/27 21:22:02 tonnerre Exp $
-SHA1 (nagios-plugins-1.4.3.tar.gz) = c26fc2f31d7579c3a8174dcd1965046c4b1c8d37
-RMD160 (nagios-plugins-1.4.3.tar.gz) = bc1d4f8cddd481775c514758a462fe533e01e846
-Size (nagios-plugins-1.4.3.tar.gz) = 1257775 bytes
-SHA1 (patch-ak) = c3d9f6ea9a971c45ec4159f800c2a975a3013c82
-SHA1 (patch-al) = cfeef69928795681f17e1faa1639fb3e57a31c32
+SHA1 (nagios-plugins-1.4.11.tar.gz) = bc91a57ad6f5468b17f24429ba25225cfff45d59
+RMD160 (nagios-plugins-1.4.11.tar.gz) = 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15
+Size (nagios-plugins-1.4.11.tar.gz) = 1734230 bytes
+SHA1 (patch-ak) = 801eaa64d88db20880c8b7e61922f198fc5791ac
+SHA1 (patch-al) = 658079cb3669ffcf2b0d158816b048c412f78d01
SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436
diff -r a928d489aa57 -r 865fc289174f net/nagios-plugin-mysql/patches/patch-ak
--- a/net/nagios-plugin-mysql/patches/patch-ak Tue May 27 19:39:05 2008 +0000
+++ b/net/nagios-plugin-mysql/patches/patch-ak Tue May 27 21:22:02 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ak,v 1.1.1.1 2006/02/18 17:21:58 bouyer Exp $
+$NetBSD: patch-ak,v 1.2 2008/05/27 21:22:02 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 @@
# endif
#endif /* MOUNTED_GETFSSTAT */
-@@ -109,6 +113,10 @@
+@@ -104,6 +108,10 @@ char *strstr ();
# include <sys/statfs.h>
#endif
@@ -26,18 +26,18 @@
#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 @@
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 @@
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 @@
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 -r a928d489aa57 -r 865fc289174f net/nagios-plugin-mysql/patches/patch-al
--- a/net/nagios-plugin-mysql/patches/patch-al Tue May 27 19:39:05 2008 +0000
+++ b/net/nagios-plugin-mysql/patches/patch-al Tue May 27 21:22:02 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-al,v 1.1 2006/10/16 08:40:45 seb Exp $
+$NetBSD: patch-al,v 1.2 2008/05/27 21:22:02 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 @@
-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 -r a928d489aa57 -r 865fc289174f net/nagios-plugin-pgsql/distinfo
--- a/net/nagios-plugin-pgsql/distinfo Tue May 27 19:39:05 2008 +0000
+++ b/net/nagios-plugin-pgsql/distinfo Tue May 27 21:22:02 2008 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2008/03/16 21:13:05 seb Exp $
+$NetBSD: distinfo,v 1.5 2008/05/27 21:22:02 tonnerre Exp $
-SHA1 (nagios-plugins-1.4.3.tar.gz) = c26fc2f31d7579c3a8174dcd1965046c4b1c8d37
Home |
Main Index |
Thread Index |
Old Index