aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2005-09-30 08:25:48 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2005-09-30 08:25:48 +0000
commita7ef203ab8b9c42a6dd66860c6baa4dd16b44992 (patch)
tree2bfe2c9ebded2287e7b478912b1497f9714b5322 /net-mgmt/nagios-plugins
parentf7054d75fc6926acc471ed1faaec37cb90add683 (diff)
downloadports-a7ef203ab8b9c42a6dd66860c6baa4dd16b44992.tar.gz
ports-a7ef203ab8b9c42a6dd66860c6baa4dd16b44992.zip
- Update to 1.4.2
PR: 86697 Submitted by: Blaz Zupan (maintainer)
Notes
Notes: svn path=/head/; revision=143824
Diffstat (limited to 'net-mgmt/nagios-plugins')
-rw-r--r--net-mgmt/nagios-plugins/Makefile3
-rw-r--r--net-mgmt/nagios-plugins/distinfo4
-rw-r--r--net-mgmt/nagios-plugins/files/patch-Makefile.am12
-rw-r--r--net-mgmt/nagios-plugins/files/patch-check_snmp.c18
-rw-r--r--net-mgmt/nagios-plugins/files/patch-configure.in18
-rw-r--r--net-mgmt/nagios-plugins/pkg-plist2
6 files changed, 18 insertions, 39 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index f4dd6ae4113e..45d20587c5af 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/nagios-plugins/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= nagios-plugins
-PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTVERSION= 1.4.2
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
diff --git a/net-mgmt/nagios-plugins/distinfo b/net-mgmt/nagios-plugins/distinfo
index 34b0f33de492..66c00c5abfb1 100644
--- a/net-mgmt/nagios-plugins/distinfo
+++ b/net-mgmt/nagios-plugins/distinfo
@@ -1,2 +1,2 @@
-MD5 (nagios-plugins-1.4.1.tar.gz) = 5bdd5dd7fca92a2aeb29683866ee42f1
-SIZE (nagios-plugins-1.4.1.tar.gz) = 967552
+MD5 (nagios-plugins-1.4.2.tar.gz) = 1f2bee15ade3d98ec79964a43479e328
+SIZE (nagios-plugins-1.4.2.tar.gz) = 971447
diff --git a/net-mgmt/nagios-plugins/files/patch-Makefile.am b/net-mgmt/nagios-plugins/files/patch-Makefile.am
index 2c39f970ecc4..581d23bdb08d 100644
--- a/net-mgmt/nagios-plugins/files/patch-Makefile.am
+++ b/net-mgmt/nagios-plugins/files/patch-Makefile.am
@@ -1,11 +1,11 @@
---- plugins/Makefile.am.orig Fri Aug 12 14:09:44 2005
-+++ plugins/Makefile.am Fri Aug 12 14:10:51 2005
-@@ -3,7 +3,7 @@
+--- plugins/Makefile.am.orig Wed Sep 14 14:40:26 2005
++++ plugins/Makefile.am Thu Sep 22 14:54:50 2005
+@@ -2,7 +2,7 @@
+
VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t
- INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/intl \
--@LDAPINCLUDE@ @PGINCLUDE@
-+@LDAPINCLUDE@ @PGINCLUDE@ @RADIUSINCLUDE@
+-INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@
++INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/intl @LDAPINCLUDE@ @PGINCLUDE@ @RADIUSINCLUDE@
datadir = @datadir@
localedir = $(datadir)/locale
diff --git a/net-mgmt/nagios-plugins/files/patch-check_snmp.c b/net-mgmt/nagios-plugins/files/patch-check_snmp.c
deleted file mode 100644
index 7cc1009fad62..000000000000
--- a/net-mgmt/nagios-plugins/files/patch-check_snmp.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- plugins/check_snmp.c.orig Wed Sep 7 12:35:57 2005
-+++ plugins/check_snmp.c Wed Sep 7 12:43:03 2005
-@@ -141,6 +141,7 @@
- char *p2 = NULL;
- char *show = NULL;
- char type[8];
-+ char *str[MAX_INPUT_BUFFER];
-
- setlocale (LC_ALL, ""); setlocale(LC_NUMERIC, "C");
- bindtextdomain (PACKAGE, LOCALEDIR);
-@@ -338,7 +339,6 @@
-
- i++;
-
-- char *str[MAX_INPUT_BUFFER];
- asprintf(str, "=%s%s;;;; ", show, type ? type : "");
- strcat(perfstr, *str);
-
diff --git a/net-mgmt/nagios-plugins/files/patch-configure.in b/net-mgmt/nagios-plugins/files/patch-configure.in
index ee9569a408e6..1eef833ac26b 100644
--- a/net-mgmt/nagios-plugins/files/patch-configure.in
+++ b/net-mgmt/nagios-plugins/files/patch-configure.in
@@ -1,5 +1,5 @@
---- configure.in.orig Mon Aug 1 23:24:51 2005
-+++ configure.in Mon Aug 15 21:20:53 2005
+--- configure.in.orig Mon Sep 19 15:51:19 2005
++++ configure.in Thu Sep 22 14:57:12 2005
@@ -10,7 +10,7 @@
RELEASE=1
AC_SUBST(RELEASE)
@@ -91,7 +91,7 @@
dnl Check for mysql libraries
-@@ -597,247 +609,11 @@
+@@ -597,245 +609,11 @@
AC_PATH_PROG(PATH_TO_PS,ps)
@@ -206,7 +206,6 @@
- ac_cv_ps_cols=9
- AC_MSG_RESULT([$ac_cv_ps_command])
-
--XXX
-elif ps -eo 's comm vsz rss user uid pid ppid args' 2>/dev/null | \
- egrep -i ["^S[TAUES]* +C[OMDNA]+ +[VSIZE]+ +U[SER]+ +U[ID]+ +P[PID]+ +P[PID]+ +[RGSCOMDNA]+"] >/dev/null
-then
@@ -331,7 +330,6 @@
- ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s"
- ac_cv_ps_cols=8
- AC_MSG_RESULT([$ac_cv_ps_command])
--XXX
-
-else
- AC_MSG_WARN([unable to find usable ps syntax - check_procs and check_nagios will not be compiled])
@@ -344,7 +342,7 @@
if test -n "$ac_cv_ps_varlist" ; then
AC_DEFINE_UNQUOTED(PS_VARLIST,$ac_cv_ps_varlist,
-@@ -1198,6 +974,8 @@
+@@ -1196,6 +974,8 @@
AC_DEFINE_UNQUOTED(WHO_COMMAND,"$ac_cv_path_to_who",
[path and arguments for invoking 'who'])
@@ -353,7 +351,7 @@
AC_PATH_PROG(PATH_TO_SNMPGET,snmpget)
if test -x "$PATH_TO_SNMPGET"
then
-@@ -1220,7 +998,10 @@
+@@ -1218,7 +998,10 @@
else
AC_MSG_WARN([Tried $PERL - install Net::SNMP perl module if you want to use the perl snmp plugins])
fi
@@ -364,7 +362,7 @@
AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat)
AC_PATH_PROG(PATH_TO_QSTAT,qstat)
-@@ -1242,7 +1023,10 @@
+@@ -1240,7 +1023,10 @@
AC_DEFINE_UNQUOTED(PATH_TO_QSTAT,"$ac_cv_path_to_qstat",
[path to qstat/quakestat])
fi
@@ -375,7 +373,7 @@
AC_PATH_PROG(PATH_TO_FPING,fping)
if test -x "$PATH_TO_FPING"
then
-@@ -1251,6 +1035,7 @@
+@@ -1249,6 +1035,7 @@
else
AC_MSG_WARN([Get fping from http://www.fping.com in order to make check_fping plugin])
fi
@@ -383,7 +381,7 @@
AC_PATH_PROG(PATH_TO_SSH,ssh)
-@@ -1313,32 +1098,12 @@
+@@ -1311,32 +1098,12 @@
dnl end if for PATH_TO_SWAP
fi
diff --git a/net-mgmt/nagios-plugins/pkg-plist b/net-mgmt/nagios-plugins/pkg-plist
index 3bc2936e6ea8..6799bcdf7a02 100644
--- a/net-mgmt/nagios-plugins/pkg-plist
+++ b/net-mgmt/nagios-plugins/pkg-plist
@@ -20,7 +20,7 @@ libexec/nagios/check_imap
libexec/nagios/check_ircd
libexec/nagios/check_jabber
%%SUB_LDAP%%libexec/nagios/check_ldap
-libexec/nagios/check_ldaps
+%%SUB_LDAP%%libexec/nagios/check_ldaps
libexec/nagios/check_load
libexec/nagios/check_log
libexec/nagios/check_mailq