summaryrefslogtreecommitdiff
path: root/www/php-apc
AgeCommit message (Collapse)AuthorFilesLines
2012-07-23Update www/php-apc to 3.1.11.taca2-6/+6
- In cli mode with stat=0 and canonicalize=1 make sure cwd is searched - Fixed bug #62302 apc.include_once_override=1 made everything crash - Fixed bug #59829 APC should not try to canonicalize file URLs - Fixed bug #62398 stat=0 replaces an include/require filename with empty string - Fixed bug #61799 Typo in 'SEARCH' regex of apc.php - Fixed bugs #61824,61912,61956,62190,62230 ext/DOM memory corruption (cschneid)
2012-04-29Update php-apc package to 3.1.10.taca4-42/+6
- Add PHP 5.4 support (Dmitry, Anatoliy, Pierre) - Fixed bug #22679: Fix apc_bin_dump for constants. Use IS_CONSTANT_TYPE_MASK to handle all the constants, including the unqalified ones (instead of ~IS_CONSTANT_INDEX check) - Fixed bug #23822, php crashes on apache restart
2011-12-17Change default PKGNAME scheme for PECL packages.obache1-1/+2
Drop ${PHP_BASE_VARS} from PKGVERSION by default. It used to be required to support multiple php version. But after PHP version based ${PHP_PKG_PREFIX} was introduced, such trick is not required anymore. In addition to this, such version name schme invokes unwanted version bump when base php version is bumped, plus, such version scheme is hard to use for DEPENDS pattern. To avoid downgrading of package using such legacy version scheme, PECL_LEGACY_VERSION_SCHEME is introduced. If it is defined, current version scheme is still used for currently supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS}, current fixed PHP base version in pkgsrc is used to avoid unwanted version bump from update of PHP base package. With newer PHP (54, or so on), new version scheme will be used if it is defined. This trick will not be required and should be removed after php5 and php53 will be gone away from pkgsrc.
2011-06-29Reflect "php-license" => "php".taca1-2/+2
2011-06-20Apply two fix from repository.taca4-3/+41
- Fix pollution of the slots table with unoccupied slots (r311376) - Fix fcntl lock error from repository (r311339). It was reported by PR pkg/45082 from Peter Avalos. Bump PKGREVISION.
2011-05-16Update php-apc pacakge to 3.1.9.taca2-6/+6
3.1.9 (stable) - Fix regression introduced in 3.1.8 (#22687) 3.1.8 (stable) - Windows read-write locks support on Windows XP or later and Windows Win7 or later (use php_apc-xp.dll or php_apc-win7.dll) - Fix variable type check in user cache update - Make warnings that user cannot do anything about debug messages - Fixed bug #21400 (Minor memory leak in MINFO) - Fixed bug #18890: Ensure that --enable-apc-debug=no disables debug mode. - Fixed bug #19459: check for expiry while looping through the iterator slots 3.1.7 (beta) - pthread read-write locks support - apc.serializer hooks, export apc_serializer.h as an API - Fix regression bug #20529: Look up files in CWD - Pool allocator fixes for large allocations - trunk compat fixes (Kalle) - ZTS fixes (Pierre, Hirokawa) - Readability and warning fixes (Pierre, Kalle)
2010-12-19Update php-apc package to 3.1.6.taca2-6/+6
3.1.6 2010-11-30 - make slam_defense a little more optimistic, allow a thread/process to write to cache in a loop - ensure realpaths hit the realpath_cache, in no-stat mode - prevent memory starvation, nuke all caches when expunging just one doesn't work - fix uploadprogress keylength issues (NUL is part of keylen, pecl bug #20016) 3.1.5 2010-11-02 - Reduce usage of CG(open_files) (mkoppanen at php dot net) - Add support for php-trunk, new op code, new internals string format, etc. (Dmitry) - apc_debug are not compiler-valid NOPs for non-debug builds - Fixed relative paths resolution when ./foo/a.php or ../foo/a.php (or similar path) are used. 'foo/a.php' path behaviors remain unchanged - Fixed a possible memory corruption, when partial path cannot be resolved by expand_filepath() - Fixed notices in apc.php (Tomasz Krawczyk) - Fixed Bug #17978: standardize user keys to include NULs in identifier_len. Z_STRLEN_P() doesn't, so add to it. - Fixed bug #16966, apc produces tons of warnings "Unable to allocate memory for pool". - Added --enable-apc-debug configuration argument to enable debugging (Kalle) - Added support for internal debugging on Windows (Kalle) - ZTS optimizations (Kalle) 3.1.4 2010-08-05 - Windows builds may now have filehits and memory protection if enabled (Kalle) - Renamed the memory protection configure option to --enable-apc-memprotect (Kalle, Shire) - ZTS fixes and optimizations (Kalle, Felipe) - Win32 stat support (Pierre, Kalle) - Added support for interned strings, run-time caches and Zend Engine 2.4 (Dmitry) - Added apc_exists() (Rasmus) - Fixed potential XSS in apc.php (Pierre, Matt Chapman) - Fixed pecl bug #17597 (keys with embedded NUL) (Gopal) - Fixed pecl bug #17650 (Fix goto jump offsets) (Gopal) - Fixed pecl bug #17527 (Standardized error reporting) (Gopal, Paul Dragoonis) - Fixed pecl bug #17089 (Scrub the constant table of all inherited members before caching) (Gopal) - Fixed pecl bug #16860 (files can be included more than once even when include/require_once are used) (Pierre) - Fixed pecl bug #16717 (apc_fetch dies after 1 hour, regardless of ttl settings) (Kalle) - Fixed pecl bug #17597 (apc user cache keys with embedded NULs) (Gopal) - Fixed pecl bug #13583 (apc upload progress fixes) (Gopal)
2010-03-16Update php-apc package to 3.1.3p1.taca2-10/+10
* Several pkgsrc clean up. 3.1.3p1 - fix pecl build / package.xml (Gopal) 3.1.3 - 5.3 support + test-cases (Gopal) - Lazy loading support (Shire) - Fix PCRE module init order issues (Shire) - APCIterator fixes (Shire) - Cache slam checks (Gopal) - ZEND_JMP_SET support (Shire) - apc.use_request_time option (shire) - apc.php hostname fixes (Shire) - memprotect framework (Gopal) - Win32 build-fixes (Kalle)
2010-03-15Remove PHP_VERSIONS_ACCEPTED since we don't have php4 package any moretaca1-3/+1
and no need to specify PHP_VERSIONS_ACCEPTED explicitly now. No functional change.
2009-07-10Update www/php-apc to latest 3.1.2jdolecek2-6/+8
Changes in 3.1.2: - pecl package.xml/build fixes (bjori) Changes in 3.1.1: - PHP4 compatibilty break - apc_pool allocator (Gopal) - doubly-linked sma allocator (Shire) - php 5.3 gc compatibility (Gopal) - APCIterator for easy access (Shire) - apc_delete_file (Shire) - apc_inc/apc_dec/apc_cas functions (Shire) - apc.canonicalize (Gopal) - apc.preload_path (Gopal) - apc.rfc1867_ttl (Shire) - apc.file_md5 (Shire) - consolidate locking macros (Shire) - remove futex/TSRM locks (Shire) - non-blocking semaphore locks (Shire) - zval* object rework (Gopal) Mark this package PHP5-only
2009-06-14Convert @exec/@unexec to @pkgdir or drop it.joerg1-2/+1
2008-09-28Upgrade PHP PECL alternative PHP cache extension (apc) to version 3.0.19tonnerre2-6/+6
to fix arbitrary code execution problems (CVE-2008-1488). Changes since 3.0.16: * Fix for CVE-2008-1488. * Fix apc_add() cache expunge bug. * Added parameter to apc_fetch to determine success/failure when fetching booleans. * Fix for bug 13504. * Move expunge callback groundwork to 3.1 (Rasmus) * Fix fd-leak. * Fix double-free on builtin functions. * Initial PHP 5.3 support.
2008-06-12Add DESTDIR support.joerg1-3/+7
2008-03-21Bring APC to 3.0.16. This fixes a number of issues:jklos2-6/+6
3.0.16 * Fix for longstanding cache-full crash (Christian Seiler) http://news.php.net/php.pecl.dev/4951 for the details * Added optional shm unmap on a fatal signal feature (Lucas Nealan) * Added PTHREAD_MUTEX_ADAPTIVE_NP option pthread locks (Paul Saab) * Minor cleanups (Lucas Nealan) * Added configure option to enable apc_cache_info('filehits') (Shire) 3.0.15 * Eliminate a per-request time() syscall (Rasmus) * Added rfc1867 prefix, name, and freq ini options (Shire) * Allow deletion of individual user cache entries via apc.php (Sara) * Fix overzealous cleanup during RSHUTDOWN (Gopal) * Fix memory alignment and locking issues (Gopal) * Make apc_compile insert/replace entries (Shire) * Make mixed inheritance recompile & cache afresh (Gopal) * Make nostat mode search include_path for canonicalization (Gopal) * ZTS & other compile fixes (Gopal, Edin, Shire)
2007-09-04Update do APC 3.0.14. Changes since 3.0.12 are miscellaneous bugfixes.jdolecek2-6/+6
New in 3.0.14: * Build fix (Shire) * Don't hook the upload hook if APC is disabled (Rasmus) * Local shadow cache support (Gopal) * Avoid uneccessary loops over op_arrays for "known" auto-globals (Gopal) * Fix apc_add() to overwrite timed out user entries (Rasmus) * Fix double inclusion of files with conditional classes in php4 (Gopal) * Allocator fixes to reduce fragmentation (Gopal) New in 3.0.13: * PHP 5.2 file upload progress tracking support (Rasmus) * Pthread mutex and spin locks (Shire) * Recursive zval support for apc_fetch/_store (Shire, Gopal) * apc.stat_ctime flag for ctime checks (Rasmus) * Multiple key fetches with apc_fetch (Shire) * Canary checks for shm memory deallocation (Gopal) * Add hooks for external optimizer (Shire) * Obsolete and remove apc optimizer (Gopal) * APC info changes - cache insert rate, hit and miss rates (Shire) * Fix apc_load_constants (Gopal) * Rewrite dump opcode code to use vld (Gopal) * Use apc_[ewn]print functions for error reporting (Shire) * Auto global fixes and refactoring (Gopal, Shire) * Fix memory leaks in object serialization (Ilia) * Memory cleanup code for destructor order (Gopal) * Win32 build fixes (Ilia, Wez) * ZTS and Php 4 build fixes (Bjori) * Add apc_add() function (Rasmus) * Add optional limited flag to apc_sma_info() (Rasmus) Also fixes: PR: 33424 by FUKAUMI Naoki
2006-11-06Update php-apc to 3.0.12p2 - changes are several fixes and PHP 5.2jdolecek2-6/+6
compatibility
2006-06-04Fix CONFLICTS of php/pear packages, the asterix was missing (thanks tv).joerg1-2/+2
While going through the tree, fix some more packages which had similiar issues with too strict conflicts, bump the revisions of those.
2006-06-02Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,joerg1-1/+3
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
2006-05-03PHP module "apc" -- Alternative PHP Cache 3.0.10. From DESCR:tv4-0/+34
APC is the Alternative PHP Cache, which provides a way of boosting the performance of PHP on heavily-loaded sites by allowing scripts to be cached in a compiled state, so that the overhead of parsing and compiling can be almost completely eliminated.