packages: php/php.spec, php/php-bug-48880.patch (NEW) - add patch for bug #...

zergin zergin at pld-linux.org
Tue Aug 18 19:40:28 CEST 2009


Author: zergin                       Date: Tue Aug 18 17:40:28 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add patch for bug #48880 random errors with open_basedir(); will be fixed 
  in 5.3.1
- rel up .3 -> .4

---- Files affected:
packages/php:
   php.spec (1.812 -> 1.813) , php-bug-48880.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php/php.spec
diff -u packages/php/php.spec:1.812 packages/php/php.spec:1.813
--- packages/php/php.spec:1.812	Tue Aug 18 12:46:23 2009
+++ packages/php/php.spec	Tue Aug 18 19:40:23 2009
@@ -77,7 +77,7 @@
 ERROR: You need to select at least one Apache SAPI to build shared modules.
 %endif
 
-%define		rel		0.3
+%define		rel		0.4
 Summary:	PHP: Hypertext Preprocessor
 Summary(fr.UTF-8):	Le langage de script embarque-HTML PHP
 Summary(pl.UTF-8):	Język skryptowy PHP
@@ -125,6 +125,7 @@
 Patch32:	%{name}-m4-divert.patch
 Patch38:	%{name}-tds.patch
 Patch43:	%{name}-use-prog_sendmail.patch
+Patch44:	%{name}-bug-48880.patch
 %if %{with type_hints}
 Patch50:	http://ilia.ws/patch/type_hint_53_v2.txt
 %endif
@@ -1589,6 +1590,8 @@
 %patch50 -p0
 %endif
 
+%patch44 -p1
+
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -2725,6 +2728,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.813  2009/08/18 17:40:23  zergin
+- add patch for bug #48880 random errors with open_basedir(); will be fixed
+  in 5.3.1
+- rel up .3 -> .4
+
 Revision 1.812  2009/08/18 10:46:23  arekm
 - autoconf 2.64 buildfix
 

================================================================
Index: packages/php/php-bug-48880.patch
diff -u /dev/null packages/php/php-bug-48880.patch:1.1
--- /dev/null	Tue Aug 18 19:40:28 2009
+++ packages/php/php-bug-48880.patch	Tue Aug 18 19:40:23 2009
@@ -0,0 +1,12 @@
+diff -urN php-5.3.0/main/fopen_wrappers.c mod/main/fopen_wrappers.c
+--- php-5.3.0/main/fopen_wrappers.c	2009-06-18 08:38:30.000000000 +0200
++++ mod/main/fopen_wrappers.c	2009-08-18 18:56:55.647272948 +0200
+@@ -93,7 +93,7 @@
+ 
+ 	p = (char **) (base + (size_t) mh_arg1);
+ 
+-	if (stage == PHP_INI_STAGE_STARTUP || stage == PHP_INI_STAGE_SHUTDOWN) {
++	if (stage == PHP_INI_STAGE_STARTUP || stage == PHP_INI_STAGE_SHUTDOWN || stage == PHP_INI_STAGE_ACTIVATE || stage == PHP_INI_STAGE_DEACTIVATE) {
+ 		/* We're in a PHP_INI_SYSTEM context, no restrictions */
+ 		*p = new_value;
+ 		return SUCCESS;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php.spec?r1=1.812&r2=1.813&f=u



More information about the pld-cvs-commit mailing list