Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package php8 for openSUSE:Factory checked in at 2021-09-23 23:04:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php8 (Old) and /work/SRC/openSUSE:Factory/.php8.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php8" Thu Sep 23 23:04:22 2021 rev:13 rq:921175 version:8.0.11 Changes: -------- --- /work/SRC/openSUSE:Factory/php8/php8.changes 2021-08-26 23:16:44.964176133 +0200 +++ /work/SRC/openSUSE:Factory/.php8.new.1899/php8.changes 2021-09-23 23:04:31.284343947 +0200 @@ -1,0 +2,13 @@ +Thu Sep 23 16:47:21 UTC 2021 - Arjen de Korte <suse+bu...@de-korte.org> + +- updated to 8.0.11: This is a security release fixing CVE-2021-21706. + See https://www.php.net/ChangeLog-8.php#8.0.11 + +------------------------------------------------------------------- +Thu Sep 23 11:49:08 UTC 2021 - pgaj...@suse.com + +- added patches + fix https://github.com/php/php-src/commit/b3646440b1808abf0874b6f89027ce53ec5da03f + + php8-gd-removed-unused-constants.patch + +------------------------------------------------------------------- Old: ---- php-8.0.10.tar.xz php-8.0.10.tar.xz.asc New: ---- php-8.0.11.tar.xz php-8.0.11.tar.xz.asc php8-gd-removed-unused-constants.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php8.spec ++++++ --- /var/tmp/diff_new_pack.icTf3V/_old 2021-09-23 23:04:32.136344582 +0200 +++ /var/tmp/diff_new_pack.icTf3V/_new 2021-09-23 23:04:32.140344586 +0200 @@ -53,7 +53,7 @@ %define build_argon2 1 %endif Name: %{pprefix}%{php_name}%{psuffix} -Version: 8.0.10 +Version: 8.0.11 Release: 0 Summary: Interpreter for the PHP scripting language version 8 License: PHP-3.01 @@ -94,6 +94,8 @@ Patch22: php-date-regenerate-lexers.patch # PATCH-FEATURE-UPSTREAM https://github.com/php/php-src/pull/6564 Patch19: php-build-reproducible-phar.patch +# https://github.com/php/php-src/commit/b3646440b1808abf0874b6f89027ce53ec5da03f +Patch23: php8-gd-removed-unused-constants.patch BuildRequires: apache-rpm-macros BuildRequires: autoconf BuildRequires: bison ++++++ php-8.0.10.tar.xz -> php-8.0.11.tar.xz ++++++ /work/SRC/openSUSE:Factory/php8/php-8.0.10.tar.xz /work/SRC/openSUSE:Factory/.php8.new.1899/php-8.0.11.tar.xz differ: char 25, line 1 ++++++ php8-gd-removed-unused-constants.patch ++++++ Index: php-8.0.10/ext/gd/gd.c =================================================================== --- php-8.0.10.orig/ext/gd/gd.c 2021-08-24 17:40:40.000000000 +0200 +++ php-8.0.10/ext/gd/gd.c 2021-09-23 13:43:51.490658267 +0200 @@ -95,6 +95,10 @@ static int le_gd_font; #define GD_FLIP_HORIZONTAL GD_FLIP_HORINZONTAL #endif +#define PHP_GD_FLIP_HORIZONTAL 1 +#define PHP_GD_FLIP_VERTICAL 2 +#define PHP_GD_FLIP_BOTH 3 + #ifdef HAVE_GD_FREETYPE static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int); #endif @@ -350,9 +354,9 @@ PHP_MINIT_FUNCTION(gd) /* GD2 image format types */ REGISTER_LONG_CONSTANT("IMG_GD2_RAW", GD2_FMT_RAW, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMG_GD2_COMPRESSED", GD2_FMT_COMPRESSED, CONST_CS | CONST_PERSISTENT); - REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", GD_FLIP_HORIZONTAL, CONST_CS | CONST_PERSISTENT); - REGISTER_LONG_CONSTANT("IMG_FLIP_VERTICAL", GD_FLIP_VERTICAL, CONST_CS | CONST_PERSISTENT); - REGISTER_LONG_CONSTANT("IMG_FLIP_BOTH", GD_FLIP_BOTH, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", PHP_GD_FLIP_HORIZONTAL, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("IMG_FLIP_VERTICAL", PHP_GD_FLIP_VERTICAL, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("IMG_FLIP_BOTH", PHP_GD_FLIP_BOTH, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMG_EFFECT_REPLACE", gdEffectReplace, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMG_EFFECT_ALPHABLEND", gdEffectAlphaBlend, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMG_EFFECT_NORMAL", gdEffectNormal, CONST_CS | CONST_PERSISTENT); @@ -3526,15 +3530,15 @@ PHP_FUNCTION(imageflip) im = php_gd_libgdimageptr_from_zval_p(IM); switch (mode) { - case GD_FLIP_VERTICAL: + case PHP_GD_FLIP_VERTICAL: gdImageFlipVertical(im); break; - case GD_FLIP_HORIZONTAL: + case PHP_GD_FLIP_HORIZONTAL: gdImageFlipHorizontal(im); break; - case GD_FLIP_BOTH: + case PHP_GD_FLIP_BOTH: gdImageFlipBoth(im); break;