[Pkg-nagios-changes] [pkg-nagios] r1970 - in nagvis/trunk/debian: . patches

Alexander Reichle-Schmehl tolimar at alioth.debian.org
Mon Sep 26 13:41:48 UTC 2011


Author: tolimar
Date: 2011-09-26 13:41:48 +0000 (Mon, 26 Sep 2011)
New Revision: 1970

Removed:
   nagvis/trunk/debian/patches/fix-get_class-object.dpatch
Modified:
   nagvis/trunk/debian/changelog
   nagvis/trunk/debian/patches/00list
Log:
Remove unneeded patch



Modified: nagvis/trunk/debian/changelog
===================================================================
--- nagvis/trunk/debian/changelog	2011-09-26 13:39:11 UTC (rev 1969)
+++ nagvis/trunk/debian/changelog	2011-09-26 13:41:48 UTC (rev 1970)
@@ -5,9 +5,10 @@
   * Change Package dependencies:  Drop all ndo and mysql related stuff, we want to use mk livestatus
   * Update debian/copyright
   * Rework post{inst,rm} to not configure database
-  * patches/php5.3-deprecated-ereg.dpatch: removed; applied upstream
+  * removed patches/php5.3-deprecated-ereg.dpatch; applied upstream
+  * removed patches/fix-get_class-object.dpatch; no longer needed.
 
- -- Alexander Reichle-Schmehl <tolimar at debian.org>  Mon, 26 Sep 2011 15:38:30 +0200
+ -- Alexander Reichle-Schmehl <tolimar at debian.org>  Mon, 26 Sep 2011 15:41:04 +0200
 
 nagvis (1:1.4.6-2) unstable; urgency=medium
 

Modified: nagvis/trunk/debian/patches/00list
===================================================================
--- nagvis/trunk/debian/patches/00list	2011-09-26 13:39:11 UTC (rev 1969)
+++ nagvis/trunk/debian/patches/00list	2011-09-26 13:41:48 UTC (rev 1970)
@@ -1,3 +1,2 @@
 config
-visibility_magic-set-method
 fix-get_class-object

Deleted: nagvis/trunk/debian/patches/fix-get_class-object.dpatch
===================================================================
--- nagvis/trunk/debian/patches/fix-get_class-object.dpatch	2011-09-26 13:39:11 UTC (rev 1969)
+++ nagvis/trunk/debian/patches/fix-get_class-object.dpatch	2011-09-26 13:41:48 UTC (rev 1970)
@@ -1,49 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## fix-get_class-object.dpatch by Hendrik Frenzel <hfrenzel at scunc.net>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: add is_object() to check for object before use get_class()
-
- at DPATCH@
-diff -urNad nagvis-1.4.6~/nagvis/includes/classes/GlobalHeaderMenu.php nagvis-1.4.6/nagvis/includes/classes/GlobalHeaderMenu.php
---- nagvis-1.4.6~/nagvis/includes/classes/GlobalHeaderMenu.php	2010-02-04 21:51:13.000000000 +0100
-+++ nagvis-1.4.6/nagvis/includes/classes/GlobalHeaderMenu.php	2010-03-05 11:52:13.000000000 +0100
-@@ -84,7 +84,7 @@
- 	 */
- 	public function replaceDynamicMacros() {
- 		// Replace some special macros
--		if($this->OBJPAGE !== null && get_class($this->OBJPAGE) == 'NagVisMapCfg') {
-+		if($this->OBJPAGE !== null && (is_object($this->OBJPAGE) && get_class($this->OBJPAGE) == 'NagVisMapCfg')) {
- 			$arrKeys[] = '[current_map]';
- 			$arrKeys[] = '[current_map_alias]';
- 			$arrVals[] = $this->OBJPAGE->getName();
-@@ -122,7 +122,7 @@
- 								}
- 								
- 								// auto select current map
--								if(get_class($this->OBJPAGE) == 'NagVisMapCfg' && ($mapName == $this->OBJPAGE->getName() || $mapName == '__automap' && isset($_GET['automap']))) {
-+								if((is_object($this->OBJPAGE) && get_class($this->OBJPAGE) == 'NagVisMapCfg') && ($mapName == $this->OBJPAGE->getName() || $mapName == '__automap' && isset($_GET['automap']))) {
- 									$sReplaceObj = str_replace('[selected]','selected="selected"',$sReplaceObj);
- 								} else {
- 									$sReplaceObj = str_replace('[selected]','',$sReplaceObj);
-@@ -138,7 +138,7 @@
- 		}
- 		
- 		// Select overview in header menu when no map shown
--		if(get_class($this->OBJPAGE) != 'NagVisMapCfg') {
-+		if((is_object($this->OBJPAGE) && get_class($this->OBJPAGE) != 'NagVisMapCfg')) {
- 			$this->code = str_replace('[selected]','selected="selected"', $this->code);
- 		}
- 		
-diff -urNad nagvis-1.4.6~/nagvis/includes/classes/NagVisFrontend.php nagvis-1.4.6/nagvis/includes/classes/NagVisFrontend.php
---- nagvis-1.4.6~/nagvis/includes/classes/NagVisFrontend.php	2010-02-04 21:51:13.000000000 +0100
-+++ nagvis-1.4.6/nagvis/includes/classes/NagVisFrontend.php	2010-03-05 11:44:49.000000000 +0100
-@@ -86,7 +86,7 @@
- 		$prop['languageRoot'] = 'nagvis';
- 		
- 		// Only do this, when a map needs to be displayed
--		if($this->MAPCFG !== null && get_class($this->MAPCFG) != '') {
-+		if($this->MAPCFG !== null && (is_object($this->MAPCFG) && get_class($this->MAPCFG) != '')) {
- 			$prop['allowedUsers'] = $this->MAPCFG->getValue('global',0, 'allowed_user');
- 		}
- 		




More information about the Pkg-nagios-changes mailing list