SPECS: openvcp-web.spec - fixed short_open_tag crapola

baggins baggins at pld-linux.org
Mon Sep 24 15:47:47 CEST 2007


Author: baggins                      Date: Mon Sep 24 13:47:47 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed short_open_tag crapola

---- Files affected:
SPECS:
   openvcp-web.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/openvcp-web.spec
diff -u SPECS/openvcp-web.spec:1.8 SPECS/openvcp-web.spec:1.9
--- SPECS/openvcp-web.spec:1.8	Mon Sep 24 00:31:30 2007
+++ SPECS/openvcp-web.spec	Mon Sep 24 15:47:42 2007
@@ -2,7 +2,7 @@
 Summary:	VServer Control Panel Web interface
 Name:		openvcp-web
 Version:	0.3
-Release:	0.3
+Release:	0.4
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://files.openvcp.org/%{name}-%{version}.tar.gz
@@ -39,6 +39,9 @@
 %patch0 -p1
 %patch1 -p1
 
+# Replace short open tag <? with full <?php
+find -type f -print0 | xargs -0 perl -pi -e 's/<\?($|\s)/<?php\1/g'
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir},/var/cache/openvcp-web}
@@ -92,6 +95,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2007/09/24 13:47:42  baggins
+- fixed short_open_tag crapola
+
 Revision 1.8  2007/09/23 22:31:30  baggins
 - fix stupid rewrites
 - proper mod_rewrite useage for out-of-docroot rewrites
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openvcp-web.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list