From owner-freebsd-ports@FreeBSD.ORG Sun Aug 29 10:36:02 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 0AD1216A4CE; Sun, 29 Aug 2004 10:36:02 +0000 (GMT) Received: from smartmx-07.inode.at (smartmx-07.inode.at [213.229.60.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D65843D48; Sun, 29 Aug 2004 10:36:01 +0000 (GMT) (envelope-from mranner@inode.at) Received: from [62.99.226.31] (port=4161 helo=[62.99.226.31]) by smartmx-07.inode.at with esmtp (Exim 4.30) id 1C1N2W-0002JL-NS; Sun, 29 Aug 2004 12:36:00 +0200 From: Michael Ranner To: ale@FreeBSD.org Date: Sun, 29 Aug 2004 12:35:53 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200408291235.53851.mranner@inode.at> cc: ports@freebsd.org Subject: 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: Sun, 29 Aug 2004 10:36:02 -0000 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. I have not found any option to include only SSL support in the core functions and not build the openssl extension in PHP's configure script. Regards -- /\/\ichael Ranner mranner@inode.at - mranner@jawa.at - mranner@bugat.at ----------------------------------------------------- BSD Usergroup Austria - http://www.bugat.at/ -----BEGIN GEEK CODE BLOCK----- GIT/CS/AT dx(-) s+:(++:) a- C++ UBLVS++++$ P++>+++$ L-(+)$ E--- W+++$ N+(++) o-- K- w--()$ O-(--) M@ V-(--) PS+>++ PE(-) Y+ PGP(-) t+ 5+ X+++(++++) R* tv++ b+(++) DI++ D-(--) G- e h--(*) r++ y? ------END GEEK CODE BLOCK------