From owner-freebsd-ports@FreeBSD.ORG Mon Aug 30 07:08:37 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FD8516A4CE for ; Mon, 30 Aug 2004 07:08:37 +0000 (GMT) Received: from files.jawa.at (jawa.at [213.229.17.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8288743D2D for ; Mon, 30 Aug 2004 07:08:36 +0000 (GMT) (envelope-from mranner@jawa.at) Received: from localhost (localhost [127.0.0.1]) by files.jawa.at (Postfix) with ESMTP id 8D203FDF4 for ; Mon, 30 Aug 2004 09:08:34 +0200 (CEST) Received: from files.jawa.at ([127.0.0.1]) by localhost (files.jawa.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12021-09 for ; Mon, 30 Aug 2004 09:08:32 +0200 (CEST) Received: by files.jawa.at (Postfix, from userid 60) id B46F0FDF2; Mon, 30 Aug 2004 09:08:32 +0200 (CEST) Received: from walgrind.jawa.at (walgrind.jawa.at [192.168.200.56]) by files.jawa.at (Postfix) with ESMTP id F0FF9FDAC for ; Mon, 30 Aug 2004 09:08:25 +0200 (CEST) From: Michael Ranner To: freebsd-ports@freebsd.org Date: Mon, 30 Aug 2004 09:08:24 +0200 User-Agent: KMail/1.6.1 References: <200408291235.53851.mranner@inode.at> In-Reply-To: <200408291235.53851.mranner@inode.at> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408300908.24106.mranner@jawa.at> X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on files.jawa.at X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Level: X-Virus-Scanned: by amavisd-new at jawa.at Subject: Re: Missing SSL support in core php4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 07:08:37 -0000 Am Sonntag, 29. August 2004 12:35 schrieb Michael Ranner: > Hello! > > First it was a great idea to build PHP extensions from different ports like > NetBSD's pkgsrc does. But it seems, thhat one thing was overseen: > > If you build the OpenSSL extension completely not with the main PHP build, > you have no SSL support in some of the core functions like "fsockopen". > Therefore it's not possible to use the squirrelmail port with SSL or TLS > support to connect with cyrus imap or other IMAP/POP3 server software. > > So I did search for an acceptable solution, but it seems to need some > further hacking: > > If you build PHP4 with "--with-openssl=${OPENSSLBASE}" you will have SSL > support in core functions but also PGP includes the static OpenSSL > extension which conflicts with the php4-openssl port. > > Now I tried to build PHP4 with "--with-openssl=shared,${OPENSSLBASE}", you > have SSL support in core functions, but you have to prevent PHP4 from > installung the shared extension, because its not listed in pkg-plist and/or > conflicts with the php4-openssl port. > Ok, some news, PHP core functions include SSL support only if compiled with static OpenSSL extension "--with-openssl=${OPENSSLBASE}". Now it seems to me like a bug in the PHP4 build. -- /\/\ichael Ranner mranner@jawa.at - mranner@bitonline.cc - webmaster@mariazell.at ---------------------------------------------------------------------- JAWA Management Software GmbH - http://www.jawa.at/ Liebenauer Hauptstrasse 2oo - A-8041 Graz Tel +43 316 403274 21 - Fax +43 316 403274 10 ---------------------------------------------------------------------- Mariazell Online - http://www.mariazell.at/ ----------------------------------------------------------------------