From nobody@FreeBSD.org  Sat Mar 26 09:32:07 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 31C2E16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Mar 2005 09:32:07 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 15F6F43D62
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Mar 2005 09:32:07 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2Q9W6Qs095149
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Mar 2005 09:32:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j2Q9W6p2095148;
	Sat, 26 Mar 2005 09:32:06 GMT
	(envelope-from nobody)
Message-Id: <200503260932.j2Q9W6p2095148@www.freebsd.org>
Date: Sat, 26 Mar 2005 09:32:06 GMT
From: Ari Maniatis <ari@ish.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Asterisk port has broken startup file
X-Send-Pr-Version: www-2.3

>Number:         79246
>Category:       ports
>Synopsis:       Asterisk port has broken startup file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sobomax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 26 09:40:02 GMT 2005
>Closed-Date:    Thu Apr 14 13:24:16 GMT 2005
>Last-Modified:  Fri Apr 15 04:00:43 GMT 2005
>Originator:     Ari Maniatis
>Release:        4.10 release
>Organization:
ish group
>Environment:
FreeBSD delish.ish.com.au 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: Mon Sep  6 16:14:35 EST 2004     ish@delish.ish.com.au:/usr/obj/usr/src/sys/DELISHKERN  i386
>Description:
/usr/local/etc/rc.d/asterisk.sh installed by the net/asterisk port is incorrect and does not work.
>How-To-Repeat:
* install port
* try to start port
>Fix:
--- files/asterisk.sh.old       Wed Dec 29 11:01:54 2004
+++ files/asterisk.sh   Sat Mar 26 20:26:48 2005
@@ -11,7 +11,7 @@
 # asterisk_enable="YES"
 #
 
-. /etc/rc.subr
+. . %%RC_SUBR%%
 
 name=asterisk
 rcvar=`set_rcvar`

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sobomax 
Responsible-Changed-By: vs 
Responsible-Changed-When: Tue Mar 29 08:48:28 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79246 
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Thu Apr 14 13:23:58 GMT 2005 
State-Changed-Why:  
Fixed in a different way, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79246 

From: Aristedes Maniatis <ari@ish.com.au>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/79246: Asterisk port has broken startup file
Date: Fri, 15 Apr 2005 13:57:51 +1000

 The change was slightly incorrect. The Makefile requires:
 
 PORTREVISION=   1
 
 Otherwise no one will pick up the fix.
 
 I am also confused about the need for the "files/asterisk.sh.in" 
 filename, since I haven't seen it before in the ports, but it is 
 probably just something I am not familiar with.
 
 Ari Maniatis
 
>Unformatted:
