summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mu-conference/ChangeLog91
-rw-r--r--net-im/mu-conference/Manifest47
-rw-r--r--net-im/mu-conference/files/README.Gentoo40
-rw-r--r--net-im/mu-conference/files/mu-conference-conf.d9
-rw-r--r--net-im/mu-conference/files/mu-conference-makefile.patch11
-rw-r--r--net-im/mu-conference/files/muc-transport.init26
-rw-r--r--net-im/mu-conference/files/muc-transport.init-r233
-rw-r--r--net-im/mu-conference/files/muctrans.xml37
-rw-r--r--net-im/mu-conference/metadata.xml10
-rw-r--r--net-im/mu-conference/mu-conference-0.6.0-r1.ebuild57
-rw-r--r--net-im/mu-conference/mu-conference-0.6.0-r2.ebuild59
11 files changed, 0 insertions, 420 deletions
diff --git a/net-im/mu-conference/ChangeLog b/net-im/mu-conference/ChangeLog
deleted file mode 100644
index c85bcfb4..00000000
--- a/net-im/mu-conference/ChangeLog
+++ /dev/null
@@ -1,91 +0,0 @@
-# ChangeLog for net-im/mu-conference
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/ChangeLog,v 1.20 2007/05/06 11:49:16 genone Exp $
-
- 06 May 2007; Marius Mauch <genone@gentoo.org>
- mu-conference-0.6.0-r1.ebuild, mu-conference-0.6.0-r2.ebuild:
- Replacing einfo with elog
-
- 28 Apr 2007; Sven Wegener <swegener@gentoo.org>
- mu-conference-0.6.0-r1.ebuild, mu-conference-0.6.0-r2.ebuild:
- Fix *initd, *confd and *envd calls (#173884, #174266)
-
- 22 Feb 2007; Piotr JaroszyƄski <peper@gentoo.org> ChangeLog:
- Transition to Manifest2.
-
- 15 Feb 2006; Karol Pasternak <reb@gentoo.org>
- mu-conference-0.6.0-r1.ebuild, mu-conference-0.6.0-r2.ebuild:
- corrected path to README.Gentoo.gz, bug #122896
-
-*mu-conference-0.6.0-r2 (08 Jul 2004)
-
- 08 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>;
- +files/mu-conference-conf.d, +files/muc-transport.init-r2,
- +mu-conference-0.6.0-r2.ebuild:
- Bringing back -r2 fixed init
-
- 07 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>;
- -files/mu-conference-conf.d, -files/muc-transport.init-r2,
- -mu-conference-0.6.0-r2.ebuild:
- Need to check this bash stuff a bit more
-
- 06 Jul 2004; Gustavo Felisberto <humpback@gentoo.org>;
- +files/mu-conference-conf.d, +files/muc-transport.init-r2,
- mu-conference-0.6.0-r2.ebuild:
- Now it gets the config file and pid from the configuration in conf.d
-
- 05 Jul 2004; David Holm <dholm@gentoo.org> mu-conference-0.6.0-r2.ebuild:
- Added to ~ppc.
-
-*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:
- Fixing dependencies and cleanning older versions
-
- 20 Jun 2004; Gustavo Felisberto <humpback@gentoo.org>;
- mu-conference-0.6.0-r1.ebuild:
- Marked stable on x86, added ~sparc
-
- 24 May 2004; Gustavo Felisberto <humpback@gentoo.org>;
- mu-conference-0.6.0-r1.ebuild, mu-conference-0.6.0.ebuild:
- Changed description, thanks to Daniel Webert <daniel_webert@web.de> in bug
- 51673
-
- 05 May 2004; Don Seiler <rizzo@gentoo.org>; mu-conference-0.6.0-r1.ebuild,
- mu-conference-0.6.0.ebuild:
- Fix for bug #50100. Thanks to Antonio <netbix@netbix.net>
-
- 27 Apr 2004; Aron Griffis <agriffis@gentoo.org>
- mu-conference-0.6.0-r1.ebuild, mu-conference-0.6.0.ebuild:
- Add inherit eutils
-
-*mu-conference-0.6.0-r1 (08 Apr 2004)
-
- 08 Apr 2004; Gustavo Felisberto <humpback@gentoo.org>;
- mu-conference-0.6.0-r1.ebuild, files/muc-transport.init, files/muctrans.xml:
- Adding version 20040131-r1 and it's init script, helps fix bug 43851.
-
- 25 Feb 2004; Jason Wever <weeve@gentoo.org> mu-conference-0.6.0.ebuild:
- Added ~sparc keyword, helps resolve bug #42928.
-
- 17 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>;
- mu-conference-0.6.0.ebuild:
- Marking stable on x86
-
- 29 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>;
- mu-conference-0.6.0.ebuild:
- Removing touch of .keep . Closes bug 39814
-
-*mu-conference-0.6.0 (11 Jan 2004)
-
- 11 Jan 2004; Don Seiler <rizzo@gentoo.org>; metadata.xml,
- mu-conference-0.6.0.ebuild, files/README.Gentoo,
- files/mu-conference-makefile.patch, files/muctrans.xml:
- Initial check-in of separate mu-conference transport for jabberd. Thanks to
- Gustavo Felisberto
-
diff --git a/net-im/mu-conference/Manifest b/net-im/mu-conference/Manifest
deleted file mode 100644
index 7b2172f6..00000000
--- a/net-im/mu-conference/Manifest
+++ /dev/null
@@ -1,47 +0,0 @@
-AUX README.Gentoo 1483 RMD160 f3f059fc9789e4b162485f72f43dd788418cdb24 SHA1 6131ff6d57cff11ae1d875bf983d71decbf74ebc SHA256 36efdb71c2d68941fe1d26c5989064a9ed18d91e6bfd83ae884e9088a17b6159
-MD5 95d0e1126a3c7d35a21f43cd01095323 files/README.Gentoo 1483
-RMD160 f3f059fc9789e4b162485f72f43dd788418cdb24 files/README.Gentoo 1483
-SHA256 36efdb71c2d68941fe1d26c5989064a9ed18d91e6bfd83ae884e9088a17b6159 files/README.Gentoo 1483
-AUX mu-conference-conf.d 435 RMD160 e195766105473e83969bd9ed9de4e37dacc19baa SHA1 b77c8b806a882df5a58c26804848a9a927aae77c SHA256 d1c13df4fe3be4cb15b830f4b5935fc51d0a09e827e99225ae189fafdbc7e741
-MD5 fe7a249c39d9046180aee62459ed6c82 files/mu-conference-conf.d 435
-RMD160 e195766105473e83969bd9ed9de4e37dacc19baa files/mu-conference-conf.d 435
-SHA256 d1c13df4fe3be4cb15b830f4b5935fc51d0a09e827e99225ae189fafdbc7e741 files/mu-conference-conf.d 435
-AUX mu-conference-makefile.patch 430 RMD160 ca5d8b9b8a12616c1b35dae285367e99d982e9aa SHA1 d7ad1db101b9b014e33511be7c84e697a6052841 SHA256 58e36385215a1da9278a914939e807c5379b0960cae645ac8f288e9d29dd93d3
-MD5 34c298326722258d9f0ad798afb32cb1 files/mu-conference-makefile.patch 430
-RMD160 ca5d8b9b8a12616c1b35dae285367e99d982e9aa files/mu-conference-makefile.patch 430
-SHA256 58e36385215a1da9278a914939e807c5379b0960cae645ac8f288e9d29dd93d3 files/mu-conference-makefile.patch 430
-AUX muc-transport.init 529 RMD160 b9b4f46012ee5e83a4772666432ec884ce14361c SHA1 d70825a0c1397dc2877f633d496b1fbcc74be6e1 SHA256 d4f772a6c94bc19ea45b3cb6e6a92f9ac26ccddb344112053485fb0db606e9bf
-MD5 34f38216da5355bb7d24145b50d39bfd files/muc-transport.init 529
-RMD160 b9b4f46012ee5e83a4772666432ec884ce14361c files/muc-transport.init 529
-SHA256 d4f772a6c94bc19ea45b3cb6e6a92f9ac26ccddb344112053485fb0db606e9bf files/muc-transport.init 529
-AUX muc-transport.init-r2 532 RMD160 8cfa94e0e0510044bddd07bcabcac979d45735e0 SHA1 cd6424c1a2bf8c7a1e636ba0cb9a7ff482bedb15 SHA256 359b28c8218c5f26154d2ca051031c1d37cfb36e55de8a3d71f67d66893bdab2
-MD5 48afbfebeba7df894e0b4fed629e22eb files/muc-transport.init-r2 532
-RMD160 8cfa94e0e0510044bddd07bcabcac979d45735e0 files/muc-transport.init-r2 532
-SHA256 359b28c8218c5f26154d2ca051031c1d37cfb36e55de8a3d71f67d66893bdab2 files/muc-transport.init-r2 532
-AUX muctrans.xml 908 RMD160 b2ddb59e7a85651b2478b717cf5182d326f2d857 SHA1 581cdb5badb9652d99b9717b034e2a4afa534599 SHA256 66b653cc18a1738520cd012e2d71079724a34d1f84e4c3aad5e9b84d485fc6aa
-MD5 5d92cc782339ac08100c8a4068f24b92 files/muctrans.xml 908
-RMD160 b2ddb59e7a85651b2478b717cf5182d326f2d857 files/muctrans.xml 908
-SHA256 66b653cc18a1738520cd012e2d71079724a34d1f84e4c3aad5e9b84d485fc6aa files/muctrans.xml 908
-DIST mu-conference-0.6.0.tar.gz 56272 RMD160 58b9bf9354a67dda3b8f5569dfb15f47d9509f14 SHA1 cc81619378a86c6c449c4122586c353102d4876e SHA256 9cc4d95f9dd8f658f174a156b768c64e0b2f30646acdd1915e97e3d1ac8c1466
-EBUILD mu-conference-0.6.0-r1.ebuild 1340 RMD160 e17d1b5c73e5ef4e7a2d2c167dfc0565e8c0ccb8 SHA1 de587464b3a03c794b740170e473ed178286018e SHA256 4c37a5f1fc1f36b5c2d8559db893bb4b1671bfe4964255adcf60d993c24179da
-MD5 187cdfb1cf60b5309983b6ee83e5b261 mu-conference-0.6.0-r1.ebuild 1340
-RMD160 e17d1b5c73e5ef4e7a2d2c167dfc0565e8c0ccb8 mu-conference-0.6.0-r1.ebuild 1340
-SHA256 4c37a5f1fc1f36b5c2d8559db893bb4b1671bfe4964255adcf60d993c24179da mu-conference-0.6.0-r1.ebuild 1340
-EBUILD mu-conference-0.6.0-r2.ebuild 1431 RMD160 dc017c5300e77c8c5713b0538e742bc079d40605 SHA1 5c74447b1454d2c0f02b341629776dfa65e99ad8 SHA256 d3604be842ae6c21ef56c27b042c93ae62d4d6e3681639efe025b44f3b320e76
-MD5 bde60ef3b51dd1178976ebf228b7d4e1 mu-conference-0.6.0-r2.ebuild 1431
-RMD160 dc017c5300e77c8c5713b0538e742bc079d40605 mu-conference-0.6.0-r2.ebuild 1431
-SHA256 d3604be842ae6c21ef56c27b042c93ae62d4d6e3681639efe025b44f3b320e76 mu-conference-0.6.0-r2.ebuild 1431
-MISC ChangeLog 3471 RMD160 694b9ab3cc85d83b1aafd8f4ed5c786740a06503 SHA1 242b8fb163ae3d70b89ca66ce3608dcaee3294a9 SHA256 e2af326dbf70763115bcff8b9e276482ecba29ffd7c09b6b5e8ff1e6b7205a03
-MD5 239edebcaac777d73637cd0736677ec8 ChangeLog 3471
-RMD160 694b9ab3cc85d83b1aafd8f4ed5c786740a06503 ChangeLog 3471
-SHA256 e2af326dbf70763115bcff8b9e276482ecba29ffd7c09b6b5e8ff1e6b7205a03 ChangeLog 3471
-MISC metadata.xml 327 RMD160 90686b32e6e8835705fe333f2533c8e15c9c1930 SHA1 99b87664ee46ceb893992ed226fd3cc20af79474 SHA256 a03303ac64697f0f97f778659abc42c14916aa3c9aae9282d5415c98373f4b97
-MD5 5d032797cb26e7105194d6156f0dae09 metadata.xml 327
-RMD160 90686b32e6e8835705fe333f2533c8e15c9c1930 metadata.xml 327
-SHA256 a03303ac64697f0f97f778659abc42c14916aa3c9aae9282d5415c98373f4b97 metadata.xml 327
-MD5 f40f0ed3e8cd707d490705ece3f38410 files/digest-mu-conference-0.6.0-r1 186
-RMD160 db38ebb191118743a7ff06b2411a2e71cd53d912 files/digest-mu-conference-0.6.0-r1 186
-SHA256 82bbf64b1c933f451e8b067ad09f76a0ddf177b47408cdd9459d56d74ddc718e files/digest-mu-conference-0.6.0-r1 186
-MD5 f40f0ed3e8cd707d490705ece3f38410 files/digest-mu-conference-0.6.0-r2 186
-RMD160 db38ebb191118743a7ff06b2411a2e71cd53d912 files/digest-mu-conference-0.6.0-r2 186
-SHA256 82bbf64b1c933f451e8b067ad09f76a0ddf177b47408cdd9459d56d74ddc718e files/digest-mu-conference-0.6.0-r2 186
diff --git a/net-im/mu-conference/files/README.Gentoo b/net-im/mu-conference/files/README.Gentoo
deleted file mode 100644
index a478572f..00000000
--- a/net-im/mu-conference/files/README.Gentoo
+++ /dev/null
@@ -1,40 +0,0 @@
-This is a small help to get you started with the MSN Jabberd transport in
-Gentoo.
-
-Edit /etc/jabber/muctrans.xml . This is the config file for MU-Conference.
-There change all references to localhost with the FQDN (Fully Qualified Domain
-Name) for your server.
-
-In the msnlinker section enter the IP of your main jabber server (normally
-127.0.0.1) and choose a port and secret (secret is the password the MSN
-transport will use to connect to the main jabber server).
-
-Now back to the multiple.xml to tell your main jabber server to listen to
-connections from the MU transport.
-Search for "<vcard2jud/>" and after that, and before the </jsm> add:
-
-<browse>
- <item category="conference" type="public" jid="conference.localhost" name="Public Conferencing" version="0.6.0">
- <ns>http://jabber.org/protocol/muc</ns>
- </item>
-</browse>
-
-Again here change localhost for your FQDN.
-
-Scrool down to the bottom of the file, and just before the </jabber> add:
-
-<service id="muclinker">
-<host>conference.localhost</host>
- <accept>
- <ip>127.0.0.1</ip>
- <port>31518</port>
- <secret>mymucsecret</secret>
- </accept>
-</service>
-(By know you know you have to change localhost for you FQDN).
-One very importante thing: even if it is the same machine the name's for the
-various services must be diferent, that means that there must be valid aliases
-for conference.FQDN .
-
-If you need help with configuration you can try the Jabber Admin Mailling list:
-http://mailman.jabber.org/listinfo/jadmin
diff --git a/net-im/mu-conference/files/mu-conference-conf.d b/net-im/mu-conference/files/mu-conference-conf.d
deleted file mode 100644
index dc36edcd..00000000
--- a/net-im/mu-conference/files/mu-conference-conf.d
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/files/mu-conference-conf.d,v 1.4 2004/07/08 17:35:01 humpback Exp $
-
-CONFIG="/etc/jabber/muctrans.xml"
-
-#Need to find a way to fix the "double" expansion
-#PIDFILE= grep pid ${CONFIG} | sed -e 's/<[^>]*>//g' | sed s/' '//g
-PIDFILE="/var/log/jabber/muctrans.pid"
diff --git a/net-im/mu-conference/files/mu-conference-makefile.patch b/net-im/mu-conference/files/mu-conference-makefile.patch
deleted file mode 100644
index 2a009402..00000000
--- a/net-im/mu-conference/files/mu-conference-makefile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile 2003-11-15 04:19:44.000000000 +0000
-+++ Makefile.new 2004-01-10 02:20:28.753368424 +0000
-@@ -1,6 +1,6 @@
--include ../../platform-settings
-+include /usr/lib/jabberd/platform-settings
-
--CFLAGS:=$(CFLAGS) -I../../jabberd -I../include `pkg-config --cflags glib-2.0`
-+CFLAGS:=$(CFLAGS) -I/usr/include/jabberd -I../include `pkg-config --cflags glib-2.0`
- LIBS:=$(LIBS) `pkg-config --libs glib-2.0`
-
- # Debug/Experimental
diff --git a/net-im/mu-conference/files/muc-transport.init b/net-im/mu-conference/files/muc-transport.init
deleted file mode 100644
index 39f61157..00000000
--- a/net-im/mu-conference/files/muc-transport.init
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
- use jabber-server
-}
-
-start() {
- ebegin "Starting MUC Jabber Transport"
- jabberd -B -c /etc/jabber/muctrans.xml -H /var/spool/jabber >/dev/null 2>&1
- eend $?
-}
-
-stop() {
- ebegin "Stoping MUC Jabber Transport"
- 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
- 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/files/muc-transport.init-r2 b/net-im/mu-conference/files/muc-transport.init-r2
deleted file mode 100644
index 03978bda..00000000
--- a/net-im/mu-conference/files/muc-transport.init-r2
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
- use jabber-server
-}
-
-start() {
- ebegin "Starting MUC Jabber Transport"
- if [ -f ${PIDFILE} ]; then
- if [ -z $(ps ax | grep `cat ${PIDFILE}` | grep -v grep ) ]
- then
- rm -f ${PIDFILE}
- fi
- fi
-
- jabberd -B -c ${CONFIG} -H /var/spool/jabber >/dev/null 2>&1
- eend $?
-}
-
-stop() {
- ebegin "Stoping MUC Jabber Transport"
- if [ -f ${PIDFILE} ]; then
- kill `cat ${PIDFILE}`
- fi
- sleep 2
- if [ -f ${PIDFILE} ]; then
- kill -9 `cat ${PIDFILE}`
- rm -f ${PIDFILE}
- fi
- rm -f ${PIDFILE}
- eend $?
-}
diff --git a/net-im/mu-conference/files/muctrans.xml b/net-im/mu-conference/files/muctrans.xml
deleted file mode 100644
index 6fe5b21b..00000000
--- a/net-im/mu-conference/files/muctrans.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<jabber>
-
- <service id="muclinker">
- <uplink/>
- <connect>
- <ip>127.0.0.1</ip>
- <port>31518</port>
- <secret>mymucsecret</secret>
- </connect>
- </service>
-
- <service id="conference.localhost">
- <load>
- <conference>/usr/lib/jabberd/mu-conference.so</conference>
- </load>
- <conference xmlns="jabber:config:conference">
- <public/>
- <vCard>
- <FN>Public Chatrooms</FN>
- <DESC>This service is for public chatrooms.</DESC>
- <URL>http://conference.localhost/logs/</URL>
- </vCard>
- <history>20</history>
- <logdir>/var/log/jabber/conference/</logdir>
- <sadmin>admin@localhost</sadmin>
- <notice>
- <join>has joined this session</join>
- <leave>has left</leave>
- <rename>is now known as</rename>
- </notice>
- </conference>
- </service>
-
- <pidfile>/var/log/jabber/muctrans.pid</pidfile>
-
-</jabber>
-
diff --git a/net-im/mu-conference/metadata.xml b/net-im/mu-conference/metadata.xml
deleted file mode 100644
index 708ac9e0..00000000
--- a/net-im/mu-conference/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>net-im</herd>
-<maintainer>
- <email>humpback@gentoo.org</email>
- <name>Gustavo Felisberto</name>
-</maintainer>
- <longdescription>Multi User Conference for Jabber</longdescription>
-</pkgmetadata>
diff --git a/net-im/mu-conference/mu-conference-0.6.0-r1.ebuild b/net-im/mu-conference/mu-conference-0.6.0-r1.ebuild
deleted file mode 100644
index 216c1ef0..00000000
--- a/net-im/mu-conference/mu-conference-0.6.0-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2007 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-r1.ebuild,v 1.11 2007/07/12 05:34:48 mr_bones_ 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
-
- newinitd ${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() {
- elog
- elog "Please read /usr/share/doc/${PF}/README.Gentoo.gz"
- elog "And please notice that now muc-transport comes with a init.d script"
- elog "dont forget to add it to your runlevel."
- elog
-}
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
deleted file mode 100644
index 3ad03f54..00000000
--- a/net-im/mu-conference/mu-conference-0.6.0-r2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2007 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.10 2007/07/12 05:34:48 mr_bones_ 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 ~ppc"
-SLOT="0"
-
-DEPEND="|| ( =net-im/jabberd-1.4* net-im/jabberd14 )
- >=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
-
- newconfd ${FILESDIR}/mu-conference-conf.d muc-transport
-
- newinitd ${FILESDIR}/muc-transport.init-r2 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() {
- elog
- elog "Please read /usr/share/doc/${PF}/README.Gentoo.gz"
- elog "And please notice that now muc-transport comes with a init.d script"
- elog "dont forget to add it to your runlevel."
- elog
-}