Commit graph

11 commits

Author SHA1 Message Date
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
Marcelo Araujo
e3d70fd145 - Update to 2.20.3. [1]
- Use SF macro. [1]
- Added new OPTIONS. [1]
- Fixed and changed pkg-install to FILESDIR. [1]
- Change maintainer mail address. [2]

PR:		ports/120136
Submitted by:	Felippe de Meirelles Motta <lippemail@gmail.com> [1]
Approved by:	Natanael Copa <ncopa@users.sourceforge.net> (maintainer) [2]
		stas (mentor, implicit)
2008-02-13 10:30:15 +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
Renato Botelho
d2fe699014 - Update to 2.20 [1]
- OPTIONS'ify
- Use PORTDOCS
- Remove 3 lines pkg-plist
- Move dnrd.sh to dnrd.sh.in and use USE_RC_SUBR facility

PR:		ports/85744 [1]
Submitted by:	maintainer [1]
Reworked by:	myself
Approved by:	maintainer
2005-09-06 12:10:46 +00:00
Pav Lucistnik
86f163f8e1 - Update to 2.14.1
PR:		ports/70404
Submitted by:	Natanael Copa <ncopa@users.sourceforge.net>
2004-08-13 17:59:12 +00:00
Pav Lucistnik
06aec1c6eb - Fix few obvious problems with rc script 2004-07-28 21:54:57 +00:00
Pav Lucistnik
48f158c028 - Update to 2.14
- Add rc script

PR:		ports/69669 (based on)
Submitted by:	Natanael Copa <mlists@tanael.org>
2004-07-28 20:53:08 +00:00
Edwin Groothuis
c90d26d28b dns/dnrd: recv_addr init wrong and 512 byte udp packets dropped
There are a few bugs in dnrd that should probably be fixed
	by the author but could be made to work on bsd:

	1.  Initialization in common.h of recv_addr is broken,
	causing at least the '-a' switch not to work.  Instead of
	assuming positions of fields in the struct across platforms
	I thought it safer to do a standard initialization in main().

	2.  The buffer overflow code in udp.c:dnsrecv() is off by
	one, rejecting messages where the size exactly fills the
	available buffer.  I also changed to the calls to dnsrecv
	to pass 512 as the max size instead of the buffers that
	seem to be padded by 4 bytes for a reason I don't understand.
	This causes a calling named to resend packets.  Eventually
	one seems to get through but response times can be painfully
	slow.

PR:		ports/41128
Submitted by:	Michael C. Adler <mad1@tapil.com>
2004-01-03 05:42:42 +00:00
Will Andrews
ff049e43e4 Add dnrd 2.9, a proxy DNS daemon.
PR:		24107
Submitted by:	George Reid <greid@ukug.uk.freebsd.org>
2001-03-10 19:33:51 +00:00