rpms/php-pear-MDB2/EL-5 php-pear-MDB2-2.4.1-lob.patch, NONE, 1.1 php-pear-MDB2.spec, 1.5, 1.6

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Wed Nov 14 00:43:14 UTC 2007


Author: xulchris

Update of /cvs/extras/rpms/php-pear-MDB2/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30723/EL-5

Modified Files:
	php-pear-MDB2.spec 
Added Files:
	php-pear-MDB2-2.4.1-lob.patch 
Log Message:
add patch for bz #379081

php-pear-MDB2-2.4.1-lob.patch:

--- NEW FILE php-pear-MDB2-2.4.1-lob.patch ---
http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2.php?r1=1.292&r2=1.293&diff_format=u
Index: pear/MDB2/MDB2.php
diff -u pear/MDB2/MDB2.php:1.292 pear/MDB2/MDB2.php:1.293
--- MDB2.php:1.292	Wed Apr 25 09:31:01 2007
+++ MDB2.php	Thu May  3 22:20:20 2007
@@ -43,7 +43,7 @@
 // | Author: Lukas Smith <smith at pooteeweet.org>                           |
 // +----------------------------------------------------------------------+
 //
-// $Id: MDB2.php,v 1.292 2007/04/25 09:31:01 quipo Exp $
+// $Id: MDB2.php,v 1.293 2007/05/03 22:20:20 davidc Exp $
 //
 
 /**
@@ -1156,6 +1156,7 @@
         'datatype_map' => array(),
         'datatype_map_callback' => array(),
         'nativetype_map_callback' => array(),
+        'lob_allow_url_include' => false,
     );
 
     /**
@@ -4268,4 +4269,4 @@
 }
 
 // }}}
-?>
\ No newline at end of file
+?>


Index: php-pear-MDB2.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pear-MDB2/EL-5/php-pear-MDB2.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- php-pear-MDB2.spec	5 May 2007 22:39:17 -0000	1.5
+++ php-pear-MDB2.spec	14 Nov 2007 00:42:40 -0000	1.6
@@ -3,13 +3,14 @@
 
 Name:           php-pear-MDB2
 Version:        2.4.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Database Abstraction Layer
 
 Group:          Development/Libraries
 License:        BSD
 URL:            http://pear.php.net/package/MDB2
 Source0:        http://pear.php.net/get/%{ClassName}-%{version}.tgz
+Patch0:         %{name}-2.4.1-lob.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -57,6 +58,12 @@
 install -d $RPM_BUILD_ROOT%{pear_xmldir}
 install -pm 644 %{ClassName}.xml $RPM_BUILD_ROOT%{pear_xmldir}
 
+# Add LOB security patch (bz #379081)
+# Must be patched manually after install
+pushd $RPM_BUILD_ROOT%{pear_phpdir}
+patch -p0 < %{PATCH0}
+popd
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -83,6 +90,9 @@
 
 
 %changelog
+* Tue Nov 13 2007 Christopher Stone <chris.stone at gmail.com> 2.4.1-2
+- Add LOB security patch (bz #379081)
+
 * Sat May 05 2007 Christopher Stone <chris.stone at gmail.com> 2.4.1-1
 - Upstream sync
 




More information about the fedora-extras-commits mailing list