diff options
-rw-r--r-- | security/openssh/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile index d6cd02ca5a8..31ec2c9b188 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2000/06/15 04:56:50 itojun Exp $ +# $NetBSD: Makefile,v 1.14 2000/07/01 01:16:39 itojun Exp $ # DISTNAME= openssh-2.1.1p1 @@ -67,6 +67,11 @@ post-install: ${PREFIX}/bin/ssh-keygen \ -f ${SSH_CONF_DIR}/ssh_host_key -N ""; \ fi + if [ ! -f ${SSH_CONF_DIR}/ssh_host_dsa_key ]; then \ + ${ECHO} "Generating a DSA secret host key..."; \ + ${PREFIX}/bin/ssh-keygen \ + -d -f ${SSH_CONF_DIR}/ssh_host_dsa_key -N ""; \ + fi ${INSTALL_SCRIPT} ${WRKDIR}/sshd.sh ${PREFIX}/etc/rc.d/sshd.sh .include "../../mk/bsd.pkg.mk" |