Projects
home:rottame:vhosts-ng:php74
php7
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 20
View file
php7.spec
Changed
@@ -224,6 +224,10 @@ Patch80: php7-CVE-2026-127960.patch # CVE-2026-129291: PHP-FPM epoll use-after-free can lead to local privilege escalation Patch81: php7-CVE-2026-129291.patch +# vhng Leap 16: ICU >= 75 headers require C++17 +Patch900: php7-intl-cxx17.patch +# vhng Leap 16: ext/xml entity handling with libxml2 >= 2.13 (php-src GH-14834) +Patch901: php7-xml-libxml213.patch BuildRequires: apache-rpm-macros BuildRequires: autoconf BuildRequires: bison @@ -233,7 +237,8 @@ BuildRequires: gcc-c++ BuildRequires: gmp-devel BuildRequires: gpg2 -BuildRequires: imap-devel +# vhng: libc-client takes OpenSSL symbols from PHP, must match libopenssl-1_1 +BuildRequires: imap-openssl_1_1-devel BuildRequires: libacl-devel BuildRequires: libapparmor-devel BuildRequires: libbz2-devel @@ -1617,6 +1622,10 @@ %defattr(-, root, root) %{_bindir}/php-cgi %{_mandir}/man1/php-cgi.1%{?ext_man} +%if 0%{?suse_version} >= 1600 +# vhng Leap 16: no longer owned by apache2 +%dir %{apache_serverroot}/cgi-bin +%endif %{apache_serverroot}/cgi-bin/php %dir %{php_sysconf}/fastcgi %config(noreplace) %{php_sysconf}/fastcgi/php.ini
View file
php7-intl-cxx17.patch
Added
@@ -0,0 +1,13 @@ +ext/intl: build with C++17, required by the public headers of ICU >= 75. + +--- a/ext/intl/config.m4 ++++ b/ext/intl/config.m4 +@@ -83,7 +83,7 @@ + breakiterator/codepointiterator_methods.cpp" + + PHP_REQUIRE_CXX() +- PHP_CXX_COMPILE_STDCXX(11, mandatory, PHP_INTL_STDCXX) ++ PHP_CXX_COMPILE_STDCXX(17, mandatory, PHP_INTL_STDCXX) + PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS" + if test "$ext_shared" = "no"; then + PHP_ADD_SOURCES(PHP_EXT_DIR(intl), $PHP_INTL_CXX_SOURCES, $PHP_INTL_CXX_FLAGS)
View file
php7-xml-libxml213.patch
Added
@@ -0,0 +1,15 @@ +ext/xml: fix entity handling with libxml2 >= 2.13 (PEAR install fails with +"Invalid tag order in <dependencies>, found <_content>"). +Backport of php-src 67259e451d5d58b4842776c5696a66d74e157609 (GH-14834). + +--- a/ext/xml/compat.c ++++ b/ext/xml/compat.c +@@ -377,7 +377,7 @@ + if (ret == NULL) + ret = xmlGetDocEntity(parser->parser->myDoc, name); + +- if (ret == NULL || (parser->parser->instate != XML_PARSER_ENTITY_VALUE && parser->parser->instate != XML_PARSER_ATTRIBUTE_VALUE)) { ++ if (ret == NULL || parser->parser->instate == XML_PARSER_CONTENT) { + if (ret == NULL || ret->etype == XML_INTERNAL_GENERAL_ENTITY || ret->etype == XML_INTERNAL_PARAMETER_ENTITY || ret->etype == XML_INTERNAL_PREDEFINED_ENTITY) { + /* Predefined entities will expand unless no cdata handler is present */ + if (parser->h_default && ! (ret && ret->etype == XML_INTERNAL_PREDEFINED_ENTITY && parser->h_cdata)) {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.