[Pkg-nagios-changes] [SCM] Debian packaging for Nagios3 branch, master, updated. debian/3.2.3-3-28-g663305f

Alexander Wirt formorer at debian.org
Sat Jun 30 08:52:18 UTC 2012


The following commit has been merged in the master branch:
commit 265c38d36a90f6963ea96f5bffca883ce0a8d787
Author: Alexander Wirt <formorer at debian.org>
Date:   Sat Jun 30 10:42:29 2012 +0200

    Don't call the updatecheck on debian

diff --git a/debian/patches/99_remove_update-check.dpatch b/debian/patches/99_remove_update-check.dpatch
new file mode 100755
index 0000000..4590749
--- /dev/null
+++ b/debian/patches/99_remove_update-check.dpatch
@@ -0,0 +1,49 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 99_remove_update-check.dpatch by Alexander Wirt <formorer at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-nagios3~/html/main.php pkg-nagios3/html/main.php
+--- pkg-nagios3~/html/main.php	2012-06-15 10:34:02.000000000 +0200
++++ pkg-nagios3/html/main.php	2012-06-30 09:01:35.743092838 +0200
+@@ -40,38 +40,9 @@
+ <div class="product">Nagios<sup><span style="font-size: small;">®</span></sup> Core<sup><span style="font-size: small;">™</span></sup></div>
+ <div class="version">Version 3.4.1</div>
+ <div class="releasedate">May 11, 2012</div>
+-<div class="checkforupdates"><a href="http://www.nagios.org/checkforupdates/?version=3.4.1&product=nagioscore" target="_blank">Check for updates</a></div>
+ <!--<div class="whatsnew"><a href="http://go.nagios.com/nagioscore/whatsnew">Read what's new in Nagios Core 3</a></div>-->
+ </div>
+ 
+-
+-<div id="updateversioninfo">
+-<?php
+-	$updateinfo=get_update_information();
+-	//print_r($updateinfo);
+-	//$updateinfo['update_checks_enabled']=false;
+-	//$updateinfo['update_available']=true;
+-	if($updateinfo['update_checks_enabled']==false){
+-?>
+-		<div class="updatechecksdisabled">
+-		<div class="warningmessage">Warning: Automatic Update Checks are Disabled!</div>
+-		<div class="submessage">Disabling update checks presents a possible security risk.  Visit <a href="http://www.nagios.org/" target="_blank">nagios.org</a> to check for updates manually or enable update checks in your Nagios config file.</a></div>
+-		</div>
+-<?php
+-		}
+-	else if($updateinfo['update_available']==true && $this_version!=$updateinfo['update_version']){
+-?>
+-		<div class="updateavailable">
+-		<div class="updatemessage">A new version of Nagios Core is available!</div>
+-		<div class="submessage">Visit <a href="http://www.nagios.org/download/" target="_blank">nagios.org</a> to download Nagios <?php echo $updateinfo['update_version'];?>.</div>
+-		</div>
+-<?php
+-		}
+-?>
+-</div>
+-
+-
+-
+ <div id="splashboxes">
+ 	<div id='topsplashbox'>
+ 		<div id="splashbox1" class="splashbox">	

-- 
Debian packaging for Nagios3



More information about the Pkg-nagios-changes mailing list