Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 454316
Collapse All | Expand All

(-)file_not_specified_in_diff (-14 / +23 lines)
Line  Link Here
0
-- nrpe-2.14.orig/configure.in
0
++ nrpe-2.14/configure.in
Lines 1-12 Link Here
1
dnl Process this -*-m4-*- file with autoconf to produce a configure script.
1
dnl Process this -*-m4-*- file with autoconf to produce a configure script.
2
2
3
dnl Disable caching
3
AC_INIT([nrpe],[2.14],[nagios-users@lists.sourceforge.net],[nrpe],[http://www.nagios.org])
4
define([AC_CACHE_LOAD],)
5
define([AC_CACHE_SAVE],)
6
7
2.14([nrpe],[2.13],[nagios-users@lists.sourceforge.net],[nrpe],[http://www.nagios.org])
8
AC_CONFIG_SRCDIR([src/nrpe.c])
4
AC_CONFIG_SRCDIR([src/nrpe.c])
9
AC_CONFIG_HEADERS([include/config.h])
5
10
AC_CONFIG_FILES([Makefile
6
AC_CONFIG_FILES([Makefile
11
	subst
7
	subst
12
	src/Makefile
8
	src/Makefile
Lines 16-22 Link Here
16
	init-script.suse
12
	init-script.suse
17
	nrpe.spec
13
	nrpe.spec
18
	sample-config/nrpe.cfg
14
	sample-config/nrpe.cfg
19
	sample-config/nrpe.xinetd])
15
	sample-config/nrpe.xinetd
16
	include/config.h])
20
AC_PREFIX_DEFAULT(/usr/local/nagios)
17
AC_PREFIX_DEFAULT(/usr/local/nagios)
21
18
22
PKG_NAME=nrpe
19
PKG_NAME=nrpe
Lines 45-51 Link Here
45
AC_HEADER_STDC
42
AC_HEADER_STDC
46
AC_HEADER_TIME
43
AC_HEADER_TIME
47
AC_HEADER_SYS_WAIT
44
AC_HEADER_SYS_WAIT
48
AC_CHECK_HEADERS(ctype.h dirent.h errno.h fcntl.h getopt.h grp.h inttypes.h netdb.h pwd.h signal.h stdint.h strings.h string.h syslog.h tcpd.h unistd.h arpa/inet.h netinet/in.h socket.h sys/types.h sys/time.h sys/resource.h sys/wait.h sys/socket.h sys/stat.h)
45
AC_CHECK_HEADERS(ctype.h dirent.h errno.h fcntl.h getopt.h grp.h inttypes.h netdb.h pwd.h signal.h stdint.h strings.h string.h syslog.h unistd.h arpa/inet.h netinet/in.h socket.h sys/types.h sys/time.h sys/resource.h sys/wait.h sys/socket.h sys/stat.h)
49
46
50
dnl Checks for typedefs, structures, and compiler characteristics.
47
dnl Checks for typedefs, structures, and compiler characteristics.
51
AC_C_CONST
48
AC_C_CONST
Lines 164-174 Link Here
164
AC_CHECK_LIB(nsl,main,SOCKETLIBS="$SOCKETLIBS -lnsl")
161
AC_CHECK_LIB(nsl,main,SOCKETLIBS="$SOCKETLIBS -lnsl")
165
AC_CHECK_LIB(socket,socket,SOCKETLIBS="$SOCKETLIBS -lsocket")
162
AC_CHECK_LIB(socket,socket,SOCKETLIBS="$SOCKETLIBS -lsocket")
166
AC_SUBST(SOCKETLIBS)
163
AC_SUBST(SOCKETLIBS)
167
AC_CHECK_LIB(wrap,main,[
164
168
	LIBWRAPLIBS="$LIBWRAPLIBS -lwrap"
165
AC_ARG_ENABLE([tcp-wrapper],
166
    AS_HELP_STRING([--disable-tcp-wrapper], [Disable building with TCP wrappers. *** DISABLING IS A SECURITY RISK! *** Read the SECURITY file before using this option! @<:@default=enable@:>@]))
167
168
LIBWRAPLIBS=""
169
AS_IF([test "x$enable_tcp_wrapper" != "xno"], [
170
    AC_CHECK_LIB([wrap],[hosts_access],[
171
        LIBWRAPLIBS="$LIBWRAPLIBS -lwrap"
169
	AC_DEFINE(HAVE_LIBWRAP,[1],[Have the TCP wrappers library])
172
	AC_DEFINE(HAVE_LIBWRAP,[1],[Have the TCP wrappers library])
170
	])
173
	AC_DEFINE(HAVE_TCPD_H,[1],[Have the TCP wrappers library])
174
    ])
175
])
171
AC_SUBST(LIBWRAPLIBS)
176
AC_SUBST(LIBWRAPLIBS)
177
172
AC_CHECK_FUNCS(strdup strstr strtoul initgroups closesocket)
178
AC_CHECK_FUNCS(strdup strstr strtoul initgroups closesocket)
173
179
174
dnl socklen_t check - from curl
180
dnl socklen_t check - from curl
Lines 438-445 Link Here
438
AC_SUBST(TARGET_PLATFORM)
444
AC_SUBST(TARGET_PLATFORM)
439
445
440
AC_ARG_ENABLE([command-args],
446
AC_ARG_ENABLE([command-args],
441
	AS_HELP_STRING([--enable-command-args],[allows clients to specify command arguments.  *** THIS IS A SECURITY RISK! *** Read the SECURITY file before using this option!]),
447
	AS_HELP_STRING([--enable-command-args],[allows clients to specify command arguments.  *** THIS IS A SECURITY RISK! *** Read the SECURITY file before using this option!]))
442
	AC_DEFINE_UNQUOTED(ENABLE_COMMAND_ARGUMENTS,[1],[Enable command-line arguments]))
448
449
AS_IF([test "x$enable_command_args" = "xyes"], [
450
	AC_DEFINE(ENABLE_COMMAND_ARGUMENTS,[1],[Enable command-line arguments])
451
])
443
452
444
AC_ARG_ENABLE([bash-command-substitution],
453
AC_ARG_ENABLE([bash-command-substitution],
445
	AS_HELP_STRING([--enable-bash-command-substitution],[allows clients to pass bash command substitutions of the form $(command).  *** THIS IS A HIGH SECURITY RISK! *** Read the SECURITY file before using this option!]),
454
	AS_HELP_STRING([--enable-bash-command-substitution],[allows clients to pass bash command substitutions of the form $(command).  *** THIS IS A HIGH SECURITY RISK! *** Read the SECURITY file before using this option!]),

Return to bug 454316