зеркало из https://github.com/Azure/sonic-openssh.git
- Check for libwrap if --with-tcp-wrappers option specified. Suggestion
Mate Wierdl <mw@moni.msci.memphis.edu>
This commit is contained in:
Родитель
9fb07e4b8b
Коммит
65165f8d83
|
@ -3,6 +3,8 @@
|
|||
- Explicitly seed OpenSSL's PRNG before checking rsa_alive()
|
||||
- Check for getpagesize in libucb.a if not found in libc. Fix for old
|
||||
Solaris from Andre Lucas <andre.lucas@dial.pipex.com>
|
||||
- Check for libwrap if --with-tcp-wrappers option specified. Suggestion
|
||||
Mate Wierdl <mw@moni.msci.memphis.edu>
|
||||
|
||||
20000303
|
||||
- Added "make host-key" target, Suggestion from Dominik Brettnacher
|
||||
|
|
19
configure.in
19
configure.in
|
@ -699,8 +699,25 @@ AC_ARG_WITH(tcp-wrappers,
|
|||
[ --with-tcp-wrappers Enable tcpwrappers support],
|
||||
[
|
||||
if test "x$withval" != "$xno" ; then
|
||||
AC_DEFINE(LIBWRAP)
|
||||
saved_LIBS="$LIBS"
|
||||
LIBS="$LIBS -lwrap"
|
||||
AC_MSG_CHECKING(for libwrap)
|
||||
AC_TRY_LINK(
|
||||
[
|
||||
#include <tcpd.h>
|
||||
int deny_severity = 0, allow_severity = 0;
|
||||
],
|
||||
[hosts_access(0);],
|
||||
[
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(LIBWRAP)
|
||||
],
|
||||
[
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([*** libwrap missing - tcpwrapper support disabled ***])
|
||||
LIBS="$saved_LIBS"
|
||||
]
|
||||
)
|
||||
fi
|
||||
]
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче