From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 5 05:40:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BACA1065676 for ; Wed, 5 Nov 2008 05:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 542648FC1D for ; Wed, 5 Nov 2008 05:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA55e32c069035 for ; Wed, 5 Nov 2008 05:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA55e3gm069034; Wed, 5 Nov 2008 05:40:03 GMT (envelope-from gnats) Resent-Date: Wed, 5 Nov 2008 05:40:03 GMT Resent-Message-Id: <200811050540.mA55e3gm069034@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jarrod Sayers Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DBDA1065673 for ; Wed, 5 Nov 2008 05:37:24 +0000 (UTC) (envelope-from jarrod@manhattan.netleader.com.au) Received: from manhattan.netleader.com.au (manhattan.netleader.com.au [123.136.33.242]) by mx1.freebsd.org (Postfix) with ESMTP id 5F93C8FC08 for ; Wed, 5 Nov 2008 05:37:22 +0000 (UTC) (envelope-from jarrod@manhattan.netleader.com.au) Received: from manhattan.netleader.com.au (localhost [127.0.0.1]) by manhattan.netleader.com.au (8.14.2/8.14.2) with ESMTP id mA55bA3F012258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Nov 2008 16:07:12 +1030 (CST) (envelope-from jarrod@manhattan.netleader.com.au) Received: (from jarrod@localhost) by manhattan.netleader.com.au (8.14.2/8.14.2/Submit) id mA55bACs012257; Wed, 5 Nov 2008 16:07:10 +1030 (CST) (envelope-from jarrod) Message-Id: <200811050537.mA55bACs012257@manhattan.netleader.com.au> Date: Wed, 5 Nov 2008 16:07:10 +1030 (CST) From: Jarrod Sayers To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/128596: [maintainer-update] net-mgmt/nagios: Update to 3.0.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jarrod Sayers List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 05:40:03 -0000 >Number: 128596 >Category: ports >Synopsis: [maintainer-update] net-mgmt/nagios: Update to 3.0.5 >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: Wed Nov 05 05:40:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jarrod Sayers >Release: FreeBSD 7.0-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD manhattan.netleader.com.au 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #4: Fri Oct 24 14:12:01 CST 2008 root@manhattan.netleader.com.au:/usr/obj/usr/src/sys/MANHATTAN i386 >Description: Update to Nagios 3.0.5: - Security fix for Cross Site Request Forgery (CSRF) bug - Sample audio files for CGIs removed from distribution - Fix for mutliline config file continuation bug - Minor sample config file fix - Added documentation on CGI security issues Note that the change to patch-html-docs-configcgi.html may look unnecessary but while the files readable content remains unchanged, the file has had all of its line endings changed from \n to \r\n, see change log from URL below [1], 751 lines added, 751 lines removed. Boo... [1] http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/html/docs/configcgi.html?view=log >How-To-Repeat: >Fix: Downloadable diff from: http://www.netleader.com.au/~jarrod/FreeBSD/net-mgmt-nagios-3.0.5.diff --- net-mgmt-nagios-3.0.5.diff begins here --- diff -ruN ports/net-mgmt/nagios.orig/Makefile ports/net-mgmt/nagios/Makefile --- ports/net-mgmt/nagios.orig/Makefile 2008-10-30 06:11:12.000000000 +1030 +++ ports/net-mgmt/nagios/Makefile 2008-11-05 15:04:31.000000000 +1030 @@ -6,8 +6,7 @@ # PORTNAME= nagios -DISTVERSION= 3.0.4 -PORTREVISION= 1 +DISTVERSION= 3.0.5 CATEGORIES= net-mgmt MASTER_SITES= SF diff -ruN ports/net-mgmt/nagios.orig/distinfo ports/net-mgmt/nagios/distinfo --- ports/net-mgmt/nagios.orig/distinfo 2008-10-26 04:18:51.000000000 +1030 +++ ports/net-mgmt/nagios/distinfo 2008-11-05 15:06:45.000000000 +1030 @@ -1,3 +1,3 @@ -MD5 (nagios-3.0.4.tar.gz) = c14f8099488014b1f0e37699448d0a5c -SHA256 (nagios-3.0.4.tar.gz) = 5b4531322530c5866875da41944ee911869fe55c68b2020ecf6d9b89e9299298 -SIZE (nagios-3.0.4.tar.gz) = 2760530 +MD5 (nagios-3.0.5.tar.gz) = c607ffd5f4574cbea345bdf2e02dc480 +SHA256 (nagios-3.0.5.tar.gz) = 754edfdc08ca5e1f1d88d02a44eea53d5cf3e8acef6acf2cb698a0ff219d0cc9 +SIZE (nagios-3.0.5.tar.gz) = 2735018 diff -ruN ports/net-mgmt/nagios.orig/files/patch-html-Makefile.in ports/net-mgmt/nagios/files/patch-html-Makefile.in --- ports/net-mgmt/nagios.orig/files/patch-html-Makefile.in 2008-09-03 10:00:55.000000000 +0930 +++ ports/net-mgmt/nagios/files/patch-html-Makefile.in 2008-11-05 15:11:47.000000000 +1030 @@ -1,5 +1,5 @@ ---- html/Makefile.in.orig 2008-01-10 04:21:25.000000000 +1030 -+++ html/Makefile.in 2008-01-30 23:02:38.000000000 +1030 +--- html/Makefile.in.orig 2008-11-03 04:02:03.000000000 +1030 ++++ html/Makefile.in 2008-11-05 15:11:08.000000000 +1030 @@ -33,39 +33,39 @@ devclean: distclean @@ -29,9 +29,9 @@ for file in *.html; \ - do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR); done + do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR); done - for file in media/*.wav; \ -- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done -+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done + # for file in media/*.wav; \ +-# do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done ++# do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done for file in stylesheets/*.css; \ - do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done + do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done diff -ruN ports/net-mgmt/nagios.orig/files/patch-html-docs-configcgi.html ports/net-mgmt/nagios/files/patch-html-docs-configcgi.html --- ports/net-mgmt/nagios.orig/files/patch-html-docs-configcgi.html 2008-10-23 10:33:15.000000000 +1030 +++ ports/net-mgmt/nagios/files/patch-html-docs-configcgi.html 2008-11-05 15:16:38.000000000 +1030 @@ -1,11 +1,11 @@ ---- html/docs/configcgi.html.orig 2007-08-31 08:05:04.000000000 +0930 -+++ html/docs/configcgi.html 2008-10-23 10:32:37.000000000 +1030 +--- html/docs/configcgi.html.orig 2008-11-05 08:58:39.000000000 +1030 ++++ html/docs/configcgi.html 2008-11-05 15:16:05.000000000 +1030 @@ -616,7 +616,7 @@ - - - Example: --ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ -+ping_syntax=/sbin/ping -n -c 5 $HOSTADDRESS$ - - - + + + Example: +-ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ ++ping_syntax=/sbin/ping -n -c 5 $HOSTADDRESS$ + + + diff -ruN ports/net-mgmt/nagios.orig/files/patch-sample-config-nagios.cfg.in ports/net-mgmt/nagios/files/patch-sample-config-nagios.cfg.in --- ports/net-mgmt/nagios.orig/files/patch-sample-config-nagios.cfg.in 2008-10-26 04:18:51.000000000 +1030 +++ ports/net-mgmt/nagios/files/patch-sample-config-nagios.cfg.in 2008-11-05 15:18:48.000000000 +1030 @@ -1,5 +1,5 @@ ---- sample-config/nagios.cfg.in.orig 2008-10-16 09:10:08.000000000 +1030 -+++ sample-config/nagios.cfg.in 2008-10-23 10:35:10.000000000 +1030 +--- sample-config/nagios.cfg.in.orig 2008-11-03 05:21:30.000000000 +1030 ++++ sample-config/nagios.cfg.in 2008-11-05 15:17:25.000000000 +1030 @@ -32,7 +32,7 @@ cfg_file=@sysconfdir@/objects/timeperiods.cfg cfg_file=@sysconfdir@/objects/templates.cfg @@ -9,12 +9,3 @@ cfg_file=@sysconfdir@/objects/localhost.cfg # Definitions for monitoring a Windows machine -@@ -548,7 +548,7 @@ - # These options determine when Nagios will react to detected changes - # in system time (either forward or backwards). - --time_change_threshold= -+time_change_threshold=900 - - - diff -ruN ports/net-mgmt/nagios.orig/pkg-plist ports/net-mgmt/nagios/pkg-plist --- ports/net-mgmt/nagios.orig/pkg-plist 2008-10-30 06:11:12.000000000 +1030 +++ ports/net-mgmt/nagios/pkg-plist 2008-11-05 15:33:44.000000000 +1030 @@ -106,6 +106,7 @@ %%NAGIOSWWWDIR%%/docs/cgiauth.html %%NAGIOSWWWDIR%%/docs/cgiincludes.html %%NAGIOSWWWDIR%%/docs/cgis.html +%%NAGIOSWWWDIR%%/docs/cgisecurity.html %%NAGIOSWWWDIR%%/docs/checkscheduling.html %%NAGIOSWWWDIR%%/docs/clusters.html %%NAGIOSWWWDIR%%/docs/config.html @@ -346,9 +347,6 @@ %%NAGIOSWWWDIR%%/images/zoom2.gif %%NAGIOSWWWDIR%%/index.html %%NAGIOSWWWDIR%%/main.html -%%NAGIOSWWWDIR%%/media/critical.wav -%%NAGIOSWWWDIR%%/media/hostdown.wav -%%NAGIOSWWWDIR%%/media/warning.wav %%NAGIOSWWWDIR%%/robots.txt %%NAGIOSWWWDIR%%/side.html %%NAGIOSWWWDIR%%/stylesheets/avail.css --- net-mgmt-nagios-3.0.5.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: