summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec34
1 files changed, 32 insertions, 2 deletions
diff --git a/php.spec b/php.spec
index 75c87b7..86b91f0 100644
--- a/php.spec
+++ b/php.spec
@@ -54,7 +54,7 @@
%global oraclelib 19.1
%global oracledir 19.19
%else
-%global oraclever 21.12
+%global oraclever 21.13
%global oraclelib 21.1
%global oracledir 21
%endif
@@ -126,7 +126,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
Version: %{upver}%{?rcver:~%{rcver}}%{?gh_date:.%{gh_date}}
-Release: 3%{?dist}
+Release: 5%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -205,10 +205,13 @@ Patch91: php-7.2.0-oci8conf.patch
# Upstream fixes (100+)
# Security fixes (200+)
+Patch200: php-cve-2024-2756.patch
+Patch201: php-cve-2024-3096.patch
# Fixes for tests (300+)
# Factory is droped from system tzdata
Patch300: php-7.4.0-datetests.patch
+Patch301: php-8.0.30-zlib-tests.patch
# WIP
@@ -988,9 +991,12 @@ rm ext/openssl/tests/p12_with_extra_certs.p12
# upstream patches
# security patches
+%patch -P200 -p1 -b .cve2756
+%patch -P201 -p1 -b .cve3096
# Fixes for tests
%patch -P300 -p1 -b .datetests
+%patch -P301 -p1 -b .zlibng
# WIP patch
@@ -1709,6 +1715,19 @@ fi
%endif
+%posttrans common
+cat << EOF
+=====================================================================
+
+ WARNING : PHP 8.0 have reached its "End of Life" in
+ November 2023. Even, if this package includes some of
+ the important security fixes, backported from 8.1, the
+ UPGRADE to a maintained version is very strongly RECOMMENDED.
+
+=====================================================================
+EOF
+
+
%{!?_licensedir:%global license %%doc}
%files
@@ -1866,6 +1885,17 @@ fi
%changelog
+* Wed Apr 10 2024 Remi Collet <remi@remirepo.net> - 8.0.30-5
+- 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
+ CVE-2024-3096
+
+* Wed Mar 6 2024 Remi Collet <remi@remirepo.net> - 8.0.30-4
+- use oracle client library version 21.13 on x86_64
+- patch test suite for zlib-ng
+- add EOL message
+
* Tue Dec 12 2023 Remi Collet <remi@remirepo.net> - 8.0.30-3
- use ICU 73.2
- use oracle client library version 21.12 on x86_64, 19.19 on aarch64