Commit graph

8 commits

Author SHA1 Message Date
John Marino
bcbae34226 change command_interpreter from /usr/bin/perl to ${PREFIX}/bin/perl
Several ports had rc.d scripts with hardcoded command_interpreter string
as /usr/bin/perl.  This symlink is not guaranteed to be in place, and it
isn't even an option for perl 5.20.  For affected ports, the interpreter
was changed to localbase.

In one case, the interpreter was correct, but it wasn't surround by
quotes.  Since the rc.d script would break if a space was contained in
${PREFIX}, quotes were added in that case.
2015-01-05 13:18:58 +00:00
Doug Barton
dae082c958 Fix what looks like a copy-paste-o that originated in the same script:
command=foo >/dev/null 2>&1
	|
	v
command=foo
command_args='>/dev/null 2>&1'

This is clearly what should have been done, for several reasons.

No PORTREVISION bump because the old version simply ignored everything
after the space, and does not seem to have done any harm. However
it's good to clean these up so that similar errors aren't pasted into
a new script where they might actually matter.
2012-08-06 00:28:43 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +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
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
Rong-En Fan
ae0931ac45 - Make rc variables can be properly set by users. Default variables should be
handled after load_rc_config per Handbook. For example, if user sets
  name_pidfile in rc.conf, it does not correctly pass to name_flags because
  when we set name_flags, it uses our default name_pidfile, but not user's.
- Bump PORTREVISION as rc scripts changed.

Approved by:	portmgr (pav), Xavier Beaudouin <kiwi at oav.net> (ovs maintainer)
2007-12-03 02:24:19 +00:00
Rong-En Fan
cb15f1506e - Update to 1.01
PR:	    	ports/116183
Submitted by:	Xavier Beaudouin <kiwi at oav.net> (maintainer)
2007-09-09 05:44:58 +00:00
Rong-En Fan
bec681c04c OpenVISP Stats is a very simple mail statistics RRDtool frontend for mail
statistics that produces daily, weekly, monthly and yearly graphs of
received/sent, bounces/rejected, spam mails, viruses, ... and pop/imap
statistics.

WWW: http://openvisp.fr/

PR:		ports/115938
Submitted by:	Xavier Beaudouin <kiwi at oav.net>
2007-09-02 01:37:38 +00:00