Hello community, here is the log from the commit of package php7 for openSUSE:Factory checked in at 2018-12-19 13:25:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php7 (Old) and /work/SRC/openSUSE:Factory/.php7.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php7" Wed Dec 19 13:25:42 2018 rev:51 rq:659993 version:7.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/php7/php7.changes 2018-11-20 22:24:16.574885448 +0100 +++ /work/SRC/openSUSE:Factory/.php7.new.28833/php7.changes 2018-12-19 13:25:44.505211927 +0100 @@ -1,0 +2,63 @@ +Thu Dec 13 13:49:59 UTC 2018 - Martin Pluskal <mplus...@suse.com> + +- Enable testsuite during build time and save log to subpackage + testresults (boo#1119396) + +------------------------------------------------------------------- +Mon Dec 10 13:03:49 UTC 2018 - Cristian RodrÃguez <crrodrig...@opensuse.org> + +- update to pcre2 broke building third party modules, php7-devel + needs pcre-devel --> pcre2-devel change. + +------------------------------------------------------------------- +Mon Dec 10 09:20:01 UTC 2018 - Petr Gajdos <pgaj...@suse.com> + +- update to 7.3.0: + * Improved PHP GC + * Add net_get_interfaces() + * Implemented flexible heredoc and nowdoc syntax + * Added support for references in list() and array destructuring + * Added syslog.facility and syslog.ident INI entries for + customizing syslog logging + * The declaration and use of case-insensitive constants has been + deprecated + * Added syslog.filter INI entry for syslog filtering + * Added the 'add_slashes' sanitization mode + * Added support for WebP in imagecreatefromstring() + * Export internal structures and accessor helpers for GMP object. + * Added gmp_binomial(n, k) + * Added gmp_lcm(a, b) + * Added gmp_perfect_power(a) + * Added gmp_kronecker(a, b) + * Added JSON_THROW_ON_ERROR flag + * Added ldap_exop_refresh helper for EXOP REFRESH operation with + dds overlay + * Added full support for sending and parsing ldap controls + * Removed support for ODBCRouter + * Removed support for Birdstep + * Added openssl_pkey_derive function + * Add min_proto_version and max_proto_version ssl stream options + as well as related constants for possible TLS protocol values + * Migrated to PCRE2 + * Expose TDS version as \PDO::DBLIB_ATTR_TDS_VERSION attribute + on \PDO instance + * Treat DATETIME2 columns like DATETIME + * Added is_countable() function + * Added support for the SameSite cookie directive, including an + alternative signature for setcookie(), setrawcookie() and + session_set_cookie_params() + * Many bugfixes and other changes, see + http://php.net/ChangeLog-7.php#7.3.0 +- patch changes + % php7-ini.patch + % php7-no-build-date.patch + % php7-odbc-cmp-int-cast.patch + - php7-honor-re2c-flags.patch (upstreamed) + +------------------------------------------------------------------- +Mon Dec 10 08:35:11 UTC 2018 - Petr Gajdos <pgaj...@suse.com> + +- update to 7.2.13: This is a security release. + http://php.net/ChangeLog-7.php + +------------------------------------------------------------------- Old: ---- php-7.2.12.tar.xz php-7.2.12.tar.xz.asc php7-honor-re2c-flags.patch New: ---- php-7.3.0.tar.xz php-7.3.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php7.spec ++++++ --- /var/tmp/diff_new_pack.8Robx5/_old 2018-12-19 13:25:45.885210247 +0100 +++ /var/tmp/diff_new_pack.8Robx5/_new 2018-12-19 13:25:45.885210247 +0100 @@ -16,8 +16,8 @@ # -%global apiver 20170718 -%global zendver 20170718 +%global apiver 20180731 +%global zendver 20180731 %define suhosin_version 0.9.38 %define pkg_name php7 %define extension_dir %{_libdir}/%{pkg_name}/extensions @@ -41,14 +41,14 @@ %if %{?suse_version} >= 1500 %define build_argon2 1 %endif -%bcond_with make_test +%bcond_without make_test Name: php7 -Version: 7.2.12 +Version: 7.3.0 Release: 0 Summary: Interpreter for the PHP scripting language version 7 License: PHP-3.01 Group: Development/Languages/Other -Url: https://secure.php.net +URL: https://secure.php.net Source0: https://secure.php.net/distributions/php-%{version}.tar.xz Source1: php-suse-addons.tar.bz2 Source2: https://download.suhosin.org/suhosin-%{suhosin_version}.tar.gz @@ -85,8 +85,6 @@ Patch15: php7-fix_net-snmp_disable_MD5.patch # should be upstreamed, will do later Patch17: php7-date-regenerate-lexers.patch -# https://bugs.php.net/bug.php?id=76030 -Patch19: php7-honor-re2c-flags.patch BuildRequires: apache-rpm-macros BuildRequires: apache2-devel BuildRequires: autoconf @@ -95,15 +93,6 @@ BuildRequires: curl-devel BuildRequires: cyrus-sasl-devel BuildRequires: db-devel -%if %{build_firebird} -# firebird-devel was merged into libfbclient2-devel for firebird 3 -%if 0%{?suse_version} <= 1320 -BuildRequires: firebird-devel -BuildRequires: libfbclient2-devel -%else -BuildRequires: libfbclient-devel -%endif -%endif BuildRequires: freetds-devel BuildRequires: freetype2-devel BuildRequires: gcc-c++ @@ -123,7 +112,7 @@ BuildRequires: ncurses-devel BuildRequires: net-snmp-devel BuildRequires: openldap2-devel -BuildRequires: pcre-devel +BuildRequires: pcre2-devel BuildRequires: pkgconfig BuildRequires: postfix BuildRequires: postgresql-devel @@ -136,8 +125,6 @@ BuildRequires: pkgconfig(enchant) BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(zlib) -# Recommends instead of Requires smtp_daemon bsc#1115213 -Recommends: smtp_daemon Requires: timezone Recommends: php-ctype Recommends: php-dom @@ -147,6 +134,8 @@ Recommends: php-tokenizer Recommends: php-xmlreader Recommends: php-xmlwriter +# Recommends instead of Requires smtp_daemon bsc#1115213 +Recommends: smtp_daemon # suggest php7-* instead of php-* [bsc#1022158c#4] Suggests: php7-gd Suggests: php7-gettext @@ -175,6 +164,15 @@ Obsoletes: php < %{version} Obsoletes: php5 Obsoletes: php7-mcrypt +%if %{build_firebird} +# firebird-devel was merged into libfbclient2-devel for firebird 3 +%if 0%{?suse_version} <= 1320 +BuildRequires: firebird-devel +BuildRequires: libfbclient2-devel +%else +BuildRequires: libfbclient-devel +%endif +%endif %if %{system_gd} BuildRequires: gd-devel %else @@ -194,8 +192,8 @@ Suggests: php7-suhosin %endif %if 0%{?suse_version} > 1320 -Requires(pre): user(wwwrun) Requires(pre): group(www) +Requires(pre): user(wwwrun) %endif %description @@ -222,7 +220,7 @@ Requires: glibc-devel Requires: libtool Requires: libxml2-devel -Requires: pcre-devel +Requires: pcre2-devel Requires: php7-pear Provides: pecl = %{version} Provides: php-devel = %{version} @@ -235,6 +233,19 @@ This package contains the C headers to build PHP extensions. +%if %{with make_test} +%package testresults +Summary: PHP7 testsuite results +Group: Development/Languages/PHP + +%description testresults +PHP is a server-side HTML embedded scripting language designed +primarily for web development but also used as a general-purpose +programming language. + +This package contains results from running the PHP7 testsuite. +%endif + %package pear Summary: PHP Extension and Application Repository Group: Development/Libraries/PHP @@ -997,7 +1008,7 @@ %patch0 %patch2 -%patch3 +%patch3 -p1 %patch4 -p1 %patch5 %patch6 @@ -1008,7 +1019,6 @@ %patch14 -p1 %patch15 %patch17 -p1 -%patch19 -p1 # Safety check for API version change. vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h` @@ -1044,7 +1054,7 @@ rm -v ${parser%.*}.c done -rm -r ext/pcre/pcrelib +rm -r ext/pcre/pcre2lib # regenerate configure etc. rm configure @@ -1261,6 +1271,8 @@ %if %{with make_test} export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 LANG=POSIX LC_ALL=POSIX unset TZ +# We save results for further investigation for QA +make test | tee testresults.txt || true make test || true set +x for f in `find .. -name "*.diff" -type f -print`; do @@ -1445,7 +1457,7 @@ %if 0%{?suse_version} > 1320 %license LICENSE %else -%doc LICENSE +%license LICENSE %endif %doc README* CODING_STANDARDS CREDITS EXTENSIONS NEWS UPGRADING %doc php-suse-addons/test.php5 @@ -1471,6 +1483,12 @@ %{_datadir}/%{pkg_name}/build %config %{_sysconfdir}/rpm/macros.php +%if %{with make_test} +%files testresults +%defattr(-, root, root) +%doc build-cli/testresults.txt +%endif + %files pear %defattr(-, root, root) %doc pear/README.SUSE ++++++ php-7.2.12.tar.xz -> php-7.3.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/php7/php-7.2.12.tar.xz /work/SRC/openSUSE:Factory/.php7.new.28833/php-7.3.0.tar.xz differ: char 25, line 1 ++++++ php7-ini.patch ++++++ --- /var/tmp/diff_new_pack.8Robx5/_old 2018-12-19 13:25:46.013210091 +0100 +++ /var/tmp/diff_new_pack.8Robx5/_new 2018-12-19 13:25:46.017210087 +0100 @@ -1,8 +1,8 @@ -Index: php.ini-production +Index: php-7.3.0/php.ini-production =================================================================== ---- php.ini-production.orig 2015-07-10 14:11:24.167826570 +0200 -+++ php.ini-production 2015-07-14 10:45:17.847974988 +0200 -@@ -697,7 +697,7 @@ +--- php-7.3.0.orig/php.ini-production 2018-12-04 17:12:20.000000000 +0100 ++++ php-7.3.0/php.ini-production 2018-12-10 09:56:52.609775323 +0100 +@@ -729,7 +729,7 @@ default_charset = "UTF-8" ;;;;;;;;;;;;;;;;;;;;;;;;; ; UNIX: "/path1:/path2" @@ -11,7 +11,7 @@ ; ; Windows: "\path1;\path2" ;include_path = ".;c:\php\includes" -@@ -911,7 +911,7 @@ +@@ -954,7 +954,7 @@ cli_server.color = On [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone @@ -20,7 +20,7 @@ ; http://php.net/date.default-latitude ;date.default_latitude = 31.7667 -@@ -1125,7 +1125,7 @@ +@@ -1154,7 +1154,7 @@ mysqli.max_persistent = -1 ; Allow or prevent persistent links. ; http://php.net/mysqli.allow-persistent @@ -29,7 +29,7 @@ ; Maximum number of links. -1 means no limit. ; http://php.net/mysqli.max-links -@@ -1308,7 +1308,7 @@ +@@ -1347,7 +1347,7 @@ session.save_handler = files ; where MODE is the octal representation of the mode. Note that this ; does not overwrite the process's umask. ; http://php.net/session.save-path @@ -37,5 +37,4 @@ +session.save_path = "/var/lib/php7" ; Whether to use strict session mode. - ; Strict session mode does not accept uninitialized session ID and regenerate - + ; Strict session mode does not accept an uninitialized session ID, and ++++++ php7-no-build-date.patch ++++++ --- /var/tmp/diff_new_pack.8Robx5/_old 2018-12-19 13:25:46.025210077 +0100 +++ /var/tmp/diff_new_pack.8Robx5/_new 2018-12-19 13:25:46.025210077 +0100 @@ -1,8 +1,8 @@ -Index: php-7.2.4/ext/standard/info.c +Index: php-7.3.0/ext/standard/info.c =================================================================== ---- php-7.2.4.orig/ext/standard/info.c 2018-03-27 15:10:52.000000000 +0200 -+++ php-7.2.4/ext/standard/info.c 2018-04-04 13:05:25.675487878 +0200 -@@ -830,7 +830,7 @@ PHPAPI void php_print_info(int flag) +--- php-7.3.0.orig/ext/standard/info.c 2018-12-04 17:12:26.000000000 +0100 ++++ php-7.3.0/ext/standard/info.c 2018-12-10 09:59:20.182517410 +0100 +@@ -822,7 +822,7 @@ PHPAPI void php_print_info(int flag) php_info_print_box_end(); php_info_print_table_start(); php_info_print_table_row(2, "System", ZSTR_VAL(php_uname)); @@ -11,7 +11,7 @@ #ifdef COMPILER php_info_print_table_row(2, "Compiler", COMPILER); #endif -@@ -838,7 +838,7 @@ PHPAPI void php_print_info(int flag) +@@ -830,7 +830,7 @@ PHPAPI void php_print_info(int flag) php_info_print_table_row(2, "Architecture", ARCHITECTURE); #endif #ifdef CONFIGURE_COMMAND @@ -20,11 +20,11 @@ #endif if (sapi_module.pretty_name) { -Index: php-7.2.4/sapi/cli/php_cli.c +Index: php-7.3.0/sapi/cli/php_cli.c =================================================================== ---- php-7.2.4.orig/sapi/cli/php_cli.c 2018-03-27 15:10:57.000000000 +0200 -+++ php-7.2.4/sapi/cli/php_cli.c 2018-04-04 13:05:25.675487878 +0200 -@@ -697,8 +697,8 @@ static int do_cli(int argc, char **argv) +--- php-7.3.0.orig/sapi/cli/php_cli.c 2018-12-04 17:12:21.000000000 +0100 ++++ php-7.3.0/sapi/cli/php_cli.c 2018-12-10 09:59:20.182517410 +0100 +@@ -683,8 +683,8 @@ static int do_cli(int argc, char **argv) goto out; case 'v': /* show php version & quit */ @@ -35,13 +35,13 @@ #if ZTS "ZTS " #else -Index: php-7.2.4/sapi/cgi/cgi_main.c +Index: php-7.3.0/sapi/cgi/cgi_main.c =================================================================== ---- php-7.2.4.orig/sapi/cgi/cgi_main.c 2018-03-27 15:10:57.000000000 +0200 -+++ php-7.2.4/sapi/cgi/cgi_main.c 2018-04-04 13:05:25.675487878 +0200 -@@ -2427,9 +2427,9 @@ consult the installation file that came - SG(request_info).no_headers = 1; - } +--- php-7.3.0.orig/sapi/cgi/cgi_main.c 2018-12-04 17:12:20.000000000 +0100 ++++ php-7.3.0/sapi/cgi/cgi_main.c 2018-12-10 09:59:20.182517410 +0100 +@@ -2391,9 +2391,9 @@ parent_loop_end: + SG(headers_sent) = 1; + SG(request_info).no_headers = 1; #if ZEND_DEBUG - php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); + php_printf("PHP %s (%s) (DEBUG)\nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); @@ -51,11 +51,11 @@ #endif php_request_shutdown((void *) 0); fcgi_shutdown(); -Index: php-7.2.4/configure.ac +Index: php-7.3.0/configure.ac =================================================================== ---- php-7.2.4.orig/configure.ac 2018-04-04 13:05:25.675487878 +0200 -+++ php-7.2.4/configure.ac 2018-04-04 13:10:53.817149061 +0200 -@@ -1269,13 +1269,12 @@ EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLA +--- php-7.3.0.orig/configure.ac 2018-12-04 17:12:20.000000000 +0100 ++++ php-7.3.0/configure.ac 2018-12-10 09:59:20.182517410 +0100 +@@ -1323,13 +1323,12 @@ EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLA EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS" # SOURCE_DATE_EPOCH for reproducible builds https://reproducible-builds.org/specs/source-date-epoch/ @@ -73,11 +73,11 @@ AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output]) PHP_OS=`uname | xargs` AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output]) -Index: php-7.2.4/sapi/fpm/fpm/fpm_main.c +Index: php-7.3.0/sapi/fpm/fpm/fpm_main.c =================================================================== ---- php-7.2.4.orig/sapi/fpm/fpm/fpm_main.c 2018-03-27 15:10:57.000000000 +0200 -+++ php-7.2.4/sapi/fpm/fpm/fpm_main.c 2018-04-04 13:05:25.675487878 +0200 -@@ -1755,9 +1755,9 @@ int main(int argc, char *argv[]) +--- php-7.3.0.orig/sapi/fpm/fpm/fpm_main.c 2018-12-04 17:12:21.000000000 +0100 ++++ php-7.3.0/sapi/fpm/fpm/fpm_main.c 2018-12-10 09:59:20.182517410 +0100 +@@ -1728,9 +1728,9 @@ int main(int argc, char *argv[]) SG(request_info).no_headers = 1; #if ZEND_DEBUG ++++++ php7-odbc-cmp-int-cast.patch ++++++ --- /var/tmp/diff_new_pack.8Robx5/_old 2018-12-19 13:25:46.033210067 +0100 +++ /var/tmp/diff_new_pack.8Robx5/_new 2018-12-19 13:25:46.033210067 +0100 @@ -1,9 +1,9 @@ https://bugs.php.net/bug.php?id=53007 -Index: php-7.2.12/ext/odbc/php_odbc.c +Index: php-7.3.0/ext/odbc/php_odbc.c =================================================================== ---- php-7.2.12.orig/ext/odbc/php_odbc.c 2018-11-06 11:48:42.000000000 +0100 -+++ php-7.2.12/ext/odbc/php_odbc.c 2018-11-09 16:38:38.694103185 +0100 -@@ -1811,7 +1811,7 @@ static void php_odbc_fetch_hash(INTERNAL +--- php-7.3.0.orig/ext/odbc/php_odbc.c 2018-12-04 17:12:22.000000000 +0100 ++++ php-7.3.0/ext/odbc/php_odbc.c 2018-12-10 10:19:02.668378553 +0100 +@@ -1804,7 +1804,7 @@ static void php_odbc_fetch_hash(INTERNAL if (rc == SQL_SUCCESS_WITH_INFO) { ZVAL_STRINGL(&tmp, buf, result->longreadlen); @@ -12,7 +12,7 @@ ZVAL_NULL(&tmp); break; } else { -@@ -1820,7 +1820,7 @@ static void php_odbc_fetch_hash(INTERNAL +@@ -1813,7 +1813,7 @@ static void php_odbc_fetch_hash(INTERNAL break; default: @@ -21,7 +21,7 @@ ZVAL_NULL(&tmp); break; } -@@ -1963,7 +1963,7 @@ PHP_FUNCTION(odbc_fetch_into) +@@ -1956,7 +1956,7 @@ PHP_FUNCTION(odbc_fetch_into) } if (rc == SQL_SUCCESS_WITH_INFO) { ZVAL_STRINGL(&tmp, buf, result->longreadlen); @@ -30,7 +30,7 @@ ZVAL_NULL(&tmp); break; } else { -@@ -1972,7 +1972,7 @@ PHP_FUNCTION(odbc_fetch_into) +@@ -1965,7 +1965,7 @@ PHP_FUNCTION(odbc_fetch_into) break; default: @@ -39,16 +39,16 @@ ZVAL_NULL(&tmp); break; } -@@ -2200,7 +2200,7 @@ PHP_FUNCTION(odbc_result) +@@ -2193,7 +2193,7 @@ PHP_FUNCTION(odbc_result) RETURN_FALSE; } - if (result->values[field_ind].vallen == SQL_NULL_DATA) { + if ((int)result->values[field_ind].vallen == (int)SQL_NULL_DATA) { - zend_string_free(field_str); + zend_string_efree(field_str); RETURN_NULL(); } else if (rc == SQL_NO_DATA_FOUND) { -@@ -2209,7 +2209,7 @@ PHP_FUNCTION(odbc_result) +@@ -2202,7 +2202,7 @@ PHP_FUNCTION(odbc_result) } /* Reduce fieldlen by 1 if we have char data. One day we might have binary strings... */ @@ -57,7 +57,7 @@ #if defined(ODBCVER) && (ODBCVER >= 0x0300) || (result->values[field_ind].coltype == SQL_WLONGVARCHAR) #endif -@@ -2226,7 +2226,7 @@ PHP_FUNCTION(odbc_result) +@@ -2219,7 +2219,7 @@ PHP_FUNCTION(odbc_result) break; default: @@ -66,7 +66,7 @@ RETURN_NULL(); } else { RETURN_STRINGL(result->values[field_ind].value, result->values[field_ind].vallen); -@@ -2359,7 +2359,7 @@ PHP_FUNCTION(odbc_result_all) +@@ -2352,7 +2352,7 @@ PHP_FUNCTION(odbc_result_all) } if (rc == SQL_SUCCESS_WITH_INFO) { PHPWRITE(buf, result->longreadlen); @@ -75,7 +75,7 @@ php_printf("<td>NULL</td>"); break; } else { -@@ -2368,7 +2368,7 @@ PHP_FUNCTION(odbc_result_all) +@@ -2361,7 +2361,7 @@ PHP_FUNCTION(odbc_result_all) php_printf("</td>"); break; default: ++++++ php7.keyring ++++++ ++++ 773 lines (skipped) ++++ between php7.keyring ++++ and /work/SRC/openSUSE:Factory/.php7.new.28833/php7.keyring