Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 06:07:58 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36080: Support USE_OPENSSL=yes on 4.2
Message-ID:  <200203190507.g2J57wDl034220@home.dinoex.sub.org>

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

>Number:         36080
>Category:       ports
>Synopsis:       Support USE_OPENSSL=yes on 4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 18 21:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
privat
>Environment:
System: FreeBSD 4.5-STABLE i386

>Description:

	SSL was updated in the ports,
	opennsh and other ports depends on the newer version of SSL

>How-To-Repeat:

	Fixes in security/openssh and security/openssh-portable

.if ${OSVERSION} < 430000
OPENSSLBASE=    /usr/local
OPENSSLDIR=     ${OPENSSLBASE}/openssl
LIB_DEPENDS+=   crypto.2:${PORTSDIR}/security/openssl  
OPENSSLLIB=     ${OPENSSLBASE}/lib
OPENSSLINC=     ${OPENSSLBASE}/include
MAKE_ENV+=      OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
                OPENSSLBASE=${OPENSSLBASE} OPENSSLDIR=${OPENSSLDIR}
.endif

>Fix:

	use current SSL, even is old one is in the base system

	apply a patch:

--- bsd.port.mk.orig	Sun Mar 17 00:37:02 2002
+++ bsd.port.mk	Tue Mar 19 06:03:22 2002
@@ -726,7 +726,7 @@
 .endif
 
 .if defined(USE_OPENSSL)
-.if ${OSVERSION} >= 400014
+.if ${OSVERSION} >= 430000
 .if !exists(/usr/lib/libcrypto.so)
 .BEGIN:
 	@${ECHO} "This port requires the OpenSSL library, which is part of"
>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?200203190507.g2J57wDl034220>