Commit graph

14 commits

Author SHA1 Message Date
Dirk Meyer
e99e060d34 - escape shell names 2012-01-14 14:52:13 +00:00
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
Dirk Meyer
f1ecf33f43 - update to 1.9 2012-01-11 06:42:53 +00:00
Doug Barton
29813d5397 Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""

These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.

In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.

In a few places, add $FreeBSD$

No functional changes, so no PORTREVISION bumps
2011-05-15 02:49:17 +00:00
Dirk Meyer
7babeb52eb - add COPYRIGHT 2010-06-11 07:42:14 +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
Dirk Meyer
124ba4c952 - update to 1.7 2007-08-07 10:27:30 +00:00
Doug Barton
b4118877b1 Another round of the periodic sweep for removal of the
KEYWORD: FreeBSD scourge. We have ignored this keyword
for a long time now, so this is a non-functional change
(therefore no PORTREVISION bumps).

Insert a $FreeBSD tag where needed, and adjust a comment
in mail/milter-regex to match reality.
2007-02-26 23:02:04 +00:00
Dirk Meyer
5638a73430 - add : 2007-02-20 16:42:23 +00:00
Dirk Meyer
ef77b8f796 - fix pidfile
Reportey by:	Clemens Fischer

- merge and clean patches in ascii
2007-02-20 16:40:07 +00:00
Dirk Meyer
7d8819ea3d - add flag -quiet
PR:		106602
Submitted by:	Denis Eremenko
2007-02-17 09:09:43 +00:00
Cheng-Lung Sung
9c99ed6527 - Add support for rc.d style startup scripts for mail/milter-regex port.
- reset maintainership

PR:		ports/103114
Submitted by:	Derek Marcotte <derekm dot nospam_AT_rogers dot com>
Approved by:	maintainer (dhartmei)
2006-11-02 06:52:54 +00:00
Trevor Johnson
0d8495116c Update to 0.6 (still untested).
Submitted by:	Daniel Hartmeier and Stephane Lentz
2003-10-06 18:12:05 +00:00
Trevor Johnson
58c62615af new port of the milter-regex plugin for sendmail
Obtained from:	the OpenBSD port by Daniel Hartmeier (author of
		milter-regex)
2003-10-04 16:03:17 +00:00