- Applied patch from David Rankin <drankin@bohemians.lexington.ky.us>

to fix libwrap support on NetBSD
This commit is contained in:
Damien Miller 1999-12-09 10:48:58 +11:00
parent 6646badaa6
commit d7f6615e78
3 changed files with 6 additions and 2 deletions

View File

@ -15,6 +15,8 @@
listen sock now.
- [sshd.c]
make that a fatal
- Applied patch from David Rankin <drankin@bohemians.lexington.ky.us>
to fix libwrap support on NetBSD
- Released 1.2pre17
19991208

View File

@ -15,6 +15,7 @@ CFLAGS=@CFLAGS@ $(PATHS) @DEFS@
EXTRA_TARGETS=@GNOME_ASKPASS@
TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS)
LIBS=@LIBS@
LIBWRAP=@LIBWRAP@
AR=@AR@
RANLIB=@RANLIB@
INSTALL=@INSTALL@
@ -48,7 +49,7 @@ ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o libssh.a
sshd: sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
pty.o log-server.o login.o servconf.o serverloop.o bsd-login.o \
md5crypt.o libssh.a
$(CC) -o $@ $^ $(LFLAGS) $(LIBS)
$(CC) -o $@ $^ $(LFLAGS) $(LIBS) $(LIBWRAP)
scp: scp.o libssh.a
$(CC) -o $@ $^ $(LFLAGS) $(LIBS)

View File

@ -276,9 +276,10 @@ AC_ARG_WITH(tcp-wrappers,
[ --with-tcp-wrappers Enable tcpwrappers support],
[
AC_DEFINE(LIBWRAP)
LIBS="$LIBS -lwrap"
LIBWRAP="-lwrap"
]
)
AC_SUBST(LIBWRAP)
dnl Check whether to enable MD5 passwords
AC_ARG_WITH(md5-passwords,