Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 05:08:41 -0700 (PDT)
From:      "Mark J. Miller" <joup@bigfoot.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41444: ports system fails to check for non-base openssl install
Message-ID:  <200208081208.g78C8flf074513@soda.CSUA.Berkeley.EDU>

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

>Number:         41444
>Category:       ports
>Synopsis:       ports system fails to check for non-base openssl install
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 08 05:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mark J. Miller
>Release:        FreeBSD 4.6.1-RELEASE i386
>Organization:
none
>Environment:
System: 
FreeBSD soda.CSUA.Berkeley.EDU 4.6.1-RELEASE FreeBSD 4.6.1-RELEASE #0: Wed
Jul 24 08:30:32 PDT 2002 root@:/usr/src/sys/compile/MKVI i386
>Description:

On a recent installation of 4.6-release, I opted not to install the 
openssl security subsystem because of the recently discovered bugs.  I 
did, however, immediately install openssh-3.4 from the pkg system, and 
portupgrade'd openssl to openssl-.97e .  This process adds libcrypto.so 
and libssl.so to /usr/local/lib/, not /usr/lib.  

However, the /usr/ports/Mk/bsd.port.mk only checks /usr/lib for libcrypto, 
not /usr/local/lib.  

>How-To-Repeat:
	*Remove all traces of openssl from the system, then add an 
updated version via ports.  
	*Add "USE_OPENSSL=yes" to /etc/make.conf
	*cd /usr/ports/www/links && make install
The ports system will complain that openssl is not installed.

>Fix:

add 
if !exists(/usr/local/lib/libcrypto.so) 
after
if !exists(/usr/lib/libcrypto.so)

in /usr/ports/Mk/bsd.port.mk.

and as a side note, make sure the updated versions of openssl and openssh 
go into the next released version :)


>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?200208081208.g78C8flf074513>