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.
This commit is contained in:
gdt 2011-02-22 15:09:07 +00:00
parent 5741a3bd23
commit 38fc3bc504

View file

@ -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