Date: Tue, 17 Mar 2009 11:13:27 +1030 (CST) From: Jarrod Sayers <jarrod@netleader.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/132712: [maintainer-update] net-mgmt/nagios: Merge UNHANDLED_HACK from net-mgmt/nagios-devel Message-ID: <200903170043.n2H0hRt0038162@manhattan.netleader.com.au> Resent-Message-ID: <200903170050.n2H0o1oo008194@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132712 >Category: ports >Synopsis: [maintainer-update] net-mgmt/nagios: Merge UNHANDLED_HACK from net-mgmt/nagios-devel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Mar 17 00:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jarrod Sayers >Release: FreeBSD 7.1-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD manhattan.netleader.com.au 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #12: Mon Mar 2 20:39:19 CST 2009 root@manhattan.netleader.com.au:/usr/obj/usr/src/sys/MANHATTAN i386 >Description: Add UNHANDLED_HACK "hack" from ports/131643 which was subsequently tested in ports/132098 as a part of the Nagios 3.1.0 update. PORTREVISION intentionally not bumped as option is obscure and off by default. >How-To-Repeat: >Fix: Downloadable diff from: http://www.netleader.com.au/~jarrod/FreeBSD/net-mgmt-nagios-UNHANDLED_HACK.diff --- net-mgmt-nagios-UNHANDLED_HACK.diff begins here --- diff -ruN ports/net-mgmt/nagios.orig/Makefile ports/net-mgmt/nagios/Makefile --- ports/net-mgmt/nagios.orig/Makefile 2008-12-10 11:01:50.000000000 +1030 +++ ports/net-mgmt/nagios/Makefile 2009-03-17 10:56:21.000000000 +1030 @@ -25,7 +25,8 @@ OPTIONS= EMBEDDED_PERL "Enable embedded Perl [requires Perl 5.8.0+]" off \ NANOSLEEP "Use nanosleep in event timing" off \ - EVENT_BROKER "Enable event broker functionality" off + EVENT_BROKER "Enable event broker functionality" off \ + UNHANDLED_HACK "Display passive checks in unhandled queries" off GNU_CONFIGURE= yes @@ -104,6 +105,12 @@ CONFIGURE_ARGS+= --disable-event-broker .endif +post-patch: +.if defined(WITH_UNHANDLED_HACK) + @${REINPLACE_CMD} -e 's#\&serviceprops=42\&#\&serviceprops=10\&#g' \ + -e 's#\&hostprops=42\"#\&hostprops=10\"#g' ${WRKSRC}/html/side.html.in +.endif + pre-install: @${SH} ${PKGINSTALL} ${DISTNAME} PRE-INSTALL --- net-mgmt-nagios-UNHANDLED_HACK.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903170043.n2H0hRt0038162>