Date: Fri, 11 Jun 2010 13:29:36 -0700 From: Doug Barton <dougb@FreeBSD.org> To: David Thiel <lx@FreeBSD.org> Cc: cvs-ports@FreeBSD.org, Kelly Hays <kelly.hays@jkhfamily.org>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/net-im/prosody Makefile ports/net-im/prosody/files prosody.in Message-ID: <4C129CB0.8000103@FreeBSD.org> In-Reply-To: <201006111649.o5BGn8Wh043693@repoman.freebsd.org> References: <201006111649.o5BGn8Wh043693@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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<kelly.hays@jkhfamily.org> (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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C129CB0.8000103>