1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

net-mgmt/nagios4: Update to 4.5.0

Changelog: https://github.com/NagiosEnterprises/nagioscore/blob/nagios-4.5.0/Changelog

Sponsored by:	Netzkommun GmbH
This commit is contained in:
Jochen Neumeister 2024-02-17 09:21:55 +01:00
parent 53eeacbffa
commit 0467388609
4 changed files with 20 additions and 14 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= nagios
PORTVERSION= 4.4.13
PORTREVISION= 1
PORTVERSION= 4.5.0
PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= https://assets.nagios.com/downloads/nagioscore/releases/ \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1685866161
SHA256 (nagios-4.4.13.tar.gz) = c289488c7ba71e66aae9890113eee475b9cedfe92f663a899ac6f70764fc1727
SIZE (nagios-4.4.13.tar.gz) = 11341150
TIMESTAMP = 1708115629
SHA256 (nagios-4.5.0.tar.gz) = 164e05daed1adf72640b323453b6c13f4d13d90e56a95c7cdd8dccf8519e9be0
SIZE (nagios-4.5.0.tar.gz) = 11540118

View File

@ -1,11 +1,17 @@
--- html/index.php.in.orig 2017-02-23 20:00:40 UTC
+++ html/index.php.in
@@ -1,6 +1,7 @@
--- html/index.php.in.orig 2024-02-17 08:44:48.310422000 +0100
+++ html/index.php.in 2024-02-17 09:00:54.496033000 +0100
@@ -1,4 +1,5 @@
<?php
+include_once(dirname(__FILE__).'/includes/utils.inc.php');
// Allow specifying main window URL for permalinks, etc.
-$url = 'main.php';
+$url = $cfg['cgi_base_url'].'/tac.cgi';
$url = 'main.php';
if ("@COREWINDOW@" == "yes" && isset($_GET['corewindow'])) {
@@ -23,7 +24,7 @@ if ("@COREWINDOW@" == "yes" && isset($_GET['corewindow
}
}
if (preg_match("/^http:\/\/|^https:\/\/|^\//", $url) != 1)
- $url = "main.php";
+ $url = $cfg['cgi_base_url'].'/tac.cgi';
}
$this_year = '2023';

View File

@ -1,9 +1,9 @@
--- html/main.php.orig 2023-06-04 10:27:05.620233000 +0200
+++ html/main.php 2023-06-04 10:31:49.442315000 +0200
--- html/main.php.orig 2024-02-17 09:09:32.460023000 +0100
+++ html/main.php 2024-02-17 09:12:55.192427000 +0100
@@ -146,33 +146,6 @@ $this_year = '2023';
<div class="product">Nagios<sup><span style="font-size: small;">&reg;</span></sup> Core<sup><span style="font-size: small;">&trade;</span></sup></div>
<div class="version">Version <?php echo $this_version; ?></div>
<div class="releasedate">June 01, 2023</div>
<div class="releasedate">November 14, 2023</div>
- <div class="checkforupdates"><a href="https://www.nagios.org/checkforupdates/?version=<?php echo $this_version; ?>&amp;product=nagioscore" target="_blank">Check for updates</a></div>
-</div>
-