SPECS (AC-branch): php4.spec - update to 4.4.8: - improved fix f...

glen glen at pld-linux.org
Thu Jan 3 14:29:13 CET 2008


Author: glen                         Date: Thu Jan  3 13:29:13 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- update to 4.4.8:
  - improved fix for MOPB-02-2007
  - resolves MOPB-03-2007, CVE-2007-3378

---- Files affected:
SPECS:
   php4.spec (1.576.2.17 -> 1.576.2.18) 

---- Diffs:

================================================================
Index: SPECS/php4.spec
diff -u SPECS/php4.spec:1.576.2.17 SPECS/php4.spec:1.576.2.18
--- SPECS/php4.spec:1.576.2.17	Mon Dec 10 13:10:30 2007
+++ SPECS/php4.spec	Thu Jan  3 14:29:07 2008
@@ -73,7 +73,7 @@
 %undefine	with_msession
 %endif
 
-%define	_rel 13
+%define	rel 0.1
 Summary:	PHP: Hypertext Preprocessor
 Summary(fr.UTF-8):	Le langage de script embarque-HTML PHP
 Summary(pl.UTF-8):	Język skryptowy PHP
@@ -81,13 +81,14 @@
 Summary(ru.UTF-8):	PHP Версии 4 - язык препроцессирования HTML-файлов, выполняемый на сервере
 Summary(uk.UTF-8):	PHP Версії 4 - мова препроцесування HTML-файлів, виконувана на сервері
 Name:		php4
-Version:	4.4.7
-Release:	%{_rel}%{?with_hardening:hardened}
+Version:	4.4.8
+Release:	%{rel}%{?with_hardening:hardened}
 Epoch:		3
 License:	PHP
 Group:		Libraries
 Source0:	http://www.php.net/distributions/php-%{version}.tar.bz2
-# Source0-md5:	3f21b44d37a57ca3876d3aea713c700d
+# Source0-md5:	ed31e77414e0331e787487b53732dbca
+#Source0:	http://cvs.php.net/viewvc.cgi/phpweb/distributions/php-%{version}.tar.bz2?revision=1.1
 Source2:	zend.gif
 Source3:	%{name}-mod_php.conf
 Source4:	%{name}-cgi-fcgi.ini
@@ -1814,7 +1815,7 @@
 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}} \
 	$RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
 	$RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
-	$RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
+	$RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/conf.d} \
 	$RPM_BUILD_ROOT%{_mandir}/man1
 
 # install the apache modules' files
@@ -1872,7 +1873,7 @@
 
 %if %{with apache2}
 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php4.conf
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php4.conf
 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
 %endif
 
@@ -1932,14 +1933,14 @@
 %define	extension_post \
 if [ "$1" = "1" ]; then \
 	[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
-	[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
+	[ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart \
 fi
 
 # macro called at extension postun scriptlet
 %define	extension_postun \
 if [ "$1" = "0" ]; then \
 	[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
-	[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
+	[ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart \
 fi
 
 %post	common -p /sbin/ldconfig
@@ -1957,7 +1958,7 @@
 
 # restart webserver at the end of transaction
 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
-[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
+[ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart
 
 %if %{with apache2}
 %triggerpostun -n apache-mod_php4 -- apache-mod_php4 < 3:4.4.0-2.16, php4 < 3:4.3.11-4.16
@@ -2593,7 +2594,7 @@
 %files -n apache-mod_php4
 %defattr(644,root,root,755)
 %doc sapi/apache2handler/{CREDITS,README}
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php4.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php4.conf
 %dir %{_sysconfdir}/apache2handler.d
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
 %attr(755,root,root) %{_libdir}/apache/libphp4.so
@@ -3135,6 +3136,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.576.2.18  2008-01-03 13:29:07  glen
+- update to 4.4.8:
+  - improved fix for MOPB-02-2007
+  - resolves MOPB-03-2007, CVE-2007-3378
+
 Revision 1.576.2.17  2007-12-10 12:10:30  hawk
 - release 13 (imap 2006k)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php4.spec?r1=1.576.2.17&r2=1.576.2.18&f=u



More information about the pld-cvs-commit mailing list