diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Makefile.in | 3 | ||||
-rw-r--r-- | configure.in | 3 |
3 files changed, 6 insertions, 2 deletions
@@ -15,6 +15,8 @@ | |||
15 | listen sock now. | 15 | listen sock now. |
16 | - [sshd.c] | 16 | - [sshd.c] |
17 | make that a fatal | 17 | make that a fatal |
18 | - Applied patch from David Rankin <drankin@bohemians.lexington.ky.us> | ||
19 | to fix libwrap support on NetBSD | ||
18 | - Released 1.2pre17 | 20 | - Released 1.2pre17 |
19 | 21 | ||
20 | 19991208 | 22 | 19991208 |
diff --git a/Makefile.in b/Makefile.in index 232f8e024..7148c50cd 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -15,6 +15,7 @@ CFLAGS=@CFLAGS@ $(PATHS) @DEFS@ | |||
15 | EXTRA_TARGETS=@GNOME_ASKPASS@ | 15 | EXTRA_TARGETS=@GNOME_ASKPASS@ |
16 | TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS) | 16 | TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS) |
17 | LIBS=@LIBS@ | 17 | LIBS=@LIBS@ |
18 | LIBWRAP=@LIBWRAP@ | ||
18 | AR=@AR@ | 19 | AR=@AR@ |
19 | RANLIB=@RANLIB@ | 20 | RANLIB=@RANLIB@ |
20 | INSTALL=@INSTALL@ | 21 | INSTALL=@INSTALL@ |
@@ -48,7 +49,7 @@ ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o libssh.a | |||
48 | sshd: sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ | 49 | sshd: sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ |
49 | pty.o log-server.o login.o servconf.o serverloop.o bsd-login.o \ | 50 | pty.o log-server.o login.o servconf.o serverloop.o bsd-login.o \ |
50 | md5crypt.o libssh.a | 51 | md5crypt.o libssh.a |
51 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | 52 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) $(LIBWRAP) |
52 | 53 | ||
53 | scp: scp.o libssh.a | 54 | scp: scp.o libssh.a |
54 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | 55 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) |
diff --git a/configure.in b/configure.in index e0395528d..2e7623bb4 100644 --- a/configure.in +++ b/configure.in | |||
@@ -276,9 +276,10 @@ AC_ARG_WITH(tcp-wrappers, | |||
276 | [ --with-tcp-wrappers Enable tcpwrappers support], | 276 | [ --with-tcp-wrappers Enable tcpwrappers support], |
277 | [ | 277 | [ |
278 | AC_DEFINE(LIBWRAP) | 278 | AC_DEFINE(LIBWRAP) |
279 | LIBS="$LIBS -lwrap" | 279 | LIBWRAP="-lwrap" |
280 | ] | 280 | ] |
281 | ) | 281 | ) |
282 | AC_SUBST(LIBWRAP) | ||
282 | 283 | ||
283 | dnl Check whether to enable MD5 passwords | 284 | dnl Check whether to enable MD5 passwords |
284 | AC_ARG_WITH(md5-passwords, | 285 | AC_ARG_WITH(md5-passwords, |