NetBSD Problem Report #10593

Received: (qmail 6889 invoked from network); 15 Jul 2000 03:21:51 -0000
Message-Id: <200007150320.e6F3Kvs05716@duplo.sm.sony.co.jp>
Date: Sat, 15 Jul 2000 12:20:57 +0900 (JST)
From: Atsushi Onoe <onoe@sm.sony.co.jp>
Reply-To: onoe@sm.sony.co.jp
To: gnats-bugs@gnats.netbsd.org
Subject: openssh 2.1.1p2 fails to compile without pkgsrc/openssl
X-Send-Pr-Version: 3.95

>Number:         10593
>Category:       pkg
>Synopsis:       openssh 2.1.1p2 fails to compile without pkgsrc/openssl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    itojun
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 15 03:22:00 +0000 2000
>Closed-Date:    Tue Jul 25 01:21:15 +0000 2000
>Last-Modified:  Tue Jul 25 01:21:15 +0000 2000
>Originator:     Atsushi Onoe
>Release:        NetBSD-current 20000714
>Organization:
	Sony Corporation
>Environment:
System: NetBSD duplo.sm.sony.co.jp 1.5B NetBSD 1.5B (DUPLO) #0: Fri Jul 14 11:23:48 JST 2000 onoe@duplo.sm.sony.co.jp:/work/netbsd/obj/DUPLO i386

>Description:
	openssh-2.1.1p2 apparently depends on openssl-0.9.5 or above.
	For example, it uses RAND_add() and configure checks against its
	existance.  	

	However, the dependency described in Makefiles is show below:
.if !exists(/usr/include/openssl/rsa.h)
DEPENDS+=               openssl-[0-9]*:../../security/openssl
.endif
	But the installed openssl is openssl-0.9.4 and it does not include
	RAND_add() function.
	Thus configure script for openssh claims openssl to be installed.

>How-To-Repeat:
	make openssh 2.1.1p2 without openssl installed via pkgsrc.
>Fix:
	remove .if derective from openssh/Makefile
		or
	update openssl of basesrc to 0.9.5
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: itojun 
State-Changed-When: Fri Jul 14 20:54:38 PDT 2000 
State-Changed-Why:  
fixed DEPENDS line.  we need to revisit it when src/crypto gets upgraded. 
Responsible-Changed-From-To: pkg-manager->itojun 
Responsible-Changed-By: itojun 
Responsible-Changed-When: Fri Jul 14 20:55:32 PDT 2000 
Responsible-Changed-Why:  
i'll need to be informed when src/crypto gets updated 

From: "Johnny C. Lam" <lamj@stat.cmu.edu>
To: onoe@sm.sony.co.jp
Cc: lamj@stat.cmu.edu, gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/10593: openssh 2.1.1p2 fails to compile without pkgsrc/openssl 
Date: Sat, 22 Jul 2000 04:32:10 -0400

 Atsushi Onoe <onoe@sm.sony.co.jp> writes:
 > 	openssh-2.1.1p2 apparently depends on openssl-0.9.5 or above.
 > 	For example, it uses RAND_add() and configure checks against its
 > 	existance.  	
 > 
 > 	However, the dependency described in Makefiles is show below:
 > .if !exists(/usr/include/openssl/rsa.h)
 > DEPENDS+=               openssl-[0-9]*:../../security/openssl
 > .endif
 > 	But the installed openssl is openssl-0.9.4 and it does not include
 > 	RAND_add() function.
 > 	Thus configure script for openssh claims openssl to be installed.

 The in-tree version of OpenSSL has been updated to 0.9.5a.  I've also
 committed a new version of OpenSSH that also tries to find a usable version
 of OpenSSL, and otherwise installs the pkgsrc version.  Please let me know
 if this fixes your problem.

 	Thanks,

      -- Johnny C. Lam <lamj@stat.cmu.edu>
         Department of Statistics, Carnegie Mellon University
         http://www.stat.cmu.edu/~lamj/


From: Atsushi Onoe <onoe@sm.sony.co.jp>
To: lamj@stat.cmu.edu
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/10593: openssh 2.1.1p2 fails to compile without
	pkgsrc/openssl 
Date: Mon, 24 Jul 2000 20:24:09 +0900 (JST)

 > The in-tree version of OpenSSL has been updated to 0.9.5a.  I've also
 > committed a new version of OpenSSH that also tries to find a usable version
 > of OpenSSL, and otherwise installs the pkgsrc version.  Please let me know
 > if this fixes your problem.

 Okay.  It works for me.
 I've confirmed both on current with updated openssl 0.9.5a, and on 0.9.4
 which requires 0.9.5a from pkgsrc.

 Regards,

 Atsushi Onoe
State-Changed-From-To: feedback->closed 
State-Changed-By: itojun 
State-Changed-When: Mon Jul 24 18:20:46 PDT 2000 
State-Changed-Why:  
seems to be fixed.  we may have some issue with old -current support, but 
it is small issue 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.