From alex@vaio.alexdupre.com  Tue Sep 30 16:52:10 2003
Return-Path: <alex@vaio.alexdupre.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 5418216A4B3; Tue, 30 Sep 2003 16:52:10 -0700 (PDT)
Received: from relay.gufi.org (civetta.gufi.org [212.110.23.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id ADAC843FF9; Tue, 30 Sep 2003 16:52:08 -0700 (PDT)
	(envelope-from alex@vaio.alexdupre.com)
Received: from vaio.alexdupre.com (host245-49.pool8288.interbusiness.it [82.88.49.245])
	by relay.gufi.org (Postfix) with ESMTP
	id 3A46E20F8C; Wed,  1 Oct 2003 01:52:07 +0200 (CEST)
Received: from vaio.alexdupre.com (localhost [127.0.0.1])
	by vaio.alexdupre.com (8.12.9/8.12.9) with ESMTP id h8UNq6bB051999;
	Wed, 1 Oct 2003 01:52:06 +0200 (CEST)
	(envelope-from alex@vaio.alexdupre.com)
Received: (from alex@localhost)
	by vaio.alexdupre.com (8.12.9/8.12.9/Submit) id h8UNq2Bt051998;
	Wed, 1 Oct 2003 01:52:02 +0200 (CEST)
Message-Id: <200309302352.h8UNq2Bt051998@vaio.alexdupre.com>
Date: Wed, 1 Oct 2003 01:52:02 +0200 (CEST)
From: Alex Dupre <sysadmin@alexdupre.com>
Reply-To: Alex Dupre <sysadmin@alexdupre.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: nork@freebsd.org
Subject: [Maintainer Update] Port: lang/php4 and php5 (OpenSSL fix)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57437
>Category:       ports
>Synopsis:       [Maintainer Update] Port: lang/php4 and php5 (OpenSSL fix)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 30 17:00:34 PDT 2003
>Closed-Date:    Wed Oct 01 13:38:16 CEST 2003
>Last-Modified:  Wed Oct 01 13:38:16 CEST 2003
>Originator:     Alex Dupre
>Release:        FreeBSD 4.9-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.9-ALEXDUPRE i386
>Description:
Fix for the OpenSSL extension (revert the use of USE_OPENSSL).
>How-To-Repeat:
>Fix:

--- php4.diff begins here ---
--- Makefile.orig	Wed Oct  1 01:48:44 2003
+++ Makefile	Wed Oct  1 01:48:54 2003
@@ -440,7 +440,12 @@
 .endif
 
 .if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP)
-USE_OPENSSL=	yes
+.if exists(${LOCALBASE}/lib/libcrypto.so.3)
+OPENSSLBASE=	${LOCALBASE}
+LIB_DEPENDS+=	crypto.3:${PORTSDIR}/security/openssl
+.else
+OPENSSLBASE=	/usr
+.endif
 CONFIGURE_ARGS+=--with-openssl-dir=${OPENSSLBASE}
 .endif
 
--- php4.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: dinoex 
State-Changed-When: Wed Oct 1 06:22:19 CEST 2003 
State-Changed-Why:  

This patch reduces functionality. 

you can already force port or base version by: 
WITH_OPENSSL_PORT=yes  
WITH_OPENSSL_BASE=yes  

OPENSSLBASE will be set correctly. 

If ony USE_OPENSSL=yes is set: 
On older releases this will install and use the port, 
when the the base openssl is too old. 

The good versions in bsd.openssl.mk 
may be updated once the base is fixed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=57437 
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Wed Oct 1 06:28:30 CEST 2003 
Responsible-Changed-Why:  
openssl issue, I will take care of it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57437 
State-Changed-From-To: feedback->closed 
State-Changed-By: dinoex 
State-Changed-When: Wed Oct 1 13:37:46 CEST 2003 
State-Changed-Why:  
Fix committed, thanks. 

See also: 
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/55507 

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