From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 26 00:40:21 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFD4316A421 for ; Fri, 26 Jan 2007 00:40:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id CC0A713C45E for ; Fri, 26 Jan 2007 00:40:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0Q0eJ3t007364 for ; Fri, 26 Jan 2007 00:40:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0Q0eJvo007363; Fri, 26 Jan 2007 00:40:19 GMT (envelope-from gnats) Resent-Date: Fri, 26 Jan 2007 00:40:19 GMT Resent-Message-Id: <200701260040.l0Q0eJvo007363@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, Dan Langille Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F74E16A401 for ; Fri, 26 Jan 2007 00:37:55 +0000 (UTC) (envelope-from dan@xeon.unixathome.org) Received: from m21.unixathome.org (m21.unixathome.org [205.150.199.217]) by mx1.freebsd.org (Postfix) with ESMTP id BF36313C43E for ; Fri, 26 Jan 2007 00:37:54 +0000 (UTC) (envelope-from dan@xeon.unixathome.org) Received: from localhost (localhost [205.150.199.217]) by m21.unixathome.org (Postfix) with ESMTP id 502DCBF6D for ; Thu, 25 Jan 2007 19:37:54 -0500 (EST) Received: from m21.unixathome.org ([205.150.199.217]) by localhost (m21.unixathome.org [205.150.199.217]) (amavisd-new, port 10024) with ESMTP id 07923-06 for ; Thu, 25 Jan 2007 19:37:53 -0500 (EST) Received: from bast.unixathome.org (bast.unixathome.org [74.104.199.163]) by m21.unixathome.org (Postfix) with ESMTP id E7660BEDE for ; Thu, 25 Jan 2007 19:37:52 -0500 (EST) Received: from xeon.unixathome.org (unknown [10.55.0.18]) by bast.unixathome.org (Postfix) with ESMTP id AB983B84D for ; Thu, 25 Jan 2007 19:37:52 -0500 (EST) Received: by xeon.unixathome.org (Postfix, from userid 1000) id 797AB3EC4; Thu, 25 Jan 2007 19:37:52 -0500 (EST) Message-Id: <20070126003752.797AB3EC4@xeon.unixathome.org> Date: Thu, 25 Jan 2007 19:37:52 -0500 (EST) From: Dan Langille To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Dan Langille Subject: ports/108362: [PATCH] net-mgmt/nagios - use freebsd-server instead of linux-server X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Langille List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 00:40:22 -0000 >Number: 108362 >Category: ports >Synopsis: [PATCH] net-mgmt/nagios - use freebsd-server instead of linux-server >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: Fri Jan 26 00:40:18 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dan Langille >Release: FreeBSD 4.9-STABLE i386 >Organization: The FreeBSD Diary >Environment: System: FreeBSD xeon.unixathome.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 08:16:24 EST 2004 dan@polo.unixathome.org:/usr/obj/usr/src/sys/XEON i386 >Description: The existing examples use a linux-server template. Rename this to freebsd-server >How-To-Repeat: >Fix: --- nagios.diff begins here --- diff -ruN /usr/ports/net-mgmt/nagios/files/patch-html-docs-xodtemplate.html nagios/files/patch-html-docs-xodtemplate.html --- /usr/ports/net-mgmt/nagios/files/patch-html-docs-xodtemplate.html Wed Dec 31 19:00:00 1969 +++ nagios/files/patch-html-docs-xodtemplate.html Thu Jan 25 19:33:37 2007 @@ -0,0 +1,11 @@ +--- html/docs/xodtemplate.html.orig Thu Jan 25 19:29:11 2007 ++++ html/docs/xodtemplate.html Thu Jan 25 19:29:11 2007 +@@ -493,7 +493,7 @@ +

+

+ define service{
+-	host_name		linux-server
++	host_name		freebsd-server
+ 	service_description	check-disk-sda1
+ 	check_command		check-disk!/dev/sda1
+ 	max_check_attempts	5
diff -ruN /usr/ports/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in nagios/files/patch-sample-config-template-object-localhost.cfg.in
--- /usr/ports/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in	Wed Dec 31 19:00:00 1969
+++ nagios/files/patch-sample-config-template-object-localhost.cfg.in	Thu Jan 25 19:33:50 2007
@@ -0,0 +1,23 @@
+--- sample-config/template-object/localhost.cfg.in.orig	Thu Jan 25 19:25:30 2007
++++ sample-config/template-object/localhost.cfg.in	Thu Jan 25 19:25:30 2007
+@@ -154,7 +154,7 @@
+ # Linux host definition template - This is NOT a real host, just a template!
+ 
+ define host{
+-	name				linux-server	; The name of this host template
++	name				freebsd-server	; The name of this host template
+ 	use				generic-host	; This template inherits other values from the generic-host template
+ 	check_period			24x7		; By default, Linux hosts are checked round the clock
+ 	max_check_attempts		10		; Check each Linux host 10 times (max)
+@@ -173,9 +173,9 @@
+ # local host (this machine).
+ 
+ define host{
+-        use                     linux-server            ; Name of host template to use
++        use                     freebsd-server          ; Name of host template to use
+ 							; This host definition will inherit all variables that are defined
+-							; in (or inherited by) the linux-server host template definition.
++							; in (or inherited by) the freebsd-server host template definition.
+         host_name               localhost
+         alias                   localhost
+         address                 127.0.0.1
--- nagios.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted: