Subject: pkg/10593: openssh 2.1.1p2 fails to compile without pkgsrc/openssl
To: None <gnats-bugs@gnats.netbsd.org>
From: Atsushi Onoe <onoe@sm.sony.co.jp>
List: netbsd-bugs
Date: 07/17/2000 23:27:48
>Number:         10593
>Category:       pkg
>Synopsis:       openssh 2.1.1p2 fails to compile without pkgsrc/openssl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 14 20:22:00 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: