summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-05-26 20:25:25 +0000
committerPeter Volkov <pva@gentoo.org>2010-05-26 20:25:25 +0000
commitd7e30f09229faf3c31935911e15cc4831906bb2b (patch)
treeb97d5576e805a1af04e238f88a40b67a2892989f /net-im/ejabberd/files
parentStable on amd64 wrt bug #318189 (diff)
downloadhistorical-d7e30f09229faf3c31935911e15cc4831906bb2b.tar.gz
historical-d7e30f09229faf3c31935911e15cc4831906bb2b.tar.bz2
historical-d7e30f09229faf3c31935911e15cc4831906bb2b.zip
Version bump, #281366 thank Vadim Efimov for report and jamatik for preliminary testing (that helped greately)! Fixes conflict with GSecurity TPE bug 202616, thank Andrian Nord for report. Init script rewriten, fixes bugs #210234, #279613 and #306593, thank Luca Barbato, Roy Marples, Luke-Jr and Livid. Fixed ssl related build issue, bug 288414 by Michał Masłowski. Fixes DoS, security bug 308047, thank Stefan Behte for report.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-im/ejabberd/files')
-rw-r--r--net-im/ejabberd/files/ejabberd-3.confd5
-rw-r--r--net-im/ejabberd/files/ejabberd-3.initd22
2 files changed, 27 insertions, 0 deletions
diff --git a/net-im/ejabberd/files/ejabberd-3.confd b/net-im/ejabberd/files/ejabberd-3.confd
new file mode 100644
index 000000000000..b1e984e4d7ab
--- /dev/null
+++ b/net-im/ejabberd/files/ejabberd-3.confd
@@ -0,0 +1,5 @@
+# Please configure everything at /etc/jabber/ejabberdctl.cfg
+# Put here only command line arguments for ejabberdctl (if any are required)
+
+#EJABBERDCTL_OPTS=""
+
diff --git a/net-im/ejabberd/files/ejabberd-3.initd b/net-im/ejabberd/files/ejabberd-3.initd
new file mode 100644
index 000000000000..857af1d653e4
--- /dev/null
+++ b/net-im/ejabberd/files/ejabberd-3.initd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/files/ejabberd-3.initd,v 1.1 2010/05/26 20:25:25 pva Exp $
+
+depend() {
+ use dns
+ need net
+ provide jabber-server
+}
+
+start() {
+ ebegin "Starting ejabberd"
+ /usr/sbin/ejabberdctl ${EJABBERDCTL_OPT} start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ejabberd"
+ /usr/sbin/ejabberdctl stop
+ eend $?
+}