From owner-freebsd-ports@FreeBSD.ORG Sun Jun 2 23:53:19 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8A8EF511 for ; Sun, 2 Jun 2013 23:53:19 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id ED5281D6B for ; Sun, 2 Jun 2013 23:53:17 +0000 (UTC) Received: (qmail 55486 invoked by uid 89); 2 Jun 2013 23:53:17 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@93.215.168.59) by mail.grem.de with ESMTPA; 2 Jun 2013 23:53:17 -0000 Date: Mon, 3 Jun 2013 01:53:18 +0200 From: Michael Gmelin To: Jaret Bartsch Subject: Re: php5-ice Needs Update Message-ID: <20130603015318.63e7c33d@bsd64.grem.de> In-Reply-To: <1369251754.78265.YahooMailNeo@web125805.mail.ne1.yahoo.com> References: <1369251754.78265.YahooMailNeo@web125805.mail.ne1.yahoo.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "ports@FreeBSD.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 23:53:19 -0000 On Wed, 22 May 2013 12:42:34 -0700 (PDT) Jaret Bartsch wrote: > Hi there. php5-ice does not work with php 5.4. Could someone update > this to work with 5.4? Thanks. > > > Regards, > Jaret > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" Hi Jaret, I finished updating devel/ice and devel/py-ice and filed PRs for them. I also completely overhauled devel/php5-ice over the weekend and requested maintainership for it. All files should go into the right places now (so you can include "Ice.php" without messing with your php.ini) and you can optionally activate PHP namespace support. I did very limited testing though, since I'm currently not involved in any project using IcePHP, so you *might* run into issues. Based on my previous experience with IcePHP from about two years ago, I would recommend not to use it with mod_php - at least if you're using mod_ssl and IceSSL at the same time. I would prefer using PHP CGI or FPM instead (we had pretty good results using nginx+php fpm). Also note, that Ice 3.5.0 brings a few incompatible changes, so make sure to read pkg-message from devel/ice and check the ZeroC's release notes. The PRs haven't been committed yet, so you'll have to apply the patches to the ports tree yourself. PRs: http://www.freebsd.org/cgi/query-pr.cgi?pr=179233 devel/ice http://www.freebsd.org/cgi/query-pr.cgi?pr=179240 devel/py-ice http://www.freebsd.org/cgi/query-pr.cgi?pr=179241 devel/php5-ice Direct link to patches (since the PR system doesn't like UTF8): http://blog.grem.de/ice_350_20130602.patch http://blog.grem.de/py_ice_350_20130602.patch http://blog.grem.de/php5_ice_350_20130602.patch Patches to the ports tree are applied like this: cd /usr/ports/devel/ice patch -p0 < /path/to/ice_350_20130602.patch cd /usr/ports/devel/py-ice patch -p0 < /path/to/py_ice_350_20130602.patch cd /usr/ports/devel/php5-ice patch -p0 < /path/to/php5_ice_350_20130602.patch Then run portmaster devel/php5-ice to install the new version (or portupgrade or whatever you're using). In case you're not planning to install devel/py-ice explicitly you can just ignore that patch. Cheers, Michael -- Michael Gmelin