summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2004-01-23 18:12:42 +0000
committerGustavo Felisberto <humpback@gentoo.org>2004-01-23 18:12:42 +0000
commit0806e438bdd993d02cfd28d691d3fba36b516fe8 (patch)
treeaa73c4c01e814b871334b7975cf893562b9a5c6b /net-im/msn-transport
parentfix xfree dep; remove 5.3-r1 (diff)
downloadhistorical-0806e438bdd993d02cfd28d691d3fba36b516fe8.tar.gz
historical-0806e438bdd993d02cfd28d691d3fba36b516fe8.tar.bz2
historical-0806e438bdd993d02cfd28d691d3fba36b516fe8.zip
Initial import
Diffstat (limited to 'net-im/msn-transport')
-rw-r--r--net-im/msn-transport/ChangeLog11
-rw-r--r--net-im/msn-transport/Manifest6
-rw-r--r--net-im/msn-transport/files/README.Gentoo43
-rw-r--r--net-im/msn-transport/files/msn-configure-patch-0022
-rw-r--r--net-im/msn-transport/files/msnt.xml106
-rw-r--r--net-im/msn-transport/metadata.xml11
-rw-r--r--net-im/msn-transport/msn-transport-1.2.8_rc1.ebuild42
7 files changed, 241 insertions, 0 deletions
diff --git a/net-im/msn-transport/ChangeLog b/net-im/msn-transport/ChangeLog
new file mode 100644
index 000000000000..4c26d3bc9145
--- /dev/null
+++ b/net-im/msn-transport/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-im/msn-transport
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/msn-transport/ChangeLog,v 1.1 2004/01/23 18:12:27 humpback Exp $
+
+*msn-transport-1.2.8_rc1 (23 Jan 2004)
+
+ 23 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>; metadata.xml,
+ msn-transport-1.2.8_rc1.ebuild, files/README.Gentoo,
+ files/msn-configure-patch-00, files/msnt.xml:
+ Initial import. Helps close bug 37316
+
diff --git a/net-im/msn-transport/Manifest b/net-im/msn-transport/Manifest
new file mode 100644
index 000000000000..8c4221fc2337
--- /dev/null
+++ b/net-im/msn-transport/Manifest
@@ -0,0 +1,6 @@
+MD5 1ab34f7c3d67191ae6bc8ab1826daa98 msn-transport-1.2.8_rc1.ebuild 1046
+MD5 d76a7c620d2b4630a7f3f6d6a0f4e353 metadata.xml 319
+MD5 308a246e02cf5736ff25acd664cce371 ChangeLog 479
+MD5 96efe3e8d5fb4bfc38fd35545dd1140b files/msnt.xml 3285
+MD5 052318a7b8dfc18122569ed5aac82ab2 files/README.Gentoo 1495
+MD5 2bb7338640063281eeef587f8ce0fd5e files/msn-configure-patch-00 805
diff --git a/net-im/msn-transport/files/README.Gentoo b/net-im/msn-transport/files/README.Gentoo
new file mode 100644
index 000000000000..b83197c91e40
--- /dev/null
+++ b/net-im/msn-transport/files/README.Gentoo
@@ -0,0 +1,43 @@
+This is a small help to get you started with the MSN Jabberd transport in
+Gentoo.
+
+Edit /etc/jabber/msnt.xml . This is the main jabber server config file.
+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 MSN transport.
+Search for "<vcard2jud/>" and after that, and before the </jsm> add:
+
+<browse>
+ <service type="msn" jid="msn.localhost" name="MSN Transport">
+ <ns>jabber:iq:gateway</ns>
+ <ns>jabber:iq:register</ns>
+ </service>
+</browse>
+
+Again here change localhost for your FQDN.
+
+Scrool down to the bottom of the file, and just before the </jabber> add:
+
+<service id="msnlinker">
+ <host>msn.localhost</host>
+ <host>conference.msn.localhost</host>
+ <accept>
+ <ip>127.0.0.1</ip>
+ <port>1234</port>
+ <secret>test</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 msn.FQDN. and conference.msn.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/msn-transport/files/msn-configure-patch-00 b/net-im/msn-transport/files/msn-configure-patch-00
new file mode 100644
index 000000000000..9ec6776b44e9
--- /dev/null
+++ b/net-im/msn-transport/files/msn-configure-patch-00
@@ -0,0 +1,22 @@
+2483,2503d2482
+< echo "$as_me:$LINENO: checking for pth.h" >&5
+< echo $ECHO_N "checking for pth.h... $ECHO_C" >&6
+< if test -f "$PTH_PATH/pth.h"; then
+< echo "$as_me:$LINENO: result: Found" >&5
+< echo "${ECHO_T}Found" >&6;
+< else
+< echo "$as_me:$LINENO: result: Error" >&5
+< echo "${ECHO_T}Error" >&6;
+< { { echo "$as_me:$LINENO: error: $PTH_PATH
+< +----------------------------------------+
+< | Try running with the --with-pth option |
+< | to specify the absolute path to pth.h |
+< +----------------------------------------+" >&5
+< echo "$as_me: error: $PTH_PATH
+< +----------------------------------------+
+< | Try running with the --with-pth option |
+< | to specify the absolute path to pth.h |
+< +----------------------------------------+" >&2;}
+< { (exit 1); exit 1; }; };
+< fi
+<
diff --git a/net-im/msn-transport/files/msnt.xml b/net-im/msn-transport/files/msnt.xml
new file mode 100644
index 000000000000..41e60f48bfc4
--- /dev/null
+++ b/net-im/msn-transport/files/msnt.xml
@@ -0,0 +1,106 @@
+<jabber>
+
+ <!-- you can add elogger and rlogger entries here if
+ you don't want the main Jabber server do the
+ logging
+ <log id='elogger'>
+ <host/>
+ <logtype/>
+ <format>%d: [%t] (%h): %s</format>
+ <file>msnerror</file>
+ </log>
+
+ <log id='rlogger'>
+ <host/>
+ <logtype>record</logtype>
+ <format>%d %h %s</format>
+ <file>msnrecord</file>
+ </log> -->
+
+ <!-- Some Jabber server implementations do not
+ provide XDB services (for example jabberd 2.0).
+ Configure XDB here to have the transport's
+ jabberd 1.4.x handle all XDB requests. This
+ is strongly recommended if you use xdb_ldap,
+ xdb_sql or other non-file XDB implementations,
+ too.
+ <xdb id="xdb">
+ <host/>
+ <load>
+ <xdb_file>xdb_file/xdb_file.so</xdb_file>
+ </load>
+ <xdb_file xmlns="jabber:config:xdb_file">
+ <spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
+ </xdb_file>
+ </xdb> -->
+
+ <!--
+ Replace "localhost" by the full host name of your server
+ and have all host names here resolveable via DNS if you
+ want the transport to be available to the public.
+ -->
+ <service id="msn.localhost">
+ <msntrans xmlns="jabber:config:msntrans">
+ <instructions>Enter your MSN Messenger account and password. Example: user1@hotmail.com. Nickname is optional.</instructions>
+
+ <!-- the transport vCard -->
+ <vCard>
+ <FN>MSN Transport</FN>
+ <DESC>This is MSN Transport</DESC>
+ <URL>http://msn-transport.jabberstudio.org/</URL>
+ </vCard>
+
+ <!-- Conference support allows you to create groupchat rooms on MSN
+ transport and invite MSN users to join. -->
+ <conference id="conference.msn.localhost">
+
+ <!-- This will make MSN transport invite you to a special groupchat
+ room when more then one user joins a normal one-on-one session.
+ Joining this room will make MSN transport "switch" the session
+ into groupchat mode. If you ignore it, MSN transport will
+ continue to send the messages as one-on-one chats. -->
+ <invite>More then one user has joined this chat session. Join this room to switch into groupchat mode.</invite>
+
+ <notice>
+ <join> has become available</join>
+ <leave> has left</leave>
+ </notice>
+
+ </conference>
+
+ <!-- Enable Hotmail inbox notification -->
+ <headlines/>
+
+ <!-- Set options for CURL library -->
+ <curl>
+ <!-- Use insecure mode for SSL transactions (see man curl for -k option)
+ Note, this is BAD. Fix your OpenSSL certificates, unless you
+ really don't care about the passport accounts that will be used
+ by this server -->
+ <!--
+ <insecureSSL/>
+ -->
+ </curl>
+ </msntrans>
+ <load>
+ <msntrans>/usr/lib/jabberd/msntrans.so</msntrans>
+ </load>
+ </service>
+
+ <!--
+ Here the jabberd 1.4.x that runs the MSN Transport
+ module is instructed to uplink to the main Jabber
+ server.
+ The settings here have to match the setting you made
+ in your main Jabber server's configuration.
+ -->
+ <service id="msnlinker">
+ <uplink/>
+ <connect>
+ <ip>127.0.0.1</ip>
+ <port>1234</port>
+ <secret>test</secret>
+ </connect>
+ </service>
+
+</jabber>
diff --git a/net-im/msn-transport/metadata.xml b/net-im/msn-transport/metadata.xml
new file mode 100644
index 000000000000..90fe26908429
--- /dev/null
+++ b/net-im/msn-transport/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>humpback@gentoo.org</email>
+ <name>Gustavo Felisberto</name>
+</maintainer>
+<longdescription>MSN transport for jabberd</longdescription>
+</pkgmetadata>
diff --git a/net-im/msn-transport/msn-transport-1.2.8_rc1.ebuild b/net-im/msn-transport/msn-transport-1.2.8_rc1.ebuild
new file mode 100644
index 000000000000..850701576b3a
--- /dev/null
+++ b/net-im/msn-transport/msn-transport-1.2.8_rc1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/msn-transport/msn-transport-1.2.8_rc1.ebuild,v 1.1 2004/01/23 18:12:27 humpback Exp $
+
+S="${WORKDIR}/msn-transport"
+MY_PV="${PV/_rc/rc}"
+DESCRIPTION="Open Source Jabber Server MSN transport"
+HOMEPAGE="http://msn-transport.jabberstudio.org/"
+SRC_URI="http://msn-transport.jabberstudio.org/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+DEPEND=">=net-im/jabberd-1.4.3
+ net-ftp/curl"
+
+src_unpack() {
+ unpack ${A}
+ mv ${PN}-${MY_PV} msn-transport
+}
+
+src_compile() {
+ ./configure --with-jabberd=/usr/include/jabberd --with-pth=/usr/include || die
+ emake || die
+}
+
+src_install() {
+ dodir /etc/jabber /usr/lib/jabberd
+ insinto /usr/lib/jabberd
+ doins src/msntrans.so
+ insinto /etc/jabber
+ doins ${FILESDIR}/msnt.xml
+ dodoc README ${FILESDIR}/README.Gentoo msnt.xml
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please read /usr/share/doc/${P}/README.Gentoo"
+ einfo
+}