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<[email protected]> (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/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"