diff options
Diffstat (limited to 'php.spec')
-rw-r--r-- | php.spec | 31 |
1 files changed, 23 insertions, 8 deletions
@@ -56,13 +56,15 @@ %global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock) %ifarch aarch64 -%global oraclever 19.19 +%global oraclever 19.23 +%global oraclemax 20 %global oraclelib 19.1 -%global oracledir 19.19 +%global oracledir 19.23 %else -%global oraclever 21.13 -%global oraclelib 21.1 -%global oracledir 21 +%global oraclever 23.5 +%global oraclemax 24 +%global oraclelib 23.1 +%global oracledir 23 %endif # Build for LiteSpeed Web Server (LSAPI) @@ -133,7 +135,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: %{?scl_prefix}php Version: %{upver}%{?rcver:~%{rcver}} -Release: 28%{?dist} +Release: 30%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -239,6 +241,7 @@ Patch239: php-cve-2023-3823.patch Patch240: php-cve-2023-3824.patch Patch241: php-cve-2024-2756.patch Patch242: php-cve-2024-3096.patch +Patch243: php-cve-2024-5458.patch # Fixes for tests (300+) # Factory is droped from system tzdata @@ -663,7 +666,7 @@ BuildRequires: oracle-instantclient%{oraclever}-devel Requires: libclntsh.so.%{oraclelib} AutoReq: 0 %else -BuildRequires: oracle-instantclient-devel >= %{oraclever} +BuildRequires: (oracle-instantclient-devel >= %{oraclever} with oracle-instantclient-devel < %{oraclemax}) %endif Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release} Provides: %{?scl_prefix}php_database @@ -884,7 +887,11 @@ Group: System Environment/Libraries License: PHP Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release} # Upstream requires 4.0, we require 69.1 to ensure use of libicu69 +%if 0%{?rhel} BuildRequires: libicu-devel = 69.1 +%else +BuildRequires: libicu-devel +%endif %description intl The %{?scl_prefix}php-intl package contains a dynamic shared object that will add @@ -1013,6 +1020,7 @@ sed -e 's/php-devel/%{?scl_prefix}php-devel/' -i scripts/phpize.in %patch -P240 -p1 -b .cve3824 %patch -P241 -p1 -b .cve2756 %patch -P242 -p1 -b .cve3096 +%patch -P243 -p1 -b .cve5458 # Fixes for tests %patch -P300 -p1 -b .datetests @@ -1976,8 +1984,15 @@ EOF %changelog +* Wed Jul 31 2024 Remi Collet <remi@remirepo.net> - 7.1.33-30 +- use oracle client library version 23.5 on x86_64 + +* Tue Jun 4 2024 Remi Collet <remi@remirepo.net> - 7.1.33-29 +- Fix filter bypass in filter_var FILTER_VALIDATE_URL + CVE-2024-5458 + * Wed Apr 10 2024 Remi Collet <remi@remirepo.net> - 7.1.33-28 -- use oracle client library version 21.13 on x86_64, 19.19 on aarch64 +- use oracle client library version 21.13 - Fix __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix CVE-2024-2756 - Fix password_verify can erroneously return true opening ATO risk |