diff --git a/net-mgmt/nagios4/Makefile b/net-mgmt/nagios4/Makefile index b823f2bd39c0..bc6de95777ff 100644 --- a/net-mgmt/nagios4/Makefile +++ b/net-mgmt/nagios4/Makefile @@ -1,106 +1,106 @@ PORTNAME= nagios -PORTVERSION= 4.5.0 +PORTVERSION= 4.5.1 PORTREVISION= 0 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= https://assets.nagios.com/downloads/nagioscore/releases/ \ SF/${PORTNAME}/${PORTNAME}-4.x/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= 4 MAINTAINER= joneum@FreeBSD.org COMMENT= Powerful network monitoring system WWW= https://www.nagios.org/ LICENSE= GPLv2 LIB_DEPENDS= libltdl.so:devel/libltdl \ libpng.so:graphics/png \ libgd.so:graphics/gd USES= cpe gmake jpeg perl5 php USE_PERL5= build USE_PHP= xml filter USE_RC_SUBR= nagios CONFLICTS= nagios-[123].* nagios-devel GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \ --with-command-group=${WWWGRP} \ --with-nagios-user=${NAGIOSUSER} \ --with-nagios-group=${NAGIOSGROUP} \ --with-htmurl=${NAGIOSHTMURL} \ --with-cgiurl=${NAGIOSCGIURL} \ --with-lockfile=${NAGIOSDIR}/nagios.lock \ --with-cgibindir=${WWWDIR}/cgi-bin \ --libexecdir=${PREFIX}/libexec/nagios \ --datadir=${WWWDIR} \ --sysconfdir=${PREFIX}/etc/nagios \ --localstatedir=${NAGIOSDIR} \ --with-httpd-conf=${PREFIX}/etc \ --with-checkresult-dir=${NAGIOSDIR}/checkresults \ --disable-statuswrl \ --enable-event-broker \ ac_cv_lib_iconv_main=no CONFIGURE_ENV= PERL=${PERL} CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= ${CPPFLAGS} LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install install-commandmode install-config PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} \ WWWGRP=${WWWGRP} SUB_LIST= NAGIOSDIR=${NAGIOSDIR} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} \ NAGIOSHTMURL=${NAGIOSHTMURL} \ NAGIOSCGIURL=${NAGIOSCGIURL} SUB_FILES= pkg-message NAGIOSUSER?= nagios NAGIOSGROUP?= nagios NAGIOSDIR?= /var/spool/nagios .if defined(NAGIOSWWWDIR) WWWDIR= ${PREFIX}/${NAGIOSWWWDIR} .endif NAGIOSHTMURL?= /nagios NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin USERS= ${NAGIOSUSER} GROUPS= ${NAGIOSGROUP} OPTIONS_DEFINE= NANOSLEEP UNHANDLED_HACK COREWINDOW OPTIONS_RADIO= PLUGINS OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS OPTIONS_DEFAULT= NAGPLUGINS NANOSLEEP_DESC= Use nanosleep in event timing UNHANDLED_HACK_DESC= Display passive checks in unhandled queries COREWINDOW_DESC= Enable the corewindow parameter MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins COREWINDOW_CONFIGURE_ENABLE= corewindow OPTIONS_SUB= NANOSLEEP_CONFIGURE_ENABLE= nanosleep post-patch: ${REINPLACE_CMD} -e 's/\<77\([0-7]\)\>/75\1/g; s/\<66\([0-7]\)\>/64\1/; /chmod/d; \ /\.cfg$$/s/$$/-sample/' \ ${WRKSRC}/Makefile.in ${WRKSRC}/base/Makefile.in ${WRKSRC}/cgi/Makefile.in ${WRKSRC}/contrib/Makefile.in ${WRKSRC}/html/Makefile.in post-patch-UNHANDLED_HACK-on: ${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' -e \ 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php post-install: @${RMDIR} ${STAGEDIR}${PREFIX}/libexec/nagios @${MV} ${STAGEDIR}${WWWDIR}/config.inc.php ${STAGEDIR}${WWWDIR}/config.inc.php.sample .include diff --git a/net-mgmt/nagios4/distinfo b/net-mgmt/nagios4/distinfo index 2e6b571bdb0c..7d6997ce2252 100644 --- a/net-mgmt/nagios4/distinfo +++ b/net-mgmt/nagios4/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708115629 -SHA256 (nagios-4.5.0.tar.gz) = 164e05daed1adf72640b323453b6c13f4d13d90e56a95c7cdd8dccf8519e9be0 -SIZE (nagios-4.5.0.tar.gz) = 11540118 +TIMESTAMP = 1710581441 +SHA256 (nagios-4.5.1.tar.gz) = 171fc577e026e32079d17057cd49a9730bb86e44169c4735d9b66fa0b43e045a +SIZE (nagios-4.5.1.tar.gz) = 11540195 diff --git a/net-mgmt/nagios4/files/patch-html_main.php b/net-mgmt/nagios4/files/patch-html_main.php index a8228acc1c12..a820104e48fa 100644 --- a/net-mgmt/nagios4/files/patch-html_main.php +++ b/net-mgmt/nagios4/files/patch-html_main.php @@ -1,36 +1,41 @@ ---- 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'; -
Nagios® Core
-
Version
-
November 14, 2023
+--- html/main.php.orig 2024-03-16 10:46:27.911029000 +0100 ++++ html/main.php 2024-03-16 10:48:12.929841000 +0100 +@@ -142,38 +142,6 @@ $this_year = '2024'; + + + +-
+-
Nagios® Core
+-
Version
+-
February 28, 2024
- -
- - -
- -
-
Warning: Automatic Update Checks are Disabled!
-
Disabling update checks presents a possible security risk. Visit nagios.org to check for updates manually or enable update checks in your Nagios config file.
-
- -
-
A new version of Nagios Core is available!
-
Visit nagios.org to download Nagios .
-
- -
- - +-
+