aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@FreeBSD.org>2009-09-21 18:29:16 +0000
committerHenrik Brix Andersen <brix@FreeBSD.org>2009-09-21 18:29:16 +0000
commit02bedc3a7624f6d5d7a13af05c015680a9530785 (patch)
tree1f6e04736c8a1aad28a7dfc0879c913f1678c5e3 /irc
parent396f589e5c16aa5783311ad11d1c54f204bab0f0 (diff)
downloadports-02bedc3a7624f6d5d7a13af05c015680a9530785.tar.gz
ports-02bedc3a7624f6d5d7a13af05c015680a9530785.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/bitlbee/Makefile2
-rw-r--r--irc/bitlbee/files/bitlbee.in10
2 files changed, 3 insertions, 9 deletions
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile
index 5e7fe88afa80..a92e0d0c4e45 100644
--- a/irc/bitlbee/Makefile
+++ b/irc/bitlbee/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bitlbee
PORTVERSION= 1.2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/ \
${MASTER_SITE_LOCAL}
diff --git a/irc/bitlbee/files/bitlbee.in b/irc/bitlbee/files/bitlbee.in
index b8cc97636350..b53c8adef9c9 100644
--- a/irc/bitlbee/files/bitlbee.in
+++ b/irc/bitlbee/files/bitlbee.in
@@ -3,7 +3,7 @@
# $FreeBSD$
#
# PROVIDE: bitlbee
-# REQUIRE: DAEMON
+# REQUIRE: LOGIN
# KEYWORD: shutdown
# Add the following lines to /etc/rc.conf to enable bitlbee:
@@ -23,12 +23,6 @@ load_rc_config $name
required_files="${bitlbee_config}"
command="%%PREFIX%%/sbin/bitlbee"
-start_cmd="bitlbee_start"
-
-bitlbee_start()
-{
- echo "Starting ${name}."
- ${command} -D -u ${bitlbee_user} -c ${bitlbee_config} ${bitlbee_flags}
-}
+command_args="-D -u ${bitlbee_user} -c ${bitlbee_config} ${bitlbee_flags}"
run_rc_command "$1"