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
commit216a5c38ba5bffcff584296c091394e8d9edfbfe (patch)
tree0b4fda043d46b2b0d5fc8e2241d434513b899f4c /net-im/ejabberd/files
parentStable on amd64 wrt bug #318189 (diff)
downloadgentoo-2-216a5c38ba5bffcff584296c091394e8d9edfbfe.tar.gz
gentoo-2-216a5c38ba5bffcff584296c091394e8d9edfbfe.tar.bz2
gentoo-2-216a5c38ba5bffcff584296c091394e8d9edfbfe.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.
(Portage version: 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 $?
+}