FreeBSD Bugzilla – Attachment 53758 Details for
Bug 81316
Update port: www/eaccelerator to 0.9.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
eaccelerator.patch
eaccelerator.patch (text/plain), 2.75 KB, created by
Marcus Grando
on 2005-05-20 18:30:01 UTC
(
hide
)
Description:
eaccelerator.patch
Filename:
MIME Type:
Creator:
Marcus Grando
Created:
2005-05-20 18:30:01 UTC
Size:
2.75 KB
patch
obsolete
>diff -ruN eaccelerator.orig/Makefile eaccelerator/Makefile >--- eaccelerator.orig/Makefile Wed Jan 19 05:18:56 2005 >+++ eaccelerator/Makefile Fri May 20 14:14:45 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,13 +17,27 @@ > USE_PHP= yes > USE_PHPIZE= yes > >-WRKSRC= ${WRKDIR}/${PORTNAME} >- > CONFIGURE_ARGS= --enable-eaccelerator=shared > > SUB_FILES= pkg-message > PKGMESSAGE= ${WRKDIR}/pkg-message > >+.include <bsd.port.pre.mk> >+ >+.if !exists(${LOCALBASE}/lib/php/${PHP_EXT_DIR}/session.so) >+WITHOUT_PHP_SESSION= yes >+CONFIGURE_ARGS+= --without-eaccelerator-sessions >+.endif >+ >+pre-everything:: >+.if defined(WITHOUT_PHP_SESSION) >+ @${ECHO_MSG} "===>" >+ @${ECHO_MSG} "===> If you use ${PORTNAME} with php session, please" >+ @${ECHO_MSG} "===> press CTRL+C and install www/php${PHP_VER}-session" >+ @${ECHO_MSG} "===>" >+ @sleep 2 >+.endif >+ > .if !defined(NOPORTDOCS) > PORTDOCS= * > .endif >@@ -48,4 +62,4 @@ > post-install: > @${CAT} ${PKGMESSAGE} > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -ruN eaccelerator.orig/distinfo eaccelerator/distinfo >--- eaccelerator.orig/distinfo Wed Jan 19 05:18:56 2005 >+++ eaccelerator/distinfo Fri May 20 14:09:30 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 >diff -ruN eaccelerator.orig/files/pkg-message.in eaccelerator/files/pkg-message.in >--- eaccelerator.orig/files/pkg-message.in Wed Jan 19 05:18:56 2005 >+++ eaccelerator/files/pkg-message.in Fri May 20 14:08:02 2005 >@@ -7,10 +7,30 @@ > [eaccelerator] > extension="eaccelerator.so" > >+****************************************************** >+*** Do not forget that insert this extension after *** >+*** extension=session.so *** >+****************************************************** >+ > Then create the cache directory: > >- mkdir /tmp/eaccelerator >- chown www /tmp/eaccelerator >- chmod 0700 /tmp/eaccelerator >+mkdir /tmp/eaccelerator >+chown www /tmp/eaccelerator >+chmod 0700 /tmp/eaccelerator >+ >+If you need change temporary directory, change this variable in php.ini >+ >+eaccelerator.cache_dir="/tmp/eaccelerator" >+ ^^^^^^^^^^^^^^^^^^^ -> Default value >+ >+To enable/disable eaccelerator change this variable: >+ >+eaccelerator.enable="1" >+ ^^^ -> Default value >+ >+To change amount memory eaccelerator use, change this variable: >+ >+eaccelerator.shm_size="0" >+ ^^^ -> Default value ("0" means OS default) > > *****************************************************************************
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 81316
: 53758