summaryrefslogtreecommitdiff
path: root/net/nagios-nrpe
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2011-02-22 15:09:07 +0000
committergdt <gdt@pkgsrc.org>2011-02-22 15:09:07 +0000
commit0f88e1b493d1c95d3def6730087abcc63c6b5bbd (patch)
tree5e45094e9d8f9e0056ee17a404dac752883fb9fc /net/nagios-nrpe
parent9aec0a7ac8a61e532ea7c76167139987a4853c15 (diff)
downloadpkgsrc-0f88e1b493d1c95d3def6730087abcc63c6b5bbd.tar.gz
Add option nagios-nrpe-args, disabled by default.
This option passes -enable-command-args to configure, and is intended to allow the use of arguments to nrpe. From Brian A. Seklecki via PR pkg/43920. However, configure.in seems broken, and it seems command args are always enabled.
Diffstat (limited to 'net/nagios-nrpe')
-rw-r--r--net/nagios-nrpe/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/nagios-nrpe/options.mk b/net/nagios-nrpe/options.mk
index 889dac6ef69..a9940e22c63 100644
--- a/net/nagios-nrpe/options.mk
+++ b/net/nagios-nrpe/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.3 2010/09/29 10:50:12 obache Exp $
+# $NetBSD: options.mk,v 1.4 2011/02/22 15:09:07 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nagios-nrpe
-PKG_SUPPORTED_OPTIONS= ssl tcpwrappers
+PKG_SUPPORTED_OPTIONS= ssl tcpwrappers nagios-nrpe-args
PKG_SUGGESTED_OPTIONS= tcpwrappers
.include "../../mk/bsd.options.mk"
@@ -16,6 +16,12 @@ CONFIGURE_ARGS+= --with-ssl-inc=${SSLBASE}/include
CONFIGURE_ARGS+= --disable-ssl
.endif
+.if !empty(PKG_OPTIONS:Mnagios-nrpe-args)
+CONFIGURE_ARGS+= --enable-command-args
+.else
+CONFIGURE_ARGS+= --disable-command-args
+.endif
+
.if !empty(PKG_OPTIONS:Mtcpwrappers)
. include "../../security/tcp_wrappers/buildlink3.mk"
.endif