Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package php-APCu for openSUSE:Factory checked in at 2021-02-19 23:48:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php-APCu (Old) and /work/SRC/openSUSE:Factory/.php-APCu.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php-APCu" Fri Feb 19 23:48:16 2021 rev:1 rq:873868 version:5.1.19 Changes: -------- New Changes file: --- /dev/null 2021-01-11 18:20:20.070723563 +0100 +++ /work/SRC/openSUSE:Factory/.php-APCu.new.28504/php-APCu.changes 2021-02-19 23:48:20.287544145 +0100 @@ -0,0 +1,183 @@ +------------------------------------------------------------------- +Wed Feb 17 19:19:47 UTC 2021 - Arjen de Korte <[email protected]> + +- Use _multibuild to also build for php8 +- Use php_cfgdir and php_extdir macros to determine location of files + +------------------------------------------------------------------- +Wed Oct 7 05:59:01 UTC 2020 - Johannes Weberhofer <[email protected]> + +- Update to version 5.1.19 + * Fixed apcu_store() with integer keys (#388). + * Made apc.use_request_time=0 the default (#391). + * Made apcu compatible with PHP 8.0. + +------------------------------------------------------------------- +Wed Nov 20 13:03:03 UTC 2019 - Cristian Rodr??guez <[email protected]> + +- Update to version 5.1.18 +- Fixed compatibility with PHP 7.4 and PHP 8.0 +- 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. + +------------------------------------------------------------------- +Sat Dec 15 11:07:06 UTC 2018 - [email protected] + +- Updated to 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. + +- Updated to 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. + +- Updated to 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. + +------------------------------------------------------------------- +Wed Aug 15 15:38:38 UTC 2018 - [email protected] + +- Updated to 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. + +------------------------------------------------------------------- +Fri Apr 20 10:40:06 UTC 2018 - [email protected] + +- updated to 5.1.11 + - fix gh#krakjoe/apcu#246 apcu_entry hangs + - fix gh#krakjoe/apcu#259 deadlock in apcu_store + - fix gh#krakjoe/apcu#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 + +- updated to 5.1.10 + - fix gh#krakjoe/apcu#247 when a NUL char is used as key, apcu_fetch(array) truncates the key + - fix gh#krakjoe/apcu#248 apcu_fetch may return values causing zend_mm_corruption or segfaults + when custom serializer is used + - fix gh#krakjoe/apcu#260 apcu.serializer=default results in segfault + - fix gh#krakjoe/apcu#274 non-portable shell == in config.m4 + - fix crash when passing bad array to apcu_delete + - improve fix gh#krakjoe/apcu#266 refcounting errors in APCIterator + - fix for PHP 7.3 compatibility + +------------------------------------------------------------------- +Tue Jan 30 13:01:32 UTC 2018 - [email protected] + +- Build with -fvisibility=hidden, PHP process namespace + pollution must be heavily limited to avoid symbol clashes. +- Use SOURCE_DATE_EPOCH if set instead of custom build hack. +- Update to version 5.1.9 +- 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 + +------------------------------------------------------------------- +Fri Apr 7 13:58:43 UTC 2017 - [email protected] + +- Removed unneccesary -devel package + +------------------------------------------------------------------- +Fri Mar 17 05:38:14 UTC 2017 - [email protected] + +- updated to 5.1.8 + * fix gh#krakjoe/apcu#207 Segmentation fault in apc_sma_api_free() + * fix gh#krakjoe/apcu#221 memory leak + * update to apc dashboard (Tyson Andre) + +- updated to 5.1.7 + * fixes gh#krakjoe/apcu#19: hung apaches on pthread wrlocks + * fixes gh#krakjoe/apcu#203: segfaults in bailout / longjmp + +- updated to 5.1.6 + * fixes gh#krakjoe/apcu#19: Hung apaches on pthread wrlocks + * fixes gh#krakjoe/apcu#188: Fix Segfault in ZTS build when locking (Tyson Andre) + * fixes gh#krakjoe/apcu#194: apcu_entry ttl not working + * fixes gh#krakjoe/apcu#189: SegFault in apc_copy_zval + * fixes gh#krakjoe/apcu#185: zend_mm_heap corrupted + * fixes gh#krakjoe/apcu#190: memory leak/failed check for duplicates + +- updated to 5.1.5 + * fix version check in control panel page (gh#krakjoe/apcu#182, lennartwesdijk) + * do not create null strings, palloc may fail + + +------------------------------------------------------------------- +Thu May 19 13:08:02 UTC 2016 - [email protected] + +- updated to 5.1.4 + * fix possible memory leak + * fix #168 drop trying to return strings from shm + * fix #170 do not create entries when serialization fails + +------------------------------------------------------------------- +Fri Jan 29 09:02:56 UTC 2016 - [email protected] + +- updated to 5.1.3 +- package renamed to php7-APCu +- package provides php-APCu symbol + +------------------------------------------------------------------- +Tue Jan 12 16:14:50 UTC 2016 - [email protected] + +- call spec-cleaner + +------------------------------------------------------------------- +Fri Jul 25 17:33:31 UTC 2014 - [email protected] + +- version 4.0.6 + +------------------------------------------------------------------- +Wed Nov 27 11:54:20 UTC 2013 - [email protected] + +- Initial. + New: ---- _multibuild apcu-5.1.19.tgz apcu.ini php-APCu-rpmlintrc php-APCu.changes php-APCu.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php-APCu.spec ++++++ # # spec file for package php-APCu # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define pkg_name APCu %define pkg_sname apcu %define flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "" %define php_name php ExclusiveArch: do-not-build %else %define php_name %{flavor} %endif %if 0%{?suse_version} <= 1500 %define php_extdir %(%{__php_config} --extension-dir) %define php_cfgdir %{_sysconfdir}/%{php_name}/conf.d %endif Name: %{php_name}-%{pkg_name} Version: 5.1.19 Release: 0 Summary: APCu - APC User Cache License: PHP-3.01 Group: Productivity/Networking/Web/Servers URL: https://pecl.php.net/package/%{pkg_name} Source: https://pecl.php.net/get/%{pkg_sname}-%{version}.tgz Source1: apcu.ini Source2: php-%{pkg_name}-rpmlintrc BuildRequires: %{php_name}-devel >= 7.0 Requires: php(api) = %{php_core_api} Requires: php(zend-abi) = %{php_zend_api} Provides: php-%{pkg_name} = %{version} Obsoletes: php-%{pkg_name} < %{version} %description 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. %prep %setup -q -n %{pkg_sname}-%{version} %build export CFLAGS="%{optflags} -fvisibility=hidden" %{__phpize} %configure --enable-apcu %make_build %check %make_build PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test %install make install-modules INSTALL_ROOT=%{buildroot} install -D -m 0644 %{SOURCE1} %{buildroot}%{php_cfgdir}/%{pkg_sname}.ini %files %doc NOTICE README.md TECHNOTES.txt apc.php %license LICENSE %config(noreplace) %{php_cfgdir}/%{pkg_sname}.ini %{php_extdir}/%{pkg_sname}.so %changelog ++++++ _multibuild ++++++ <multibuild> <package>php7</package> <package>php8</package> </multibuild> ++++++ apcu.ini ++++++ ; comment out next line to disable apcu extension in php extension = apcu.so ; This can be set to 0 to disable APCu. This is ; primarily useful when APCu is statically compiled ; into PHP, since there is no other way to disable ; it (when compiled as a DSO, the extension ; line can just be commented-out). ; (Default: 1) ; apc.enabled = 1 ; Mostly for testing and debugging. Setting this enables APCu ; for the CLI version of PHP. Normally you wouldn't want to ; create, populate and tear down the APCu cache on every CLI ; request, but for various test scenarios it is handy to be ; able to enable APCu for the CLI version of APCu easily. ; (Default: 0) ; apc.enable_cli = 1 ; Sets the path to text files containing caches to load ; from disk upon intiialization of APCu. ; preload_path should be a directory where each file follows ; $key.data ; where $key should be used as the entry name and the contents ; of the file contains serialized data to use as the value of ; the entry. ; (Default: null) ; ;apc.preload_path = ; The size of each shared memory segment in MB. ; By default, some systems (including most BSD ; variants) have very low limits on the size of a ; shared memory segment. M/G suffixes must be used. ; (Default: 32) ; apc.shm_size = 32M ; The number of shared memory segments to allocate ; for the compiler cache. If APCu is running out of ; shared memory but you have already set ; apc.shm_size as high as your system allows, you ; can try raising this value. Setting this to a ; value other than 1 has no effect in mmap mode ; since mmap'ed shm segments don't have size limits. ; (Default: 1) ; ;apc.shm_segments = 1 ; The number of seconds a cache entry is allowed to ; idle in a slot in case this cache entry slot is ; needed by another entry. Leaving this at zero ; means that your cache could potentially fill up ; with stale entries while newer entries won't be ; cached. ; (Default: 0) ; apc.ttl = 7200 ; The number of seconds that a cache entry may ; remain on the garbage-collection list. This value ; provides a failsafe in the event that a server ; process dies while executing a cached source file; ; if that source file is modified, the memory ; allocated for the old version will not be ; reclaimed until this TTL reached. Set to zero to ; disable this feature. ; (Default: 3600) ; ;apc.gc_ttl = 3600 ; If you begin to get low on resources, an expunge of the cache ; is performed if it is less than half full. This is not always ; a suitable way of determining if an expunge of the cache ; should be per ; apc.smart allows you to set a runtime configuration value which ; is used to determine if an expunge should be run ; if (available_size < apc.smart * requested_size) ; apc_cache_expunge() ; (Default: 0) ; ;apc.smart = 0 ; A "hint" about the number variables expected in the ; cache. Set to zero or omit if you're not sure. ; (Default: 4096) ; ;apc.entries_hint = 4096 ; If compiled with MMAP support by using --enable-mmap ; this is the mktemp-style file_mask to pass to the ; mmap module for determing whether your mmap'ed memory ; region is going to be file-backed or shared memory ; backed. For straight file-backed mmap, set it to ; something like /tmp/apc.XXXXXX (exactly 6 X's). ; To use POSIX-style shm_open/mmap put a ".shm" ; somewhere in your mask. eg. "/apc.shm.XXXXXX" ; You can also set it to "/dev/zero" to use your ; kernel's /dev/zero interface to anonymous mmap'ed ; memory. Leaving it undefined will force an ; anonymous mmap. ; (Default: "") ; ;apc.mmap_file_mask = "" ; On very busy servers whenever you start the server or ; modify files you can create a race of many processes ; all trying to cache the same data at the same time. ; By default, APCu attempts to prevent "slamming" of a key. ; A key is considered "slammed" if it was the last key set, ; and a context other than the current one set it ( ie. it ; was set by another process or thread ) ; Note: ; APCu does not store enough information to ; catch every occurence, sufficient none the less. ; (Default: 1) ; ;apc.slam_defense = 1 ; Defines which serializer should be used. Default is the ; standard PHP serializer. Other can be used without having ; to re compile apc, like igbinary for example. ; (apc.serializer=igbinary) ; ;apc.serializer = igbinary ; ; /* The remaining entries concern file upload progress support */ ; ; RFC1867 File Upload Progress hook handler is only available ; if you compiled APCu against PHP 5.2.0 or later. When enabled ; any file uploads which includes a field called ; APCu_UPLOAD_PROGRESS before the file field in an upload form ; will cause APCu to automatically create an upload_<key> ; user cache entry where <key> is the value of the ; APCu_UPLOAD_PROGRESS form entry. ; ; Note that the file upload tracking is not threadsafe at this ; point, so new uploads that happen while a previous one is ; still going will disable the tracking for the previous. ; (Default: 0) ; ;apc.rfc1867 = 0 ; Key prefix to use for the user cache entry generated by ; rfc1867 upload progress functionality. ; (Default: "upload_") ; ;apc.rfc1867_prefix = "upload_" ; Specify the hidden form entry name that activates APCu upload ; progress and specifies the user cache key suffix. ; (Default: "APCu_UPLOAD_PROGRESS") ; ;apc.rfc1867_name = "APCu_UPLOAD_PROGRESS" ; The frequency that updates should be made to the user cache ; entry for upload progress. This can take the form of a ; percentage of the total file size or a size in bytes ; optionally suffixed with 'k', 'm', or 'g' for kilobytes, ; megabytes, or gigabytes respectively (case insensitive). ; A setting of 0 updates as often as possible, which may cause ; slower uploads. ; (Default: 0) ; ;apc.rfc1867_freq = 0 ++++++ php-APCu-rpmlintrc ++++++ addFilter("invalid-spec-name")
