head 1.7; access; symbols pkgsrc-2023Q4:1.7.0.18 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.16 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.14 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.12 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.10 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.8 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.6 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.4 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.2 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.6.0.6 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.4 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.2 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.4.0.10 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.8 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.6 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.4 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.3.0.6 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.4 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.2 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.2.0.22 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.20 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.18 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.16 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.14 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.12 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.8 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.6 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.4 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.2 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.1.0.12 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.10 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.8 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.6 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.4 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.2 pkgsrc-2015Q1-base:1.1; locks; strict; comment @# @; 1.7 date 2021.12.12.15.25.53; author taca; state Exp; branches; next 1.6; commitid 2jOvuaMMmlNjgnkD; 1.6 date 2021.03.07.14.47.58; author taca; state Exp; branches; next 1.5; commitid EHu107Dj8eMh3oKC; 1.5 date 2021.01.03.07.40.24; author taca; state Exp; branches; next 1.4; commitid S2HiKuCNU1baIfCC; 1.4 date 2019.11.02.12.54.38; author rillig; state Exp; branches; next 1.3; commitid 4sCtzx36bzEQchJB; 1.3 date 2019.02.05.18.58.02; author bsiegert; state Exp; branches; next 1.2; commitid YQsgQp839V95TBaB; 1.2 date 2016.07.26.09.22.40; author jdolecek; state Exp; branches; next 1.1; commitid rgwgFgTpTcenpOfz; 1.1 date 2015.02.01.08.11.20; author taca; state Exp; branches; next ; commitid bvd04mEPR8aiph8y; desc @@ 1.7 log @www/php-apcu: update to 5.1.21 5.1.21 (2021-10-07) - Fixed compatibility with PHP 8.1 by adding return types to APCUIterator. - APCUIterator::current() and ::key() can no longer be called on an invalid iterator. @ text @@@comment $NetBSD: PLIST.extras,v 1.6 2021/03/07 14:47:58 taca Exp $ include/php/ext/apcu/apc.h include/php/ext/apcu/apc_api.h include/php/ext/apcu/apc_arginfo.h include/php/ext/apcu/apc_cache.h include/php/ext/apcu/apc_globals.h include/php/ext/apcu/apc_iterator.h include/php/ext/apcu/apc_lock.h include/php/ext/apcu/apc_mutex.h include/php/ext/apcu/apc_serializer.h include/php/ext/apcu/apc_sma.h include/php/ext/apcu/apc_stack.h include/php/ext/apcu/php_apc.h include/php/ext/apcu/php_apc_legacy_arginfo.h @ 1.6 log @www/php-apcu: update to 5.1.20 www/php-apcu: update to 5.1.20 5.1.20 (2021-03-04) - Fix deadlocks when other apcu_* functions are used inside apcu_entry(). It should now be safe to use any functions inside the apcu_entry() callback. - Fix division by zero exception in apc.php. - Fix handling of references in PHP 8 if "default" serializer is used (which is not the default). - Fix string reuse handling if "default" serializer is used (which is not the default). - Check for failures when acquiring read locks to report problems earlier (write locks were already checked previously). - Adjust tests for current PHP 8.1 development branch. - Remove *_api.h headers. Use apc_cache.h instead of apc_cache_api.h etc. @ text @d1 1 a1 2 @@comment $NetBSD: PLIST.extras,v 1.5 2021/01/03 07:40:24 taca Exp $ share/doc/${PKGBASE}/INSTALL @ 1.5 log @www/php-apcu: update to 5.1.19 pkgsrc change: Switch to use PHP_VERSIONS_INCOMPATIBLE. 5.1.19 (2020-10-05) - Fixed apcu_store() with integer keys (#388). - Made apc.use_request_time=0 the default (#391). - Made apcu compatible with PHP 8.0. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST.extras,v 1.4 2019/11/02 12:54:38 rillig Exp $ a6 1 include/php/ext/apcu/apc_cache_api.h a9 1 include/php/ext/apcu/apc_lock_api.h a12 1 include/php/ext/apcu/apc_sma_api.h @ 1.4 log @www/php-apcu: fix pkglint warnings and configure options @ text @d1 1 a1 1 @@comment $NetBSD: PLIST.extras,v 1.3 2019/02/05 18:58:02 bsiegert Exp $ d18 1 @ 1.3 log @Update php-apcu to 5.1.16. From Michael Moll via Github pull request. 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 @ text @d1 1 a1 1 @@comment $NetBSD: PLIST.extras,v 1.2 2016/07/26 09:22:40 jdolecek Exp $ a17 1 @@dirrm include/php/ext/apcu @ 1.2 log @Update php-apcu to 5.1.5 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 @ text @d1 1 a1 1 @@comment $NetBSD: PLIST.extras,v 1.1 2015/02/01 08:11:20 taca Exp $ d12 1 a12 2 include/php/ext/apcu/apc_pool.h include/php/ext/apcu/apc_pool_api.h @ 1.1 log @Add php-apc 4.0.7. 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. @ text @d1 1 a1 1 @@comment $NetBSD$ d3 17 @