Commit graph

7 commits

Author SHA1 Message Date
Doug Barton
4adaa6b9e7 Remove the spurious FreeBSD KEYWORD.
Coincidentally, add $FreeBSD$ while I'm here.
2009-07-27 23:12:00 +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
Philip M. Gollucci
2515824b44 - USE_RC_SUBR != yes
- OPTIONify
- Adopt
- portlint
2009-07-15 07:14:00 +00:00
James E. Housley
3ffc592c92 * Fix rc.subr use so the it works properly with both 4.x and 5.x
* Fix a potential buffer overflow while reading the config file.  But,
  since the config file is owned by root this is the least of your worries.
* Enlarge the size of the _warn and _fail command strings

- Overflow noticed by Pete <shipley@dis.org>
2004-08-08 12:43:40 +00:00
James E. Housley
76e742c7f5 Use /etc/rc.subr on systems that have it.
PR:		65609
Submitted By:	Franz Klammer
2004-04-20 01:28:24 +00:00
James E. Housley
61cd42bc0a Include the previous patch-aa
Upgrade to 0.6.5.
 - Allow -B to use Vbat on W83782D chips for Vcore1 (Abit BP-6) M/B
2001-03-16 20:29:13 +00:00
James E. Housley
ab88d796d0 Fix a divide by zero.
Bump PORTREVISION

PR:		24884
Submitted by:	Barney Wolff <barney@databus.com>
2001-02-06 02:43:53 +00:00