summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-configure.in
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-24 23:24:53 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-24 23:24:53 +0000
commit0253032ea5d085256223f839498a345eefc34901 (patch)
tree3224765858b6b5170a9b75887049a31d6e134d14 /net-mgmt/nagios4/files/patch-configure.in
parent- Update to version 2.2.5 (diff)
Add nagios4, the next version of the nagios monitoring system.
While there, garbage collect the UID/GID in nagios. Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/nagios4/files/patch-configure.in')
-rw-r--r--net-mgmt/nagios4/files/patch-configure.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-mgmt/nagios4/files/patch-configure.in b/net-mgmt/nagios4/files/patch-configure.in
new file mode 100644
index 000000000000..245f34836614
--- /dev/null
+++ b/net-mgmt/nagios4/files/patch-configure.in
@@ -0,0 +1,27 @@
+--- ./configure.in.orig 2013-11-25 14:16:25.000000000 +0000
++++ ./configure.in 2014-01-24 22:41:15.000000000 +0000
+@@ -6,7 +6,6 @@
+
+ AC_INIT(base/nagios.c)
+ AC_CONFIG_HEADER(include/config.h lib/snprintf.h lib/iobroker.h)
+-AC_PREFIX_DEFAULT(/usr/local/nagios)
+
+ PKG_NAME=nagios
+ PKG_VERSION="4.0.2"
+@@ -134,14 +133,14 @@
+ AC_SUBST(nagios_grp)
+ AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_USER,"$nagios_user",[user name to run nagios])
+ AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_GROUP,"$nagios_grp",[group name to run nagios])
+-INSTALL_OPTS="-o $nagios_user -g $nagios_grp"
++INSTALL_OPTS=""
+ AC_SUBST(INSTALL_OPTS)
+
+ AC_ARG_WITH(command_user,AC_HELP_STRING([--with-command-user=<user>],[sets user name for command access]),command_user=$withval,command_user=$nagios_user)
+ AC_ARG_WITH(command_group,AC_HELP_STRING([--with-command-group=<grp>],[sets group name for command access]),command_grp=$withval,command_grp=$nagios_grp)
+ AC_SUBST(command_user)
+ AC_SUBST(command_grp)
+-COMMAND_OPTS="-o $command_user -g $command_grp"
++COMMAND_OPTS=""
+ AC_SUBST(COMMAND_OPTS)
+
+ dnl Check for location of mail program