Commit graph

19 commits

Author SHA1 Message Date
Adam Weinberger
0d36ec3c79 Rename misc/ patch-xy patches to reflect the files they modify. 2014-07-29 01:16:45 +00:00
Doug Barton
997263d3d9 Fix post r302141: The files in USE_RC_SUBR are already included in SUB_FILES
While I'm here, reformat the rc.d script to match conventions, and remove
some cruft from the Makefile.
2012-08-23 20:43:07 +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
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
Edwin Groothuis
68deee40d2 Use SUB_FILES for pkg-message 2006-04-01 13:23:43 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Doug Barton
ffde46cbf9 Now that new style rc.d scripts are being run as part of the
base rcorder, hard coded variable values in these scripts
are overriding the values in /etc/rc.conf[.local] (due to
the way that variables from the latter are read at boot time).

Therefore, change the boot scripts to set default values only
if the variable is unset in /etc/rc.conf[.local]. This will
allow the service to start at boot time if it's been enabled
as the user would expect.

This change will be a noop for users who have systems that
have not yet been upgraded to the new rc.d code in the base.

In many cases there are other variables in the scripts that
should get similar treatment, however I did not change
anything other than the _enable lines. I'll leave the rest
up to the maintainers to do as they see fit.

Bump PORTREVISION to make sure that users and packages
pick up this change.
2006-01-07 06:29:57 +00:00
Kirill Ponomarev
c3ed06935e - Use RC_SUBR
Submitted by:	maintainer
2004-03-04 08:35:28 +00:00
Kirill Ponomarev
e8ef4a0dcd - Fix MASTER_SITES
- Add USE_RC_SUBR
- Update pkg-descr
- Use DOCSDIR

PR:		ports/63668
Submitted by:	maintainer
2004-03-03 11:46:05 +00:00
Mario Sergio Fujikawa Ferreira
25bcc4e689 Update to 5.0.b8
PR:		53230
Submitted by:	maintainer
2003-06-12 01:31:42 +00:00
Christian Weisgerber
528f5193e7 Update to 5.0.b7 and various small changes.
PR:		47869
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2003-02-14 00:16:51 +00:00
Pete Fritchman
c547be44da Update to 5.0.b6.
PR:		46339
Submitted by:	maintainer
2003-01-03 06:35:32 +00:00
Oliver Braun
6aee96b6e7 * Upgrade to 5.0.b5.
* Changed MASTER_SITES.
* Respect PREFIX correctly.

PR:		44283
Submitted by:	maintainer
2002-10-19 22:14:38 +00:00
Patrick Li
4a4b0cc5d3 Update to 4.2.1.23 The Uptimes Project is back!
PR:		32080
Submitted by:	maintainer
Approved by:	lioux
2001-11-19 06:38:34 +00:00
Kevin Lo
59fc53e8e8 Update to 4.2.1.21
PR: 24108
Submitted by: MAINTAINER
2001-01-06 17:25:07 +00:00
James E. Housley
9efa8d4a6c Major update from 3.04 to 4.2.1.19
PR:		23948
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-01-05 03:37:07 +00:00
Chris Piazza
5e30dde42d Import of upclient.
This is the client program for the Server Uptimes project.
For more information on the Server Uptimes project visit their web site at:
 http://uptime.hexon.cx/

PR:		13272
Submitted by:	Kelly Yancey <kbyanc@posi.net>
1999-08-28 19:27:20 +00:00