summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-01-24 11:46:57 +0000
committerColin Watson <cjwatson@debian.org>2011-01-24 11:46:57 +0000
commit0970072c89b079b022538e3c366fbfa2c53fc821 (patch)
treeb7024712d74234bb5a8b036ccbc9109e2e211296 /Makefile.in
parent4e8aa4da57000c7bba8e5c49163bc0c0ca383f78 (diff)
parent478ff799463ca926a8dfbabf058f4e84aaffc65a (diff)
merge 5.7p1
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in51
1 files changed, 33 insertions, 18 deletions
diff --git a/Makefile.in b/Makefile.in
index eaf362652..d594ff0e1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# $Id: Makefile.in,v 1.310 2010/05/12 06:51:39 dtucker Exp $ 1# $Id: Makefile.in,v 1.320 2011/01/17 10:15:29 dtucker Exp $
2 2
3# uncomment if you run a non bourne compatable shell. Ie. csh 3# uncomment if you run a non bourne compatable shell. Ie. csh
4#SHELL = @SH@ 4#SHELL = @SH@
@@ -58,6 +58,7 @@ ENT=@ENT@
58XAUTH_PATH=@XAUTH_PATH@ 58XAUTH_PATH=@XAUTH_PATH@
59LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@ 59LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@
60EXEEXT=@EXEEXT@ 60EXEEXT=@EXEEXT@
61MANFMT=@MANFMT@
61 62
62INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@ 63INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@
63INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@ 64INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@
@@ -71,26 +72,27 @@ LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \
71 log.o match.o md-sha256.o moduli.o nchan.o packet.o \ 72 log.o match.o md-sha256.o moduli.o nchan.o packet.o \
72 readpass.o rsa.o ttymodes.o xmalloc.o addrmatch.o \ 73 readpass.o rsa.o ttymodes.o xmalloc.o addrmatch.o \
73 atomicio.o key.o dispatch.o kex.o mac.o uidswap.o uuencode.o misc.o \ 74 atomicio.o key.o dispatch.o kex.o mac.o uidswap.o uuencode.o misc.o \
74 monitor_fdpass.o rijndael.o ssh-dss.o ssh-rsa.o dh.o kexdh.o \ 75 monitor_fdpass.o rijndael.o ssh-dss.o ssh-ecdsa.o ssh-rsa.o dh.o \
75 kexgex.o kexdhc.o kexgexc.o msg.o progressmeter.o dns.o \ 76 kexdh.o kexgex.o kexdhc.o kexgexc.o bufec.o kexecdh.o kexecdhc.o \
76 entropy.o gss-genr.o umac.o jpake.o schnorr.o kexgssc.o \ 77 msg.o progressmeter.o dns.o entropy.o gss-genr.o umac.o jpake.o \
77 ssh-pkcs11.o 78 schnorr.o kexgssc.o ssh-pkcs11.o
78 79
79SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ 80SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \
80 sshconnect.o sshconnect1.o sshconnect2.o mux.o \ 81 sshconnect.o sshconnect1.o sshconnect2.o mux.o \
81 roaming_common.o roaming_client.o 82 roaming_common.o roaming_client.o
82 83
83SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ 84SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
85 audit.o audit-bsm.o audit-linux.o platform.o \
84 sshpty.o sshlogin.o servconf.o serverloop.o \ 86 sshpty.o sshlogin.o servconf.o serverloop.o \
85 auth.o auth1.o auth2.o auth-options.o session.o \ 87 auth.o auth1.o auth2.o auth-options.o session.o \
86 auth-chall.o auth2-chall.o groupaccess.o \ 88 auth-chall.o auth2-chall.o groupaccess.o \
87 auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \ 89 auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \
88 auth2-none.o auth2-passwd.o auth2-pubkey.o auth2-jpake.o \ 90 auth2-none.o auth2-passwd.o auth2-pubkey.o auth2-jpake.o \
89 monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o \ 91 monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o kexecdhs.o \
90 auth-krb5.o \ 92 auth-krb5.o \
91 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o\ 93 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o\
92 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \ 94 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \
93 audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o \ 95 sftp-server.o sftp-common.o \
94 roaming_common.o roaming_serv.o 96 roaming_common.o roaming_serv.o
95 97
96MANPAGES = moduli.5.out scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out ssh-rand-helper.8.out ssh-keysign.8.out ssh-pkcs11-helper.8.out sshd_config.5.out ssh_config.5.out 98MANPAGES = moduli.5.out scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out ssh-rand-helper.8.out ssh-keysign.8.out ssh-pkcs11-helper.8.out sshd_config.5.out ssh_config.5.out
@@ -108,6 +110,7 @@ PATHSUBS = \
108 -e 's|/usr/libexec|$(libexecdir)|g' \ 110 -e 's|/usr/libexec|$(libexecdir)|g' \
109 -e 's|/etc/shosts.equiv|$(sysconfdir)/shosts.equiv|g' \ 111 -e 's|/etc/shosts.equiv|$(sysconfdir)/shosts.equiv|g' \
110 -e 's|/etc/ssh/ssh_host_key|$(sysconfdir)/ssh_host_key|g' \ 112 -e 's|/etc/ssh/ssh_host_key|$(sysconfdir)/ssh_host_key|g' \
113 -e 's|/etc/ssh/ssh_host_ecdsa_key|$(sysconfdir)/ssh_host_ecdsa_key|g' \
111 -e 's|/etc/ssh/ssh_host_dsa_key|$(sysconfdir)/ssh_host_dsa_key|g' \ 114 -e 's|/etc/ssh/ssh_host_dsa_key|$(sysconfdir)/ssh_host_dsa_key|g' \
112 -e 's|/etc/ssh/ssh_host_rsa_key|$(sysconfdir)/ssh_host_rsa_key|g' \ 115 -e 's|/etc/ssh/ssh_host_rsa_key|$(sysconfdir)/ssh_host_rsa_key|g' \
113 -e 's|/var/run/sshd.pid|$(piddir)/sshd.pid|g' \ 116 -e 's|/var/run/sshd.pid|$(piddir)/sshd.pid|g' \
@@ -230,7 +233,7 @@ catman-do:
230 @for f in $(MANPAGES_IN) ; do \ 233 @for f in $(MANPAGES_IN) ; do \
231 base=`echo $$f | sed 's/\..*$$//'` ; \ 234 base=`echo $$f | sed 's/\..*$$//'` ; \
232 echo "$$f -> $$base.0" ; \ 235 echo "$$f -> $$base.0" ; \
233 nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \ 236 $(MANFMT) $$f | cat -v | sed -e 's/.\^H//g' \
234 >$$base.0 ; \ 237 >$$base.0 ; \
235 done 238 done
236 239
@@ -324,20 +327,27 @@ install-sysconf:
324 327
325host-key: ssh-keygen$(EXEEXT) 328host-key: ssh-keygen$(EXEEXT)
326 @if [ -z "$(DESTDIR)" ] ; then \ 329 @if [ -z "$(DESTDIR)" ] ; then \
327 if [ -f "$(DESTDIR)$(sysconfdir)/ssh_host_key" ] ; then \ 330 if [ -f "$(sysconfdir)/ssh_host_key" ] ; then \
328 echo "$(DESTDIR)$(sysconfdir)/ssh_host_key already exists, skipping." ; \ 331 echo "$(sysconfdir)/ssh_host_key already exists, skipping." ; \
329 else \ 332 else \
330 ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" ; \ 333 ./ssh-keygen -t rsa1 -f $(sysconfdir)/ssh_host_key -N "" ; \
331 fi ; \ 334 fi ; \
332 if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key ] ; then \ 335 if [ -f $(sysconfdir)/ssh_host_dsa_key ] ; then \
333 echo "$(DESTDIR)$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \ 336 echo "$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \
334 else \ 337 else \
335 ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" ; \ 338 ./ssh-keygen -t dsa -f $(sysconfdir)/ssh_host_dsa_key -N "" ; \
336 fi ; \ 339 fi ; \
337 if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key ] ; then \ 340 if [ -f $(sysconfdir)/ssh_host_rsa_key ] ; then \
338 echo "$(DESTDIR)$(sysconfdir)/ssh_host_rsa_key already exists, skipping." ; \ 341 echo "$(sysconfdir)/ssh_host_rsa_key already exists, skipping." ; \
339 else \ 342 else \
340 ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" ; \ 343 ./ssh-keygen -t rsa -f $(sysconfdir)/ssh_host_rsa_key -N "" ; \
344 fi ; \
345 if [ -z "@COMMENT_OUT_ECC@" ] ; then \
346 if [ -f $(sysconfdir)/ssh_host_ecdsa_key ] ; then \
347 echo "$(sysconfdir)/ssh_host_ecdsa_key already exists, skipping." ; \
348 else \
349 ./ssh-keygen -t ecdsa -f $(sysconfdir)/ssh_host_ecdsa_key -N "" ; \
350 fi ; \
341 fi ; \ 351 fi ; \
342 fi ; 352 fi ;
343 353
@@ -345,6 +355,7 @@ host-key-force: ssh-keygen$(EXEEXT)
345 ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" 355 ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N ""
346 ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" 356 ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N ""
347 ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" 357 ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N ""
358 test -z "@COMMENT_OUT_ECC@" && ./ssh-keygen -t ecdsa -f $(DESTDIR)$(sysconfdir)/ssh_host_ecdsa_key -N ""
348 359
349uninstallall: uninstall 360uninstallall: uninstall
350 -rm -f $(DESTDIR)$(sysconfdir)/ssh_config 361 -rm -f $(DESTDIR)$(sysconfdir)/ssh_config
@@ -405,6 +416,8 @@ tests interop-tests: $(TARGETS)
405 TEST_SSH_PUTTYGEN="puttygen"; \ 416 TEST_SSH_PUTTYGEN="puttygen"; \
406 TEST_SSH_CONCH="conch"; \ 417 TEST_SSH_CONCH="conch"; \
407 TEST_SSH_IPV6="@TEST_SSH_IPV6@" ; \ 418 TEST_SSH_IPV6="@TEST_SSH_IPV6@" ; \
419 TEST_SSH_ECC="@TEST_SSH_ECC@" ; \
420 TEST_SSH_SHA256="@TEST_SSH_SHA256@" ; \
408 cd $(srcdir)/regress || exit $$?; \ 421 cd $(srcdir)/regress || exit $$?; \
409 $(MAKE) \ 422 $(MAKE) \
410 .OBJDIR="$${BUILDDIR}/regress" \ 423 .OBJDIR="$${BUILDDIR}/regress" \
@@ -425,7 +438,9 @@ tests interop-tests: $(TARGETS)
425 TEST_SSH_PLINK="$${TEST_SSH_PLINK}" \ 438 TEST_SSH_PLINK="$${TEST_SSH_PLINK}" \
426 TEST_SSH_PUTTYGEN="$${TEST_SSH_PUTTYGEN}" \ 439 TEST_SSH_PUTTYGEN="$${TEST_SSH_PUTTYGEN}" \
427 TEST_SSH_CONCH="$${TEST_SSH_CONCH}" \ 440 TEST_SSH_CONCH="$${TEST_SSH_CONCH}" \
428 TEST_SSH_IPV6="@TEST_SSH_IPV6@" \ 441 TEST_SSH_IPV6="$${TEST_SSH_IPV6}" \
442 TEST_SSH_ECC="$${TEST_SSH_ECC}" \
443 TEST_SSH_SHA256="$${TEST_SSH_SHA256}" \
429 EXEEXT="$(EXEEXT)" \ 444 EXEEXT="$(EXEEXT)" \
430 $@ && echo all tests passed 445 $@ && echo all tests passed
431 446