public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: drop "Configure Command" from phpinfo output
Date: Fri, 27 Nov 2026 07:25:39 GMT	[thread overview]
Message-ID: <179576433999.1.17243376688529082232.rpms-php-a03d00ffc4af@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : a03d00ffc4afc15999572c648bb7efb377727d3c
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2012-12-11T11:46:50+01:00
Stats  : +34/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/a03d00ffc4afc15999572c648bb7efb377727d3c?branch=private-php86

Log:
drop "Configure Command" from phpinfo output

---
diff --git a/php-5.4.9-phpinfo.patch b/php-5.4.9-phpinfo.patch
new file mode 100644
index 0000000..b52a2f8
--- /dev/null
+++ b/php-5.4.9-phpinfo.patch
@@ -0,0 +1,27 @@
+
+Drop "Configure Command" from phpinfo as it doesn't
+provide any useful information.
+The available extensions are not related to this command.
+
+--- php-5.4.9/ext/standard/info.c.orig	2012-12-11 10:43:02.450578276 +0100
++++ php-5.4.9/ext/standard/info.c	2012-12-11 10:44:12.530820821 +0100
+@@ -704,9 +704,6 @@
+ #ifdef ARCHITECTURE
+ 		php_info_print_table_row(2, "Architecture", ARCHITECTURE);
+ #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 );
+--- php-5.4.9/ext/standard/tests/general_functions/phpinfo.phpt.orig	2012-12-11 11:07:26.959156091 +0100
++++ php-5.4.9/ext/standard/tests/general_functions/phpinfo.phpt	2012-12-11 11:07:30.899170970 +0100
+@@ -20,7 +20,6 @@
+ 
+ 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 --git a/php.spec b/php.spec
index 31b3fe9..c9c74fa 100644
--- a/php.spec
+++ b/php.spec
@@ -58,7 +58,7 @@
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
 Version: 5.4.9
-Release: 2%{?dist}
+Release: 3%{?dist}
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
 # TSRM is licensed under BSD
@@ -107,6 +107,8 @@ Patch44: php-5.4.5-system-libzip.patch
 Patch45: php-5.4.8-ldap_r.patch
 # Make php_config.h constant across builds
 Patch46: php-5.4.9-fixheader.patch
+# drop "Configure command" from phpinfo output
+Patch47: php-5.4.9-phpinfo.patch
 
 
 # Fixes for tests
@@ -680,6 +682,7 @@ support for using the enchant library to PHP.
 %patch45 -p1 -b .ldap_r
 %endif
 %patch46 -p1 -b .fixheader
+%patch47 -p1 -b .phpinfo
 
 # Prevent %%doc confusion over LICENSE files
 cp Zend/LICENSE Zend/ZEND_LICENSE
@@ -1412,6 +1415,9 @@ fi
 
 
 %changelog
+* Tue Dec 11 2012 Remi Collet <rcollet@redhat.com> 5.4.9-3
+- drop "Configure Command" from phpinfo output
+
 * Tue Dec 11 2012 Joe Orton <jorton@redhat.com> - 5.4.9-2
 - prevent php_config.h changes across (otherwise identical) rebuilds
 

                 reply	other threads:[~2026-11-27  7:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576433999.1.17243376688529082232.rpms-php-a03d00ffc4af@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox