Hello community, here is the log from the commit of package php7 for openSUSE:Factory checked in at 2019-12-16 15:18:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php7 (Old) and /work/SRC/openSUSE:Factory/.php7.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php7" Mon Dec 16 15:18:56 2019 rev:70 rq:755570 version:7.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/php7/php7.changes 2019-11-15 22:32:47.816059618 +0100 +++ /work/SRC/openSUSE:Factory/.php7.new.4691/php7.changes 2019-12-16 15:18:57.739174301 +0100 @@ -1,0 +2,47 @@ +Tue Dec 10 13:24:53 UTC 2019 - pgaj...@suse.com + +- php7-devel requires glibc-devel, libxml2-devel, pcre2-devel + again + +------------------------------------------------------------------- +Thu Dec 5 09:27:35 UTC 2019 - Arjen de Korte <suse+bu...@de-korte.org> + +- relax systemd restrictions for FPM as they were too strict in + some applications +- change leftover Requires php7-<extension> to php-<extension> +- remove external libraries from -devel subpackage +- added patches + + php-fpm-service-fails-to-start.patch + +------------------------------------------------------------------- +Thu Nov 28 10:16:27 UTC 2019 - Arjen de Korte <suse+bu...@de-korte.org> + +- update to 7.4.0: + * Typed Properties + * Arrow Functions + * Limited Return Type Covariance and Argument Type Contravariance + * Unpacking Inside Arrays + * Numeric Literal Separator + * Weak References + * Allow Exceptions from __toString() + * Opcache Preloading + * The interbase and wddx extensions are removed and now + available through PECL + * PEAR is now packaged separately in php7-pear source package + (https://externals.io/message/103977) + * See https://www.php.net/ChangeLog-7.php#7.4.0 for a complete + list of changes +- deleted patches + - php-suse-addons.tar.bz + - php-systzdata-v18.patch +- added patches + + php-fix-mysqlnd-compression-library.patch + + php-systzdata-v19.patch + + mod_php7.conf +- modified files/patches + % php-no-build-date.patch + % php-systemd-unit.patch + % php7.keyring (use keys of the PHP-7.4 release managers) + % php7.rpmlintrc + +------------------------------------------------------------------- Old: ---- php-7.3.11.tar.xz php-7.3.11.tar.xz.asc php-suse-addons.tar.bz2 php-systzdata-v18.patch New: ---- mod_php7.conf php-7.4.0.tar.xz php-7.4.0.tar.xz.asc php-fix-mysqlnd-compression-library.patch php-fpm-service-fails-to-start.patch php-systzdata-v19.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php7.spec ++++++ ++++ 678 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/php7/php7.spec ++++ and /work/SRC/openSUSE:Factory/.php7.new.4691/php7.spec ++++++ mod_php7.conf ++++++ <IfModule mod_php7.c> <FilesMatch "\.ph(p[3457]?|tml)$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.php[3457]?s$"> SetHandler application/x-httpd-php-source </FilesMatch> DirectoryIndex index.php4 DirectoryIndex index.php5 DirectoryIndex index.php7 DirectoryIndex index.php </IfModule> ++++++ php-7.3.11.tar.xz -> php-7.4.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/php7/php-7.3.11.tar.xz /work/SRC/openSUSE:Factory/.php7.new.4691/php-7.4.0.tar.xz differ: char 25, line 1 ++++++ php-fix-mysqlnd-compression-library.patch ++++++ --- ext/mysqlnd/config9.m4 +++ ext/mysqlnd/config9.m4 @@ -24,6 +24,11 @@ if test "$PHP_MYSQLND_COMPRESSION_SUPPORT" != "no"; then + PKG_CHECK_MODULES([ZLIB], [zlib]) + + PHP_EVAL_LIBLINE($ZLIB_LIBS, MYSQLND_SHARED_LIBADD) + PHP_EVAL_INCLINE($ZLIB_CFLAGS) + AC_DEFINE([MYSQLND_COMPRESSION_WANTED], 1, [Enable compressed protocol support]) fi ++++++ php-fpm-service-fails-to-start.patch ++++++ --- a/sapi/fpm/php-fpm.service.in +++ b/sapi/fpm/php-fpm.service.in @@ -32,13 +32,6 @@ NoNewPrivileges=true # but no physical devices such as /dev/sda. PrivateDevices=true -# Required for dropping privileges and running as a different user -CapabilityBoundingSet=CAP_SETGID CAP_SETUID - -# Attempts to create memory mappings that are writable and executable at the same time, -# or to change existing memory mappings to become executable are prohibited. -MemoryDenyWriteExecute=true - # Explicit module loading will be denied. This allows to turn off module load and unload # operations on modular kernels. It is recommended to turn this on for most services that # do not need special file systems or extra kernel modules to work. ++++++ php-no-build-date.patch ++++++ --- /var/tmp/diff_new_pack.FF7sSf/_old 2019-12-16 15:18:59.419173602 +0100 +++ /var/tmp/diff_new_pack.FF7sSf/_new 2019-12-16 15:18:59.423173599 +0100 @@ -1,8 +1,8 @@ -Index: php-7.3.0/ext/standard/info.c +Index: php-7.4.0RC6/ext/standard/info.c =================================================================== ---- 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-7.4.0RC6.orig/ext/standard/info.c 2019-11-11 00:33:36.000000000 +0100 ++++ php-7.4.0RC6/ext/standard/info.c 2019-11-19 11:29:46.254681309 +0100 +@@ -802,7 +802,7 @@ PHPAPI ZEND_COLD void php_print_info(int 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 -@@ -830,7 +830,7 @@ PHPAPI void php_print_info(int flag) +@@ -810,7 +810,7 @@ PHPAPI ZEND_COLD void php_print_info(int php_info_print_table_row(2, "Architecture", ARCHITECTURE); #endif #ifdef CONFIGURE_COMMAND @@ -20,45 +20,45 @@ #endif if (sapi_module.pretty_name) { -Index: php-7.3.0/sapi/cli/php_cli.c +Index: php-7.4.0RC6/sapi/cli/php_cli.c =================================================================== ---- 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) +--- php-7.4.0RC6.orig/sapi/cli/php_cli.c 2019-11-19 11:29:46.254681309 +0100 ++++ php-7.4.0RC6/sapi/cli/php_cli.c 2019-11-19 11:30:06.350793571 +0100 +@@ -645,8 +645,8 @@ static int do_cli(int argc, char **argv) goto out; case 'v': /* show php version & quit */ -- php_printf("PHP %s (%s) (built: %s %s) ( %s)\nCopyright (c) 1997-2018 The PHP Group\n%s", +- php_printf("PHP %s (%s) (built: %s %s) ( %s)\nCopyright (c) The PHP Group\n%s", - PHP_VERSION, cli_sapi_module.name, __DATE__, __TIME__, -+ php_printf("PHP %s (%s) ( %s)\nCopyright (c) 1997-2018 The PHP Group\n%s", ++ php_printf("PHP %s (%s) ( %s)\nCopyright (c) The PHP Group\n%s", + PHP_VERSION, cli_sapi_module.name, #if ZTS "ZTS " #else -Index: php-7.3.0/sapi/cgi/cgi_main.c +Index: php-7.4.0RC6/sapi/cgi/cgi_main.c =================================================================== ---- 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: +--- php-7.4.0RC6.orig/sapi/cgi/cgi_main.c 2019-11-19 11:29:46.254681309 +0100 ++++ php-7.4.0RC6/sapi/cgi/cgi_main.c 2019-11-19 11:30:26.346905278 +0100 +@@ -2392,9 +2392,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()); +- php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); ++ php_printf("PHP %s (%s) (DEBUG)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); #else -- php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); -+ php_printf("PHP %s (%s) \nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); +- php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); ++ php_printf("PHP %s (%s) \nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); #endif php_request_shutdown((void *) 0); fcgi_shutdown(); -Index: php-7.3.0/configure.ac +Index: php-7.4.0RC6/configure.ac =================================================================== ---- 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" +--- php-7.4.0RC6.orig/configure.ac 2019-11-19 11:29:46.258681331 +0100 ++++ php-7.4.0RC6/configure.ac 2019-11-19 11:31:37.507302813 +0100 +@@ -1295,13 +1295,12 @@ EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PR - # SOURCE_DATE_EPOCH for reproducible builds https://reproducible-builds.org/specs/source-date-epoch/ + dnl SOURCE_DATE_EPOCH for reproducible builds + dnl https://reproducible-builds.org/specs/source-date-epoch/ -PHP_BUILD_DATE=`date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d 2>/dev/null` -if test $? -ne 0 ; then -PHP_BUILD_DATE=`date -u +%Y-%m-%d` @@ -73,19 +73,19 @@ 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.3.0/sapi/fpm/fpm/fpm_main.c +Index: php-7.4.0RC6/sapi/fpm/fpm/fpm_main.c =================================================================== ---- 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[]) +--- php-7.4.0RC6.orig/sapi/fpm/fpm/fpm_main.c 2019-11-19 11:29:46.258681331 +0100 ++++ php-7.4.0RC6/sapi/fpm/fpm/fpm_main.c 2019-11-19 11:32:27.627582756 +0100 +@@ -1722,9 +1722,9 @@ int main(int argc, char *argv[]) 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()); +- php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); ++ php_printf("PHP %s (%s) (DEBUG)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); #else -- php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); -+ php_printf("PHP %s (%s) \nCopyright (c) 1997-2018 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); +- php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version()); ++ php_printf("PHP %s (%s) \nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version()); #endif php_request_shutdown((void *) 0); fcgi_shutdown(); ++++++ php-systemd-unit.patch ++++++ --- /var/tmp/diff_new_pack.FF7sSf/_old 2019-12-16 15:18:59.439173593 +0100 +++ /var/tmp/diff_new_pack.FF7sSf/_new 2019-12-16 15:18:59.439173593 +0100 @@ -1,8 +1,8 @@ -Index: php-7.1.1/sapi/fpm/php-fpm.service.in +Index: php-7.4.0RC6/sapi/fpm/php-fpm.service.in =================================================================== ---- php-7.1.1.orig/sapi/fpm/php-fpm.service.in 2017-02-13 16:20:23.157202901 +0100 -+++ php-7.1.1/sapi/fpm/php-fpm.service.in 2017-02-13 16:22:31.527501287 +0100 -@@ -5,13 +5,15 @@ +--- php-7.4.0RC6.orig/sapi/fpm/php-fpm.service.in 2019-11-19 11:33:35.195960137 +0100 ++++ php-7.4.0RC6/sapi/fpm/php-fpm.service.in 2019-11-19 11:35:45.588688471 +0100 +@@ -5,10 +5,10 @@ [Unit] Description=The PHP FastCGI Process Manager After=network.target @@ -13,9 +13,4 @@ -PIDFile=@EXPANDED_LOCALSTATEDIR@/run/php-fpm.pid ExecStart=@EXPANDED_SBINDIR@/php-fpm --nodaemonize --fpm-config @EXPANDED_SYSCONFDIR@/php-fpm.conf ExecReload=/bin/kill -USR2 $MAINPID -+ExecStop=/bin/kill -QUIT $MAINPID - PrivateTmp=true -+KillMode=mixed - [Install] - WantedBy=multi-user.target ++++++ php-systzdata-v18.patch -> php-systzdata-v19.patch ++++++ --- /work/SRC/openSUSE:Factory/php7/php-systzdata-v18.patch 2019-03-12 09:48:44.235594006 +0100 +++ /work/SRC/openSUSE:Factory/.php7.new.4691/php-systzdata-v19.patch 2019-12-16 15:18:57.719174310 +0100 @@ -5,6 +5,7 @@ than embedding a copy. Discussed upstream but was not desired. History: +r19: fix minor compilation issue r18: adapt for autotool change in 7.3.3RC1 r17: adapt for timelib 2018.01 (in 7.3.2RC1) r16: adapt for timelib 2017.06 (in 7.2.3RC1) @@ -265,7 +266,7 @@ + hash = tz_hash(name); + i = malloc(sizeof *i); + memcpy(i->code, code, 2); -+ strncpy(i->name, name, sizeof i->name); ++ strncpy(i->name, name, sizeof(i->name) - 1); + i->comment = strdup(comment); + i->longitude = longitude; + i->latitude = latitude; ++++++ php7.keyring ++++++ ++++ 848 lines (skipped) ++++ between php7.keyring ++++ and /work/SRC/openSUSE:Factory/.php7.new.4691/php7.keyring ++++++ php7.rpmlintrc ++++++ --- /var/tmp/diff_new_pack.FF7sSf/_old 2019-12-16 15:18:59.475173578 +0100 +++ /var/tmp/diff_new_pack.FF7sSf/_new 2019-12-16 15:18:59.479173577 +0100 @@ -4,7 +4,5 @@ addFilter("php.-embed.* shlib-policy-name-error") # PHP5 is obsolete, replaced by PHP7 addFilter("obsolete-not-provided php5-*") -# Channel files in metadata_dir -addFilter("hidden-file-or-dir /usr/share/php7/PEAR/.") # Forgot to add category? addFilter("non-standard-group Development/Libraries/PHP")