diff options
author | Don Seiler <rizzo@gentoo.org> | 2004-01-12 01:59:55 +0000 |
---|---|---|
committer | Don Seiler <rizzo@gentoo.org> | 2004-01-12 01:59:55 +0000 |
commit | edeb0fb014641169db0ce27144a86793c2a36e5d (patch) | |
tree | 021d4767f11e0f43daaaa3006c12c9cdb127e597 /net-im | |
parent | Initial mu-conference transport for jabberd checkin. (diff) | |
download | gentoo-2-edeb0fb014641169db0ce27144a86793c2a36e5d.tar.gz gentoo-2-edeb0fb014641169db0ce27144a86793c2a36e5d.tar.bz2 gentoo-2-edeb0fb014641169db0ce27144a86793c2a36e5d.zip |
Initial mu-conference transport for jabberd checkin.
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/mu-conference/ChangeLog | 12 | ||||
-rw-r--r-- | net-im/mu-conference/Manifest | 5 | ||||
-rw-r--r-- | net-im/mu-conference/files/README.Gentoo | 40 | ||||
-rw-r--r-- | net-im/mu-conference/files/digest-mu-conference-0.6.0 | 1 | ||||
-rw-r--r-- | net-im/mu-conference/files/mu-conference-makefile.patch | 11 | ||||
-rw-r--r-- | net-im/mu-conference/files/muctrans.xml | 37 | ||||
-rw-r--r-- | net-im/mu-conference/metadata.xml | 11 | ||||
-rw-r--r-- | net-im/mu-conference/mu-conference-0.6.0.ebuild | 50 |
8 files changed, 165 insertions, 2 deletions
diff --git a/net-im/mu-conference/ChangeLog b/net-im/mu-conference/ChangeLog new file mode 100644 index 000000000000..6521619f3eb2 --- /dev/null +++ b/net-im/mu-conference/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-im/mu-conference +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/mu-conference/ChangeLog,v 1.1 2004/01/12 01:59:47 rizzo Exp $ + +*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 index b706edfbf88d..040d2ecc033c 100644 --- a/net-im/mu-conference/Manifest +++ b/net-im/mu-conference/Manifest @@ -1,6 +1,7 @@ +MD5 8833d0fc5e03f01caf35acc0f44393c4 ChangeLog 526 MD5 f0b233cbf1fcb1417cbf11da9c5e928a metadata.xml 422 -MD5 45ba04218ad16e19d129cd83e60873b6 mu-conference-0.6.0.ebuild 908 -MD5 34c298326722258d9f0ad798afb32cb1 files/Makefile.diff 430 +MD5 2df1f50f0097149d317b0e1a068eb34b mu-conference-0.6.0.ebuild 1134 MD5 f88abce484cd1607dc473ea266ea57f9 files/digest-mu-conference-0.6.0 70 MD5 fabd4b858bf8279dd49d701094f79179 files/muctrans.xml 906 +MD5 34c298326722258d9f0ad798afb32cb1 files/mu-conference-makefile.patch 430 MD5 95d0e1126a3c7d35a21f43cd01095323 files/README.Gentoo 1483 diff --git a/net-im/mu-conference/files/README.Gentoo b/net-im/mu-conference/files/README.Gentoo new file mode 100644 index 000000000000..a478572ffae5 --- /dev/null +++ b/net-im/mu-conference/files/README.Gentoo @@ -0,0 +1,40 @@ +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/digest-mu-conference-0.6.0 b/net-im/mu-conference/files/digest-mu-conference-0.6.0 new file mode 100644 index 000000000000..84c66826bb18 --- /dev/null +++ b/net-im/mu-conference/files/digest-mu-conference-0.6.0 @@ -0,0 +1 @@ +MD5 e97433bf4a978329d639ce872bee3223 mu-conference-0.6.0.tar.gz 56272 diff --git a/net-im/mu-conference/files/mu-conference-makefile.patch b/net-im/mu-conference/files/mu-conference-makefile.patch new file mode 100644 index 000000000000..2a009402a0aa --- /dev/null +++ b/net-im/mu-conference/files/mu-conference-makefile.patch @@ -0,0 +1,11 @@ +--- 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/muctrans.xml b/net-im/mu-conference/files/muctrans.xml new file mode 100644 index 000000000000..1cfecc2927cb --- /dev/null +++ b/net-im/mu-conference/files/muctrans.xml @@ -0,0 +1,37 @@ +<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/run/mu-conference.pid</pidfile> + +</jabber> + diff --git a/net-im/mu-conference/metadata.xml b/net-im/mu-conference/metadata.xml new file mode 100644 index 000000000000..fa4290d8cdea --- /dev/null +++ b/net-im/mu-conference/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-im</herd> +<maintainer> + <email>rizzo@gentoo.org</email> + <name>Don Seiler</name> + <description>Holding this until Humpback (Gustavo Felisberto) graduates from Dev U.</description> +</maintainer> +<!-- <longdescription>Long description of the package</longdescription> --> +</pkgmetadata> diff --git a/net-im/mu-conference/mu-conference-0.6.0.ebuild b/net-im/mu-conference/mu-conference-0.6.0.ebuild new file mode 100644 index 000000000000..9d1db5c72c0c --- /dev/null +++ b/net-im/mu-conference/mu-conference-0.6.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.ebuild,v 1.1 2004/01/12 01:59:47 rizzo Exp $ + +DESCRIPTION="Jabber Multi-User Chat" +HOMEPAGE="http://mu-conference.jabberstudio.org/" +SRC_URI="http://www.jabberstudio.org/files/mu-conference/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~x86" +SLOT="0" + +DEPEND=">=net-im/jabberd-1.4.3 + >=dev-libs/glib-2.2.1" + +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 + touch ${D}/var/log/jabber/conference/.keep + + insinto /usr/lib/jabberd + doins src/mu-conference.so + + insinto /etc/jabber + doins ${FILESDIR}/muctrans.xml + + 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" + einfo +} + |