]> git.pld-linux.org Git - packages/nagios.git/commitdiff
- up to 4.0.8; untested auto/th/nagios-4.0.8-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 13 Dec 2014 20:51:51 +0000 (21:51 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 13 Dec 2014 20:51:51 +0000 (21:51 +0100)
config.patch
do-not-fetch-rss.patch
nagios-cgi-http_charset.patch
nagios.spec
system-jquery.patch

index 779cac369adc8bd0ddce439d943d154a45aaf7d0..47a8b0dee0732fe9639ce1c182ec64e5de9ca014 100644 (file)
@@ -13,11 +13,19 @@ diff -ur nagios.org/html/config.inc.php.in nagios/html/config.inc.php.in
 diff -ur nagios.org/Makefile.in nagios/Makefile.in
 --- nagios.org/Makefile.in     2013-09-20 21:01:20.000000000 +0200
 +++ nagios/Makefile.in 2013-10-01 21:51:45.176497587 +0200
-@@ -241,7 +241,7 @@
+@@ -234,14 +234,14 @@ install:
        cd $(SRC_BASE) && $(MAKE) $@
        cd $(SRC_CGI) && $(MAKE) $@
        cd $(SRC_HTM) && $(MAKE) $@
--      $(MAKE) install-exfoliation     
+-      $(MAKE) install-exfoliation
++      $(MAKE) install-classicui
+       $(MAKE) install-basic
+ install-unstripped:
+       cd $(SRC_BASE) && $(MAKE) $@
+       cd $(SRC_CGI) && $(MAKE) $@
+       cd $(SRC_HTM) && $(MAKE) $@
+-      $(MAKE) install-exfoliation
 +      $(MAKE) install-classicui
        $(MAKE) install-basic
  
index 7a1838295c41da4140d16d829b4321c133759af5..87927452956913a1e3683d03ece025dfc96beffa 100644 (file)
@@ -5,32 +5,36 @@ more reasonable)
 
 --- nagios/html/main.php~      2012-05-29 00:04:23.000000000 +0300
 +++ nagios/html/main.php       2012-05-29 00:08:36.419474072 +0300
-@@ -15,12 +15,19 @@
+@@ -14,8 +14,11 @@ $this_year = '2014';
+ <title>Nagios Core</title>
+ <link rel="stylesheet" type="text/css" href="stylesheets/common.css?<?php echo $this_version; ?>" />
  <script type="text/javascript" src="/js/jquery/jquery.js"></script>
+-
  <script type='text/javascript'>
 +<?php
 +      $updateinfo=get_update_information();
 +      if ($updateinfo['update_checks_enabled']!==false):
 +?>
-       //rss fetch by ajax to reduce page load time
-       $(document).ready(function() {          
-                $('#splashbox2-contents').load('rss-corefeed.php');                            
-                $('#splashbox4-contents').load('rss-newsfeed.php');    
-       }); 
+       $(document).ready(function() {
+               loadRemoteFeed( // Our top banner splash.
+                       '#splashbox0-contents', 'corebanner', 1,
+@@ -31,7 +34,9 @@ $this_year = '2014';
+                       '#splashbox5-contents', 'corepromo', 3,
+                       '<ul>', processPromoItem, '</ul>'
+               );
+-
 +<?php
-+      endif;
++              endif;
 +?>
+               getCoreStatus();
+       });
  
- </script>
-@@ -47,7 +54,7 @@
+@@ -141,7 +141,7 @@ $this_year = '2014';
  
  <div id="updateversioninfo">
  <?php
--      $updateinfo=get_update_information();
-+      //$updateinfo=get_update_information();
-       //print_r($updateinfo);
-       //$updateinfo['update_checks_enabled']=false;
-       //$updateinfo['update_available']=true;
+-      $updateinfo = get_update_information();
++      //$updateinfo = get_update_information();
+       if (!$updateinfo['update_checks_enabled']) {
+ ?>
+               <div class="updatechecksdisabled">
index 381787790550a79f00a4ccb677727f70f670ea49..1ee09d402c090be66eda090cb83171ead754a413 100644 (file)
@@ -9,10 +9,10 @@ http://tracker.nagios.org/view.php?id=182
 +++ nagios/common/shared.c     2013-10-01 22:02:51.624429871 +0200
 @@ -9,6 +9,7 @@
   */
- int date_format = DATE_FORMAT_US;
- int interval_length = DEFAULT_INTERVAL_LENGTH;
+ int date_format;
+ int interval_length;
 +char *http_charset = NULL;
- char *illegal_output_chars = NULL;
+ char *illegal_output_chars;
  char illegal_output_char_map[] = CHAR_MAP_INIT(0);
  time_t program_start = 0L;
 diff -ur nagios.org/cgi/avail.c nagios/cgi/avail.c
index 65cca6af2ce107f6485cf24070beff32e3225e37..828106bbba04a3f438f7a0f63551cd11560ee8f2 100644 (file)
@@ -12,12 +12,12 @@ Summary:    Open Source host, service and network monitoring program
 Summary(pl.UTF-8):     Program do monitorowania serwerów/usług/sieci
 Summary(pt_BR.UTF-8):  Programa para monitoração de máquinas e serviços
 Name:          nagios
-Version:       4.0.3
+Version:       4.0.8
 Release:       1
 License:       GPL v2+
 Group:         Networking
 Source0:       http://downloads.sourceforge.net/nagios/nagios-4.x/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 1c63271f6371226e93cbc2e1a08b1f0e
+# Source0-md5: 4bba4eef427cfb113fb513b6166a6af6
 Source1:       %{name}-apache.conf
 Source2:       %{name}.init
 Source3:       %{name}.sysconfig
@@ -543,12 +543,15 @@ done
 %dir %{htmldir}/stylesheets
 %{htmldir}/robots.txt
 %{htmldir}/contexthelp
+%{htmldir}/jsonquery.html
 %{htmldir}/media
 %{htmldir}/ssi
 %{htmldir}/images/favicon.ico
 %{htmldir}/images/marker.png
 %{htmldir}/images/shadow50.png
 %{htmldir}/nagioswall.php
+%{htmldir}/rss-corefeed.html
+%{htmldir}/rss-newsfeed.html
 
 %files theme-classicui
 %defattr(644,root,root,755)
index 9f44c78b7391cfeecccceca5f8205fe399efe374..9dcf29589f6948048f2d57d4aae04b4aca8ba79d 100644 (file)
@@ -1,14 +1,14 @@
 --- nagios-3.4.1/html/main.php~        2012-05-12 03:00:53.000000000 +0300
 +++ nagios-3.4.1/html/main.php 2012-05-28 23:55:54.310721306 +0300
-@@ -12,7 +12,7 @@
+@@ -13,7 +13,7 @@ $this_year = '2014';
  <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
  <title>Nagios Core</title>
- <link rel='stylesheet' type='text/css' href='stylesheets/common.css' />
+ <link rel="stylesheet" type="text/css" href="stylesheets/common.css?<?php echo $this_version; ?>" />
 -<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
 +<script type="text/javascript" src="/js/jquery/jquery.js"></script>
  
  <script type='text/javascript'>
+       $(document).ready(function() {
 --- nagios-3.4.1/include/cgiutils.h~   2012-05-24 17:15:30.000000000 +0300
 +++ nagios-3.4.1/include/cgiutils.h    2012-05-28 23:56:18.921757228 +0300
 @@ -77,7 +77,7 @@
This page took 0.038963 seconds and 4 git commands to generate.