Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 14:38:53 +0900
From:      Takefu <takefu@airport.fm>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, "Philip M. Gollucci" <pgollucci@FreeBSD.org>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/mail/qpopper qpopper.in
Message-ID:  <4F39F36D.2020006@airport.fm>
In-Reply-To: <4F36F56B.8060304@FreeBSD.org>
References:  <201202112230.q1BMU9EX096541@repoman.freebsd.org> <4F36F56B.8060304@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm sorry. You do not understand properly.
Please correct it.

--- files/qpopper.in begins here ---
#!/bin/sh

# PROVIDE: qpopper
# REQUIRE: NETWORKING SERVERS
# KEYWORD: shutdown
#
# qpopper_enable (bool):	Set to NO by default.
#				Set it to YES to enable qpopper.
# qpopper_flags (str):		Set to "" by default.

. /etc/rc.subr

name=qpopper
rcvar=qpopper_enable

load_rc_config $name

: ${qpopper_enable:="NO"}
: ${qpopper_flags:=""}

command=%%PREFIX%%/libexec/${name}

command_args="${qpopper_flags}"

run_rc_command "$1"
--- files/qpopper.in ends here ---



Doug Barton さんは書きました (2012/02/12 8:10):
> This script also violates numerous things in
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html
> 
> Please take another look at this and try again. :)


-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F39F36D.2020006>