aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2014-07-30 16:17:39 +0000
committerLars Engels <lme@FreeBSD.org>2014-07-30 16:17:39 +0000
commit383100cfc77306991405b112a8c0f02123b9355e (patch)
tree74d0d1de659d01e72b576f7a1d7a025ac88e8359 /net-mgmt/nagios
parent6a69f7c6fcf07ffc32a16a8b310f2736986c1bdd (diff)
downloadports-383100cfc77306991405b112a8c0f02123b9355e.tar.gz
ports-383100cfc77306991405b112a8c0f02123b9355e.zip
- Add OPTIONS to either depend on plugins from nagios-plugins.org, monitoring-plugins.org or neither at all
- Bump PORTREVISION Approved by: mat (implicit)
Notes
Notes: svn path=/head/; revision=363492
Diffstat (limited to 'net-mgmt/nagios')
-rw-r--r--net-mgmt/nagios/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile
index 5770d40a4e3e..5b3e4336a1e6 100644
--- a/net-mgmt/nagios/Makefile
+++ b/net-mgmt/nagios/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nagios
PORTVERSION= 3.5.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION}
@@ -13,7 +13,6 @@ COMMENT= Powerful network monitoring system
LICENSE= GPLv2
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
-RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
PORTSCOUT= limit:^3.
@@ -76,11 +75,17 @@ USERS= ${NAGIOSUSER}
GROUPS= ${NAGIOSGROUP}
OPTIONS_DEFINE= EMBEDDED_PERL NANOSLEEP EVENT_BROKER UNHANDLED_HACK
+OPTIONS_RADIO= PLUGINS
+OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS
+OPTIONS_DEFAULT= NAGPLUGINS
EMBEDDED_PERL_DESC= Enable embedded Perl [requires Perl 5.8.0+]
NANOSLEEP_DESC= Use nanosleep in event timing
EVENT_BROKER_DESC= Enable event broker functionality
UNHANDLED_HACK_DESC= Display passive checks in unhandled queries
+MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/monitoring-plugins
+NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
+
OPTIONS_SUB=
EMBEDDED_PERL_USE= perl5=run