From 940f9e4d06efcbdc30590117e4d0cf53b4046262 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 15 Feb 2023 08:35:36 +0100 Subject: Update to 8.1.16 - http://www.php.net/releases/8_1_16.php --- failed.txt | 3 +-- php.spec | 12 +++++++++++- upstream.patch | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 3 deletions(-) create mode 100644 upstream.patch diff --git a/failed.txt b/failed.txt index 0b479d4..5bb5df8 100644 --- a/failed.txt +++ b/failed.txt @@ -1,11 +1,10 @@ -===== 8.1.15 (2023-02-02) +===== 8.1.16 (2023-02-14) $ grep -ar 'Tests failed' /var/lib/mock/*/build.log /var/lib/mock/scl81el7x/build.log:Tests failed : 0 /var/lib/mock/scl81el8x/build.log:Tests failed : 0 /var/lib/mock/scl81el9x/build.log:Tests failed : 0 -/var/lib/mock/scl81fc35x/build.log:Tests failed : 0 /var/lib/mock/scl81fc36x/build.log:Tests failed : 0 /var/lib/mock/scl81fc37x/build.log:Tests failed : 0 diff --git a/php.spec b/php.spec index 9449212..6ce3ace 100644 --- a/php.spec +++ b/php.spec @@ -67,7 +67,12 @@ %bcond_with oci8 %bcond_with zip # Optional extensions; to disable: pass "--without xxx" etc to rpmbuild/mock. +%if 0%{?fedora} >= 38 || 0%{?rhel} >= 10 +# uw-imap is not available +%bcond_with imap +%else %bcond_without imap +%endif %bcond_without firebird %bcond_without freetds %bcond_without tidy @@ -122,7 +127,7 @@ #global gh_date 20210809 %global gh_owner php %global gh_project php-src -%global upver 8.1.15 +%global upver 8.1.16 #global rcver RC1 Summary: PHP scripting language for creating dynamic web sites @@ -191,6 +196,7 @@ Patch47: php-8.1.0-phpinfo.patch Patch91: php-7.2.0-oci8conf.patch # Upstream fixes (100+) +Patch100: upstream.patch # Security fixes (200+) @@ -971,6 +977,7 @@ sed -e 's/php-devel/%{?scl_prefix}php-devel/' -i scripts/phpize.in %patch91 -p1 -b .remi-oci8 # upstream patches +%patch100 -p1 -b .up # security patches @@ -1853,6 +1860,9 @@ fi %changelog +* Tue Feb 14 2023 Remi Collet - 8.1.16-1 +- Update to 8.1.16 - http://www.php.net/releases/8_1_16.php + * Wed Feb 1 2023 Remi Collet - 8.1.15-1 - Update to 8.1.15 - http://www.php.net/releases/8_1_15.php - add dependency on pcre2 minimal version diff --git a/upstream.patch b/upstream.patch new file mode 100644 index 0000000..84d43da --- /dev/null +++ b/upstream.patch @@ -0,0 +1,56 @@ +From e86d8704b44dde164e36b5364036e1988ac566fe Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Tue, 14 Feb 2023 14:13:40 +0100 +Subject: [PATCH] more config for new FPM tests + +--- + sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt | 4 +++- + .../fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-default.phpt | 4 +++- + sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-file-uploads.phpt | 4 +++- + 3 files changed, 9 insertions(+), 3 deletions(-) + +diff --git a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt +index d2239ac3c410..d5c4c4d46987 100644 +--- a/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt ++++ b/sapi/fpm/tests/ghsa-54hq-v5wp-fqgv-max-body-parts-custom.phpt +@@ -21,7 +21,9 @@ php_admin_value[html_errors] = false + php_admin_value[max_input_vars] = 20 + php_admin_value[max_file_uploads] = 5 + php_admin_value[max_multipart_body_parts] = 10 +-php_flag[display_errors] = On ++php_admin_flag[display_errors] = On ++php_admin_flag[display_startup_errors] = On ++php_admin_flag[log_errors] = On + EOT; + + $code = <<