packages: php4/php4.spec, php4/php4-silent-session-cleanup.patch (NEW) - do...

arekm arekm at pld-linux.org
Fri Aug 7 09:35:15 CEST 2009


Author: arekm                        Date: Fri Aug  7 07:35:15 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't warn about problems with opening /var/run/php since in our setup php won't be able to open it (tmpwatch does session celaning)

---- Files affected:
packages/php4:
   php4.spec (1.641 -> 1.642) , php4-silent-session-cleanup.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php4/php4.spec
diff -u packages/php4/php4.spec:1.641 packages/php4/php4.spec:1.642
--- packages/php4/php4.spec:1.641	Sat Jul 11 21:56:01 2009
+++ packages/php4/php4.spec	Fri Aug  7 09:35:10 2009
@@ -146,6 +146,7 @@
 Patch50:	%{name}-mime_magic.patch
 Patch51:	%{name}-tds.patch
 Patch52:	%{name}-lib64.patch
+Patch53:	%{name}-silent-session-cleanup.patch
 URL:		http://www.php.net/
 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:	Firebird-devel >= 1.0.2.908-2}}
 %{?with_pspell:BuildRequires:	aspell-devel >= 2:0.50.0}
@@ -1617,6 +1618,7 @@
 %if "%{_lib}" == "lib64"
 %patch52 -p1
 %endif
+%patch53 -p1
 
 %if %{with hardening}
 zcat %{SOURCE8} | patch -p1
@@ -3164,6 +3166,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.642  2009/08/07 07:35:10  arekm
+- don't warn about problems with opening /var/run/php since in our setup php won't be able to open it (tmpwatch does session celaning)
+
 Revision 1.641  2009/07/11 19:56:01  arekm
 - release 15
 

================================================================
Index: packages/php4/php4-silent-session-cleanup.patch
diff -u /dev/null packages/php4/php4-silent-session-cleanup.patch:1.1
--- /dev/null	Fri Aug  7 09:35:15 2009
+++ packages/php4/php4-silent-session-cleanup.patch	Fri Aug  7 09:35:10 2009
@@ -0,0 +1,10 @@
+--- php-4.4.9/ext/session/mod_files.c~	2007-12-31 08:22:51.000000000 +0100
++++ php-4.4.9/ext/session/mod_files.c	2009-08-07 09:33:31.242380636 +0200
+@@ -189,7 +189,6 @@
+ 
+ 	dir = opendir(dirname);
+ 	if (!dir) {
+-		php_error_docref(NULL TSRMLS_CC, E_NOTICE, "ps_files_cleanup_dir: opendir(%s) failed: %s (%d)\n", dirname, strerror(errno), errno);
+ 		return (0);
+ 	}
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php4/php4.spec?r1=1.641&r2=1.642&f=u



More information about the pld-cvs-commit mailing list