- Applied patch from David Rankin <drankin@bohemians.lexington.ky.us>
to fix libwrap support on NetBSD
This commit is contained in:
parent
6646badaa6
commit
d7f6615e78
|
@ -15,6 +15,8 @@
|
||||||
listen sock now.
|
listen sock now.
|
||||||
- [sshd.c]
|
- [sshd.c]
|
||||||
make that a fatal
|
make that a fatal
|
||||||
|
- Applied patch from David Rankin <drankin@bohemians.lexington.ky.us>
|
||||||
|
to fix libwrap support on NetBSD
|
||||||
- Released 1.2pre17
|
- Released 1.2pre17
|
||||||
|
|
||||||
19991208
|
19991208
|
||||||
|
|
|
@ -15,6 +15,7 @@ CFLAGS=@CFLAGS@ $(PATHS) @DEFS@
|
||||||
EXTRA_TARGETS=@GNOME_ASKPASS@
|
EXTRA_TARGETS=@GNOME_ASKPASS@
|
||||||
TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS)
|
TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS)
|
||||||
LIBS=@LIBS@
|
LIBS=@LIBS@
|
||||||
|
LIBWRAP=@LIBWRAP@
|
||||||
AR=@AR@
|
AR=@AR@
|
||||||
RANLIB=@RANLIB@
|
RANLIB=@RANLIB@
|
||||||
INSTALL=@INSTALL@
|
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 \
|
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 \
|
pty.o log-server.o login.o servconf.o serverloop.o bsd-login.o \
|
||||||
md5crypt.o libssh.a
|
md5crypt.o libssh.a
|
||||||
$(CC) -o $@ $^ $(LFLAGS) $(LIBS)
|
$(CC) -o $@ $^ $(LFLAGS) $(LIBS) $(LIBWRAP)
|
||||||
|
|
||||||
scp: scp.o libssh.a
|
scp: scp.o libssh.a
|
||||||
$(CC) -o $@ $^ $(LFLAGS) $(LIBS)
|
$(CC) -o $@ $^ $(LFLAGS) $(LIBS)
|
||||||
|
|
|
@ -276,9 +276,10 @@ AC_ARG_WITH(tcp-wrappers,
|
||||||
[ --with-tcp-wrappers Enable tcpwrappers support],
|
[ --with-tcp-wrappers Enable tcpwrappers support],
|
||||||
[
|
[
|
||||||
AC_DEFINE(LIBWRAP)
|
AC_DEFINE(LIBWRAP)
|
||||||
LIBS="$LIBS -lwrap"
|
LIBWRAP="-lwrap"
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
AC_SUBST(LIBWRAP)
|
||||||
|
|
||||||
dnl Check whether to enable MD5 passwords
|
dnl Check whether to enable MD5 passwords
|
||||||
AC_ARG_WITH(md5-passwords,
|
AC_ARG_WITH(md5-passwords,
|
||||||
|
|
Loading…
Reference in New Issue