From 768f5f242282f27ccb865b6366ebb155de96cde4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Oct 2024 08:25:50 +0200 Subject: update to 8.2.25RC1 --- failed.txt | 2 +- php-8.1.0-phpinfo.patch | 44 -------------------------------------------- php-8.2.25-phpinfo.patch | 44 ++++++++++++++++++++++++++++++++++++++++++++ php82.spec | 9 ++++++--- 4 files changed, 51 insertions(+), 48 deletions(-) delete mode 100644 php-8.1.0-phpinfo.patch create mode 100644 php-8.2.25-phpinfo.patch diff --git a/failed.txt b/failed.txt index 4dee2ad..5976ece 100644 --- a/failed.txt +++ b/failed.txt @@ -1,4 +1,4 @@ -===== 8.2.24 (2024-09-26) +===== 8.2.25RC1 (2024-10-10) $ grep -ar 'Tests failed' /var/lib/mock/*/build.log diff --git a/php-8.1.0-phpinfo.patch b/php-8.1.0-phpinfo.patch deleted file mode 100644 index d19b2f4..0000000 --- a/php-8.1.0-phpinfo.patch +++ /dev/null @@ -1,44 +0,0 @@ - -Drop "Configure Command" from phpinfo as it doesn't -provide any useful information. -The available extensions are not related to this command. - -Replace full GCC name by gcc in php -v output - - -diff -up ./ext/standard/info.c.phpinfo ./ext/standard/info.c ---- ./ext/standard/info.c.phpinfo 2020-07-21 10:49:31.000000000 +0200 -+++ ./ext/standard/info.c 2020-07-21 11:41:56.295633523 +0200 -@@ -805,9 +805,6 @@ PHPAPI ZEND_COLD void php_print_info(int - #ifdef PHP_BUILD_ARCH - php_info_print_table_row(2, "Architecture", PHP_BUILD_ARCH); - #endif --#ifdef CONFIGURE_COMMAND -- php_info_print_table_row(2, "Configure Command", CONFIGURE_COMMAND ); --#endif - - if (sapi_module.pretty_name) { - php_info_print_table_row(2, "Server API", sapi_module.pretty_name ); -diff -up ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo ./ext/standard/tests/general_functions/phpinfo.phpt ---- ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo 2020-07-21 10:49:31.000000000 +0200 -+++ ./ext/standard/tests/general_functions/phpinfo.phpt 2020-07-21 11:41:56.296633522 +0200 -@@ -17,7 +17,6 @@ PHP Version => %s - - System => %s - Build Date => %s%a --Configure Command => %s - Server API => Command Line Interface - Virtual Directory Support => %s - Configuration File (php.ini) Path => %s -diff -up ./sapi/cli/php_cli.c.phpinfo ./sapi/cli/php_cli.c ---- ./sapi/cli/php_cli.c.phpinfo 2020-07-21 11:43:38.812475300 +0200 -+++ ./sapi/cli/php_cli.c 2020-07-21 11:43:45.783464540 +0200 -@@ -645,7 +645,7 @@ static int do_cli(int argc, char **argv) - "NTS" - #endif - #ifdef PHP_BUILD_COMPILER -- " " PHP_BUILD_COMPILER -+ " gcc" - #endif - #ifdef PHP_BUILD_ARCH - " " PHP_BUILD_ARCH diff --git a/php-8.2.25-phpinfo.patch b/php-8.2.25-phpinfo.patch new file mode 100644 index 0000000..580daa1 --- /dev/null +++ b/php-8.2.25-phpinfo.patch @@ -0,0 +1,44 @@ + +Drop "Configure Command" from phpinfo as it doesn't +provide any useful information. +The available extensions are not related to this command. + +Replace full GCC name by gcc in php -v output + + +diff -up ./ext/standard/info.c.phpinfo ./ext/standard/info.c +--- ./ext/standard/info.c.phpinfo 2020-07-21 10:49:31.000000000 +0200 ++++ ./ext/standard/info.c 2020-07-21 11:41:56.295633523 +0200 +@@ -834,9 +834,6 @@ PHPAPI ZEND_COLD void php_print_info(int + #ifdef PHP_BUILD_ARCH + php_info_print_table_row(2, "Architecture", PHP_BUILD_ARCH); + #endif +-#ifdef CONFIGURE_COMMAND +- php_info_print_table_row(2, "Configure Command", CONFIGURE_COMMAND ); +-#endif + + if (sapi_module.pretty_name) { + php_info_print_table_row(2, "Server API", sapi_module.pretty_name ); +diff -up ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo ./ext/standard/tests/general_functions/phpinfo.phpt +--- ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo 2020-07-21 10:49:31.000000000 +0200 ++++ ./ext/standard/tests/general_functions/phpinfo.phpt 2020-07-21 11:41:56.296633522 +0200 +@@ -17,7 +17,6 @@ PHP Version => %s + + System => %s + Build Date => %r(.+?)%r +-Configure Command => %s + Server API => Command Line Interface + Virtual Directory Support => %s + Configuration File (php.ini) Path => %s +diff -up ./sapi/cli/php_cli.c.phpinfo ./sapi/cli/php_cli.c +--- ./sapi/cli/php_cli.c.phpinfo 2020-07-21 11:43:38.812475300 +0200 ++++ ./sapi/cli/php_cli.c 2020-07-21 11:43:45.783464540 +0200 +@@ -644,7 +644,7 @@ static int do_cli(int argc, char **argv) + "NTS" + #endif + #ifdef PHP_BUILD_COMPILER +- " " PHP_BUILD_COMPILER ++ " gcc" + #endif + #ifdef PHP_BUILD_ARCH + " " PHP_BUILD_ARCH diff --git a/php82.spec b/php82.spec index 65ec1d7..d5745c0 100644 --- a/php82.spec +++ b/php82.spec @@ -122,8 +122,8 @@ %bcond_without libgd %bcond_with zip -%global upver 8.2.24 -#global rcver RC1 +%global upver 8.2.25 +%global rcver RC1 Summary: PHP scripting language for creating dynamic web sites Name: php @@ -183,7 +183,7 @@ Patch45: php-7.4.0-ldap_r.patch Patch46: php-8.0.7-argon2.patch # drop "Configure command" from phpinfo output # and only use gcc (instead of full version) -Patch47: php-8.1.0-phpinfo.patch +Patch47: php-8.2.25-phpinfo.patch # RC Patch Patch91: php-7.2.0-oci8conf.patch @@ -2205,6 +2205,9 @@ fi %changelog +* Wed Oct 9 2024 Remi Collet - 8.2.25~RC1-1 +- update to 8.2.25RC1 + * Wed Sep 25 2024 Remi Collet - 8.2.24-1 - Update to 8.2.24 - http://www.php.net/releases/8_2_24.php -- cgit