summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2004-07-05 02:17:36 +0000
committerGustavo Felisberto <humpback@gentoo.org>2004-07-05 02:17:36 +0000
commitd3e635bdbeb912475b58f539d881c503b089bd68 (patch)
tree7a2622b9aa4e7b216482a9bdeb8e09813bcbdd2c /net-im/mu-conference
parentStable on ppc. (Manifest recommit) (diff)
downloadgentoo-2-d3e635bdbeb912475b58f539d881c503b089bd68.tar.gz
gentoo-2-d3e635bdbeb912475b58f539d881c503b089bd68.tar.bz2
gentoo-2-d3e635bdbeb912475b58f539d881c503b089bd68.zip
Updated init script
Diffstat (limited to 'net-im/mu-conference')
-rw-r--r--net-im/mu-conference/ChangeLog8
-rw-r--r--net-im/mu-conference/Manifest4
-rw-r--r--net-im/mu-conference/files/digest-mu-conference-0.6.0-r21
-rw-r--r--net-im/mu-conference/files/muc-transport.init7
-rw-r--r--net-im/mu-conference/mu-conference-0.6.0-r2.ebuild59
5 files changed, 75 insertions, 4 deletions
diff --git a/net-im/mu-conference/ChangeLog b/net-im/mu-conference/ChangeLog
index a1dd5b7b945c..df2765b79925 100644
--- a/net-im/mu-conference/ChangeLog
+++ b/net-im/mu-conference/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/mu-conference
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/ChangeLog,v 1.11 2004/07/03 11:44:39 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/ChangeLog,v 1.12 2004/07/05 02:17:36 humpback Exp $
+
+*mu-conference-0.6.0-r2 (05 Jul 2004)
+
+ 05 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>;
+ files/muc-transport.init, +mu-conference-0.6.0-r2.ebuild:
+ Updated init script. Thans to Alan <alan@ufies.org> in bug 56090
03 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>;
mu-conference-0.6.0-r1.ebuild, -mu-conference-0.6.0.ebuild:
diff --git a/net-im/mu-conference/Manifest b/net-im/mu-conference/Manifest
index 9aede2ec2abc..641651c5a58e 100644
--- a/net-im/mu-conference/Manifest
+++ b/net-im/mu-conference/Manifest
@@ -1,8 +1,10 @@
MD5 585cb24c8c80e44e69a5ee8804cd65cc ChangeLog 1944
MD5 5d032797cb26e7105194d6156f0dae09 metadata.xml 327
MD5 fd5e5272dca1912c7caab94b217d27a8 mu-conference-0.6.0-r1.ebuild 1362
+MD5 fd5e5272dca1912c7caab94b217d27a8 mu-conference-0.6.0-r2.ebuild 1362
MD5 95d0e1126a3c7d35a21f43cd01095323 files/README.Gentoo 1483
MD5 f88abce484cd1607dc473ea266ea57f9 files/digest-mu-conference-0.6.0-r1 70
MD5 34c298326722258d9f0ad798afb32cb1 files/mu-conference-makefile.patch 430
-MD5 402cb4a5b3e0e5751087a6a694d82f5c files/muc-transport.init 442
+MD5 34f38216da5355bb7d24145b50d39bfd files/muc-transport.init 529
MD5 5d92cc782339ac08100c8a4068f24b92 files/muctrans.xml 908
+MD5 f88abce484cd1607dc473ea266ea57f9 files/digest-mu-conference-0.6.0-r2 70
diff --git a/net-im/mu-conference/files/digest-mu-conference-0.6.0-r2 b/net-im/mu-conference/files/digest-mu-conference-0.6.0-r2
new file mode 100644
index 000000000000..84c66826bb18
--- /dev/null
+++ b/net-im/mu-conference/files/digest-mu-conference-0.6.0-r2
@@ -0,0 +1 @@
+MD5 e97433bf4a978329d639ce872bee3223 mu-conference-0.6.0.tar.gz 56272
diff --git a/net-im/mu-conference/files/muc-transport.init b/net-im/mu-conference/files/muc-transport.init
index 68e0aad3bb36..39f611579824 100644
--- a/net-im/mu-conference/files/muc-transport.init
+++ b/net-im/mu-conference/files/muc-transport.init
@@ -13,11 +13,14 @@ start() {
stop() {
ebegin "Stoping MUC Jabber Transport"
- kill `cat /var/log/jabber/muctrans.pid`
+ if [ -f /var/log/jabber/muctrans.pid ]; then
+ kill `cat /var/log/jabber/muctrans.pid`
+ fi
sleep 2
- if ( -f /var/log/jabber/muctrans.pid ); then
+ if [ -f /var/log/jabber/muctrans.pid ]; then
kill -9 `cat /var/log/jabber/muctrans.pid`
rm -f /var/log/jabber/muctrans.pid
fi
+ rm -f /var/log/jabber/muctrans.pid
eend $?
}
diff --git a/net-im/mu-conference/mu-conference-0.6.0-r2.ebuild b/net-im/mu-conference/mu-conference-0.6.0-r2.ebuild
new file mode 100644
index 000000000000..1c933de341ba
--- /dev/null
+++ b/net-im/mu-conference/mu-conference-0.6.0-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/mu-conference-0.6.0-r2.ebuild,v 1.1 2004/07/05 02:17:36 humpback Exp $
+
+inherit eutils
+
+DESCRIPTION="Multi-User Chat for jabberd"
+HOMEPAGE="http://mu-conference.jabberstudio.org/"
+SRC_URI="http://www.jabberstudio.org/files/mu-conference/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="x86 ~sparc"
+SLOT="0"
+
+DEPEND="=net-im/jabberd-1.4*
+ >=dev-libs/glib-2.2.1"
+
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ epatch ${FILESDIR}/mu-conference-makefile.patch
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ dodir /etc/jabber /usr/lib/jabberd /var/log/jabber/conference
+ keepdir /var/log/jabber/conference/
+
+ insinto /usr/lib/jabberd
+ doins src/mu-conference.so
+
+ insinto /etc/jabber
+ doins ${FILESDIR}/muctrans.xml
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/muc-transport.init muc-transport
+
+ dodoc README FAQ README.jcr ${FILESDIR}/README.Gentoo
+
+ fowners jabber:jabber /var/log/jabber/conference
+
+ fperms g-x /var/log/jabber/conference
+
+ fperms g+rw /var/log/jabber/conference
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please read /usr/share/doc/${P}/README.Gentoo.gz"
+ einfo "And please notice that now muc-transport comes with a init.d script"
+ einfo "dont forget to add it to your runlevel."
+ einfo
+}
+