Date: Thu, 7 Mar 2013 09:31:55 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313570 - in head: . devel devel/ZendOptimizer www www/pecl-zendoptimizerplus www/pecl-zendoptimizerplus/files Message-ID: <201303070931.r279Vt5D095633@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ale Date: Thu Mar 7 09:31:55 2013 New Revision: 313570 URL: http://svnweb.freebsd.org/changeset/ports/313570 Log: Import pecl-zendoptimizerplus to replace ZendOptimizer. It supports all PHP releases we have in ports tree. The Zend Optimizer+ provides faster PHP execution through opcode caching and optimization. It improves PHP performance by storing precompiled script bytecode in the shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. In addition, it applies a few bytecode optimization patterns that make code execution faster. WWW: https://github.com/zend-dev/ZendOptimizerPlus Added: head/www/pecl-zendoptimizerplus/ - copied from r313568, head/devel/ZendOptimizer/ Deleted: head/devel/ZendOptimizer/ head/www/pecl-zendoptimizerplus/files/ head/www/pecl-zendoptimizerplus/pkg-plist Modified: head/MOVED head/devel/Makefile head/www/Makefile head/www/pecl-zendoptimizerplus/Makefile head/www/pecl-zendoptimizerplus/distinfo head/www/pecl-zendoptimizerplus/pkg-descr Modified: head/MOVED ============================================================================== --- head/MOVED Thu Mar 7 09:20:22 2013 (r313569) +++ head/MOVED Thu Mar 7 09:31:55 2013 (r313570) @@ -4132,3 +4132,4 @@ sysutils/udesc_dump||2013-03-06|Has expi textproc/gxditview||2013-03-06|Has expired: Broken for more than 6 month x11/powershell||2013-03-06|Has expired: Broken for more then 6 month devel/py-setuptools|devel/py-distribute|2013-03-06|Replaced with distribute +devel/ZendOptimizer|www/pecl-zendoptimizerplus|2013-03-07|Replaced with supported open-source release Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Mar 7 09:20:22 2013 (r313569) +++ head/devel/Makefile Thu Mar 7 09:31:55 2013 (r313570) @@ -28,7 +28,6 @@ SUBDIR += R-cran-reshape SUBDIR += R-cran-reshape2 SUBDIR += SpecTcl - SUBDIR += ZendOptimizer SUBDIR += aap SUBDIR += abi-compliance-checker SUBDIR += ace Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Thu Mar 7 09:20:22 2013 (r313569) +++ head/www/Makefile Thu Mar 7 09:31:55 2013 (r313570) @@ -1392,6 +1392,7 @@ SUBDIR += pecl-sphinx SUBDIR += pecl-swish SUBDIR += pecl-yaf + SUBDIR += pecl-zendoptimizerplus SUBDIR += pelican SUBDIR += perlbal SUBDIR += pglogd Modified: head/www/pecl-zendoptimizerplus/Makefile ============================================================================== --- head/devel/ZendOptimizer/Makefile Thu Mar 7 08:00:10 2013 (r313568) +++ head/www/pecl-zendoptimizerplus/Makefile Thu Mar 7 09:31:55 2013 (r313570) @@ -1,65 +1,32 @@ -# New ports collection makefile for: ZendOptimizer -# Date created: Thu Apr 24 00:23:22 CET 2003 -# Whom: Alex Dupre <sysadmin@alexdupre.com> -# +# Created by: Alex Dupre <ale@FreeBSD.org> # $FreeBSD$ -# -PORTNAME= ZendOptimizer -DISTVERSION= 3.3.0a -CATEGORIES= devel -MASTER_SITES= http://downloads.zend.com/optimizer/${DISTVERSION}/ -DISTNAME= ${PORTNAME}-${DISTVERSION}-freebsd${VER}-${ARCH} +PORTNAME= zendoptimizerplus +PORTVERSION= 7.0.0 +CATEGORIES= www +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +EXTRACT_SUFX= .tgz +DIST_SUBDIR= PECL MAINTAINER= ale@FreeBSD.org -COMMENT= An optimizer for PHP code +COMMENT= Opcode cacher and optimizer for PHP -ONLY_FOR_ARCHS= i386 amd64 -NO_BUILD= yes -USE_PHP= yes -DEFAULT_PHP_VER=52 -IGNORE_WITH_PHP=5 - -SUB_FILES= pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message - -.include <bsd.port.pre.mk> - -# Check for FreeBSD version -VER= 6.0 -.if ${OSVERSION} >= 700043 -LIB_DEPENDS+= m.4:${PORTSDIR}/misc/compat6x -.endif +LICENSE= PHP301 -.if ${PHP_VER} == 4 -ZEND_PATH= 4.4.x -.else -ZEND_PATH= 5.2.x -.endif - -PLIST_SUB+= ZEND_PATH=${ZEND_PATH} +USE_PHP= yes +USE_PHP_BUILD= yes +USE_ZENDEXT= yes +PHP_MODNAME= ZendOptimizerPlus PORTDOCS= * -do-install: - @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/Optimizer/php-${ZEND_PATH} - ${INSTALL_DATA} ${WRKSRC}/data/${ZEND_PATH:S/./_/g}_comp/ZendOptimizer.so \ - ${PREFIX}/lib/php/${PHP_EXT_DIR}/Optimizer/php-${ZEND_PATH}/ZendOptimizer.so - @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/Optimizer_TS/php-${ZEND_PATH} - ${INSTALL_DATA} ${WRKSRC}/data/${ZEND_PATH:S/./_/g}_comp/TS/ZendOptimizer.so \ - ${PREFIX}/lib/php/${PHP_EXT_DIR}/Optimizer_TS/php-${ZEND_PATH}/ZendOptimizer.so - ${INSTALL_DATA} ${WRKSRC}/data/ZendExtensionManager.so \ - ${PREFIX}/lib/php/${PHP_EXT_DIR} - ${INSTALL_DATA} ${WRKSRC}/data/ZendExtensionManager_TS.so \ - ${PREFIX}/lib/php/${PHP_EXT_DIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/EULA-ZendOptimizer ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README-ZendOptimizer ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/data/doc/* ${DOCSDIR} -.endif +.include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MDOCS} post-install: - @${CAT} ${PKGMESSAGE} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/www/pecl-zendoptimizerplus/distinfo ============================================================================== --- head/devel/ZendOptimizer/distinfo Thu Mar 7 08:00:10 2013 (r313568) +++ head/www/pecl-zendoptimizerplus/distinfo Thu Mar 7 09:31:55 2013 (r313570) @@ -1,4 +1,2 @@ -SHA256 (ZendOptimizer-3.3.0a-freebsd6.0-i386.tar.gz) = 5670b73057b5fdbccfdb09ecf1b7280f9a6014b5bb353d3d7b9ec0eaea079796 -SIZE (ZendOptimizer-3.3.0a-freebsd6.0-i386.tar.gz) = 9353326 -SHA256 (ZendOptimizer-3.3.0a-freebsd6.0-amd64.tar.gz) = 24f8c4f7a5a47e371ee4f5f3288c93e5e33f1977f71f0b3a1887915703dbc180 -SIZE (ZendOptimizer-3.3.0a-freebsd6.0-amd64.tar.gz) = 9979608 +SHA256 (PECL/zendoptimizerplus-7.0.0.tgz) = c32aa8c75434f8f64d116694612adf6d2b40864feabbd8466b9561869ba97cfa +SIZE (PECL/zendoptimizerplus-7.0.0.tgz) = 82376 Modified: head/www/pecl-zendoptimizerplus/pkg-descr ============================================================================== --- head/devel/ZendOptimizer/pkg-descr Thu Mar 7 08:00:10 2013 (r313568) +++ head/www/pecl-zendoptimizerplus/pkg-descr Thu Mar 7 09:31:55 2013 (r313570) @@ -1,9 +1,7 @@ -The Zend Optimizer is a free application that runs the files -encoded by the Zend Encoder and Zend SafeGuard Suite, while -enhancing the running speed of PHP applications. +The Zend Optimizer+ provides faster PHP execution through opcode caching and +optimization. It improves PHP performance by storing precompiled script +bytecode in the shared memory. This eliminates the stages of reading code from +the disk and compiling it on future access. In addition, it applies a few +bytecode optimization patterns that make code execution faster. -Benefits: -- Enables users to run files encoded by the Zend Encoder -- Increases runtime performance up to 40%. - -WWW: http://www.zend.com/store/products/zend-optimizer.php +WWW: https://github.com/zend-dev/ZendOptimizerPlus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303070931.r279Vt5D095633>