Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package php8 for openSUSE:Factory checked in 
at 2026-04-21 12:41:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php8 (Old)
 and      /work/SRC/openSUSE:Factory/.php8.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php8"

Tue Apr 21 12:41:48 2026 rev:105 rq:1348049 version:8.5.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/php8/php8.changes        2026-04-11 
22:23:50.686167360 +0200
+++ /work/SRC/openSUSE:Factory/.php8.new.11940/php8.changes     2026-04-21 
12:41:53.367120771 +0200
@@ -1,0 +2,622 @@
+Sun Apr 19 15:34:04 UTC 2026 - Arjen de Korte <[email protected]>
+
+- php8-devel: require pkgconfig(capstone) now that we build with libcapstone 
enabled
+
+-------------------------------------------------------------------
+Wed Apr 15 06:30:28 UTC 2026 - Petr Gajdos <[email protected]>
+
+- version update to 8.5.5
+    Core:
+        Fixed bug GH-20672 (Incorrect property_info sizing for locally 
shadowed trait properties).
+        Fixed bugs GH-20875, GH-20873, GH-20854 (Propagate IN_GET guard in 
get_property_ptr_ptr for lazy proxies).
+    Bz2:
+        Fix truncation of total output size causing erroneous errors.
+    DOM:
+        Fixed bug GH-21486 (Dom\HTMLDocument parser mangles xml:space and 
xml:lang attributes).
+    FFI:
+        Fixed resource leak in FFI::cdef() onsymbol resolution failure.
+    GD:
+        Fixed bug GH-21431 (phpinfo() to display libJPEG 10.0 support).
+    Opcache:
+        Fixed bug GH-21052 (Preloaded constant erroneously propagated to 
file-cached script).
+        Fixed bug GH-20838 (JIT compiler produces wrong arithmetic results).
+        Fixed bug GH-21267 (JIT tracing: infinite loop on FETCH_OBJ_R with 
IS_UNDEF property in polymorphic context).
+        Fixed bug GH-21395 (uaf in jit).
+    OpenSSL:
+        Fixed bug GH-21083 (Skip private_key_bits validation for 
EC/curve-based keys).
+        Fix missing error propagation for BIO_printf() calls.
+    PCNTL:
+        Fixed signal handler installation on AIX by bumping the storage size 
of the num_signals global.
+    PCRE:
+        Fixed re-entrancy issue on php_pcre_match_impl, php_pcre_replace_impl, 
php_pcre_split_impl, and php_pcre_grep_impl.
+    Phar:
+        Fixed bug GH-21333 (use after free when unlinking entries during 
iteration of a compressed phar).
+    SNMP:
+        Fixed bug GH-21336 (SNMP::setSecurity() undefined behavior with NULL 
arguments).
+    SOAP:
+        Fixed Set-Cookie parsing bug wrong offset while scanning attributes.
+    SPL:
+        Fixed bug GH-21454 (missing write lock validation in SplHeap).
+    Standard:
+        Fixed bug GH-20906 (Assertion failure when messing up output buffers).
+        Fixed bug GH-20627 (Cannot identify some avif images with 
getimagesize).
+    Sysvshm:
+        Fix memory leak in shm_get_var() when variable is corrupted.
+    XSL:
+        Fix GH-21357 (XSLTProcessor works with DOMDocument, but fails with 
Dom\XMLDocument).
+        Fixed bug GH-21496 (UAF in dom_objects_free_storage).
+- version update to 8.5.4
+    Core:
+        Fixed bug GH-21029 (zend_mm_heap corrupted on Aarch64, LTO builds).
+        Fixed bug GH-21059 (Segfault when preloading constant AST closure).
+        Fixed bug GH-21072 (Crash on (unset) cast in constant expression).
+        Fix deprecation now showing when accessing null key of an array with 
JIT.
+        Fixed bug GH-20657 (Assertion failure in zend_lazy_object_get_info 
triggered by setRawValueWithoutLazyInitialization() and newLazyGhost()).
+        Fixed bug GH-20504 (Assertion failure in zend_get_property_guard when 
accessing properties on Reflection LazyProxy via isset()).
+        Fixed OSS-Fuzz #478009707 (Borked assign-op/inc/dec on untyped hooked 
property backing value).
+        Fixed bug GH-21215 (Build fails with -std=).
+        Fixed bug GH-13674 (Build system installs libtool wrappers when using 
slibtool).
+    Curl:
+        Don't truncate length.
+    Date:
+        Fixed bug GH-20936 (DatePeriod::__set_state() cannot handle null 
start).
+        Fix timezone offset with seconds losing precision.
+    DOM:
+        Fixed bug GH-21077 (Accessing Dom\Node::baseURI can throw TypeError).
+        Fixed bug GH-21097 (Accessing Dom\Node properties can can throw 
TypeError).
+    LDAP:
+        Fixed bug GH-21262 (ldap_modify() too strict controls argument 
validation makes it impossible to unset attribute).
+    MBString:
+        Fixed bug GH-21223; mb_guess_encoding no longer crashes when passed 
huge list of candidate encodings (with 200,000+ entries).
+    Opcache:
+        Fixed bug GH-20718 ("Insufficient shared memory" when using JIT on 
Solaris).
+        Fixed bug GH-21227 (Borked SCCP of array containing partial object).
+    OpenSSL:
+        Fix a bunch of leaks and error propagation.
+    Windows:
+        Fixed compilation with clang (missing intrin.h include).
+- version update to 8.5.3
+    Core:
+        Fixed bug GH-20806 (preserve_none feature compatiblity with LTO).
+        Fixed bug GH-20767 (build failure with musttail/preserve_none feature 
on macOs).
+        Fixed bug GH-20837 (NULL dereference when calling ob_start() in 
shutdown function triggered by bailout in php_output_lock_error()).
+        Fix OSS-Fuzz #471533782 (Infinite loop in GC destructor fiber).
+        Fix OSS-Fuzz #472563272 (Borked block_pass JMP[N]Z optimization).
+        Fixed bug GH-20914 (Internal enums can be cloned and compared).
+        Fix OSS-Fuzz #474613951 (Leaked parent property default value).
+        Fixed bug GH-20895 (ReflectionProperty does not return the PHPDoc of a 
property if it contains an attribute with a Closure).
+        Fixed bug GH-20766 (Use-after-free in FE_FREE with GC interaction).
+        Fix OSS-Fuzz #471486164 (Broken by-ref assignment to uninitialized 
hooked backing value).
+        Fix OSS-Fuzz #438780145 (Nested finally with repeated return type 
check may uaf).
+        Fixed bug GH-20905 (Lazy proxy bailing __clone assertion).
+        Fixed bug GH-20479 (Hooked object properties overflow).
+    Date:
+        Update timelib to 2022.16.
+    DOM:
+        Fixed GH-21041 (Dom\HTMLDocument corrupts closing tags within scripts).
+    MbString:
+        Fixed bug GH-20833 (mb_str_pad() divide by zero if padding string is 
invalid in the encoding).
+        Fixed bug GH-20836 (Stack overflow in mb_convert_variables with 
recursive array references).
+    Opcache:
+        Fixed bug GH-20818 (Segfault in Tracing JIT with object reference).
+    OpenSSL:
+        Fix memory leaks when sk_X509_new_null() fails.
+        Fix crash when in openssl_x509_parse() when i2s_ASN1_INTEGER() fails.
+        Fix crash in openssl_x509_parse() when X509_NAME_oneline() fails.
+    Phar:
+        Fixed bug GH-20882 (buildFromIterator breaks with missing base 
directory).
+    PGSQL:
+        Fixed INSERT/UPDATE queries building with PQescapeIdentifier() and 
possible UB.
+    Readline:
+        Fixed bug GH-18139 (Memory leak when overriding some settings via 
readline_info()).
+    SPL:
+        Fixed bug GH-20856 (heap-use-after-free in SplDoublyLinkedList 
iterator when modifying during iteration).
+    Standard:
+        Fixed bug #74357 (lchown fails to change ownership of symlink with ZTS)
+        Fixed bug GH-20843 (var_dump() crash with nested objects)
+- remove incorrect patch [bsc#1256905]
+- deleted patches
+  * php-sort-filelist-phar.patch
+- modified patches
+  * php-build-reproducible-phar.patch (refreshed)
+- version update to 8.5.2
+    Core:
+        Fix OSS-Fuzz #465488618 (Wrong assumptions when dumping function 
signature with dynamic class const lookup default argument).
+        Fixed bug GH-20695 (Assertion failure in normalize_value() when 
parsing malformed INI input via parse_ini_string()).
+        Fixed bug GH-20714 (Uncatchable exception thrown in generator).
+        Fixed bug GH-20352 (UAF in php_output_handler_free via re-entrant 
ob_start() during error deactivation).
+        Fixed bug GH-20745 ("Casting out of range floats to int" applies to 
strings).
+    DOM:
+        Fixed bug GH-20722 (Null pointer dereference in DOM namespace node 
cloning via clone on malformed objects).
+        Fixed bug GH-20444 (Dom\XMLDocument::C14N() seems broken compared to 
DOMDocument::C14N()).
+    EXIF:
+        Fixed bug GH-20631 (Integer underflow in exif HEIF parsing when 
pos.size < 2).
+    Intl:
+        Fix leak in umsg_format_helper().
+    LDAP:
+        Fix memory leak in ldap_set_options().
+    Lexbor:
+        Fixed bug GH-20668 (\Uri\WhatWg\Url::withHost() crashes (SEGV) for 
URLs using the file: scheme).
+    Mbstring:
+        Fixed bug GH-20674 (mb_decode_mimeheader does not handle separator).
+    PCNTL:
+        Fixed bug with pcntl_getcpuaffinity() on solaris regarding invalid 
process ids handling.
+    Phar:
+        Fixed bug GH-20732 (Phar::LoadPhar undefined behavior when reading 
fails).
+        Fix SplFileInfo::openFile() in write mode.
+        Fix build on legacy OpenSSL 1.1.0 systems.
+        Fixed bug #74154 (Phar extractTo creates empty files).
+    Session:
+        Fix support for MM module.
+    Sqlite3:
+        Fixed bug GH-20699 (SQLite3Result fetchArray return array|false, null 
returned).
+    Standard:
+        Fix error check for proc_open() command.
+        Fix memory leak in mail() when header key is numeric.
+        Fixed bug GH-20582 (Heap Buffer Overflow in iptcembed).
+    URI:
+        Fixed bug GH-20771 (Assertion failure when getUnicodeHost() returns 
empty string).
+    Zlib:
+        Fix OOB gzseek() causing assertion failure.
+- version update to 8.5.1
+    Core:
+        Sync all boost.context files with release 1.86.0.
+        Fixed bug GH-20435 (SensitiveParameter doesn't work for named argument 
passing to variadic parameter).
+        Fixed bug GH-20546 (preserve_none attribute configure check on macOs 
issue).
+        Fixed bug GH-20286 (use-after-destroy during userland stream_close()).
+    Bz2:
+        Fix assertion failures resulting in crashes with stream filter object 
parameters.
+    DOM:
+        Fix memory leak when edge case is hit when registering xpath callback.
+        Fixed bug GH-20395 (querySelector and querySelectorAll requires 
elements in $selectors to be lowercase).
+        Fix missing NUL byte check on C14NFile().
+    Fibers:
+        Fixed bug GH-20483 (ASAN stack overflow with fiber.stack_size INI 
small value).
+    Intl:
+        Fixed bug GH-20426 (Spoofchecker::setRestrictionLevel() error message 
suggests missing constants).
+    Lexbor:
+        Fixed bug GH-20501 (\Uri\WhatWg\Url lose host after calling withPath() 
or withQuery()).
+        Fixed bug GH-20502 (\Uri\WhatWg\Url crashes (SEGV) when parsing 
malformed URL due to Lexbor memory corruption).
+    LibXML:
+        Fix some deprecations on newer libxml versions regarding input 
buffer/parser handling.
+    MySQLnd:
+        Fixed bug GH-20528 (Regression breaks mysql connexion using an IPv6 
address enclosed in square brackets).
+    Opcache:
+        Fixed bug GH-20329 (opcache.file_cache broken with full interned 
string buffer).
+    PDO:
+        Fixed bug GH-20553 (PDO::FETCH_CLASSTYPE ignores $constructorArgs in 
PHP 8.5.0).
+        Fixed GHSA-8xr5-qppj-gvwj (PDO quoting result null deref). 
(CVE-2025-14180)
+    Phar:
+        Fixed bug GH-20442 (Phar does not respect case-insensitiveness of 
__halt_compiler() when reading stub).
+        Fix broken return value of fflush() for phar file entries.
+        Fix assertion failure when fseeking a phar file out of bounds.
+    PHPDBG:
+        Fixed ZPP type violation in phpdbg_get_executable() and 
phpdbg_end_oplog().
+    SPL:
+        Fixed bug GH-20614 (SplFixedArray incorrectly handles references in 
deserialization).
+    Standard:
+        Fix memory leak in array_diff() with custom type checks.
+        Fixed bug GH-20583 (Stack overflow in http_build_query via deep 
structures).
+        Fixed GHSA-www2-q4fc-65wf (Null byte termination in dns_get_record()).
+        Fixed GHSA-h96m-rvf9-jgm2 (Heap buffer overflow in array_merge()). 
(CVE-2025-14178)
+        Fixed GHSA-3237-qqm7-mfv7 (Information Leak of Memory in 
getimagesize). (CVE-2025-14177)
+    URI:
+        Fixed bug GH-20366 (ext/uri incorrectly throws ValueError when 
encountering null byte).
+        Fixed CVE-2025-67899 (uriparser through 0.9.9 allows unbounded 
recursion and stack consumption).
+    XML:
+        Fixed bug GH-20439 (xml_set_default_handler() does not properly handle 
special characters in attributes when passing data to callback).
+    Zip:
+        Fix crash in property existence test.
+        Don't truncate return value of zip_fread() with user sizes.
+    Zlib:
+        Fix assertion failures resulting in crashes with stream filter object 
parameters.
+- main package require wwwrun:www user as it assumes it in filelist
+  [bsc#1255043]
+- fixes CVE-2025-14178 [bsc#1255711]
+        CVE-2025-14180 [bsc#1255712]
+        CVE-2025-14177 [bsc#1255710]
+- version update to 8.5.0
+    Core:
+        Added the #[\NoDiscard] attribute to indicate that a function's return 
value is important and should be consumed.
+        Added the (void) cast to indicate that not using a value is 
intentional.
+        Added get_error_handler(), get_exception_handler() functions.
+        Added support for casts in constant expressions.
+        Added the pipe (|>) operator.
+        Added the #[\DelayedTargetValidation] attribute to delay target errors 
for internal attributes from compile time to runtime.
+        Added support for `final` with constructor property promotion.
+        Added support for configuring the URI parser for the FTP/FTPS as well 
as the SSL/TLS stream wrappers as described in 
https://wiki.php.net/rfc/url_parsing_api#plugability.
+        Added PHP_BUILD_PROVIDER constant.
+        Added PHP_BUILD_DATE constant.
+        Added support for Closures and first class callables in constant 
expressions.
+        Add support for backtraces for fatal errors.
+        Add clone-with support to the clone() function.
+        Add RFC 3986 and WHATWG URL compliant APIs for URL parsing and 
manipulation (kocsismate, timwolla)
+        Fixed AST printing for immediately invoked Closure.
+        Properly handle __debugInfo() returning an array reference.
+        Properly handle reference return value from __toString().
+        Improved error message of UnhandledMatchError for 
zend.exception_string_param_max_len=0.
+        Fixed bug GH-15753 and GH-16198 (Bind traits before parent class).
+        Fixed bug GH-17951 (memory_limit is not always limited by 
max_memory_limit).
+        Fixed bug GH-20183 (Stale EG(opline_before_exception) pointer through 
eval).
+        Fixed bug GH-20113 (Missing new Foo(...) error in constant 
expressions).
+        Fixed bug GH-19844 (Don't bail when closing resources on shutdown).
+        Fixed bug GH-20177 (Accessing overridden private property in 
get_object_vars() triggers assertion error).
+        Fix OSS-Fuzz #447521098 (Fatal error during sccp shift eval).
+        Fixed bug GH-20002 (Broken build on *BSD with MSAN).
+        Fixed bug GH-19352 (Cross-compilation with musl C library).
+        Fixed bug GH-19765 (object_properties_load() bypasses readonly 
property checks).
+        Fixed hard_timeout with --enable-zend-max-execution-timers.
+        Fixed bug GH-19839 (Incorrect HASH_FLAG_HAS_EMPTY_IND flag on userland 
array).
+        Fixed bug GH-19823 (register_argc_argv deprecation emitted twice when 
using OPcache).
+        Fixed bug GH-19480 (error_log php.ini cannot be unset when 
open_basedir is configured).
+        Fixed bug GH-19719 (Allow empty statements before 
declare(strict_types)).
+        Fixed bug GH-19934 (CGI with auto_globals_jit=0 causes uouv).
+        Fixed bug GH-19613 (Stale array iterator pointer).
+        Fixed bug GH-19679 (zend_ssa_range_widening may fail to converge).
+        Fixed bug GH-19681 (PHP_EXPAND_PATH broken with bash 5.3.0).
+        Fixed bug GH-18850 (Repeated inclusion of file with __halt_compiler() 
triggers "Constant already defined" warning).
+        Fixed bug GH-19476 (pipe operator fails to correctly handle returning 
by reference).
+        Fixed bug GH-19081 (Wrong lineno in property error with constructor 
property promotion).
+        Fixed bug GH-17959 (Relax missing trait fatal error to error 
exception).
+        Fixed bug GH-18033 (NULL-ptr dereference when using 
register_tick_function in destructor).
+        Fixed bug GH-18026 (Improve "expecting token" error for ampersand).
+        The report_memleaks INI directive has been deprecated.
+        Fixed OSS-Fuzz #439125710 (Pipe cannot be used in write context).
+        Fixed bug GH-19548 (Shared memory violation on property inheritance).
+        Fixed bug GH-19544 (GC treats ZEND_WEAKREF_TAG_MAP references as 
WeakMap references).
+        Fixed bug GH-18373 (Don't substitute self/parent with anonymous class).
+        Fix support for non-userland stream notifiers.
+        Fixed bug GH-19305 (Operands may be being released during comparison).
+        Fixed bug GH-19306 (Generator can be resumed while fetching next value 
from delegated Generator).
+        Fixed bug GH-19326 (Calling Generator::throw() on a running generator 
with a non-Generator delegate crashes).
+        Fix OSS-Fuzz #427814452 (pipe compilation fails with assert).
+        Fixed bug GH-16665 (\array and \callable should not be usable in 
class_alias).
+        Use `clock_gettime_nsec_np()` for high resolution timer on macOS if 
available.
+        Make `clone()` a function.
+        Introduced the TAILCALL VM, enabled by default when compiling with 
Clang>=19 on x86_64 or aarch64.
+        Enacted the follow-up phase of the "Path to Saner Increment/Decrement 
operators" RFC, meaning that incrementing non-numeric strings is now 
deprecated. (Girgias).
+        Various closure binding issues are now deprecated.
+        Constant redeclaration has been deprecated.
+        Marks the stack as non-executable on Haiku.
+        Deriving $_SERVER['argc'] and $_SERVER['argv'] from the query string 
is now deprecated.
+        Using null as an array offset or when calling array_key_exists() is 
now deprecated.
+        The disable_classes INI directive has been removed.
+        The locally predefined variable $http_response_header is deprecated.
+        Non-canonical cast names (boolean), (integer), (double), and (binary) 
have been deprecated.
+        The $exclude_disabled parameter of the get_defined_functions() 
function has been deprecated, as it no longer has any effect since PHP 8.0.
+        Terminating case statements with a semicolon instead of a colon has 
been deprecated.
+        The backtick operator as an alias for shell_exec() has been deprecated.
+        Returning null from __debugInfo() has been deprecated.
+        Support #[\Override] on properties.
+        Destructing non-array values (other than NULL) using [] or list() now 
emits a warning.
+        Casting floats that are not representable as ints now emits a warning.
+        Casting NAN to other types now emits a warning.
+        Implement GH-15680 (Enhance zend_dump_op_array to properly represent 
non-printable characters in string literals).
+        Fixed bug GH-17442 (Engine UAF with reference assign and dtor).
+        Do not use RTLD_DEEPBIND if dlmopen is available.
+    BCMath:
++++ 325 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/php8/php8.changes
++++ and /work/SRC/openSUSE:Factory/.php8.new.11940/php8.changes

Old:
----
  php-8.4.20.tar.xz
  php-8.4.20.tar.xz.asc
  php-fpm-tmpfiles.conf
  php8-tmpfiles.conf

New:
----
  php-8.5.5.tar.xz
  php-8.5.5.tar.xz.asc
  php-fpm.tmpfiles.d

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php8.spec ++++++
--- /var/tmp/diff_new_pack.4MNI6w/_old  2026-04-21 12:41:55.759219968 +0200
+++ /var/tmp/diff_new_pack.4MNI6w/_new  2026-04-21 12:41:55.763220134 +0200
@@ -40,8 +40,8 @@
 %define psuffix %{nil}
 %endif
 
-%global apiver            20240924
-%global zendver           20240924
+%global apiver            20250925
+%global zendver           20250925
 %define extension_dir     %{_libdir}/%{php_name}/extensions
 %define php_sysconf       %{_sysconfdir}/%{php_name}
 
@@ -57,24 +57,22 @@
 %bcond_without sodium
 
 Name:           %{pprefix}%{php_name}%{psuffix}
-Version:        8.4.20
+Version:        8.5.5
 Release:        0
 Summary:        Interpreter for the PHP scripting language version 8
 License:        MIT AND PHP-3.01
 Group:          Development/Libraries/PHP
 URL:            https://secure.php.net
-Source0:        https://secure.php.net/distributions/php-%{version}.tar.xz
+Source0:        https://www.php.net/distributions/php-%{version}.tar.xz
 Source1:        mod_%{php_name}.conf
 Source2:        %{php_name}-fpm.conf
 Source5:        README.macros
 Source6:        macros.php
-# temporarily repacked tarball https://github.com/php/php-src/issues/11300
-Source8:        https://secure.php.net/distributions/php-%{version}.tar.xz.asc
+Source8:        https://www.php.net/distributions/php-%{version}.tar.xz.asc
 # Source9:       
https://www.php.net/distributions/php-keyring.gpg#/%%{php_name}.keyring
 Source9:        %{php_name}.keyring
 Source11:       %{php_name}.rpmlintrc
-Source12:       php-fpm-tmpfiles.conf
-Source13:       php8-tmpfiles.conf
+Source12:       php-fpm.tmpfiles.d
 Source100:      build-test.sh
 ## SUSE specific patches
 # adjust includedir
@@ -129,10 +127,11 @@
 %else
 BuildRequires:  pkgconfig(enchant-2)
 %endif
+BuildRequires:  pkgconfig(capstone)
 BuildRequires:  pkgconfig(gdlib) >= 2.1.0
 BuildRequires:  pkgconfig(icu-i18n)
 BuildRequires:  pkgconfig(icu-io)
-BuildRequires:  pkgconfig(icu-uc) >= 50.1
+BuildRequires:  pkgconfig(icu-uc) >= 57.1
 BuildRequires:  pkgconfig(krb5)
 BuildRequires:  pkgconfig(krb5-gssapi)
 BuildRequires:  pkgconfig(libcurl) >= 7.29.0
@@ -171,8 +170,8 @@
 %if "%{flavor}" == ""
 Requires:       php-sapi = %{version}
 Requires:       timezone
-Requires:       group(www)
-Requires:       user(wwwrun)
+Requires(pre):  group(www)
+Requires(pre):  user(wwwrun)
 Recommends:     php-ctype = %{version}
 Recommends:     php-dom = %{version}
 Recommends:     php-iconv = %{version}
@@ -255,6 +254,7 @@
 Requires:       %{php_name}-pecl
 Requires:       glibc-devel
 Requires:       php = %{version}
+Requires:       pkgconfig(capstone)
 Requires:       pkgconfig(libpcre2-8) >= 10.30
 Requires:       pkgconfig(libxml-2.0) >= 2.9.0
 Provides:       php-devel = %{version}
@@ -326,6 +326,8 @@
 BuildRequires:  php = %{version}
 BuildRequires:  pkgconfig(libsystemd) >= 209
 Requires:       php = %{version}
+Requires:       group(www)
+Requires:       user(wwwrun)
 Provides:       php-fpm = %{version}
 Provides:       php-sapi = %{version}
 Obsoletes:      php7-fpm
@@ -661,19 +663,6 @@
 %description odbc
 This module adds Open Database Connectivity (ODBC) support.
 
-%package opcache
-Summary:        Opcode cache extension for PHP
-Group:          Development/Libraries/PHP
-Requires:       php = %{version}
-Provides:       php-opcache = %{version}
-Obsoletes:      php-opcache < %{version}
-Obsoletes:      php7-opcache
-
-%description opcache
-OPcache improves PHP performance by storing precompiled script
-bytecode in shared memory, thereby removing the need for PHP to load
-and parse scripts on each request.
-
 %package openssl
 Summary:        OpenSSL integration for PHP
 Group:          Development/Libraries/PHP
@@ -1004,11 +993,9 @@
 %endif
 
 %prep
-%setup -q -n php-%{version}
+%autosetup -p1 -n php-%{version}
 cp %{SOURCE5} .
 
-%autopatch -p1 -v
-
 # use system pcre2
 rm -r ext/pcre/pcre2lib
 
@@ -1192,11 +1179,11 @@
     --enable-gd=shared \
     --with-external-gd \
     --with-avif \
+    --with-capstone \
     --with-ffi=shared \
     --with-gettext=shared \
     --with-gmp=shared \
     --with-iconv=shared \
-    --with-kerberos \
     --with-ldap=shared \
     --with-ldap-sasl \
     --with-libedit=shared \
@@ -1230,7 +1217,6 @@
 %if %{with sodium}
     --with-sodium=shared \
 %endif
-    --enable-opcache=shared \
     --with-zip=shared \
     --enable-intl=shared \
     --disable-cgi
@@ -1338,10 +1324,6 @@
     ext=${f##*/}
     zend_=''
     case $ext in
-      # priority 0 (will be loaded first)
-      opcache)
-        ini_name=00-${ext}
-        zend_='zend_';;
       # priority 2 (will be loaded after < 2)
       pdo_*|mysqli|xmlreader)
         ini_name=20-${ext};;
@@ -1352,9 +1334,8 @@
     echo "; comment out next line to disable $ext extension in php" > 
%{buildroot}%{php_sysconf}/conf.d/${ini_name}.ini
     echo "${zend_}extension=$ext.so" >> 
%{buildroot}%{php_sysconf}/conf.d/${ini_name}.ini
 done
-# package /var/lib/php8/sessions trough tmpfiles
-install -d -m 0755 %{buildroot}%{_tmpfilesdir}
-install -m 0644 %{SOURCE13} %{buildroot}%{_tmpfilesdir}/php8.conf
+# directory for sessions
+install -d %{buildroot}%{_localstatedir}/lib/%{php_name}/sessions
 # fix symlink (bnc#734176)
 ln -s %{_bindir}/php %{buildroot}%{_bindir}/%{php_name}
 # install the macros file:
@@ -1370,11 +1351,6 @@
 done
 %endif
 
-%if "%{flavor}" == ""
-%post
-%tmpfiles_create php8.conf
-%endif
-
 %if "%{flavor}" == "apache2"
 %post
 if [ $1 -eq 1 ]; then
@@ -1406,7 +1382,7 @@
 
 %post
 %service_add_post php-fpm.service
-%tmpfiles_create php-fpm.conf
+%tmpfiles_create %{_tmpfilesdir}/php-fpm.conf
 
 %preun
 %service_del_preun php-fpm.service
@@ -1448,9 +1424,8 @@
 %dir %{extension_dir}
 %dir %{php_sysconf}
 %dir %{php_sysconf}/conf.d
-%{_tmpfilesdir}/php8.conf
-%ghost %dir %attr(755,%{apache_user},root) /var/lib/php8
-%ghost %dir %attr(755,%{apache_user},root) /var/lib/php8/sessions
+%attr(0755, %{apache_user}, root) %dir %{_localstatedir}/lib/%{php_name}
+%attr(0755, %{apache_user}, root) %dir 
%{_localstatedir}/lib/%{php_name}/sessions
 
 %files cli
 %defattr(-, root, root)
@@ -1640,11 +1615,6 @@
 %{extension_dir}/pdo_odbc.so
 %config(noreplace) %{php_sysconf}/conf.d/*pdo_odbc.ini
 
-%files opcache
-%defattr(-, root, root)
-%{extension_dir}/opcache.so
-%config(noreplace) %{php_sysconf}/conf.d/*opcache.ini
-
 %files openssl
 %defattr(-, root, root)
 %{extension_dir}/openssl.so

++++++ php-8.4.20.tar.xz -> php-8.5.5.tar.xz ++++++
/work/SRC/openSUSE:Factory/php8/php-8.4.20.tar.xz 
/work/SRC/openSUSE:Factory/.php8.new.11940/php-8.5.5.tar.xz differ: char 15, 
line 1

++++++ php-ar-flags.patch ++++++
--- /var/tmp/diff_new_pack.4MNI6w/_old  2026-04-21 12:41:55.943227598 +0200
+++ /var/tmp/diff_new_pack.4MNI6w/_new  2026-04-21 12:41:55.947227764 +0200
@@ -1,8 +1,8 @@
-Index: php-8.4.1/configure.ac
+Index: php-8.5.0RC4/configure.ac
 ===================================================================
---- php-8.4.1.orig/configure.ac
-+++ php-8.4.1/configure.ac
-@@ -1560,7 +1560,7 @@ PHP_CONFIGURE_PART([Configuring libtool]
+--- php-8.5.0RC4.orig/configure.ac
++++ php-8.5.0RC4/configure.ac
+@@ -1588,7 +1588,7 @@ PHP_CONFIGURE_PART([Configuring libtool]
  
  dnl Silence warning: "ar: 'u' modifier ignored since 'D' is the default".
  dnl See https://github.com/php/php-src/pull/3017

++++++ php-build-reproducible-phar.patch ++++++
--- /var/tmp/diff_new_pack.4MNI6w/_old  2026-04-21 12:41:55.971228759 +0200
+++ /var/tmp/diff_new_pack.4MNI6w/_new  2026-04-21 12:41:55.979229091 +0200
@@ -16,11 +16,11 @@
  ext/phar/zip.c           |  2 +-
  6 files changed, 18 insertions(+), 5 deletions(-)
 
-Index: php-8.4.17/ext/phar/phar.c
+Index: php-8.5.2/ext/phar/phar.c
 ===================================================================
---- php-8.4.17.orig/ext/phar/phar.c
-+++ php-8.4.17/ext/phar/phar.c
-@@ -2942,7 +2942,7 @@ int phar_flush_ex(phar_archive_data *pha
+--- php-8.5.2.orig/ext/phar/phar.c
++++ php-8.5.2/ext/phar/phar.c
+@@ -2950,7 +2950,7 @@ int phar_flush_ex(phar_archive_data *pha
                        4: metadata-len
                        +: metadata
                */
@@ -29,11 +29,11 @@
                phar_set_32(entry_buffer, entry->uncompressed_filesize);
                phar_set_32(entry_buffer+4, mytime);
                phar_set_32(entry_buffer+8, entry->compressed_filesize);
-Index: php-8.4.17/ext/phar/phar_internal.h
+Index: php-8.5.2/ext/phar/phar_internal.h
 ===================================================================
---- php-8.4.17.orig/ext/phar/phar_internal.h
-+++ php-8.4.17/ext/phar/phar_internal.h
-@@ -316,6 +316,21 @@ static inline php_stream *phar_get_pharf
+--- php-8.5.2.orig/ext/phar/phar_internal.h
++++ php-8.5.2/ext/phar/phar_internal.h
+@@ -315,6 +315,21 @@ static inline php_stream *phar_get_pharf
        return PHAR_G(cached_fp)[phar->phar_pos].fp;
  }
  
@@ -55,11 +55,11 @@
  static inline enum phar_fp_type phar_get_fp_type(const phar_entry_info *entry)
  {
        if (!entry->is_persistent) {
-Index: php-8.4.17/ext/phar/stream.c
+Index: php-8.5.2/ext/phar/stream.c
 ===================================================================
---- php-8.4.17.orig/ext/phar/stream.c
-+++ php-8.4.17/ext/phar/stream.c
-@@ -473,7 +473,7 @@ static int phar_stream_flush(php_stream
+--- php-8.5.2.orig/ext/phar/stream.c
++++ php-8.5.2/ext/phar/stream.c
+@@ -469,7 +469,7 @@ static int phar_stream_flush(php_stream
        phar_entry_data *data = (phar_entry_data *) stream->abstract;
  
        if (data->internal_file->is_modified) {
@@ -68,11 +68,11 @@
                ret = phar_flush(data->phar, &error);
                if (error) {
                        php_stream_wrapper_log_error(stream->wrapper, 
REPORT_ERRORS, "%s", error);
-Index: php-8.4.17/ext/phar/tar.c
+Index: php-8.5.2/ext/phar/tar.c
 ===================================================================
---- php-8.4.17.orig/ext/phar/tar.c
-+++ php-8.4.17/ext/phar/tar.c
-@@ -972,7 +972,7 @@ int phar_tar_flush(phar_archive_data *ph
+--- php-8.5.2.orig/ext/phar/tar.c
++++ php-8.5.2/ext/phar/tar.c
+@@ -977,7 +977,7 @@ int phar_tar_flush(phar_archive_data *ph
        char *buf, *signature, sigbuf[8];
  
        entry.flags = PHAR_ENT_PERM_DEF_FILE;
@@ -81,11 +81,11 @@
        entry.is_modified = 1;
        entry.is_crc_checked = 1;
        entry.is_tar = 1;
-Index: php-8.4.17/ext/phar/util.c
+Index: php-8.5.2/ext/phar/util.c
 ===================================================================
---- php-8.4.17.orig/ext/phar/util.c
-+++ php-8.4.17/ext/phar/util.c
-@@ -701,7 +701,7 @@ phar_entry_data *phar_get_or_create_entr
+--- php-8.5.2.orig/ext/phar/util.c
++++ php-8.5.2/ext/phar/util.c
+@@ -700,7 +700,7 @@ phar_entry_data *phar_get_or_create_entr
  
        phar_add_virtual_dirs(phar, path, path_len);
        etemp.is_modified = 1;
@@ -93,12 +93,12 @@
 +      etemp.timestamp = source_date_epoch_time(0);
        etemp.is_crc_checked = 1;
        etemp.phar = phar;
-       etemp.filename = estrndup(path, path_len);
-Index: php-8.4.17/ext/phar/zip.c
+       etemp.filename = zend_string_init(path, path_len, false);
+Index: php-8.5.2/ext/phar/zip.c
 ===================================================================
---- php-8.4.17.orig/ext/phar/zip.c
-+++ php-8.4.17/ext/phar/zip.c
-@@ -1251,7 +1251,7 @@ int phar_zip_flush(phar_archive_data *ph
+--- php-8.5.2.orig/ext/phar/zip.c
++++ php-8.5.2/ext/phar/zip.c
+@@ -1253,7 +1253,7 @@ int phar_zip_flush(phar_archive_data *ph
  
        pass.error = &temperr;
        entry.flags = PHAR_ENT_PERM_DEF_FILE;

++++++ php-date-regenerate-lexers.patch ++++++
--- /var/tmp/diff_new_pack.4MNI6w/_old  2026-04-21 12:41:55.999229921 +0200
+++ /var/tmp/diff_new_pack.4MNI6w/_new  2026-04-21 12:41:56.015230584 +0200
@@ -1,20 +1,20 @@
-Index: php-8.4.1/ext/date/config0.m4
+Index: php-8.5.0RC4/ext/date/config0.m4
 ===================================================================
---- php-8.4.1.orig/ext/date/config0.m4
-+++ php-8.4.1/ext/date/config0.m4
-@@ -30,6 +30,8 @@ PHP_NEW_EXTENSION([date],
-   [no],,
-   [$PHP_DATE_CFLAGS])
+--- php-8.5.0RC4.orig/ext/date/config0.m4
++++ php-8.5.0RC4/ext/date/config0.m4
+@@ -37,6 +37,8 @@ PHP_NEW_EXTENSION([date],
+ 
+ PHP_ADD_SOURCES([$ext_dir], [$timelib_sources], [$PHP_TIMELIB_CFLAGS])
  
 +PHP_ADD_MAKEFILE_FRAGMENT()
 +
  PHP_ADD_BUILD_DIR([$ext_builddir/lib], [1])
  PHP_ADD_INCLUDE([$ext_builddir/lib])
  PHP_ADD_INCLUDE([$ext_srcdir/lib])
-Index: php-8.4.1/ext/date/Makefile.frag
+Index: php-8.5.0RC4/ext/date/Makefile.frag
 ===================================================================
 --- /dev/null
-+++ php-8.4.1/ext/date/Makefile.frag
++++ php-8.5.0RC4/ext/date/Makefile.frag
 @@ -0,0 +1,6 @@
 +$(srcdir)/lib/parse_date.c: $(srcdir)/lib/parse_date.re
 +      @(cd $(top_srcdir); $(RE2C) $(RE2C_FLAGS) -b --no-generation-date -o 
ext/date/lib/parse_date.c ext/date/lib/parse_date.re)

++++++ php-fpm.tmpfiles.d ++++++
# Type Path                    Mode UID        GID     Age Argument
d      /run/php-fpm            0711 root       root    -   -

++++++ php-ini.patch ++++++
--- /var/tmp/diff_new_pack.4MNI6w/_old  2026-04-21 12:41:56.091233736 +0200
+++ /var/tmp/diff_new_pack.4MNI6w/_new  2026-04-21 12:41:56.095233902 +0200
@@ -1,8 +1,8 @@
-Index: php-8.4.1/php.ini-production
+Index: php-8.5.0RC4/php.ini-production
 ===================================================================
---- php-8.4.1.orig/php.ini-production
-+++ php-8.4.1/php.ini-production
-@@ -738,7 +738,7 @@ default_charset = "UTF-8"
+--- php-8.5.0RC4.orig/php.ini-production
++++ php-8.5.0RC4/php.ini-production
+@@ -732,7 +732,7 @@ default_charset = "UTF-8"
  ;;;;;;;;;;;;;;;;;;;;;;;;;
  
  ; UNIX: "/path1:/path2"
@@ -11,7 +11,7 @@
  ;
  ; Windows: "\path1;\path2"
  ;include_path = ".;c:\php\includes"
-@@ -963,7 +963,7 @@ cli_server.color = On
+@@ -961,7 +961,7 @@ cli_server.color = On
  [Date]
  ; Defines the default timezone used by the date functions
  ; https://php.net/date.timezone
@@ -20,7 +20,7 @@
  
  ; https://php.net/date.default-latitude
  ;date.default_latitude = 31.7667
-@@ -1149,7 +1149,7 @@ mysqli.max_persistent = -1
+@@ -1159,7 +1159,7 @@ mysqli.max_persistent = -1
  
  ; Allow or prevent persistent links.
  ; https://php.net/mysqli.allow-persistent
@@ -29,10 +29,10 @@
  
  ; Maximum number of links.  -1 means no limit.
  ; https://php.net/mysqli.max-links
-Index: php-8.4.1/sapi/fpm/www.conf.in
+Index: php-8.5.0RC4/sapi/fpm/www.conf.in
 ===================================================================
---- php-8.4.1.orig/sapi/fpm/www.conf.in
-+++ php-8.4.1/sapi/fpm/www.conf.in
+--- php-8.5.0RC4.orig/sapi/fpm/www.conf.in
++++ php-8.5.0RC4/sapi/fpm/www.conf.in
 @@ -27,6 +27,8 @@
  ;                 If the group is not set, the user's group is used.
  user = @php_fpm_user@

++++++ php-systzdata-v24.patch ++++++
--- /var/tmp/diff_new_pack.4MNI6w/_old  2026-04-21 12:41:56.163236722 +0200
+++ /var/tmp/diff_new_pack.4MNI6w/_new  2026-04-21 12:41:56.167236888 +0200
@@ -36,10 +36,10 @@
 r1: initial revision
 
 
-Index: php-8.4.1/ext/date/config0.m4
+Index: php-8.5.0RC4/ext/date/config0.m4
 ===================================================================
---- php-8.4.1.orig/ext/date/config0.m4
-+++ php-8.4.1/ext/date/config0.m4
+--- php-8.5.0RC4.orig/ext/date/config0.m4
++++ php-8.5.0RC4/ext/date/config0.m4
 @@ -4,6 +4,19 @@ AC_CHECK_HEADERS([io.h])
  dnl Check for strtoll, atoll
  AC_CHECK_FUNCS([strtoll atoll])
@@ -58,12 +58,12 @@
 +fi
 +
  AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough],
-   [PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -Wno-implicit-fallthrough"],,
-   [-Werror])
-Index: php-8.4.1/ext/date/lib/parse_tz.c
+   [PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -Wno-implicit-fallthrough"])
+ 
+Index: php-8.5.0RC4/ext/date/lib/parse_tz.c
 ===================================================================
---- php-8.4.1.orig/ext/date/lib/parse_tz.c
-+++ php-8.4.1/ext/date/lib/parse_tz.c
+--- php-8.5.0RC4.orig/ext/date/lib/parse_tz.c
++++ php-8.5.0RC4/ext/date/lib/parse_tz.c
 @@ -26,9 +26,33 @@
  #include "timelib.h"
  #include "timelib_private.h"
@@ -728,11 +728,11 @@
        } else {
                *error_code = TIMELIB_ERROR_NO_SUCH_TIMEZONE;
                tmp = NULL;
-Index: php-8.4.1/ext/date/php_date.c
+Index: php-8.5.0RC4/ext/date/php_date.c
 ===================================================================
---- php-8.4.1.orig/ext/date/php_date.c
-+++ php-8.4.1/ext/date/php_date.c
-@@ -489,7 +489,11 @@ PHP_MINFO_FUNCTION(date)
+--- php-8.5.0RC4.orig/ext/date/php_date.c
++++ php-8.5.0RC4/ext/date/php_date.c
+@@ -491,7 +491,11 @@ PHP_MINFO_FUNCTION(date)
        php_info_print_table_row(2, "date/time support", "enabled");
        php_info_print_table_row(2, "timelib version", TIMELIB_ASCII_VERSION);
        php_info_print_table_row(2, "\"Olson\" Timezone Database Version", 
tzdb->version);

++++++ php8.keyring ++++++
++++ 1010 lines (skipped)
++++ between php8.keyring
++++ and /work/SRC/openSUSE:Factory/.php8.new.11940/php8.keyring

Reply via email to