diff options
author | imil <imil@pkgsrc.org> | 2015-03-09 13:33:18 +0000 |
---|---|---|
committer | imil <imil@pkgsrc.org> | 2015-03-09 13:33:18 +0000 |
commit | e67891cdc27bfc2cf636e4f7d12226b22b6fa75e (patch) | |
tree | 72a5ecedd4f9d6d407a724eb9ab5dd8d77aa28b4 /www | |
parent | 3a9fce40ec4c405109e2e936daa683cc485501fc (diff) | |
download | pkgsrc-e67891cdc27bfc2cf636e4f7d12226b22b6fa75e.tar.gz |
Initial import of php-zendopcache, version 7.0.4, into the NetBSD Packages
Collection.
This extention was previously known as ZendOptimizerPlus and has been renamed by
upstream.
Changes:
7.0.4
Added function opcache_is_script_cached()
- Fix bug #67111 (Loop variables need to be freed for both "break" and
"continue")
- Fix opcache.revalidate_freq per-request behavior
- Fixed bug #67215 (php-cgi work with opcache, may be segmentation fault happen)
- Fixed issue #183 (TMP_VAR is not only used once)
7.0.3
- Fixed bug #66298 (ext/opcache/Optimizer/zend_optimizer.c has dos-style
^M as lineend)
- Added suggestion about opcache.revalidate_freq setting in development
environmento
- Fixed Issue #140: "opcache.enable_file_override" doesn't respect
"opcache.revalidate_freq"
- Fixed reavlidate_path=1 behavior to avoid caching of symlinks values.
- Fixed opcahce_reset() crash when opcache.protect_memory is set
- Fixed bug #66176 (Invalid constant substitution)
- Fixed bug #65559 (Opcache: cache not cleared if changes occur while running)
- Fixed compatibility with old PHP versions
- Fixed bug #65915 (Inconsistent results with require return value)
- Fixed issue #115 (path issue when using phar)
- Fixed issue #149 (Phar mount points not working with OPcache enabled)
- Fixed bug #65845 (Error when Zend Opcache Optimizer is fully enabled).
- Added function opcache_compile_file() to load PHP scripts into cache without
execution.
- Fixed issue #135 (segfault in interned strings if initial memory is too low)
- Fixed bug #65665 (Exception not properly caught when opcache enabled)
- Fixed issue #128 (opcache_invalidate segmentation fault)
- Fixed bug #65510 (5.5.2 crashes in _get_zval_ptr_ptr_var)
- Fixed bug #65561 (Zend Opcache on Solaris 11 x86 needs ZEND_MM_ALIGNMENT=4)
- Replce ZEND_FETCH_* instructions with IS_CV if possible
- Added opcache.restrict_api configuration directive that may limit usage of
OPcahce API functions only to patricular script(s)
- Added support for glob symbols in blacklist entries (?, *, **)
- Improved implementation of NOP removal pass from O(n^2) to O(n)
- Fixed bug #65338 (Enabling both php_opcache and php_wincache AVs on shutdown).
- Fixed bug #64827 Segfault in zval_mark_grey (zend_gc.c)
7.0.2
- Fixed issue #26 (added opcache_invalidate(string $filename [, bool
$force = false]) function)
- Fixed issue #74 (Allowed per request OPcache disabling)
- Fixed issue #76 (actually we don't need zend_shared_meory_block_header at all)
- Fixed issue #78 (incorrect file path validation)
- Fixed issue #79 (Optimization Problem/Bug)
- Fixed issue #82 (allow comments in blacklist file, lines started with ";")
- Fixed issue #91 (fix x64 fixed addresses)
- Fxied issue #92 (Compilation warnings)
- Fixed issue #97 (Use size_t instead of int to support a cache larger than 2G)
- Fixed bug (Avoid possible conditional jump depended on uninitialised value)
7.0.1
- Fixed Bug #64490 (add __FreeBSD_kernel__ to allowed FreeBSD defs)
- Fixed Bug #64482 (Opcodes for dynamic includes should not be cached)
- Fixed Bug #64353 (Built-in classes can be unavailable with dynamic includes
and Optimizer+)
- Fixed compatibility with ext/phar
- Fixed Issue #58 (PHP-5.2 compatibility)
- Fixed Issue #57 (segfaults in drupal7)
- Fixed Issue #54 (PECL install adds extension= instead of zend_extension= to
php.ini)-iii
- Allows exclusion of large files from being cached
- Save a stat() call by calling sapi_module.get_stat()
- Add optional flag to opcache_get_status()
- Separate "start_time" from "last_restart_time"
Diffstat (limited to 'www')
-rw-r--r-- | www/php-zendopcache/DESCR | 5 | ||||
-rw-r--r-- | www/php-zendopcache/MESSAGE | 9 | ||||
-rw-r--r-- | www/php-zendopcache/Makefile | 35 | ||||
-rw-r--r-- | www/php-zendopcache/PLIST.extras | 2 | ||||
-rw-r--r-- | www/php-zendopcache/distinfo | 5 |
5 files changed, 56 insertions, 0 deletions
diff --git a/www/php-zendopcache/DESCR b/www/php-zendopcache/DESCR new file mode 100644 index 00000000000..911b5f437c3 --- /dev/null +++ b/www/php-zendopcache/DESCR @@ -0,0 +1,5 @@ +The Zend OPcache 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. diff --git a/www/php-zendopcache/MESSAGE b/www/php-zendopcache/MESSAGE new file mode 100644 index 00000000000..63aa16bb411 --- /dev/null +++ b/www/php-zendopcache/MESSAGE @@ -0,0 +1,9 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2015/03/09 13:33:18 imil Exp $ + +To enable this module, add the following to ${PKG_SYSCONFDIR}/php.ini: + + zend_extension=${PREFIX}/${PHP_EXTENSION_DIR}/${MODNAME}.so + +Then restart your ${PKG_PHP}-enabled HTTP server to load this module. +=========================================================================== diff --git a/www/php-zendopcache/Makefile b/www/php-zendopcache/Makefile new file mode 100644 index 00000000000..208d97405d3 --- /dev/null +++ b/www/php-zendopcache/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 2015/03/09 13:33:18 imil Exp $ + +MODNAME= zendopcache +PKGMODNAME= opcache +CATEGORIES+= www +PECL_VERSION= 7.0.4 +PECL_LEGACY_VERSION_SCHEME= yes + +HOMEPAGE= https://github.com/zend-dev/ZendOptimizerPlus +MAINTAINER= imil@NetBSD.org +COMMENT= Zend opcode cache and optimizer for PHP +LICENSE= php + +SUPERSEDES= ${PHP_PKG_PREFIX}-zendoptimizerplus-[0-9]* +PREV_PKGPATH= www/zendoptimizerplus + +REPLACE_BASH= configure # cheaper than patching configure +USE_TOOLS+= bash + +PLIST_SRC+= ${.CURDIR}/PLIST.extras +PLIST_SUBST+= PKGBASE=${PKGBASE:Q} + +DOCDIR= ${PREFIX}/share/doc/${PKGBASE} + +INSTALLATION_DIRS= ${DOCDIR} + +.include "../../lang/php/ext.mk" + +# this is not an usual extension, override MESSAGE.module +MESSAGE_SRC= ${.CURDIR}/MESSAGE + +post-install: + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} + +.include "../../mk/bsd.pkg.mk" diff --git a/www/php-zendopcache/PLIST.extras b/www/php-zendopcache/PLIST.extras new file mode 100644 index 00000000000..5e7b3a06d7e --- /dev/null +++ b/www/php-zendopcache/PLIST.extras @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST.extras,v 1.1 2015/03/09 13:33:18 imil Exp $ +share/doc/${PKGBASE}/README diff --git a/www/php-zendopcache/distinfo b/www/php-zendopcache/distinfo new file mode 100644 index 00000000000..72b160c6339 --- /dev/null +++ b/www/php-zendopcache/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/03/09 13:33:18 imil Exp $ + +SHA1 (php-zendopcache/zendopcache-7.0.4.tgz) = 42e67f02d76113f9e9ec947aea49d36a95642d3c +RMD160 (php-zendopcache/zendopcache-7.0.4.tgz) = 84c46a4bac9cefb31a5be91e5524d16d68ed0553 +Size (php-zendopcache/zendopcache-7.0.4.tgz) = 96340 bytes |