Date: Sun, 11 Apr 2010 04:04:26 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ale@FreeBSD.org Subject: ports/145617: [PATCH] www/eaccelerator: update to 0.9.6 Message-ID: <20100410200426.9E9332AEC49A@sunpoet.net> Resent-Message-ID: <201004102010.o3AKA1Mr042414@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 145617 >Category: ports >Synopsis: [PATCH] www/eaccelerator: update to 0.9.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 10 20:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 8.0-STABLE amd64 >Organization: SUNPOET.net >Environment: System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Mar 19 09:16:38 CST 2010 >Description: Changes in this version (0.9.6): - Support for PHP 5.3 - The encoder is removed - The user cache functions are removed - The session handler is removed - The minimal PHP version supported is now 5.1 - Some internal refactoring to clean up the code - Fixed some bugs (and probably added some) Change: - Update to 0.9.6 Removed file(s): - files/patch-encoder.php Port maintainer (ale@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- eaccelerator-0.9.6.patch begins here --- 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 --- eaccelerator-0.9.6.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100410200426.9E9332AEC49A>