Commit graph

8 commits

Author SHA1 Message Date
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Dmitry Marakasov
7b870d85e1 - Fix startup script
PR:		138913
Submitted by:	olli hauer <ohauer@gmx.de> (maintainer)
Feature safe:	yes
2009-09-20 18:54:39 +00:00
Pav Lucistnik
fb39795d5f - Fix rc script for blacklist mode
PR:		ports/137992
Submitted by:	Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw>
Approved by:	olli hauer <ohauer@gmx.de> (maintainer)
Feature safe:	yes
2009-09-17 12:41:07 +00:00
Wesley Shields
910a3cec56 - Update to 4.5.0
- Pass maintainer to submitter
- Add CPANEL support so it doesn't clobber spamd (see comments in Makefile)
- Fixes to RC script to support CPANEL option and general cleanup.

PR:		ports/136912
Submitted by:	olli hauer <ohauer@gmx.de>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (old maintainer)
2009-07-23 12:52:44 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Martin Wilke
70c3dda2f1 - Add syslogd named to the rc.d script
PR:		112946
Submitted by:	gediminas <ggenutis_at_yahoo.com@FreeBSD.org>
Approved by:	maintainer via im
2007-07-04 06:11:36 +00:00
Martin Wilke
4e3dcb24af - Update to 4.1.2
PR:		113293
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2007-06-06 16:38:53 +00:00