summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorDon Seiler <rizzo@gentoo.org>2004-01-12 01:14:48 +0000
committerDon Seiler <rizzo@gentoo.org>2004-01-12 01:14:48 +0000
commit0e4ab747c487d4d9cfd7a39282efcb1f86b7642a (patch)
tree37e55f312262908c78fb91bcea171d2bbb0c0ef0 /net-im
parentInitial yahoo-transport for jabberd checkin. (diff)
downloadgentoo-2-0e4ab747c487d4d9cfd7a39282efcb1f86b7642a.tar.gz
gentoo-2-0e4ab747c487d4d9cfd7a39282efcb1f86b7642a.tar.bz2
gentoo-2-0e4ab747c487d4d9cfd7a39282efcb1f86b7642a.zip
Initial yahoo-transport for jabberd checkin.
Diffstat (limited to 'net-im')
-rw-r--r--net-im/yahoo-transport/ChangeLog12
-rw-r--r--net-im/yahoo-transport/Manifest6
-rw-r--r--net-im/yahoo-transport/files/README.Gentoo45
-rw-r--r--net-im/yahoo-transport/files/digest-yahoo-transport-2.3.01
-rw-r--r--net-im/yahoo-transport/files/yahoo-makefile.patch14
-rw-r--r--net-im/yahoo-transport/files/yahootrans.xml24
-rw-r--r--net-im/yahoo-transport/metadata.xml11
-rw-r--r--net-im/yahoo-transport/yahoo-transport-2.3.0.ebuild38
8 files changed, 149 insertions, 2 deletions
diff --git a/net-im/yahoo-transport/ChangeLog b/net-im/yahoo-transport/ChangeLog
new file mode 100644
index 000000000000..774ecb063c90
--- /dev/null
+++ b/net-im/yahoo-transport/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-im/yahoo-transport
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/yahoo-transport/ChangeLog,v 1.1 2004/01/12 01:14:39 rizzo Exp $
+
+*yahoo-transport-2.3.0 (11 Jan 2004)
+
+ 11 Jan 2004; Don Seiler <rizzo@gentoo.org>; metadata.xml,
+ yahoo-transport-2.3.0.ebuild, files/README.Gentoo,
+ files/yahoo-makefile.patch, files/yahootrans.xml:
+ Initial check-in of separate yahoo-transport for jabberd. Thanks to Gustavo
+ Felisberto
+
diff --git a/net-im/yahoo-transport/Manifest b/net-im/yahoo-transport/Manifest
index bdd40610c579..50456c67b8af 100644
--- a/net-im/yahoo-transport/Manifest
+++ b/net-im/yahoo-transport/Manifest
@@ -1,5 +1,7 @@
-MD5 1fba3eaf0c908ab4ab74ba21c89d19c0 yahoo-transport-2.3.0.ebuild 671
+MD5 3576791bb3b398979ff7356bc8849aa7 yahoo-transport-2.3.0.ebuild 925
+MD5 3987f0a009e80b4dd160ec5ce4d5e58e ChangeLog 520
+MD5 f0b233cbf1fcb1417cbf11da9c5e928a metadata.xml 422
MD5 275d32a7ff548f45defc99dffae5a00a files/yahootrans.xml 735
MD5 b2953894675f8844ca75122dd23657ed files/README.Gentoo 1525
-MD5 a8b763954e5ec4351b14baa96f9cb189 files/yahoo-makefile.patch 497
+MD5 850986afafb4e6fdbc0643e72d9f22b7 files/yahoo-makefile.patch 507
MD5 25e82b074896a885889f7f45e84872c0 files/digest-yahoo-transport-2.3.0 72
diff --git a/net-im/yahoo-transport/files/README.Gentoo b/net-im/yahoo-transport/files/README.Gentoo
new file mode 100644
index 000000000000..92ec6b854480
--- /dev/null
+++ b/net-im/yahoo-transport/files/README.Gentoo
@@ -0,0 +1,45 @@
+This is a small help to get you started with the Yahoo jabber transport, in
+Gentoo.
+
+Edit /etc/jabber/yahootrans.xml . This is the main Yahoo Gateway server config
+file.
+There change all references to localhost with the FQDN (Fully Qualified Domain
+Name) for your server.
+
+In the yahoolinker 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 Yahoo
+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 ICQ transport.
+Search for "<vcard2jud/>" and after that, and before the </jsm> add:
+
+<browse>
+ <service type="yahoo" jid="yahoo.localhost" name="Yahoo! Transport">
+ <ns>jabber:iq:gateway</ns>
+ <ns>jabber:iq:register</ns>
+ <ns>jabber:iq:version</ns>
+ <ns>jabber:iq:time</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="yahoolinker">
+ <host>yahoo.localhost</host>
+ <accept>
+ <ip>127.0.0.1</ip>
+ <port>9875</port>
+ <secret>myyahoosecret</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 icq.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/yahoo-transport/files/digest-yahoo-transport-2.3.0 b/net-im/yahoo-transport/files/digest-yahoo-transport-2.3.0
new file mode 100644
index 000000000000..326561ea237c
--- /dev/null
+++ b/net-im/yahoo-transport/files/digest-yahoo-transport-2.3.0
@@ -0,0 +1 @@
+MD5 281136e9934dd9e9221739a83bac4a2e yahoo-transport-2.3.0.tar.gz 44757
diff --git a/net-im/yahoo-transport/files/yahoo-makefile.patch b/net-im/yahoo-transport/files/yahoo-makefile.patch
new file mode 100644
index 000000000000..c3d54f1d8ec9
--- /dev/null
+++ b/net-im/yahoo-transport/files/yahoo-makefile.patch
@@ -0,0 +1,14 @@
+--- Makefile 2003-09-29 01:40:44.000000000 +0100
++++ Makefile.new 2004-01-09 18:09:17.639733992 +0000
+@@ -1,9 +1,9 @@
+
+ # $Id: yahoo-makefile.patch,v 1.1 2004/01/12 01:14:39 rizzo Exp $
+
+-include ../platform-settings
++include /usr/lib/jabberd/platform-settings
+
+-CFLAGS:=$(CFLAGS) -I../jabberd `glib-config --cflags`
++CFLAGS:=$(CFLAGS) -I/usr/include/jabberd `glib-config --cflags`
+ LIBS:=$(LIBS) `glib-config --libs glib`
+
+ YAHOO_OBJECTS=yahoo-transport.o yahoo-session.o yahoo-phandler.o yahoo.o \
diff --git a/net-im/yahoo-transport/files/yahootrans.xml b/net-im/yahoo-transport/files/yahootrans.xml
new file mode 100644
index 000000000000..281e160b443e
--- /dev/null
+++ b/net-im/yahoo-transport/files/yahootrans.xml
@@ -0,0 +1,24 @@
+<jabber>
+ <service id="yahoolinker">
+ <connect>
+ <ip>127.0.0.1</ip>
+ <port>9875</port>
+ <secret>myyahoosecret</secret>
+ </connect>
+ <uplink/>
+ </service>
+ <pidfile>/var/run/yahoo-jabber.pid</pidfile>
+
+ <service id="yahoo.localhost">
+ <load><yahoo_transport>/usr/lib/jabberd/yahoo-transport.so</yahoo_transport></load>
+ <config xmlns="jabber:config:yahoo">
+ <vCard>
+ <NAME>Yahoo Transport</NAME>
+ </vCard>
+ <instructions>Enter your YAHOO! Messenger Username and Password to register with the gateway.</instructions>
+ <server>scs.yahoo.com</server>
+ <port>5050</port>
+ <charmap>CP1252</charmap>
+ </config>
+ </service>
+</jabber>
diff --git a/net-im/yahoo-transport/metadata.xml b/net-im/yahoo-transport/metadata.xml
new file mode 100644
index 000000000000..fa4290d8cdea
--- /dev/null
+++ b/net-im/yahoo-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>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/yahoo-transport/yahoo-transport-2.3.0.ebuild b/net-im/yahoo-transport/yahoo-transport-2.3.0.ebuild
new file mode 100644
index 000000000000..498e2ba31cea
--- /dev/null
+++ b/net-im/yahoo-transport/yahoo-transport-2.3.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/yahoo-transport/yahoo-transport-2.3.0.ebuild,v 1.1 2004/01/12 01:14:39 rizzo Exp $
+
+DESCRIPTION="Open Source Jabber Server Yahoo transport"
+HOMEPAGE="http://yahoo-transport-2.jabberstudio.org/"
+SRC_URI="http://www.jabberstudio.org/files/yahoo-transport-2/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+SLOT="0"
+
+DEPEND=">=net-im/jabberd-1.4.3"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/yahoo-makefile.patch
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ dodir /etc/jabber /usr/lib/jabberd
+ insinto /usr/lib/jabberd
+ doins yahoo-transport.so
+ insinto /etc/jabber
+ doins ${FILESDIR}/yahootrans.xml
+ dodoc README ${FILESDIR}/README.Gentoo
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please read /usr/share/doc/${P}/README.Gentoo"
+ einfo
+}