aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2014-01-19 21:44:15 +0800
committerkuriyama <kuriyama@FreeBSD.org>2014-01-19 21:44:15 +0800
commit5de3a4d0e8a2af23e86777ffd3faaa2f216be7f7 (patch)
tree3008eaadc8def5eb65cf99ed5b0009835b39de61 /net-mgmt
parenteb60f8bb7752905fdce512c9f5ae2d662233885e (diff)
downloadfreebsd-ports-gnome-5de3a4d0e8a2af23e86777ffd3faaa2f216be7f7.tar.gz
freebsd-ports-gnome-5de3a4d0e8a2af23e86777ffd3faaa2f216be7f7.tar.zst
freebsd-ports-gnome-5de3a4d0e8a2af23e86777ffd3faaa2f216be7f7.zip
Fix breakage with nagios-plugins 1.5.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios-check_memcached_paranoid/Makefile8
-rw-r--r--net-mgmt/nagios-check_memcached_paranoid/distinfo4
-rw-r--r--net-mgmt/nagios-check_memcached_paranoid/files/check_memcached_paranoid.c8
3 files changed, 7 insertions, 13 deletions
diff --git a/net-mgmt/nagios-check_memcached_paranoid/Makefile b/net-mgmt/nagios-check_memcached_paranoid/Makefile
index 99499fd8e3c9..d4aef35a8a03 100644
--- a/net-mgmt/nagios-check_memcached_paranoid/Makefile
+++ b/net-mgmt/nagios-check_memcached_paranoid/Makefile
@@ -2,9 +2,10 @@
PORTNAME= check_memcached_paranoid
PORTVERSION= 0.20131004
+PORTREVISION= 1
CATEGORIES= net-mgmt
-MASTER_SITES= SF/nagiosplug/nagiosplug/1.4.16
-DISTFILES= nagios-plugins-1.4.16.tar.gz
+MASTER_SITES= SF/nagiosplug/nagiosplug/1.5
+DISTFILES= nagios-plugins-1.5.tar.gz
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Nagios plugin for checking memcached
@@ -34,7 +35,8 @@ do-build:
-I$${NDIR} -I$${NDIR}/plugins -I$${NDIR}/gl -I$${NDIR}/lib -I${LOCALBASE}/include \
-o ${PORTNAME} \
$${NDIR}/plugins/netutils.o $${NDIR}/plugins/utils.o \
- $${NDIR}/lib/utils_base.o $${NDIR}/gl/getopt.o $${NDIR}/gl/getopt1.o \
+ $${NDIR}/lib/utils_base.o $${NDIR}/lib/extra_opts.o $${NDIR}/lib/parse_ini.o \
+ $${NDIR}/gl/getopt.o $${NDIR}/gl/getopt1.o \
$${NDIR}/gl/sha1.o \
-L${LOCALBASE}/lib -lintl -lmemcached ${FILE}
diff --git a/net-mgmt/nagios-check_memcached_paranoid/distinfo b/net-mgmt/nagios-check_memcached_paranoid/distinfo
index 12b7547d3167..d8b1eb3d87c6 100644
--- a/net-mgmt/nagios-check_memcached_paranoid/distinfo
+++ b/net-mgmt/nagios-check_memcached_paranoid/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nagios-plugins-1.4.16.tar.gz) = b0caf07e0084e9b7f10fdd71cbd3ebabcd85ad78df64da360b51233b0e73b2bd
-SIZE (nagios-plugins-1.4.16.tar.gz) = 2087089
+SHA256 (nagios-plugins-1.5.tar.gz) = fcc55e23bbf1c70bcf1a90749d30249955d4668a9b776b2521da023c5c2f2170
+SIZE (nagios-plugins-1.5.tar.gz) = 2428258
diff --git a/net-mgmt/nagios-check_memcached_paranoid/files/check_memcached_paranoid.c b/net-mgmt/nagios-check_memcached_paranoid/files/check_memcached_paranoid.c
index 763587553cdb..5dd75a5f2fd0 100644
--- a/net-mgmt/nagios-check_memcached_paranoid/files/check_memcached_paranoid.c
+++ b/net-mgmt/nagios-check_memcached_paranoid/files/check_memcached_paranoid.c
@@ -13,8 +13,6 @@ const char *revision = "$Revision: 0.1 $";
const char *copyright = "2009";
const char *email = "hirose31 _at_ gmail.com";
-#include <unistd.h>
-
#include "common.h"
#include "utils.h"
#include "utils_base.h"
@@ -258,12 +256,6 @@ void print_help(void)
printf (_(UT_HOST_PORT), 'P', mcport);
printf (" -E, --expire=INTEGER\n expire time(second) for SET command (default: 0)\n");
-#ifdef NP_EXTRA_OPTS
- printf ("\n");
- printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
-#endif
-
/* printf (_(UT_SUPPORT)); */
puts("\nRepository:\n http://github.com/hirose31/nagios-check_memcached_paranoid/tree/master\n\n");
}