View | Details | Raw Unified | Return to bug 96705
Collapse All | Expand All

(-)mu-conference/Makefile (+2 lines)
Lines 17-22 Link Here
17
COMMENT=	Multi-User Conferencing component for Jabber
17
COMMENT=	Multi-User Conferencing component for Jabber
18
18
19
USE_GNOME=	glib20
19
USE_GNOME=	glib20
20
USE_RC_SUBR=	${PORTNAME}.sh
21
20
WRKSRC=		${WRKDIR}/jcr-${JCR_VER}
22
WRKSRC=		${WRKDIR}/jcr-${JCR_VER}
21
23
22
JCR_VER?=	0.2.4
24
JCR_VER?=	0.2.4
(-)mu-conference/files/mu-conference.sh.in (+48 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# Start or stop jabber's mu-conference
4
# $FreeBSD$
5
6
# PROVIDE: mu_conference
7
# REQUIRE: DAEMON jabberd
8
# BEFORE: LOGIN
9
# KEYWORD: FreeBSD shutdown
10
#
11
# Define these mu_conference_* variables in one of these files:
12
#       /etc/rc.conf
13
#       /etc/rc.conf.local
14
#       /etc/rc.conf.d/mu_conference
15
#
16
# DO NOT CHANGE THESE DEFAULT VALUES HERE
17
#
18
# mu_conference_config : path
19
#   Path to the configuration file ("/usr/local/etc/muc.xml", the default).
20
#
21
# mu_conference_enable : bool
22
#   Enable ("YES") or disable ("NO", the default) this startup script.
23
#
24
25
. /etc/rc.subr
26
27
name="mu_conference"
28
rcvar=`set_rcvar`
29
command="/usr/local/bin/mu-conference"
30
pidfile="/var/jabberd/pid/mu-conference.pid"
31
32
stop_postcmd="mu_conference_stop_post"
33
34
mu_conference_stop_post () {
35
        rm -f ${pidfile}
36
}
37
38
load_rc_config $name
39
40
: ${mu_conference_config="/usr/local/etc/muc.xml"}
41
: ${mu_conference_enable="NO"}
42
: ${mu_conference_user="jabber"}
43
44
command_args="-c $mu_conference_config -B"
45
46
run_rc_command "$1"
47
48

Return to bug 96705