ports/65609: sysutils/healthd doesn't use /etc/rc.subr if exists

Franz Klammer klammer at webonaut.com
Fri Apr 16 08:20:20 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list