Date: Mon, 11 Nov 2002 18:08:34 +1100 (EST) From: Chris Knight <chris@aims.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Cc: chris@aims.com.au Subject: ports/45205: [PATCH] www/mod_php4: Fix OpenSSL use for older systems Message-ID: <200211110708.gAB78YbC086412@ait0fd01.aims.private>
next in thread | raw e-mail | index | archive | help
>Number: 45205 >Category: ports >Synopsis: [PATCH] www/mod_php4: Fix OpenSSL use for older systems >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: Sun Nov 10 23:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Chris Knight >Release: FreeBSD 4.7-RELEASE i386 >Organization: AIMS Independent Computer Professionals >Environment: System: FreeBSD ait0fd01.aims.private 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sun Oct 13 19:17:31 EST 2002 root@ait0fd01.aims.private:/var/obj/usr/src/sys/THINKPAD i386 >Description: Allow mod_php4 to use the newer OpenSSL port on older systems where replacing the base OpenSSL is not an option. >How-To-Repeat: N/A >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/mod_php4/Makefile,v retrieving revision 1.178 diff -u -r1.178 Makefile --- Makefile 10 Sep 2002 11:26:49 -0000 1.178 +++ Makefile 11 Nov 2002 06:28:43 -0000 @@ -83,6 +83,13 @@ PHP4_OPTIONS="${PHP4_OPTIONS}" \ REALCURDIR="${.CURDIR}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3) +OPENSSLBASE= ${LOCALBASE} +LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl +.endif + pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php .if !defined(STANDALONE) && !defined(WITH_APACHE2) @@ -120,4 +127,4 @@ .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> >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?200211110708.gAB78YbC086412>