Commit graph

35 commits

Author SHA1 Message Date
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
Jeremy Chadwick
0ec1929bdb Maintainer moved to ports@FreeBSD.org. 2008-11-20 11:06:24 +00:00
Jeremy Chadwick
d7294ceed4 - Cleanup compile warning (implicit exit(3); needs stdlib.h)
- Fix plist errors when NOPORTDOCS is used

Reported by: itetcu
2008-06-04 12:12:43 +00:00
Jeremy Chadwick
da3434d11e Accidental removal of bsd.port.pre.mk include. Restoring... 2008-06-04 11:18:46 +00:00
Jeremy Chadwick
92d69ac8ad Cleanup for 5.x. 2008-06-04 10:53:27 +00:00
Jeremy Chadwick
8ee821f5cf - Fixups for rc.subr dracd script (likely did not work without
some dracd_xxx variables already defined in rc.conf)
- Add new FTP mirror, since mirrors for this are few
- Remove pkg-message; that notice has been around long enough :)
- Grammatical fixes/wording in pkg-descr
- Take over as maintainer of this port

PR:		ports/105722
Reviewed by:	philip
Approved by:	philip
2006-11-22 01:23:30 +00:00
Edwin Groothuis
efe7d5f7f4 Remove USE_REINPLACE from ports starting with M 2006-05-10 22:37:39 +00:00
Jun Kuriyama
e4d34c7f7c Add knob WITH_POSTFIX_DB41 to use with postfix/db41.
This port shoud support more flavors of databases/db*, but I just only use
db41 with postfix in my environment.
2006-03-27 05:16:49 +00:00
Florent Thoumie
a09202bd23 Remove dracd_flags completely since it's used automatically.
Noticed by:	mnag
2006-03-23 15:53:09 +00:00
Florent Thoumie
30f228505d Fix quote issue in the startup script.
Noticed by:	Troy <troy@twisted.net>
Fix by:		Jeremy Chadwick <freebsd@jdc.parodius.com>
2006-03-23 15:31:46 +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
145be4426a - Add SHA256 2005-11-25 15:31:02 +00:00
Pav Lucistnik
b280fe850f - Add dracd_flags to rc script, useful for changing the default dracdb path and
expire time.

PR:		ports/81222
Submitted by:	Shane Wadleigh <jondoor@udor.net>
2005-05-20 14:58:13 +00:00
Volker Stolz
bb5c131440 No need to substitute variables in rc-script by hand 2005-04-22 13:51:40 +00:00
Pav Lucistnik
250dc14d6f - Install sample configuration file
PR:		ports/73370
Submitted by:	Fumihiko Kimura <jfkimura@yahoo.co.jp>
2004-11-01 22:39:06 +00:00
Joe Marcus Clarke
6243f110f1 Fix the way rc.d default values are initialized so that drac will startup
with the new localpkg on -CURRENT.

Submitted by:	mtm
2004-07-26 19:18:17 +00:00
Norikatsu Shigemura
9b88a8c266 o rcNG-fy.
+ Display pkg-message after install, warning admins of the rc.conf(5)
    variable name change.

PR:		ports/66234
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
Pointed out by:	ume
Pointy hat to:	myself
2004-05-04 15:51:07 +00:00
Norikatsu Shigemura
3478a6476f o Minor text formatting changes when spitting out WITH_* tweaks;
use spaces, not tabs.
o rcNG-fy.
  + Rename rc.conf(5) variable "drac_flags" to "dracd_flags".
  + Display pkg-message after install, warning admins of the rc.conf(5)
    variable name change.
o Bump PORTREVISION accordingly.

PR:		ports/66234
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
2004-05-04 12:56:56 +00:00
Trevor Johnson
c0669efed5 Tidy up whitespace. 2004-04-10 17:26:55 +00:00
Edwin Groothuis
a58129d3de - ECHO -> ECHO_MSG
for some ports:
- ECHO -> ECHO_CMD
- pre-fetch -> pre-everything

PR:		ports/56800-56819
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-09-27 00:50:09 +00:00
Norikatsu Shigemura
13011e478e o Update to 1.12[1].
o Clean up rc script to rc.conf configuratable.  Acording to the
  POLA, if you don't set it, this feature will have no effect
  (same behavior before now).

Pointed out by:	Mats Dufberg <dufberg@narnia.pp.se> [1]
2003-03-26 02:25:52 +00:00
Akinori MUSHA
2c41b9e5f3 De-pkg-comment. 2003-02-20 19:00:52 +00:00
Anders Nordby
2e954ce9ed Resign maintainership from a few ports I don't care for anymore. 2002-12-15 23:03:07 +00:00
Edwin Groothuis
2736678db7 PERL -> REINPLACE
Noticed on: bento
2002-11-04 01:37:23 +00:00
Ade Lovett
76d6ac6122 BerkeleyDB cleanup - stage 2
Update databases/db3 to 3.3.11, and fix the few ports that need sorting
after the shlib version update, and a slight API change from 3.2.x->3.3.x
2002-08-22 19:13:46 +00:00
Will Andrews
79c4980e56 [1] Fix pre-everything target specifier.
[2] Cosmetic fix: no lines longer than 80 characters (8-char tab).

Submitted by:	[1] Dan Langille <dan@langille.org>
2002-03-16 17:36:56 +00:00
Anders Nordby
6a7f3a5015 Master site updates: www.freenix.no => atreides.freenix.no for these
files.
2002-03-15 00:31:54 +00:00
Anders Nordby
ad6b4799b4 Correct MAINTAINER e-mail address for ports I maintain. 2002-03-14 00:11:40 +00:00
Anders Nordby
618bba3fce Correct typo.
Submitted by:	Jan Demter <jan@demter.de>
2002-01-02 23:51:42 +00:00
Anders Nordby
f8e6cb9777 Add support for Postfix DB3 maps.
Requested by: jeremy@external.org
2002-01-02 22:19:38 +00:00
David W. Chapman Jr.
d58016fcb4 Add dracd.sh startup script
Make the rpc.dracd daemon detach upon start
Bump PORTREVISION

PR:		29474
Submitted by:	maintainer
2001-08-23 18:27:46 +00:00
Alexander Langer
1b3ebaa7b2 Use the latest patch from maintainer to make this work on -CURRENT.
Submitted by:	Anders Nordby <anders@fix.no> (maintainer)
2001-05-09 11:15:57 +00:00
Alexander Langer
ca9e2800d7 Add -b option to rpcgen calls to make this work on -CURRENT.
Add Name of Maintainer to pkg-descr.

PR:		26545
Submitted by:	Anders Nordby <anders@fix.no>
2001-05-09 09:52:44 +00:00
Jim Mock
9de42e9adc Add drac, a daemon to dynamically update a relay authorization map for
Sendmail, Postfix, and other MTAs that support it.

PR:		24134
Submitted by:	Anders Nordby <anders@fix.no>
2001-02-09 20:32:37 +00:00