diff options
| -rw-r--r-- | PHPINFO | 10 | ||||
| -rw-r--r-- | REFLECTION | 12 | ||||
| -rw-r--r-- | php-pecl-apcu.spec | 35 | 
3 files changed, 30 insertions, 27 deletions
@@ -2,22 +2,22 @@  apcu  APCu Support => Enabled -Version => 5.1.24 +Version => 5.1.25  APCu Debugging => Disabled  MMAP Support => Enabled -MMAP File Mask => /tmp/apc.FQveSO +MMAP File Mask => /tmp/apc.MgbMqF  Serialization Support => php, brotli, igbinary, lz4, msgpack, snappy, zstd -Build Date => Sep 23 2024 00:00:00 +Build Date => Jul 29 2025 00:00:00  Directive => Local Value => Master Value  apc.enabled => On => On -apc.shm_segments => 1 => 1  apc.shm_size => 32M => 32M -apc.entries_hint => 4096 => 4096 +apc.entries_hint => 0 => 0  apc.gc_ttl => 3600 => 3600  apc.ttl => 0 => 0  apc.smart => 0 => 0  apc.mmap_file_mask => /tmp/apc.XXXXXX => /tmp/apc.XXXXXX +apc.mmap_hugepage_size => 0 => 0  apc.enable_cli => On => On  apc.slam_defense => Off => Off  apc.preload_path => no value => no value @@ -1,17 +1,14 @@ -Extension [ <persistent> extension #64 apcu version 5.1.24 ] { +Extension [ <persistent> extension #67 apcu version 5.1.25 ] {    - INI {      Entry [ apc.enabled <SYSTEM> ]        Current = '1'      } -    Entry [ apc.shm_segments <SYSTEM> ] -      Current = '1' -    }      Entry [ apc.shm_size <SYSTEM> ]        Current = '32M'      }      Entry [ apc.entries_hint <SYSTEM> ] -      Current = '4096' +      Current = '0'      }      Entry [ apc.gc_ttl <SYSTEM> ]        Current = '3600' @@ -25,6 +22,9 @@ Extension [ <persistent> extension #64 apcu version 5.1.24 ] {      Entry [ apc.mmap_file_mask <SYSTEM> ]        Current = '/tmp/apc.XXXXXX'      } +    Entry [ apc.mmap_hugepage_size <SYSTEM> ] +      Current = '0' +    }      Entry [ apc.enable_cli <SYSTEM> ]        Current = '1'      } @@ -46,7 +46,7 @@ Extension [ <persistent> extension #64 apcu version 5.1.24 ] {    }    - Constants [16] { -    Constant [ int  ] { 139993428940112 } +    Constant [ int  ] { 140170565342720 }      Constant [ int APC_LIST_ACTIVE ] { 1 }      Constant [ int APC_LIST_DELETED ] { 2 }      Constant [ int APC_ITER_TYPE ] { 1 } diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec index 0d4dc89..71f4706 100644 --- a/php-pecl-apcu.spec +++ b/php-pecl-apcu.spec @@ -3,16 +3,13 @@  #  # Fedora spec file for php-pecl-apcu  # -# Copyright (c) 2013-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText:  Copyright 2013-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt  #  # Please, preserve the changelog entries  # -# we don't want -z defs linker flag -%undefine _strict_symbol_defs_build -  %{?scl:%scl_package php-pecl-apcu}  %bcond_without     tests @@ -29,10 +26,10 @@  Name:           %{?scl_prefix}php-pecl-apcu  Summary:        APC User Cache -Version:        5.1.24 +Version:        5.1.25  License:        PHP-3.01  URL:            https://pecl.php.net/package/APCu -Release:        2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:        1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  Source0:        https://pecl.php.net/get/%{pecl_name}-%{version}.tgz  Source1:        %{pecl_name}-5.1.19.ini  Source2:        %{pecl_name}-panel.conf @@ -188,6 +185,13 @@ done  %check  cd %{sources} +# see https://github.com/krakjoe/apcu/pull/579 +sed -e 's/%s/%A/' -i tests/apc_entry_003.phpt + +%if 0%{?rhel} == 8 +# Erratic results +rm tests/apc_mmap_hugepage_002.phpt +%endif  %{_bindir}/php -n \     -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ @@ -205,14 +209,6 @@ REPORT_EXIT_STATUS=1 \  %{__ztsphp} -n \     -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \     -m | grep '^apcu$' - -%if %{with tests} -# Upstream test suite for ZTS extension -TEST_PHP_EXECUTABLE=%{__ztsphp} \ -TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ -REPORT_EXIT_STATUS=1 \ -%{__ztsphp} -n run-tests.php -q --show-diff -%endif  %endif @@ -250,6 +246,13 @@ REPORT_EXIT_STATUS=1 \  %changelog +* Tue Jul 29 2025 Remi Collet <remi@remirepo.net> - 5.1.25-1 +- update to 5.1.25 + +* Fri Jul  4 2025 Remi Collet <remi@remirepo.net> - 5.1.24-3 +- re-license spec file to CECILL-2.1 +- ignore 1 test failing with PHP 8.5 +  * Tue Sep 24 2024 Remi Collet <remi@remirepo.net> - 5.1.24-2  - rebuild for 8.4.0RC1  | 
