Commit graph

15 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
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
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
Martin Wilke
9da1747e8e - Fix build on HEAD
PR:		143239
Submitted by:	Rob Farmer <rfarmer@predatorlabs.net>
2010-02-12 17:21:40 +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
Andrej Zverev
1d5b224180 - Fix typo in rc script
Submitted by:	Matthieu Michaud <matthieu(at)epita.info> via e-mail
2007-04-22 09:22:13 +00:00
Andrej Zverev
3b6998396e - s/INSTALLS_SHLIB/USE_LDCONFIG/
- Write notes about msyslogd_flags in pkg-message
- Add msyslogd_flags into rcng file [1]
- bump portversion

[1] Few people ask me todo that, i remember about it, but missed all email from them, sorry guys.
no you names,emails here.
2006-09-16 19:39:45 +00:00
Andrej Zverev
4b8821c079 - Fix SYMBOL_PREFIX, it's must be null.
Noticed by:	Guido <guido_ro@yahoo.it> (via email)
Approved by:	sem (mentor)
2005-10-05 08:36:08 +00:00
Sergey Matveychuk
1ebf65b052 - Update to 1.08g
- Simplify Makefile
- Add OPTIONS support
- Pass maintainership to submitter

PR:		ports/86151
Submitted by:	Andrej Zverev <az@inec.ru>
2005-09-15 12:01:48 +00:00
Anders Nordby
87bcbe0ad8 Update to 1.08f final.
Chase WWW URL.
Remove autoconf dependency.
Bump PORTREVISION.
2003-01-04 19:34:05 +00:00
Anders Nordby
df71265218 Move libs to alat dir like msyslog/audit defaults to.
Fix MANDIR, add two lost manpages.
Port is prefix-clean.
2002-03-24 17:56:20 +00:00
Anders Nordby
62374e8c96 Update to version 1.08f.
Reclaim maintainership.
2002-03-23 18:28:13 +00:00
Kevin Lo
3b767a77fa Update to version 1.05
PR: 28559
Submitted by: MAINTAINER
2001-07-01 15:36:45 +00:00
James E. Housley
4ec1a59c35 Updates the msyslog port to the latest version: 1.04d
PR:		27856
Submitted by:	Anders Nordby <anders@fix.no>
2001-06-07 11:12:51 +00:00
Will Andrews
d9ea8a1921 Add msyslog 1.04b, a flexible and easy to integrate syslog daemon.
PR:		27308
Submitted by:	Anders Nordby <anders@fix.no>
2001-05-20 02:54:49 +00:00