git: d6314dd9ecd6 - main - net-mgmt/nagios4: Update to 4.4.10

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Sun, 19 Feb 2023 11:14:33 UTC
The branch main has been updated by joneum:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d6314dd9ecd625d045e097e971f414219fb319ff

commit d6314dd9ecd625d045e097e971f414219fb319ff
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2023-02-19 11:13:21 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2023-02-19 11:14:26 +0000

    net-mgmt/nagios4: Update to 4.4.10
    
    Changelog: https://www.nagios.org/projects/nagios-core/history/4x/
    
    Sponsored by:   Netzkommune GmbH
---
 net-mgmt/nagios4/Makefile                  |  4 ++--
 net-mgmt/nagios4/distinfo                  |  6 +++---
 net-mgmt/nagios4/files/patch-html_main.php | 16 +++++++++-------
 3 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/net-mgmt/nagios4/Makefile b/net-mgmt/nagios4/Makefile
index c70319b4cd0e..8dc1c8826345 100644
--- a/net-mgmt/nagios4/Makefile
+++ b/net-mgmt/nagios4/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nagios
-PORTVERSION=	4.4.6
-PORTREVISION=	1
+PORTVERSION=	4.4.10
+PORTREVISION=	0
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://assets.nagios.com/downloads/nagioscore/releases/ \
diff --git a/net-mgmt/nagios4/distinfo b/net-mgmt/nagios4/distinfo
index eb61c840b8c8..0b4914a8c3df 100644
--- a/net-mgmt/nagios4/distinfo
+++ b/net-mgmt/nagios4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1588169030
-SHA256 (nagios-4.4.6.tar.gz) = ab0d5a52caf01e6f4dcd84252c4eb5df5a24f90bb7f951f03875eef54f5ab0f4
-SIZE (nagios-4.4.6.tar.gz) = 11333414
+TIMESTAMP = 1676722300
+SHA256 (nagios-4.4.10.tar.gz) = 8118dcfa0ce1c69506ba582c9ff0190d5b348bae0006b117eb17ada3bb5c776d
+SIZE (nagios-4.4.10.tar.gz) = 11339491
diff --git a/net-mgmt/nagios4/files/patch-html_main.php b/net-mgmt/nagios4/files/patch-html_main.php
index e6e6e1ef4471..4b715fc8f4e0 100644
--- a/net-mgmt/nagios4/files/patch-html_main.php
+++ b/net-mgmt/nagios4/files/patch-html_main.php
@@ -1,9 +1,9 @@
---- html/main.php.orig	2019-08-20 15:29:34 UTC
-+++ html/main.php
-@@ -146,31 +146,6 @@ $this_year = '2019';
+--- html/main.php.orig	2023-02-19 11:46:50.234549000 +0100
++++ html/main.php	2023-02-19 11:48:04.920758000 +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">April 28, 2020</div>
+ 	<div class="releasedate">January 17, 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>
 -
@@ -24,11 +24,13 @@
 -?>
 -		<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 class="submessage">Visit <a href="https://www.nagios.org/download/" target="_blank">nagios.org</a> to download Nagios <?php echo htmlentities($updateinfo['update_version'], ENT_QUOTES, 'UTF-8');?>.</div>
 -		</div>
 -<?php
 -	}
 -?>
- </div>
- 
+-</div>
+-
  
+ <div id='splashrow0'>
+ 	<div id="splashbox0" class="splashbox-media"><!-- info banner feed -->