summaryrefslogtreecommitdiff
path: root/www/php-apcu
AgeCommit message (Collapse)AuthorFilesLines
2019-12-16Drop php71 supporttaca1-2/+2
Drop php71 support mechanically.
2019-12-15www/php-apcu: update to 5.1.18taca2-8/+8
Update php-apcu to 5.1.18. o pkgsrc change: allow build with php74. 5.1.18 (2019-10-28) - Implement apcu_inc() and apcu_dec() using atomic operations. This means that these functions no longer have to acquire a write lock. These functions will now wraparound on overflow, instead of saturating to a floating point value. - Make table header in apc.php sticky. - Fix compile warnings related to mktemp() usage. - Fix compatibility with PHP 8.0. - Fix required number of arguments for apcu_store() returned by Reflection.
2019-11-02www/php-apcu: fix pkglint warnings and configure optionsrillig3-7/+7
2019-10-22www/php-apcu: update to 5.1.17taca2-7/+7
Update php-apcu to 5.1.17. 5.1.17 - Fixed compatibility with PHP 7.4 and PHP 8.0.
2019-02-05Update php-apcu to 5.1.16. From Michael Moll via Github pull request.bsiegert3-11/+10
Closes NetBSD/pkgsrc#42. 5.1.16 - Fix build on OSX. 5.1.15 - Restore apc.serializer=php as the default, as the "default" serializer still/again has issues. - Fix possible issues in persistence of arrays with the "default" serializer. - Attempt to reduce shared memory fragementation. 5.1.14 - Fixed GH #347: Disable slam defense by default. - Fix potential issue with destruction of locks. This does not affect Linux, but might affect Windows and BSD. - Use mutex instead of rwlock for shared memory allocator (if pthreads mutex available). - Require only read-lock for apcu_cas(), by using atomic compare-and-swap. 5.1.13 - Reimplement persistence logic using precise allocation rather than memory pools. This reduces memory usage of cache entries, especially for small values, and improves performance of persisting and unpersisting values. - Fixed GH #335: Stampede protection is broken. - Fixed GH #328: Segfault in apcu_key_info() if APCu is disabled. - Generally make the behavior of functions if APCu is disabled more consistent. - Fixed PHP bug #72980: Empty strings are now consistently allowed as cache keys. - Optimized apcu_key_info() and apcu_cache_info() by using interned strings. - Fix build against PHP master (PHP 7.4). - Many changes to internal C APIs. 5.1.12 - gh#307: Fix 'Timout' sort option (apc.php). - gh#308: Keep search parameter on cache entry detail link (apc.php). - Fix --enable-apcu-clear-signal support. - Show entries with expired global TTL in APCuIterator. - Respect TTL when calculating APCuIterator totals. - The per-entry TTL now always takes precedence over the global TTL. - The global TTL is now always relative to the access time. - apcu_inc() and apcu_dec() no longer update hard-expired entries. Instead a new entry is created. - Added optional $ttl argument to apcu_inc() and apcu_dec(), used when creating a new entry. - PHP bug #76145: Fix use of APCu inside Serializer::(un)serialize(). - gh#304: If apcu_cas() is used on a non-existing entry, don't insert it. - gh#295: Improve APCuIterator performance by using PCRE JIT and preallocating key strings. - Reduce the memory overhead of cache entries. - Prevent potential memory corruption in the cache slam defense implementation. - Ensure cache entry references are released on bailout during unserialization. - Make support for atomic operations a hard requirement for building APCu. - Check write-lock acquisition for failure, to help debugging deadlock situations. - Make sure apcu_inc/dec are atomic when working on a non-existing entry. - Many changes to internal C APIs. 5.1.11 - fix gh#246 apcu_entry hangs - fix gh#259 deadlock in apcu_store - fix gh#281 undefined variable in apc.php - fix handling of fatal errors in apcu_entry - check string lengths when looking up keys - many internal C APIs changed
2019-01-24php-apcu: Revert apparently unintended distinfo change.jperkin1-5/+5
2019-01-14Drop support for php70taca2-7/+7
Drop support for php70 before remove it from pkgsrc.
2018-02-16Update php-apcu to 5.1.10 - small bugfixesjdolecek4-53/+7
Changes since 5.1.9: - fix gh#247 when a NUL char is used as key, apcu_fetch(array) truncates the key - fix gh#248 apcu_fetch may return values causing zend_mm_corruption or segfaults when custom serializer is used - fix gh#260 apcu.serializer=default results in segfault - fix gh#274 non-portable shell == in config.m4 - fix crash when passing bad array to apcu_delete - improve fix gh#266 refcounting errors in APCIterator - fix for PHP 7.3 compatibility
2018-02-08Note the config.m4 patch was also reported on the master github projectjdolecek2-3/+5
2018-01-10Update php-apcu to 5.1.9. Small bugfixes only.jdolecek4-17/+18
Changes since 5.1.8: - fix gh#234 mmap disabled when configure is called with --enable-apcu-mmap - fix gh#226 Warning: apcu_fetch(): apc_fetch() expects a string or array of strings. - mitigate gh#223 Fatal error when starting php on windows - add support for PCRE2 in 7.3 - use row formatting for information in phpinfo() tables - set IS_STR_PERSISTENT so refcounting failures are reported by -DRC_DEBUG=1 - fix gh#266 refcounting errors in APCIterator
2017-12-13php-apcu: Fix obvious copy/pasto.jperkin1-2/+2
2017-11-15Accept also PHP 7.2 for this module packagejdolecek1-2/+2
2017-02-07Update to apcu-5.1.8 with the following changes:roy2-7/+7
- fix gh#207 Segmentation fault in apc_sma_api_free() - fix gh#221 memory leak - update to apc dashboard
2016-11-05Update php-apcu to 5.1.7jdolecek2-7/+7
Changes: - fixes gh#19: hung apaches on pthread wrlocks - fixes gh#203: segfaults in bailout / longjmp
2016-10-14Update php-apcu to version 5.1.6jdolecek3-342/+7
Changes: - fixes gh#19: Hung apaches on pthread wrlocks - fixes gh#188: Fix Segfault in ZTS build when locking (Tyson Andre) - fixes gh#194: apcu_entry ttl not working - fixes gh#189: SegFault in apc_copy_zval - fixes gh#185: zend_mm_heap corrupted - fixes gh#190: memory leak/failed check for duplicates
2016-09-01Fix distinfo for patch-apc_cache.c.wiz1-2/+2
2016-08-19add patch for apcu memory allocation failure handling, submitted asjdolecek3-2/+337
https://bugs.php.net/bug.php?id=72801
2016-08-11php apcu 5.x (and php apcu_bc) is only compatible with 7.x; adjust ↵jdolecek2-1/+6
PHP_VERSIONS_ACCEPTED accordingly add php-apcu4 (as copy what we used to have as php-apcu before upgrade to 5.1.5), and mark with PHP_VERSIONS_ACCEPTED 55 56
2016-07-26add php-apcu buildlink, needed for apcu_bc buildjdolecek1-0/+12
2016-07-26Update php-apcu to 5.1.5jdolecek6-30/+52
Changes: - PHP 7 compatibility - provide APC compatibility in "apc" optional extension - move APCIterator to APC compatibility extension - add APCuIterator without cache argument - drop apcu_bin_* functions - add apcu_entry(key, callback, ttl) function - fix race on refcount of entry when using rwlocks (or on windows) NOTE: apc-compatible interfaces moved into separate module
2015-12-19Restrict PHP_VERSIONS_ACCEPTED to 55 and 56.taca1-1/+3
2015-11-04Add SHA512 digests for distfiles for www categoryagc1-1/+2
Problems found locating distfiles: Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2 Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-02-01Add php-apc 4.0.7.taca6-0/+92
APCu is userland caching: APC stripped of opcode caching in preparation for the deployment of Zend Optimizer+ as the primary solution to opcode caching in future versions of PHP. APCu has a revised and simplified codebase, by the time the PECL release is available, every part of APCu being used will have received review and where necessary or appropriate, changes. Simplifying and documenting the API of APCu completely removes the barrier to maintenance and development of APCu in the future, and additionally allows us to make optimizations not possible previously because of APC's inherent complexity. APCu only supports userland caching (and dumping) of variables, providing an upgrade path for the future. When O+ takes over, many will be tempted to use 3rd party solutions to userland caching, possibly even distributed solutions; this would be a grave error. The tried and tested APC codebase provides far superior support for local storage of PHP variables.