Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 15:46:07 +0100 (CET)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35676: [Patch] OpenSSH doesn't install
Message-ID:  <20020308145154.04DA737B416@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         35676
>Category:       ports
>Synopsis:       [Patch] OpenSSH doesn't install
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 08 07:00:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD vaio.alexdupre.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 3 15:53:42 CET 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO2002 i386
	
>Description:
'make install' fails in security/openssh because ssh-keygen is executed without
the mandatory -t flag when generating old RSA1 key
	
>How-To-Repeat:
cd /usr/ports/security/openssh
make install
	
>Fix:

--- openssh.patch begins here ---
--- Makefile.orig	Fri Mar  8 06:54:03 2002
+++ Makefile	Fri Mar  8 14:20:51 2002
@@ -103,7 +103,7 @@
 .if !defined(BATCH)
 .if !exists(${PREFIX}/etc/ssh_host_key)
 	@${ECHO_MSG} ">> Generating an RSA1 secret host key."
-	${PREFIX}/bin/ssh-keygen -N "" -f ${PREFIX}/etc/ssh_host_key
+	${PREFIX}/bin/ssh-keygen -t rsa1 -N "" -f ${PREFIX}/etc/ssh_host_key
 .endif
 .if !exists(${PREFIX}/etc/ssh_host_rsa_key)
 	@${ECHO_MSG} ">> Generating a RSA secret host key."
--- openssh.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020308145154.04DA737B416>