From owner-freebsd-ports@FreeBSD.ORG Tue Jul 27 17:29:12 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 7F69C16A4CE for ; Tue, 27 Jul 2004 17:29:12 +0000 (GMT) Received: from just.puresimplicity.net (just.puresimplicity.net [140.177.207.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F39D543D3F for ; Tue, 27 Jul 2004 17:29:11 +0000 (GMT) (envelope-from hemi@puresimplicity.net) Received: from just.puresimplicity.net (localhost.puresimplicity.net [127.0.0.1])i6RHTBsS005914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Jul 2004 12:29:11 -0500 (CDT) (envelope-from hemi@just.puresimplicity.net) Received: (from hemi@localhost) by just.puresimplicity.net (8.12.9p2/8.12.9/Submit) id i6RHTAnL005913; Tue, 27 Jul 2004 12:29:10 -0500 (CDT) (envelope-from hemi) Date: Tue, 27 Jul 2004 12:29:10 -0500 From: Josh Tolbert To: "Karel J. Bosschaart" Message-ID: <20040727172910.GA5888@just.puresimplicity.net> References: <20040726210611.GA75881@just.puresimplicity.net> <20040727092706.GA58522@kayjay.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040727092706.GA58522@kayjay.xs4all.nl> User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@freebsd.org Subject: Re: Squirrelmail and php4 ports shake-up? 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: Tue, 27 Jul 2004 17:29:12 -0000 On Tue, Jul 27, 2004 at 11:27:06AM +0200, Karel J. Bosschaart wrote: > On Mon, Jul 26, 2004 at 04:06:11PM -0500, Josh Tolbert wrote: > > Hello, > > > > After upgrading mod_php4 (using portupgrade) and installing > > lang/ph4-extensions (after learning of the php4 ports shake-up in > > /usr/ports/UPDATING), mail/squirrelmail now refuses to play nice with IMAP > > over SSL. I haven't tried plain IMAP, cause I haven't built IMAP to allow > > plain-text connections. > > > > The errors I see from squirrelmail appear after entering a login and password > > are: > > > > Warning: fsockopen(): no SSL support in this build in > > /usr/local/www/squirrelmail/functions/imap_general.php on line 445 > > > > Warning: fsockopen(): unable to connect to localhost:993 in > > /usr/local/www/squirrelmail/functions/imap_general.php on line 445 > > > > and I'm not able to check/read/send mail. > > > > I've tried the "obvious" things: rebuilt squirrelmail, checked the php > > requirements of squirrelmail, did a bit of searching, etc., but I can't find a > > fix for this problem. > > > > All the modules built by lang/php4-extensions are being loaded in > > /usr/local/etc/php.ini, a phpinfo() > > () shows information for > > the features I had requested to be built by lang/php4-extensions, but > > squirrelmail and the extensions don't play nice together. > > > > Does anyone know how to fix this? It worked great before the php4 ports > > shake-up. The only reason I upgraded was to take care of the potential > > security vulnerability that portaudit listed for php; if I had known this was > > going to happen I would have held off a bit. > > Adding "--with-openssl=/usr/local" in the lang/php4 port Makefile under > "CONFIGURE_ARGS" fixed it for me. > > Karel. Hi Karel, Thanks much. Doing this (but using /usr, cause I'm using the base OpenSSL) fixed the problem for me. Thanks again, Josh Tolbert -- Josh Tolbert hemi@puresimplicity.net || http://www.puresimplicity.net/~hemi/ If your sysadmin's not being fascist, you're paying him too much. --Sam Greenfield