rpms/glpi/EL-5 glpi-check.patch,NONE,1.1 glpi.spec,1.8,1.9

Remi Collet remi at fedoraproject.org
Mon Sep 15 18:18:09 UTC 2008


Author: remi

Update of /cvs/extras/rpms/glpi/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24299

Modified Files:
	glpi.spec 
Added Files:
	glpi-check.patch 
Log Message:
missing patch

glpi-check.patch:

--- NEW FILE glpi-check.patch ---
--- inc/common.function.php.orig	2008-08-09 14:14:22.000000000 +0200
+++ inc/common.function.php	2008-08-09 14:21:16.000000000 +0200
@@ -601,8 +601,7 @@
 		GLPI_CONFIG_DIR => $LANG["install"][23],
 		GLPI_SESSION_DIR => $LANG["install"][50],
 		GLPI_CRON_DIR => $LANG["install"][52],
-		GLPI_CACHE_DIR => $LANG["install"][99],
-		GLPI_LOG_DIR => $LANG["install"][53]
+		GLPI_CACHE_DIR => $LANG["install"][99]
 	);
 	$error=0;	
 	foreach ($dir_to_check as $dir => $message){
@@ -633,6 +632,13 @@
 				break;
 		}
 	}
+	echo "<tr class='tab_bg_1'><td><strong>".$LANG["install"][53]."</strong></td>";
+	if (error_log("Test\n", 3, GLPI_LOG_DIR."/php-errors.log")) {
+		echo "<td>".$LANG["install"][20]."</td></tr>";
+	} else {
+		echo "<td><p class='red'>".$LANG["install"][19]."</p> ".$LANG["install"][97]."'".GLPI_LOG_DIR."'. ".$LANG["install"][98]."</td></tr>";
+		$error=1;
+	}
 	return $error;
 }
 


Index: glpi.spec
===================================================================
RCS file: /cvs/extras/rpms/glpi/EL-5/glpi.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- glpi.spec	15 Sep 2008 18:12:46 -0000	1.8
+++ glpi.spec	15 Sep 2008 18:17:39 -0000	1.9
@@ -6,7 +6,7 @@
 
 Name:           glpi
 Version:        0.71.2
-Release:        1%{?dist}
+Release:        1%{?dist}.1
 Summary:        Free IT asset management software
 Summary(fr):    Gestion Libre de Parc Informatique
 
@@ -228,6 +228,9 @@
 
 
 %changelog
+* Mon Sep 15 2008 Remi Collet <Fedora at FamilleCollet.com> - 0.71.2-1.el5.1
+- missing patch
+
 * Mon Sep 15 2008 Remi Collet <Fedora at FamilleCollet.com> - 0.71.2-1
 - update to 0.71.1 bugfix
 




More information about the fedora-extras-commits mailing list