diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-08-23 14:36:01 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-08-23 14:36:01 +0000 |
commit | cd66fda28d95013e9d8b2927ddf395bfa95a699f (patch) | |
tree | 445cbb7694891141c82034d9af72f38b6708d194 /net-mgmt/nagios4/files/patch-html__main.php | |
parent | misc/nms: document ncurses, honor CFLAGS and LDFLAGS (diff) |
Revert the update to 4.2.
It currently exits with a bus error, which is, not good.
Reported by: many
Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/nagios4/files/patch-html__main.php')
-rw-r--r-- | net-mgmt/nagios4/files/patch-html__main.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-mgmt/nagios4/files/patch-html__main.php b/net-mgmt/nagios4/files/patch-html__main.php new file mode 100644 index 000000000000..5a538519f102 --- /dev/null +++ b/net-mgmt/nagios4/files/patch-html__main.php @@ -0,0 +1,34 @@ +--- html/main.php.orig 2015-08-19 21:49:52 UTC ++++ html/main.php +@@ -130,31 +130,6 @@ $this_year = '2015'; + <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 <?php echo $this_version; ?></div> + <div class="releasedate">August 19, 2015</div> +- <div class="checkforupdates"><a href="https://www.nagios.org/checkforupdates/?version=<?php echo $this_version; ?>&product=nagioscore" target="_blank">Check for updates</a></div> +-</div> +- +- +-<div id="updateversioninfo"> +-<?php +- $updateinfo = get_update_information(); +- if (!$updateinfo['update_checks_enabled']) { +-?> +- <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="https://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'] && $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="https://www.nagios.org/download/" target="_blank">nagios.org</a> to download Nagios <?php echo $updateinfo['update_version'];?>.</div> +- </div> +-<?php +- } +-?> + </div> + + |