From owner-freebsd-ports@FreeBSD.ORG Thu Jun 2 00:20:54 2005 Return-Path: X-Original-To: ports@freebsd.org 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 7A20B16A41C; Thu, 2 Jun 2005 00:20:54 +0000 (GMT) (envelope-from lopez.on.the.lists@yellowspace.net) Received: from mail.yellowspace.net (mail.yellowspace.net [80.190.200.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8FA043D1F; Thu, 2 Jun 2005 00:20:53 +0000 (GMT) (envelope-from lopez.on.the.lists@yellowspace.net) Received: from [192.168.1.201] ([84.153.117.52]) (AUTH: LOGIN lopez.on.the.lists@yellowspace.net) by mail.yellowspace.net with esmtp; Thu, 02 Jun 2005 02:20:51 +0200 Mime-Version: 1.0 (Apple Message framework v730) To: ale@FreeBSD.org Message-Id: <4DB7DB5F-0FF5-4CB2-B948-E9D4B0A16AF5@yellowspace.net> Content-Type: multipart/mixed; boundary=Apple-Mail-8--221991472 From: Lorenzo Perone Date: Thu, 2 Jun 2005 02:20:45 +0200 X-Mailer: Apple Mail (2.730) Cc: ports@FreeBSD.org Subject: FreeBSD Port: www/eaccelerator-0.9.2a -> 0.9.3: patches X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 00:20:54 -0000 --Apple-Mail-8--221991472 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hello, I've just patched the www/eaccelerator port to build the new version. It builds and installs fine on a FreeBSD 4.9-p7 and on a FreeBSD 5.4-PRERELEASE and php-4.3.11. Attached are three patches, please review them if you have the time. In the pkg-message.in, I've added the notice about loading eaccelerator after session.so, as many users will step into a Failed loading /local/lib/php/20020429/eaccelerator.so: /local/lib/php/20020429/eaccelerator.so: Undefined symbol "ps_globals" otherwise. they will patch from the port's dir: % cd /usr/ports/www/eaccelerator % patch < Makefile.patch % patch < distinfo.patch % patch < pkg-message.in.patch Hope I could be helpful. Thanx and Regards, Lorenzo --Apple-Mail-8--221991472 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="Makefile.patch" Content-Disposition: attachment; filename=Makefile.patch --- Makefile Wed Jan 19 08:18:56 2005 +++ Makefile.new Wed Jun 1 15:47:33 2005 @@ -6,7 +6,7 @@ # PORTNAME= eaccelerator -PORTVERSION= 0.9.2a +PORTVERSION= 0.9.3 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,7 +17,7 @@ USE_PHP= yes USE_PHPIZE= yes -WRKSRC= ${WRKDIR}/${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CONFIGURE_ARGS= --enable-eaccelerator=shared --Apple-Mail-8--221991472 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="distinfo.patch" Content-Disposition: attachment; filename=distinfo.patch --- distinfo Wed Jan 19 08:18:56 2005 +++ distinfo.new Wed Jun 1 15:41:38 2005 @@ -1,2 +1,2 @@ -MD5 (eaccelerator-0.9.2a.tar.gz) = e9059ebd49f14835534a1d96a97ababd -SIZE (eaccelerator-0.9.2a.tar.gz) = 115791 +MD5 (eaccelerator-0.9.3.tar.gz) = b17ddf953f18ee6df5c2c24ffccb37d9 +SIZE (eaccelerator-0.9.3.tar.gz) = 133120 --Apple-Mail-8--221991472 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="pkg-message.in.patch" Content-Disposition: attachment; filename=pkg-message.in.patch --- files/pkg-message.in Thu Jun 2 02:08:16 2005 +++ files/pkg-message.in.new Thu Jun 2 02:10:24 2005 @@ -7,6 +7,9 @@ [eaccelerator] extension="eaccelerator.so" +Please note: this line has to be added after extension="session.so" +otherwise the eaccelerator will fail to load. + Then create the cache directory: mkdir /tmp/eaccelerator --Apple-Mail-8--221991472 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed --Apple-Mail-8--221991472--