From 27d5e305ac407fa566dee20ad0328c8a72052c92 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 16 Feb 2021 15:02:02 +0100 Subject: update to 7.4.16RC1 --- failed.txt | 8 +++++--- php-bug80682.patch | 30 ------------------------------ php74.spec | 9 +++++---- 3 files changed, 10 insertions(+), 37 deletions(-) delete mode 100644 php-bug80682.patch diff --git a/failed.txt b/failed.txt index ba177c5..c82e651 100644 --- a/failed.txt +++ b/failed.txt @@ -1,14 +1,16 @@ -===== 7.4.15 (2021-02-02) +===== 7.4.16RC1 (2021-02-18) $ grep -ar 'Tests failed' /var/lib/mock/{fc,el}*/build.log -/var/lib/mock/el7x/build.log:Tests failed : 0 +/var/lib/mock/el7x/build.log:Tests failed : 1 /var/lib/mock/el8x74/build.log:Tests failed : 0 -/var/lib/mock/fc31x/build.log:Tests failed : 0 /var/lib/mock/fc32x/build.log:Tests failed : 0 /var/lib/mock/fc33x/build.log:Tests failed : 0 +/var/lib/mock/fc34x/build.log:Tests failed : 0 +el7x: + 5 Bug #80747: Providing RSA key size < 512 generates key that crash PHP [ext/openssl/tests/bug80747.phpt] 1 proc_open give erratic test results :( diff --git a/php-bug80682.patch b/php-bug80682.patch deleted file mode 100644 index 38f908b..0000000 --- a/php-bug80682.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 067f7e4150d8f9bddf6b198c9c7826565ee549b0 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Thu, 28 Jan 2021 16:24:39 +0100 -Subject: [PATCH] Fix #80682 opcache doesn't honour pcre.jit option - ---- - ext/opcache/zend_accelerator_blacklist.c | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/ext/opcache/zend_accelerator_blacklist.c b/ext/opcache/zend_accelerator_blacklist.c -index 889fcabd7988..5c6bd76821a5 100644 ---- a/ext/opcache/zend_accelerator_blacklist.c -+++ b/ext/opcache/zend_accelerator_blacklist.c -@@ -185,10 +185,12 @@ static void zend_accel_blacklist_update_regexp(zend_blacklist *blacklist) - return; - } - #ifdef HAVE_PCRE_JIT_SUPPORT -- if (0 > pcre2_jit_compile(it->re, PCRE2_JIT_COMPLETE)) { -- /* Don't return here, even JIT could fail to compile, the pattern is still usable. */ -- pcre2_get_error_message(errnumber, pcre_error, sizeof(pcre_error)); -- zend_accel_error(ACCEL_LOG_WARNING, "Blacklist JIT compilation failed, %s\n", pcre_error); -+ if (PCRE_G(jit)) { -+ if (0 > pcre2_jit_compile(it->re, PCRE2_JIT_COMPLETE)) { -+ /* Don't return here, even JIT could fail to compile, the pattern is still usable. */ -+ pcre2_get_error_message(errnumber, pcre_error, sizeof(pcre_error)); -+ zend_accel_error(ACCEL_LOG_WARNING, "Blacklist JIT compilation failed, %s\n", pcre_error); -+ } - } - #endif - /* prepare for the next iteration */ diff --git a/php74.spec b/php74.spec index ce0a185..ee84b01 100644 --- a/php74.spec +++ b/php74.spec @@ -94,8 +94,8 @@ %global with_libzip 1 %global with_zip 0 -%global upver 7.4.15 -#global rcver RC2 +%global upver 7.4.16 +%global rcver RC1 Summary: PHP scripting language for creating dynamic web sites Name: php @@ -156,7 +156,6 @@ Patch47: php-7.4.8-phpinfo.patch Patch91: php-7.2.0-oci8conf.patch # Upstream fixes (100+) -Patch100: php-bug80682.patch # Security fixes (200+) @@ -1153,7 +1152,6 @@ in pure PHP. %patch91 -p1 -b .remi-oci8 # upstream patches -%patch100 -p1 -b .bug80682 # security patches @@ -2165,6 +2163,9 @@ fi %changelog +* Tue Feb 16 2021 Remi Collet - 7.4.16~RC1-1 +- update to 7.4.16RC1 + * Tue Feb 2 2021 Remi Collet - 7.4.15-1 - Update to 7.4.15 - http://www.php.net/releases/7_4_15.php -- cgit