=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/ssh/Makefile 1999/09/26 22:29:50 1.3 +++ src/usr.bin/ssh/Makefile 1999/09/27 23:47:43 1.4 @@ -1,19 +1,13 @@ -# $OpenBSD: Makefile,v 1.3 1999/09/26 22:29:50 deraadt Exp $ +# $OpenBSD: Makefile,v 1.4 1999/09/27 23:47:43 deraadt Exp $ .include -SUBDIR= ssh sshd ssh-add ssh-keygen ssh-agent scp +SUBDIR= ssh sshd ssh-add ssh-keygen ssh-agent scp -generate-host-key: - -@if [ -f ${DESTDIR}/etc/ssh_host_key ]; then \ - echo "Host key exists in ${DESTDIR}/etc/ssh_host_key."; \ - else \ - umask 022; echo "Generating 1024 bit host key."; \ - ssh-keygen -b 1024 -f ${DESTDIR}/etc/ssh_host_key -N ''; \ - fi - distribution: - install -C -o root -g wheel -m 0644 ${.CURDIR}/etc/ssh_config /etc - install -C -o root -g wheel -m 0644 ${.CURDIR}/etc/sshd_config /etc + install -C -o root -g wheel -m 0644 ${.CURDIR}/ssh_config \ + ${DESTDIR}/etc/ssh_config + install -C -o root -g wheel -m 0644 ${.CURDIR}/sshd_config \ + ${DESTDIR}/etc/sshd_config .include