1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
Commit Graph

14 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
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
Pav Lucistnik
9a49082dc3 - Fix build on gcc 4.1
PR:		ports/110568
Submitted by:	Ed Schouten <ed@fxq.nl> (maintainer)

- While here, modernize USE_RC_SUBR and kill FreeBSD 4.X bits
2007-03-25 21:21:40 +00:00
Emanuel Haupt
521887caca - Fix build on -CURRENT. GCC raises a warning at totd.c:507; tv_sec is a
time_t, not a long
- Respect CC (self)

PR:		95148
Submitted by:	Ed Schouten <ed@fxq.nl>
2006-04-12 13:28:00 +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
Pav Lucistnik
9558ed6cdd - Unbreak on !i386
PR:		ports/86091
Submitted by:	Johan van Selst <johans@stack.nl>
2005-09-14 23:34:28 +00:00
Munechika SUMIKAWA
3acd19f92e Upgrade to 1.5.1. 2005-07-11 11:50:27 +00:00
Volker Stolz
ecf9e6e7c4 - rcNGify
- Make pkg-deinstall PREFIX-aware while here

PR:		ports/67052
Submitted by:	ume
2004-05-24 11:46:59 +00:00
Kris Kennaway
54c0973dc2 Quiet some format string warnings. 2003-06-15 05:22:32 +00:00
Munechika SUMIKAWA
191ecb38be Fix signal handling. 2002-11-03 16:20:24 +00:00
Munechika SUMIKAWA
27c90ba30b Add startup script. 2002-11-03 15:51:39 +00:00
Munechika SUMIKAWA
86e0790656 Upgrade to 1.3.
Approved by:	kris
2002-03-19 04:17:23 +00:00
Kris Kennaway
951ea6cda9 totd 1.1p4 is a DNS proxy that supports IPv6 <==> IPv4 record translation
Obtained from:  OpenBSD
2000-11-17 23:08:15 +00:00