diff options
Diffstat (limited to 'net-analyzer/nrpe/files/nagios-nrpe-2.13-command-args.patch')
-rw-r--r-- | net-analyzer/nrpe/files/nagios-nrpe-2.13-command-args.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-analyzer/nrpe/files/nagios-nrpe-2.13-command-args.patch b/net-analyzer/nrpe/files/nagios-nrpe-2.13-command-args.patch new file mode 100644 index 000000000000..fe6751aa55ee --- /dev/null +++ b/net-analyzer/nrpe/files/nagios-nrpe-2.13-command-args.patch @@ -0,0 +1,15 @@ +--- configure.old 2008-03-10 22:04:41.000000000 +0100 ++++ configure.in 2012-01-04 09:46:38.000000000 +0100 +@@ -362,7 +362,11 @@ + AC_SUBST(NAGIOS_INSTALL_OPTS) + + +-AC_ARG_ENABLE(command-args,--enable-command-args allows clients to specify command arguments. *** THIS IS A SECURITY RISK! *** Read the SECURITY file before using this option!,AC_DEFINE_UNQUOTED(ENABLE_COMMAND_ARGUMENTS)) ++AC_ARG_ENABLE(command-args,--enable-command-args allows clients to specify command arguments. *** THIS IS A SECURITY RISK! *** Read the SECURITY file before using this option!,[ ++ if test x$enableval = xyes; then ++ AC_DEFINE_UNQUOTED(ENABLE_COMMAND_ARGUMENTS) ++ fi ++ ]) + + + AC_PATH_PROG(PERL,perl) |