Commit graph

10 commits

Author SHA1 Message Date
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02: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
Henrik Brix Andersen
f7fe6d747c - Update to v3.0
- Add LICENSE information
2010-10-28 16:20:38 +00:00
Henrik Brix Andersen
c5f34b589c - Update to v1.2.6a
- Use UIDs/GIDs files for automatic user/group creation
2010-04-23 16:12:25 +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
Henrik Brix Andersen
02bedc3a76 - Simplify RC script
Submitted by:	dougb@
Feature safe:	yes
2009-09-21 18:29:16 +00:00
Henrik Brix Andersen
749781186c - Use -u ${user} option to bitlbee instead of su in rc.d script
PR:		ports/138268
Submitted by:	garga
2009-09-13 10:35:23 +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
Henrik Brix Andersen
c2e4cfd348 Run the bitlbee daemon as user 'bitlbee' instead of 'nobody' by
default to honor the fact that 'nobody' is not intended to own any
files.

Requested by:	simon
Approved by:	erwin (mentor)
2008-05-19 16:10:14 +00:00
Henrik Brix Andersen
43ba2e0478 Various improvements:
- Add rc script for running bitlbee in experimental daemon mode
- Add instructions for launching bitlbee from inetd(8)
- Install bitlbee to be run as nobody, not root
- Store saved user settings in /var/db/bitlbee, not $PREFIX/etc/bitlbee
- Do not rely on autodetection for SSL library
- Use $EXTRA_PATCHES instead of custom post-patch target
- Install port documentation files
- Install example configuration files as port examples
- Reflect custom FreeBSD paths in installed man pages and example files
- Bump PORTREVISION

Please read UPDATING for important migration information.

Approved by:	Lars Sommer <lasg@lasg.dk> (maintainer), erwin (mentor)
2008-01-08 20:51:45 +00:00