svn commit: r408091 - head/net-mgmt/nrpe

Niclas Zeising zeising at FreeBSD.org
Thu Feb 4 20:18:03 UTC 2016


Author: zeising
Date: Thu Feb  4 20:18:02 2016
New Revision: 408091
URL: https://svnweb.freebsd.org/changeset/ports/408091

Log:
  Make it possible to depend on either net-mgmt/nagios-plugins or
  net-mgmt/monitoring-plugins.
  
  PR:		196325
  Submitted by:	Niels Kristensen

Modified:
  head/net-mgmt/nrpe/Makefile

Modified: head/net-mgmt/nrpe/Makefile
==============================================================================
--- head/net-mgmt/nrpe/Makefile	Thu Feb  4 20:05:11 2016	(r408090)
+++ head/net-mgmt/nrpe/Makefile	Thu Feb  4 20:18:02 2016	(r408091)
@@ -3,15 +3,13 @@
 
 PORTNAME=	nrpe
 DISTVERSION=	2.15
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/nagios/${PORTNAME}-2.x/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	zeising at FreeBSD.org
 COMMENT?=	Nagios Remote Plugin Executor
 
-RUN_DEPENDS=	${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
-
 CONFLICTS=	nrpe-ssl-2.*
 
 USES=		perl5
@@ -20,10 +18,14 @@ USE_RC_SUBR=	nrpe2
 GNU_CONFIGURE=	yes
 
 OPTIONS_DEFINE=	SSL ARGS
-OPTIONS_DEFAULT=ARGS
+OPTIONS_RADIO=	PLUGINS
+OPTIONS_RADIO_PLUGINS=	MONPLUGINS NAGPLUGINS
+OPTIONS_DEFAULT=ARGS NAGPLUGINS
 
 SSL_DESC=	Enable SSL support (disables plain-text server)
 ARGS_DESC=	Enable command argument processing
+NAGPLUGINS_DESC=Use net-mgmt/nagios-plugins
+MONPLUGINS_DESC=Use net-mgmt/monitoring-plugins
 
 SSL_USE=		OPENSSL=yes
 SSL_CONFIGURE_ON=	--enable-ssl --with-ssl=${OPENSSLDIR} \
@@ -35,6 +37,9 @@ SSL_CFLAGS=		-I${OPENSSLINC}
 ARGS_CONFIGURE_ON=	--enable-command-args
 ARGS_CONFIGURE_OFF=	--disable-command-args
 
+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
+
 NAGIOSUSER?=	nagios
 NAGIOSGROUP?=	nagios
 USERS=		${NAGIOSUSER}


More information about the svn-ports-all mailing list