summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 03d772c)
raw | patch | inline | side by side (parent: 03d772c)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 28 Jul 2006 23:59:29 +0000 (23:59 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 28 Jul 2006 23:59:29 +0000 (23:59 +0000) |
--with-nagios-user or --with-nagios-group specified for configure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1460 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1460 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history | |
plugins-scripts/Makefile.am | patch | blob | history | |
plugins/Makefile.am | patch | blob | history |
diff --git a/configure.in b/configure.in
index d9bb6195a0c19d9eab45c92ce6dc24aed7a35fa9..4ff9be1eb6d1a79052549375d370ff8b7a817176 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_PREFIX_DEFAULT(/usr/local/nagios)
dnl Deprecated configure options
+AC_ARG_WITH(nagios_user,,
+ AC_MSG_ERROR([--with-nagios-user is a deprecated option]))
+AC_ARG_WITH(nagios_group,,
+ AC_MSG_ERROR([--with-nagios-group is a deprecated option]))
dnl Figure out how to invoke "install" and what install options to use.
AC_PROG_INSTALL
CGIURL="$with_cgiurl"
AC_DEFINE_UNQUOTED(CGIURL,"$CGIURL",[URL of CGI programs])
-AC_ARG_WITH(nagios_user,
- ACX_HELP_STRING([--with-nagios-user=USER],
- [set user name to run nagios]),
- with_nagios_user=$withval,
- with_nagios_user=nagios)
-AC_ARG_WITH(nagios_group,
- ACX_HELP_STRING([--with-nagios-group=GROUP],
- [set group name to run nagios]),
- with_nagios_group=$withval,
- with_nagios_group=nagios)
-AC_SUBST(with_nagios_user)
-AC_SUBST(with_nagios_group)
-INSTALL_OPTS="-o $with_nagios_user -g $with_nagios_group"
-AC_SUBST(INSTALL_OPTS)
-
AC_ARG_WITH(trusted_path,
ACX_HELP_STRING([--with-trusted-path=PATH],
[sets trusted path for executables called by scripts (default=/bin:/sbin:/usr/bin:/usr/sbin)]),
ACX_FEATURE([enable],[emulate-getaddrinfo])
ACX_FEATURE([with],[perl])
ACX_FEATURE([with],[cgiurl])
-ACX_FEATURE([with],[nagios-user])
-ACX_FEATURE([with],[nagios-group])
ACX_FEATURE([with],[trusted-path])
index 9de45d5a8a712d9d9c8aca1152c0d385147aed3a..39291c8063b190f89c3a3cf9158f8855800c2572 100644 (file)
CLEANFILES=$(libexec_SCRIPTS)
-AM_INSTALL_PROGRAM_FLAGS=@INSTALL_OPTS@
-
.pl :
$(AWK) -f ./subst $< > $@
chmod +x $@
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index b84d0d7ee50f4a85b4e685a2f5e9433e4e1cffd9..12801fa8b5f9553245b0d4960752aa6084975532 100644 (file)
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
libexec_PROGRAMS = check_apt check_disk check_dummy check_http check_load \
check_mrtg check_mrtgtraf check_ntp check_nwstat check_overcr check_ping \
check_real check_smtp check_ssh check_tcp check_time \
- check_udp check_ups check_users negate \
+ check_ups check_users negate \
urlize @EXTRAS@
check_tcp_programs = check_ftp check_imap check_nntp check_pop \
test:
perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
-AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@
-
##############################################################################
# the actual targets
check_swap_LDADD = $(MATHLIBS) $(BASEOBJS) popen.o
check_tcp_LDADD = $(SSLOBJS) $(NETLIBS)
check_time_LDADD = $(NETLIBS)
-check_udp_LDADD = $(SSLOBJS) $(NETLIBS)
check_ups_LDADD = $(NETLIBS)
check_users_LDADD = $(BASEOBJS) popen.o
check_by_ssh_LDADD = $(NETLIBS) runcmd.o
check_swap_DEPENDENCIES = check_swap.c $(BASEOBJS) popen.o $(DEPLIBS)
check_tcp_DEPENDENCIES = check_tcp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS)
check_time_DEPENDENCIES = check_time.c $(NETOBJS) $(DEPLIBS)
-check_udp_DEPENDENCIES = check_udp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS)
check_ups_DEPENDENCIES = check_ups.c $(NETOBJS) $(DEPLIBS)
check_users_DEPENDENCIES = check_users.c $(BASEOBJS) popen.o $(DEPLIBS)
check_by_ssh_DEPENDENCIES = check_by_ssh.c $(NETOBJS) runcmd.o $(DEPLIBS)