Skip site navigation (1)Skip section navigation (2)
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:   ports/65609: sysutils/healthd doesn't use /etc/rc.subr if exists
Message-ID:  <1082103577.0@ds9.webonaut.com>
Resent-Message-ID: <200404160820.i3G8KKhb031803@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65609
>Category:       ports
>Synopsis:       sysutils/healthd doesn't use /etc/rc.subr if exists
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 01:20:19 PDT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1082103577.0>