From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 15 08:00:54 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 830B916A4CE for ; Wed, 15 Sep 2004 08:00:54 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5849543D5D for ; Wed, 15 Sep 2004 08:00:54 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8F80sTA085093 for ; Wed, 15 Sep 2004 08:00:54 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8F80sI0085092; Wed, 15 Sep 2004 08:00:54 GMT (envelope-from gnats) Resent-Date: Wed, 15 Sep 2004 08:00:54 GMT Resent-Message-Id: <200409150800.i8F80sI0085092@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ilya Pizik Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C800D16A4CE for ; Wed, 15 Sep 2004 07:59:24 +0000 (GMT) Received: from scar.jinr.ru (scar.jinr.ru [159.93.3.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07B7B43D53 for ; Wed, 15 Sep 2004 07:59:24 +0000 (GMT) (envelope-from polzun@scar.jinr.ru) Received: from scar.jinr.ru (polzun@localhost [127.0.0.1]) by scar.jinr.ru (8.12.11/8.12.11) with ESMTP id i8F7xJnh039239 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 15 Sep 2004 11:59:19 +0400 (MSD) (envelope-from polzun@scar.jinr.ru) Received: (from polzun@localhost) by scar.jinr.ru (8.12.11/8.12.11/Submit) id i8F7xImZ039238; Wed, 15 Sep 2004 11:59:18 +0400 (MSD) (envelope-from polzun) Message-Id: <200409150759.i8F7xImZ039238@scar.jinr.ru> Date: Wed, 15 Sep 2004 11:59:18 +0400 (MSD) From: Ilya Pizik To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/71754: php4 modules do not include functions which requires openssl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ilya Pizik List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 08:00:54 -0000 >Number: 71754 >Category: ports >Synopsis: php4 modules do not include functions which requires openssl >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 15 08:00:53 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ilya Pizik >Release: FreeBSD 4.10-STABLE i386 >Organization: Joint Institute for Nuclear Research >Environment: System: FreeBSD scar.jinr.ru 4.10-STABLE FreeBSD 4.10-STABLE #12: Thu Jul 22 11:16:54 MSD 2004 root@scar.jinr.ru:/usr/obj/usr/src/sys/SCAR i386 >Description: When php4 port has been splited, some functions wich requires openssl were lost. It so because of #ifdef HAVE_OPENSSL_EXT directive in sources. F.e. ext/ftp, ext/standard, main and sapi/apache directiories contian files having such directive. >How-To-Repeat: Compile lang/php4 (or www/mod_php4), security/php4-openssl and ftp/php4-ftp and try to use ftp_ssl_connect (or use "srtings /usr/local/lib/php/20020429/ftp.so|grep ssl") >Fix: Use CFLAGS and LIBS directives in Makefile of propper modules. (patch fot /usr/ports/ftp/php4-ftp/Makefile included) It is useful to check at compile time if php4-openssl is present (f.e. from /var/db/ports/php4-extensions/options) --- Makefile Mon Jul 19 12:05:40 2004 +++ Makefile.ssl Wed Sep 15 11:24:57 2004 @@ -12,3 +12,6 @@ PKGNAMESUFFIX= -ftp +LIBS+= -lssl -lcrypto +CFLAGS+= -DHAVE_OPENSSL_EXT + .include "${MASTERDIR}/Makefile" >Release-Note: >Audit-Trail: >Unformatted: