From dm@home.dinoex.sub.org  Mon Mar 18 21:08:29 2002
Return-Path: <dm@home.dinoex.sub.org>
Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182])
	by hub.freebsd.org (Postfix) with ESMTP id 5B9EB37B404
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Mar 2002 21:08:27 -0800 (PST)
Received: from home.dinoex.sub.org (home [217.6.200.196])
	by net2.dinoex.sub.org (8.12.2/8.12.2) with ESMTP id g2J57xwA008577
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Mar 2002 06:07:59 +0100 (CET)
	(envelope-from dm@home.dinoex.sub.org)
Received: (from dm@localhost)
	by home.dinoex.sub.org (8.12.2/8.12.2/Submit) id g2J57wDl034220;
	Tue, 19 Mar 2002 06:07:58 +0100 (CET)
	(envelope-from dm)
Message-Id: <200203190507.g2J57wDl034220@home.dinoex.sub.org>
Date: Tue, 19 Mar 2002 06:07:58 +0100 (CET)
From: dirk.meyer@dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Support USE_OPENSSL=yes on 4.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36080
>Category:       ports
>Synopsis:       [PATCH] Support USE_OPENSSL=yes on 4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 18 21:10:00 PST 2002
>Closed-Date:    Sat Aug 31 12:43:19 PDT 2002
>Last-Modified:  Sat Aug 31 12:43:19 PDT 2002
>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:
Responsible-Changed-From-To: freebsd-ports->portmgr 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Mon Mar 18 21:11:02 PST 2002 
Responsible-Changed-Why:  
bsd.port.mk issue. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36080 

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/36080: Support USE_OPENSSL=yes on 4.2
Date: Wed, 08 May 2002 08:00:11 +0200

 Here the updated patch:
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]
 
 --- bsd.port.mk.orig	Sat Apr 27 13:22:59 2002
 +++ bsd.port.mk	Wed May  8 08:05:26 2002
 @@ -733,7 +733,7 @@
  .endif
  
  .if defined(USE_OPENSSL)
 -.if ${OSVERSION} >= 400014
 +.if ${OSVERSION} >= 430000 && !exists(${LOCALBASE}/lib/libcrypto.so.3)
  .if !exists(/usr/lib/libcrypto.so)
  .BEGIN:
  	@${ECHO_CMD} "This port requires the OpenSSL library, which is part of"
 @@ -764,7 +764,7 @@
  .endif
  .endif
  .else
 -LIB_DEPENDS+=	crypto.2:${PORTSDIR}/security/openssl
 +LIB_DEPENDS+=	crypto.3:${PORTSDIR}/security/openssl
  OPENSSLBASE?=	${LOCALBASE}
  OPENSSLDIR?=	${OPENSSLBASE}/openssl
  .endif
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Sat Aug 31 12:42:42 PDT 2002 
State-Changed-Why:  
Superseeded by pr#39054 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36080 
>Unformatted:
