public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: * Fri May 4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2
@ 2026-11-27 7:23 jorton
0 siblings, 0 replies; only message in thread
From: jorton @ 2026-11-27 7:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 2d398717f8cf36c28857bc42d7b10f1e1f782f00
Author : jorton <jorton@fedoraproject.org>
Date : 2007-05-04T10:08:53+00:00
Stats : +57/-50 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/2d398717f8cf36c28857bc42d7b10f1e1f782f00?branch=private-php86
Log:
* Fri May 4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2
- update to 5.2.2
- synch changes from upstream recommended php.ini
---
diff --git a/php-5.0.4-tests-dashn.patch b/php-5.0.4-tests-dashn.patch
index 6ff2e80..5378863 100644
--- a/php-5.0.4-tests-dashn.patch
+++ b/php-5.0.4-tests-dashn.patch
@@ -6,30 +6,22 @@ and hence the installed (old) shared extensions are not loaded.
- passed to run-tests.php to ensure it's passed when running each test case
- in cases where the PHP executable is run by a test case
---- php-5.2.0/Makefile.global.tests-dashn
-+++ php-5.2.0/Makefile.global
-@@ -79,7 +79,7 @@
- TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
- TEST_PHP_SRCDIR=$(top_srcdir) \
- CC="$(CC)" \
-- $(top_builddir)/$(SAPI_CLI_PATH) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php $(TESTS); \
-+ $(top_builddir)/$(SAPI_CLI_PATH) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php -n $(TESTS); \
- else \
- echo "ERROR: Cannot run tests without CLI sapi."; \
- fi
---- php-5.2.0/ext/standard/tests/file/bug26938.phpt.tests-dashn
-+++ php-5.2.0/ext/standard/tests/file/bug26938.phpt
-@@ -5,7 +5,7 @@
+--- php-5.2.2/ext/standard/tests/file/bug26615.phpt.tests-dashn
++++ php-5.2.2/ext/standard/tests/file/bug26615.phpt
+@@ -7,9 +7,9 @@
$out = array();
$status = -1;
- $php = getenv('TEST_PHP_EXECUTABLE');
--exec($php . ' -r \''
-+exec($php . ' -n -r \''
- . '$lengths = array(10,20000,10000,5,10000,3);'
- . 'foreach($lengths as $length) {'
- . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);'
---- php-5.2.0/ext/standard/tests/file/proc_open01.phpt.tests-dashn
-+++ php-5.2.0/ext/standard/tests/file/proc_open01.phpt
+ if (substr(PHP_OS, 0, 3) != 'WIN') {
+- exec($_ENV['TEST_PHP_EXECUTABLE'].' -r \'for($i=1;$i<=5000;$i++) print "$i\n";\' | tr \'\n\' \' \'', $out, $status);
++ exec($_ENV['TEST_PHP_EXECUTABLE'].' -n -r \'for($i=1;$i<=5000;$i++) print "$i\n";\' | tr \'\n\' \' \'', $out, $status);
+ } else {
+- exec($_ENV['TEST_PHP_EXECUTABLE'].' -r "for($i=1;$i<=5000;$i++) echo $i,\' \';"', $out, $status);
++ exec($_ENV['TEST_PHP_EXECUTABLE'].' -n -r "for($i=1;$i<=5000;$i++) echo $i,\' \';"', $out, $status);
+ }
+ print_r($out);
+ ?>
+--- php-5.2.2/ext/standard/tests/file/proc_open01.phpt.tests-dashn
++++ php-5.2.2/ext/standard/tests/file/proc_open01.phpt
@@ -9,7 +9,7 @@
die("no php executable defined");
}
@@ -39,14 +31,33 @@ and hence the installed (old) shared extensions are not loaded.
array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')),
$pipes
);
---- php-5.2.0/ext/standard/tests/file/bug26615.phpt.tests-dashn
-+++ php-5.2.0/ext/standard/tests/file/bug26615.phpt
-@@ -6,7 +6,7 @@
- <?php
- $out = array();
+--- php-5.2.2/ext/standard/tests/file/bug26938.phpt.tests-dashn
++++ php-5.2.2/ext/standard/tests/file/bug26938.phpt
+@@ -6,14 +6,14 @@
$status = -1;
--exec($_ENV['TEST_PHP_EXECUTABLE'].' -r \'for($i=1;$i<=5000;$i++) print "$i\n";\' | tr \'\n\' \' \'', $out, $status);
-+exec($_ENV['TEST_PHP_EXECUTABLE'].' -n -r \'for($i=1;$i<=5000;$i++) print "$i\n";\' | tr \'\n\' \' \'', $out, $status);
- print_r($out);
- ?>
- --EXPECT--
+ $php = getenv('TEST_PHP_EXECUTABLE');
+ if (substr(PHP_OS, 0, 3) != 'WIN') {
+- exec($php . ' -r \''
++ exec($php . ' -n -r \''
+ . '$lengths = array(10,20000,10000,5,10000,3);'
+ . 'foreach($lengths as $length) {'
+ . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);'
+ . ' print "\n";'
+ . '}\'', $out, $status);
+ } else {
+- exec($php . ' -r "'
++ exec($php . ' -n -r "'
+ . '$lengths = array(10,20000,10000,5,10000,3);'
+ . 'foreach($lengths as $length) {'
+ . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);'
+--- php-5.2.2/Makefile.global.tests-dashn
++++ php-5.2.2/Makefile.global
+@@ -79,7 +79,7 @@
+ TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
+ TEST_PHP_SRCDIR=$(top_srcdir) \
+ CC="$(CC)" \
+- $(top_builddir)/$(SAPI_CLI_PATH) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php $(TESTS); \
++ $(top_builddir)/$(SAPI_CLI_PATH) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php -n $(TESTS); \
+ else \
+ echo "ERROR: Cannot run tests without CLI sapi."; \
+ fi
diff --git a/php-5.2.1-strreplace.patch b/php-5.2.1-strreplace.patch
deleted file mode 100644
index a0dc607..0000000
--- a/php-5.2.1-strreplace.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- php-5.2.1/ext/standard/string.c.strreplace
-+++ php-5.2.1/ext/standard/string.c
-@@ -3148,7 +3148,7 @@
- }
-
- Z_STRLEN_P(result) = len + (char_count * (to_len - 1));
-- Z_STRVAL_P(result) = target = safe_emalloc(char_count, to_len, len);
-+ Z_STRVAL_P(result) = target = safe_emalloc(char_count, to_len, len + 1);
- Z_TYPE_P(result) = IS_STRING;
-
- if (case_sensitivity) {
diff --git a/php.ini b/php.ini
index 4d5dddc..e5e1fa5 100644
--- a/php.ini
+++ b/php.ini
@@ -655,9 +655,15 @@ default_socket_timeout = 60
;xmlrpc_errors = 0
[Pcre]
-;pcre.recursion_limit=100000
+;PCRE library backtracking limit.
;pcre.backtrack_limit=100000
+;PCRE library recursion limit.
+;Please note that if you set this value to a high number you may consume all
+;the available process stack and eventually crash PHP (due to reaching the
+;stack size limit imposed by the Operating System).
+;pcre.recursion_limit=100000
+
[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
diff --git a/php.spec b/php.spec
index 5a9b827..15977a7 100644
--- a/php.spec
+++ b/php.spec
@@ -5,8 +5,8 @@
Summary: The PHP HTML-embedded scripting language
Name: php
-Version: 5.2.1
-Release: 5
+Version: 5.2.2
+Release: 2
License: The PHP License v3.01
Group: Development/Languages
URL: http://www.php.net/
@@ -21,7 +21,6 @@ Patch2: php-4.3.3-install.patch
Patch3: php-5.0.4-norpath.patch
Patch5: php-5.0.2-phpize64.patch
Patch8: php-5.2.0-includedir.patch
-Patch9: php-5.2.1-strreplace.patch
# Fixes for extension modules
Patch21: php-4.3.1-odbc.patch
@@ -296,7 +295,6 @@ support for using the DBA database abstraction layer to PHP.
%patch3 -p1 -b .norpath
%patch5 -p1 -b .phpize64
%patch8 -p1 -b .includedir
-%patch9 -p1 -b .strreplace
%patch21 -p1 -b .odbc
%patch22 -p1 -b .shutdown
@@ -633,6 +631,10 @@ rm files.* macros.php
%files pdo -f files.pdo
%changelog
+* Fri May 4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2
+- update to 5.2.2
+- synch changes from upstream recommended php.ini
+
* Thu Mar 29 2007 Joe Orton <jorton@redhat.com> 5.2.1-5
- enable SASL support in LDAP extension (#205772)
diff --git a/sources b/sources
index 7f8572e..f67ea63 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-52d7e8b3d8d7573e75c97340f131f988 php-5.2.0.tar.gz
-604eaee2b834bb037d2c83e53e300d3f php-5.2.1.tar.gz
+7a920d0096900b2b962b21dc5c55fe3c php-5.2.2.tar.gz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:23 [rpms/php] private-php86: * Fri May 4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2 jorton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox