From owner-cvs-ports@FreeBSD.ORG Fri Jun 11 20:29:42 2010 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 053051065676 for ; Fri, 11 Jun 2010 20:29:42 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0CE8FC12 for ; Fri, 11 Jun 2010 20:29:41 +0000 (UTC) Received: (qmail 23340 invoked by uid 399); 11 Jun 2010 20:29:37 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 11 Jun 2010 20:29:37 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C129CB0.8000103@FreeBSD.org> Date: Fri, 11 Jun 2010 13:29:36 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: David Thiel References: <201006111649.o5BGn8Wh043693@repoman.freebsd.org> In-Reply-To: <201006111649.o5BGn8Wh043693@repoman.freebsd.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: cvs-ports@FreeBSD.org, Kelly Hays , cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/net-im/prosody Makefile ports/net-im/prosody/files prosody.in X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 20:29:42 -0000 There is a problem with the change here in that the literal /usr/local should be replaced with %%PREFIX%%. However the whole script needs some work. A better version is at http://people.freebsd.org/~dougb/prosody.in.txt. 1. Add a $FreeBSD$ 2. Add REQUIRE to fit the template, and KEYWORD: shutdown so that the script is actually called at system shutdown time. 3. Add extra_commands="status" since the status method is already there. 4. Simplify the status and stop methods down to one function that takes an argument. hth, Doug On 06/11/10 09:49, David Thiel wrote: > lx 2010-06-11 16:49:08 UTC > > FreeBSD ports repository > > Modified files: > net-im/prosody Makefile > net-im/prosody/files prosody.in > Log: > Fix rc.d script so that it stops the server when requested. > > PR: ports/145015 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=145015 > Submitted by: Yngvi Hrafn Pétursson > Approved by: Kelly Hays (maintainer) > > Revision Changes Path > 1.6 +1 -1 ports/net-im/prosody/Makefile > 1.3 +6 -0 ports/net-im/prosody/files/prosody.in > > http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/net-im/prosody/Makefile.diff?&r1=1.5&r2=1.6&f=h > http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/net-im/prosody/files/prosody.in.diff?&r1=1.2&r2=1.3&f=h > -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/