FreeBSD Bugzilla – Attachment 105205 Details for
Bug 145617
[PATCH] www/eaccelerator: update to 0.9.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
eaccelerator-0.9.6.patch
eaccelerator-0.9.6.patch (text/plain), 5.93 KB, created by
Sunpoet Po-Chuan Hsieh
on 2010-04-10 21:10:01 UTC
(
hide
)
Description:
eaccelerator-0.9.6.patch
Filename:
MIME Type:
Creator:
Sunpoet Po-Chuan Hsieh
Created:
2010-04-10 21:10:01 UTC
Size:
5.93 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/www/eaccelerator/Makefile /usr/ports/sunpoet/eaccelerator/Makefile >--- /usr/ports/www/eaccelerator/Makefile 2008-06-18 20:26:58.000000000 +0800 >+++ /usr/ports/sunpoet/eaccelerator/Makefile 2010-04-11 04:02:26.000000000 +0800 >@@ -6,21 +6,23 @@ > # > > PORTNAME= eaccelerator >-PORTVERSION= 0.9.5.3 >+PORTVERSION= 0.9.6 > CATEGORIES= www >-MASTER_SITES= http://bart.eaccelerator.net/source/${PORTVERSION}/ >+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/eAccelerator%20${PORTVERSION}/ \ >+ http://bart.eaccelerator.net/source/${PORTVERSION}/ > > MAINTAINER= ale@FreeBSD.org >-COMMENT= An opcode cache for PHP with encoder and loader >+COMMENT= A free open-source PHP accelerator & optimizer > >+IGNORE_WITH_PHP=4 > USE_PHP= session > USE_PHPIZE= yes > USE_PHP_BUILD= yes > > CONFIGURE_ARGS= --enable-eaccelerator=shared \ >+ --with-eaccelerator-content-caching \ > --with-eaccelerator-shared-memory \ > --with-eaccelerator-sessions \ >- --with-eaccelerator-content-caching \ > --with-eaccelerator-userid=80 > > USE_BZIP2= yes >@@ -31,24 +33,10 @@ > > .include <bsd.port.pre.mk> > >-.if ${PHP_VER} == 5 >-CONFIGURE_ARGS+= --without-eaccelerator-encoder >-PLIST_SUB+= ENCODER="@comment " >-.else >-PLIST_SUB+= ENCODER="" >- >-post-build: >- @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g; s|0777|0755|g" \ >- ${WRKSRC}/encoder.php > ${WRKSRC}/encoder >-.endif >- > do-install: > @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} > ${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \ > ${PREFIX}/lib/php/${PHP_EXT_DIR} >-.if ${PHP_VER} == 4 >- ${INSTALL_SCRIPT} ${WRKSRC}/encoder ${PREFIX}/bin >-.endif > > post-install: > .if !defined(NOPORTDOCS) >diff -ruN --exclude=CVS /usr/ports/www/eaccelerator/distinfo /usr/ports/sunpoet/eaccelerator/distinfo >--- /usr/ports/www/eaccelerator/distinfo 2008-06-18 20:26:58.000000000 +0800 >+++ /usr/ports/sunpoet/eaccelerator/distinfo 2010-02-26 14:38:07.000000000 +0800 >@@ -1,3 +1,3 @@ >-MD5 (eaccelerator-0.9.5.3.tar.bz2) = caf797223739516882f870342f74b935 >-SHA256 (eaccelerator-0.9.5.3.tar.bz2) = aa4f0e7817e0193d698db71cc858f45461c2820266941ae2034eb1b82c379e45 >-SIZE (eaccelerator-0.9.5.3.tar.bz2) = 555631 >+MD5 (eaccelerator-0.9.6.tar.bz2) = 85fa6150265a81f0cea852bc973382b9 >+SHA256 (eaccelerator-0.9.6.tar.bz2) = ab1f309078d04ede3297b96f6c2689104e349e11e61376866f59c983ddde9a56 >+SIZE (eaccelerator-0.9.6.tar.bz2) = 105833 >diff -ruN --exclude=CVS /usr/ports/www/eaccelerator/files/patch-encoder.php /usr/ports/sunpoet/eaccelerator/files/patch-encoder.php >--- /usr/ports/www/eaccelerator/files/patch-encoder.php 2006-02-02 17:06:14.000000000 +0800 >+++ /usr/ports/sunpoet/eaccelerator/files/patch-encoder.php 1970-01-01 08:00:00.000000000 +0800 >@@ -1,33 +0,0 @@ >---- encoder.php.orig Fri May 6 10:26:43 2005 >-+++ encoder.php Thu Feb 2 09:39:47 2006 >-@@ -1,10 +1,12 @@ >-+#!%%LOCALBASE%%/bin/php -f >-+ >- <?php >- $web_error = ""; >- >- function eaccelerator_encoder_usage() { >-- echo "Usage:\tphp -q encoder.php [options] source_file_name\n"; >-- echo "\tphp -q encoder.php [options] source_file_name...\n"; >-- echo "\tphp -q encoder.php [options] source_directory_name...\n\n"; >-+ echo "Usage:\tencoder [options] source_file_name\n"; >-+ echo "\tencoder [options] source_file_name...\n"; >-+ echo "\tencoder [options] source_directory_name...\n\n"; >- echo "Options:\n"; >- echo "\t-s suffix\n\t\tencode files only with following suffix (default is \"php\")\n"; >- echo "\t-a\n\t\tencode all files (no by default)\n"; >-@@ -17,10 +19,10 @@ >- echo "\t\tfile name. If you encode directory or several files at once\n"; >- echo "\t\tthen 'target' specifyes an output directory name.\n"; >- echo "\nExamples:\n"; >-- echo "\tphp -q encoder.php some_file.php\n"; >-- echo "\tphp -q encoder.php some_file.php -o some_encoded_file.php\n"; >-- echo "\tphp -q encoder.php *.php -o some_dir\n"; >-- echo "\tphp -q encoder.php ~/public_html/x -rcf -sphp -sinc -o ~/public_html/y\n"; >-+ echo "\tencoder some_file.php\n"; >-+ echo "\tencoder some_file.php -o some_encoded_file.php\n"; >-+ echo "\tencoder *.php -o some_dir\n"; >-+ echo "\tencoder ~/public_html/x -rcf -sphp -sinc -o ~/public_html/y\n"; >- echo "\n"; >- exit(); >- } >diff -ruN --exclude=CVS /usr/ports/www/eaccelerator/pkg-descr /usr/ports/sunpoet/eaccelerator/pkg-descr >--- /usr/ports/www/eaccelerator/pkg-descr 2005-01-19 15:34:38.000000000 +0800 >+++ /usr/ports/sunpoet/eaccelerator/pkg-descr 2010-02-26 14:59:16.000000000 +0800 >@@ -1,17 +1,10 @@ >-eAccelerator is a opcode cache for PHP. It increases >-performance of PHP scripts by caching them in compiled state, >-so that the overhead of compiling is almost completely eliminated. >-Also it uses some optimizations for speed up of PHP scripts execution. >-eAccelerator typically reduces server load and increases >-the speed of your PHP code by 1-10 times. >+eAccelerator is a free open-source PHP accelerator & optimizer. It increases >+the performance of PHP scripts by caching them in their compiled state, so >+that the overhead of compiling is almost completely eliminated. It also >+optimizes scripts to speed up their execution. eAccelerator typically reduces >+server load and increases the speed of your PHP code by 1-10 times. > >-eAccelerator contains PHP encoder and loader. You can encode any PHP >-scripts with encoder to distribute them without sources. Encoded files >-can be run on any site which runs PHP with eAccelerator. The sources >-of encoded script can't be restored because they are stored in a compiled >-form and the encoded version doesn't contain the source. >- >-WWW: http://eaccelerator.net/ >+WWW: http://eaccelerator.net/ > > - Alex Dupre > ale@FreeBSD.org >diff -ruN --exclude=CVS /usr/ports/www/eaccelerator/pkg-plist /usr/ports/sunpoet/eaccelerator/pkg-plist >--- /usr/ports/www/eaccelerator/pkg-plist 2006-04-13 00:41:08.000000000 +0800 >+++ /usr/ports/sunpoet/eaccelerator/pkg-plist 2010-02-26 15:05:30.000000000 +0800 >@@ -1,4 +1,3 @@ >-%%ENCODER%%bin/encoder > lib/php/%%PHP_EXT_DIR%%/eaccelerator.so > @dirrmtry lib/php/%%PHP_EXT_DIR%% > %%EXAMPLESDIR%%/control.php
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 145617
: 105205