aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/monitoring-plugins
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-06-25 12:09:17 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-06-25 12:09:17 +0000
commit05abc1cdc0472c7abd9fa71649c4c8ad75077ca4 (patch)
treee2fb40f90f621179c86a8d7478259278b26aa599 /net-mgmt/monitoring-plugins
parent947a36ffafa984c6b5a036e8248a757dc705b651 (diff)
downloadports-05abc1cdc0472c7abd9fa71649c4c8ad75077ca4.tar.gz
ports-05abc1cdc0472c7abd9fa71649c4c8ad75077ca4.zip
Update to today's latest commit.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=359230
Diffstat (limited to 'net-mgmt/monitoring-plugins')
-rw-r--r--net-mgmt/monitoring-plugins/Makefile4
-rw-r--r--net-mgmt/monitoring-plugins/distinfo4
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-configure.ac40
3 files changed, 24 insertions, 24 deletions
diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile
index 17e942340ef0..aa03615b5c8b 100644
--- a/net-mgmt/monitoring-plugins/Makefile
+++ b/net-mgmt/monitoring-plugins/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= monitoring-plugins
-PORTVERSION= 1.5.99.20140427
+PORTVERSION= 1.5.99.20140625
CATEGORIES= net-mgmt
MASTER_SITES= GH GHC \
LOCAL/mat/${PORTNAME}
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= monitoring-plugins
-GH_COMMIT= 1b38905
+GH_COMMIT= 7508da9
GH_TAGNAME= ${GH_COMMIT}
CONFLICTS_INSTALL= nagios-plugins-*
diff --git a/net-mgmt/monitoring-plugins/distinfo b/net-mgmt/monitoring-plugins/distinfo
index b6ddb6bfa899..8058d92b49cc 100644
--- a/net-mgmt/monitoring-plugins/distinfo
+++ b/net-mgmt/monitoring-plugins/distinfo
@@ -1,2 +1,2 @@
-SHA256 (monitoring-plugins-1.5.99.20140427.tar.gz) = 28b72733346df96ba7561328a5daf068c16149c3fd33d17b11934e70a8eac368
-SIZE (monitoring-plugins-1.5.99.20140427.tar.gz) = 2046687
+SHA256 (monitoring-plugins-1.5.99.20140625.tar.gz) = 579661802a22008d1923cd2301e09c2d3e03da3d923337686dbeb8cde6f49466
+SIZE (monitoring-plugins-1.5.99.20140625.tar.gz) = 2050035
diff --git a/net-mgmt/monitoring-plugins/files/patch-configure.ac b/net-mgmt/monitoring-plugins/files/patch-configure.ac
index 6f00f9f64b82..d8de28c9b648 100644
--- a/net-mgmt/monitoring-plugins/files/patch-configure.ac
+++ b/net-mgmt/monitoring-plugins/files/patch-configure.ac
@@ -1,5 +1,5 @@
---- ./configure.ac.orig 2014-04-27 19:59:06.000000000 +0200
-+++ ./configure.ac 2014-05-09 18:45:30.000000000 +0200
+--- ./configure.ac.orig 2014-06-24 15:08:41.000000000 +0200
++++ ./configure.ac 2014-06-25 13:28:18.000000000 +0200
@@ -44,6 +44,7 @@
gl_EARLY
AC_PROG_GCC_TRADITIONAL
@@ -32,34 +32,34 @@
AC_SUBST(DBILIBS)
else
AC_MSG_WARN([Skipping dbi plugin])
-@@ -274,22 +275,17 @@
- dnl Check for radius libraries
+@@ -275,15 +276,12 @@
AS_IF([test "x$with_radius" != "xno"], [
_SAVEDLIBS="$LIBS"
-- AC_CHECK_LIB(radiusclient,rc_read_config)
-- if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then
+ AC_CHECK_LIB(freeradius-client,rc_read_config)
+- if test "$ac_cv_lib_freeradius_client_rc_read_config" = "yes"; then
- EXTRAS="$EXTRAS check_radius\$(EXEEXT)"
-- RADIUSLIBS="-lradiusclient"
+- RADIUSLIBS="-lfreeradius-client"
- AC_SUBST(RADIUSLIBS)
- else
- AC_CHECK_LIB(radiusclient-ng,rc_read_config)
+ AC_CHECK_LIB(radiusclient-ng,rc_read_config,,,-L${LOCALBASE}/lib)
if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then
EXTRAS="$EXTRAS check_radius\$(EXEEXT)"
-- RADIUSLIBS="-lradiusclient-ng"
-+ RADIUSLIBS="-L${LOCALBASE}/lib -lradiusclient-ng"
+ RADIUSLIBS="-lradiusclient-ng"
+ RADIUSINCLUDE="-I${LOCALBSE}/include"
+ AC_SUBST(RADIUSINCLUDE)
AC_SUBST(RADIUSLIBS)
else
- AC_MSG_WARN([Skipping radius plugin])
- AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).])
+ AC_CHECK_LIB(radiusclient,rc_read_config)
+@@ -296,7 +294,6 @@
+ AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).])
+ fi
fi
- fi
LIBS="$_SAVEDLIBS"
])
-@@ -298,12 +294,13 @@
+@@ -305,12 +302,13 @@
dnl Check for LDAP libraries
AS_IF([test "x$with_ldap" != "xno"], [
_SAVEDLIBS="$LIBS"
@@ -77,7 +77,7 @@
AC_CHECK_FUNCS(ldap_set_option)
EXTRAS="$EXTRAS check_ldap\$(EXEEXT)"
AC_CHECK_FUNCS(ldap_init ldap_set_option ldap_get_option ldap_start_tls_s)
-@@ -735,22 +732,10 @@
+@@ -740,22 +738,10 @@
dnl ac_cv_ps_cols=8
dnl AC_MSG_RESULT([$ac_cv_ps_command])
@@ -103,7 +103,7 @@
then
ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]"
ac_cv_ps_command="$PATH_TO_PS -axwo 'stat uid pid ppid vsz rss pcpu comm args'"
-@@ -758,9 +743,8 @@
+@@ -763,9 +749,8 @@
ac_cv_ps_cols=9
AC_MSG_RESULT([$ac_cv_ps_command])
@@ -115,7 +115,7 @@
elif ps -axwo 'stat uid pid ppid vsz rss pcpu ucomm command' 2>/dev/null | \
egrep -i ["^ *STAT +UID +PID +PPID +VSZ +RSS +%CPU +UCOMM +COMMAND"] > /dev/null
then
-@@ -770,209 +754,6 @@
+@@ -775,209 +760,6 @@
ac_cv_ps_cols=9
AC_MSG_RESULT([$ac_cv_ps_command])
@@ -325,7 +325,7 @@
else
AC_MSG_WARN([unable to find usable ps syntax - check_procs and check_nagios will not be compiled])
fi
-@@ -1371,6 +1152,8 @@
+@@ -1376,6 +1158,8 @@
AC_MSG_WARN([Get smbclient from Samba.org to monitor SMB shares])
fi
@@ -334,7 +334,7 @@
AC_PATH_PROG(PATH_TO_SNMPGET,snmpget)
AC_ARG_WITH(snmpget_command,
ACX_HELP_STRING([--with-snmpget-command=PATH],
-@@ -1401,7 +1184,10 @@
+@@ -1406,7 +1190,10 @@
else
AC_MSG_WARN([Tried $PERL - install Net::SNMP perl module if you want to use the perl snmp plugins])
fi
@@ -345,7 +345,7 @@
AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat)
AC_PATH_PROG(PATH_TO_QSTAT,qstat)
AC_ARG_WITH(qstat_command,
-@@ -1426,7 +1212,10 @@
+@@ -1431,7 +1218,10 @@
AC_DEFINE_UNQUOTED(PATH_TO_QSTAT,"$ac_cv_path_to_qstat",
[path to qstat/quakestat])
fi
@@ -356,7 +356,7 @@
AC_PATH_PROG(PATH_TO_FPING,fping)
AC_PATH_PROG(PATH_TO_FPING6,fping6)
-@@ -1447,6 +1236,7 @@
+@@ -1452,6 +1242,7 @@
else
AC_MSG_WARN([Get fping from http://www.fping.com in order to make check_fping plugin])
fi
@@ -364,7 +364,7 @@
AC_PATH_PROG(PATH_TO_SSH,ssh)
AC_ARG_WITH(ssh_command,
-@@ -1514,32 +1304,12 @@
+@@ -1519,32 +1310,12 @@
dnl end if for PATH_TO_SWAP
fi