FreeBSD Bugzilla – Attachment 51135 Details for
Bug 77756
Update port: www/eaccelerator fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
eaccelerator.patch
eaccelerator.patch (text/plain), 2.05 KB, created by
Marcus Grando
on 2005-02-20 04:20:13 UTC
(
hide
)
Description:
eaccelerator.patch
Filename:
MIME Type:
Creator:
Marcus Grando
Created:
2005-02-20 04:20:13 UTC
Size:
2.05 KB
patch
obsolete
>diff -ruN eaccelerator.old/Makefile eaccelerator/Makefile >--- eaccelerator.old/Makefile Wed Jan 19 05:18:56 2005 >+++ eaccelerator/Makefile Sun Feb 20 00:57:13 2005 >@@ -24,6 +24,22 @@ > SUB_FILES= pkg-message > PKGMESSAGE= ${WRKDIR}/pkg-message > >+.include <bsd.port.pre.mk> >+ >+.if !exists(${PREFIX}/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 +64,4 @@ > post-install: > @${CAT} ${PKGMESSAGE} > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -ruN eaccelerator.old/files/pkg-message.in eaccelerator/files/pkg-message.in >--- eaccelerator.old/files/pkg-message.in Wed Jan 19 05:18:56 2005 >+++ eaccelerator/files/pkg-message.in Sun Feb 20 01:08:31 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 77756
: 51135