From klammer@webonaut.com  Fri Apr 16 01:19:43 2004
Return-Path: <klammer@webonaut.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 210D716A4CE; Fri, 16 Apr 2004 01:19:43 -0700 (PDT)
Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 8400743D46; Fri, 16 Apr 2004 01:19:42 -0700 (PDT)
	(envelope-from klammer@webonaut.com)
Received: from localhost (localhost [127.0.0.1])
	by sv02.webonaut.com (Postfix) with ESMTP
	id 7737F7642B; Fri, 16 Apr 2004 10:19:40 +0200 (CEST)
Received: from sv02.webonaut.com ([127.0.0.1])
 by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 31742-09; Fri, 16 Apr 2004 10:19:36 +0200 (CEST)
Received: from ds9.webonaut.com (sisko.webonaut.com [212.41.243.28])
	by sv02.webonaut.com (Postfix) with ESMTP
	id AFE6576421; Fri, 16 Apr 2004 10:19:36 +0200 (CEST)
Message-Id: <1082103577.0@ds9.webonaut.com>
Date: Fri, 16 Apr 2004 10:19:37 +0200
From: "Franz Klammer" <klammer@webonaut.com>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Cc: jeh@FreeBSD.org
Subject: sysutils/healthd doesn't use /etc/rc.subr if exists
X-Send-Pr-Version: gtk-send-pr 0.3.3 
X-GNATS-Notify:

>Number:         65609
>Category:       ports
>Synopsis:       sysutils/healthd doesn't use /etc/rc.subr if exists
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jeh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 01:20:19 PDT 2004
>Closed-Date:    Mon Apr 19 18:28:56 PDT 2004
>Last-Modified:  Mon Apr 19 18:28:56 PDT 2004
>Originator:     Franz Klammer
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 5.2-CURRENT #7: Thu Apr 15 09:48:26 CEST 2004
    root@ds9.webonaut.com:/usr/obj/usr/src/sys/DS9



>Description:


sysutils/healthd doesn't use /etc/rc.subr if exists 
(there is still /usr/local/etc/rc.subr in healthd.sh)

bump PORTREVISION.


>How-To-Repeat:





>Fix:


--- healthd-500038.diff begins here ---
diff -Nur healthd.orig/Makefile healthd/Makefile
--- healthd.orig/Makefile	Fri Apr 16 10:10:33 2004
+++ healthd/Makefile	Fri Apr 16 10:11:04 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	healthd
 PORTVERSION=	0.7.6
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	sysutils ipv6
 MASTER_SITES=	http://healthd.thehousleys.net/ \
 		http://healthd1.thehousleys.net/
@@ -38,6 +38,7 @@
 
 .if ${OSVERSION} >= 500038
 RC_SUBR?=	/etc/rc.subr
+EXTRA_PATCHES=	files/healthd.sh-500038
 .else
 USE_RC_SUBR=	yes
 .endif
diff -Nur healthd.orig/files/healthd.sh-500038 healthd/files/healthd.sh-500038
--- healthd.orig/files/healthd.sh-500038	Thu Jan  1 01:00:00 1970
+++ healthd/files/healthd.sh-500038	Fri Apr 16 10:05:17 2004
@@ -0,0 +1,11 @@
+--- healthd.sh.orig	Fri Apr 16 10:03:37 2004
++++ healthd.sh	Fri Apr 16 10:04:17 2004
+@@ -13,7 +13,7 @@
+ #healthd_enable="YES"
+ #
+ 
+-. /usr/local/etc/rc.subr
++. /etc/rc.subr
+ 
+ name=healthd
+ rcvar=`set_rcvar`
--- healthd-500038.diff ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jeh 
Responsible-Changed-By: krion 
Responsible-Changed-When: Fri Apr 16 01:21:06 PDT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65609 
State-Changed-From-To: open->closed 
State-Changed-By: jeh 
State-Changed-When: Mon Apr 19 18:28:43 PDT 2004 
State-Changed-Why:  
Commited, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65609 
>Unformatted:
