Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2005 02:20:45 +0200
From:      Lorenzo Perone <lopez.on.the.lists@yellowspace.net>
To:        ale@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: www/eaccelerator-0.9.2a -> 0.9.3: patches
Message-ID:  <4DB7DB5F-0FF5-4CB2-B948-E9D4B0A16AF5@yellowspace.net>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB7DB5F-0FF5-4CB2-B948-E9D4B0A16AF5>