pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/php-apcu



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Tue Feb  5 18:58:02 UTC 2019

Modified Files:
        pkgsrc/www/php-apcu: Makefile PLIST.extras distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/php-apcu/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/php-apcu/PLIST.extras
cvs rdiff -u -r1.13 -r1.14 pkgsrc/www/php-apcu/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/php-apcu/Makefile
diff -u pkgsrc/www/php-apcu/Makefile:1.12 pkgsrc/www/php-apcu/Makefile:1.13
--- pkgsrc/www/php-apcu/Makefile:1.12   Mon Jan 14 13:06:11 2019
+++ pkgsrc/www/php-apcu/Makefile        Tue Feb  5 18:58:02 2019
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.12 2019/01/14 13:06:11 taca Exp $
+# $NetBSD: Makefile,v 1.13 2019/02/05 18:58:02 bsiegert Exp $
 
 MODNAME=       apcu
-PECL_VERSION=  5.1.10
+PECL_VERSION=  5.1.16
 CATEGORIES+=   sysutils
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       APCu - APC User Cache
 LICENSE=       php
 
-PHP_VERSIONS_ACCEPTED= 71 72
+PHP_VERSIONS_ACCEPTED= 71 72 73
 
 CONFIGURE_ARGS+=       --enable-${MODNAME}
 

Index: pkgsrc/www/php-apcu/PLIST.extras
diff -u pkgsrc/www/php-apcu/PLIST.extras:1.2 pkgsrc/www/php-apcu/PLIST.extras:1.3
--- pkgsrc/www/php-apcu/PLIST.extras:1.2        Tue Jul 26 09:22:40 2016
+++ pkgsrc/www/php-apcu/PLIST.extras    Tue Feb  5 18:58:02 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.extras,v 1.2 2016/07/26 09:22:40 jdolecek Exp $
+@comment $NetBSD: PLIST.extras,v 1.3 2019/02/05 18:58:02 bsiegert Exp $
 share/doc/${PKGBASE}/INSTALL
 include/php/ext/apcu/apc.h
 include/php/ext/apcu/apc_api.h
@@ -9,8 +9,7 @@ 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_lock_api.h
-include/php/ext/apcu/apc_pool.h
-include/php/ext/apcu/apc_pool_api.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_sma_api.h

Index: pkgsrc/www/php-apcu/distinfo
diff -u pkgsrc/www/php-apcu/distinfo:1.13 pkgsrc/www/php-apcu/distinfo:1.14
--- pkgsrc/www/php-apcu/distinfo:1.13   Thu Jan 24 09:15:26 2019
+++ pkgsrc/www/php-apcu/distinfo        Tue Feb  5 18:58:02 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2019/01/24 09:15:26 jperkin Exp $
+$NetBSD: distinfo,v 1.14 2019/02/05 18:58:02 bsiegert Exp $
 
-SHA1 (php-apcu/apcu-5.1.10.tgz) = 1ba89d533e44411ace5088e611138006007c1bb4
-RMD160 (php-apcu/apcu-5.1.10.tgz) = d877ffce72bf66ca21f196a46a21237ad7e1dc7a
-SHA512 (php-apcu/apcu-5.1.10.tgz) = fdf82f2b46231849b373f50d1255bcedab8fbefa7ded7c157649cf6406fb593cc2f4e63ca7d3cecfbadb4533ecd8d0ad80e198626dc1489cea8a22ba87ca583a
-Size (php-apcu/apcu-5.1.10.tgz) = 111937 bytes
+SHA1 (php-apcu/apcu-5.1.16.tgz) = 19cc0da63b4c1f2ede56dbf00d68c7ea06439bd2
+RMD160 (php-apcu/apcu-5.1.16.tgz) = 2ed4cc7d3339fb81b136ca12990475776c207877
+SHA512 (php-apcu/apcu-5.1.16.tgz) = cda2b61540b786cdecc09a2c1f77c5bf91cc118ac97fa929f1d4c3c63d29969397cf3ee37691a86e7bd7784411046df5d93efe37b4cc0c1ce903dfa7dc7dce89
+Size (php-apcu/apcu-5.1.16.tgz) = 94032 bytes



Home | Main Index | Thread Index | Old Index