diff options
Diffstat (limited to 'net-im/jit')
-rw-r--r-- | net-im/jit/ChangeLog | 11 | ||||
-rw-r--r-- | net-im/jit/Manifest | 4 | ||||
-rw-r--r-- | net-im/jit/files/README.Gentoo | 44 | ||||
-rw-r--r-- | net-im/jit/files/digest-jit-1.1.6 | 1 | ||||
-rw-r--r-- | net-im/jit/files/jit.xml | 139 | ||||
-rw-r--r-- | net-im/jit/jit-1.1.6.ebuild | 34 | ||||
-rw-r--r-- | net-im/jit/metadata.xml | 11 |
7 files changed, 243 insertions, 1 deletions
diff --git a/net-im/jit/ChangeLog b/net-im/jit/ChangeLog new file mode 100644 index 000000000000..178d9a7d1ef5 --- /dev/null +++ b/net-im/jit/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-im/jit +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jit/ChangeLog,v 1.1 2004/01/12 01:00:49 rizzo Exp $ + +*jit-1.1.6 (11 Jan 2004) + + 11 Jan 2004; Don Seiler <rizzo@gentoo.org>; jit-1.1.6.ebuild, + files/README.Gentoo, files/jit.xml: + Initial check in of separated jit package for jabberd. Thanks to Gustavo + Felisberto + diff --git a/net-im/jit/Manifest b/net-im/jit/Manifest index b3c884ad7630..5e051c03514c 100644 --- a/net-im/jit/Manifest +++ b/net-im/jit/Manifest @@ -1,4 +1,6 @@ -MD5 35d74d13696b976cec24b49ee38c221c jit-1.1.6.ebuild 825 +MD5 7035b679b45c1be037bb51a4a652f0d9 jit-1.1.6.ebuild 886 +MD5 5f74f5426762e68d926287852b4bbd34 ChangeLog 418 +MD5 f0b233cbf1fcb1417cbf11da9c5e928a metadata.xml 422 MD5 84e79bea97642c2440440e8257497a79 files/digest-jit-1.1.6 61 MD5 54f7c7c05a3bf14a77d8a9e592079c18 files/README.Gentoo 1479 MD5 1b9cebaa84401871db0325d28a7cd51a files/jit.xml 3943 diff --git a/net-im/jit/files/README.Gentoo b/net-im/jit/files/README.Gentoo new file mode 100644 index 000000000000..3066d3c24820 --- /dev/null +++ b/net-im/jit/files/README.Gentoo @@ -0,0 +1,44 @@ +This is a small help to get you started with the JIT, a ICQ jabber transport, in +Gentoo. + +Edit /etc/jabber/jit.xml . This is the main JIT server config file. +There change all references to localhost with the FQDN (Fully Qualified Domain +Name) for your server. + +In the icqlinker 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 ICQ +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="icq" jid="icq.localhost" name="ICQ Link"> + <ns>jabber:iq:gateway</ns> + <ns>jabber:iq:register</ns> + <ns>jabber:iq:search</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="icq"> + <host>icq.localhost</host> + <accept> + <ip>127.0.0.1</ip> + <port>5555</port> + <secret>jitSecret</secret> + <timeout>30</timeout> + </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/jit/files/digest-jit-1.1.6 b/net-im/jit/files/digest-jit-1.1.6 new file mode 100644 index 000000000000..6ce790b0931e --- /dev/null +++ b/net-im/jit/files/digest-jit-1.1.6 @@ -0,0 +1 @@ +MD5 950f6b82ab5e0542535108fd54409363 jit-1.1.6.tar.gz 275246 diff --git a/net-im/jit/files/jit.xml b/net-im/jit/files/jit.xml new file mode 100644 index 000000000000..005c528e1613 --- /dev/null +++ b/net-im/jit/files/jit.xml @@ -0,0 +1,139 @@ +<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>icqerror</file> + </log> + + <log id='rlogger'> + <host/> + <logtype>record</logtype> + <format>%d %h %s</format> + <file>icqrecord</file> + </log> --> + + <!-- Some Jabber server implementations do not + provide XDB services (for example jabberd 2.0). + Configure XDB here to have WPJabber handle all + XDB requests. This is strongly recommended if + you use xdb_ldap, xdb_sql or other non-file XDB + implementations, too. + See xdb_file directory for more information. + <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> --> + + <!-- + localhost is your jabber host. + 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="icq.localhost"> + + <!-- to enable sms. Replace localhost with the same name as above --> + <host>sms.icq.localhost</host> + + <!-- JIT configuration --> + <icqtrans xmlns="jabber:config:icqtrans"> + <sms> + <host>sms.icq.localhost</host> + <show>away</show> + <status></status> + </sms> + + <instructions>Please enter your UIN and password</instructions> + + <search>Search users in ICQ</search> + + <vCard> + <FN>JIT</FN> + <DESC>Jabber ICQ Transport</DESC> + <URL>http://jit.jabberstudio.org</URL> + </vCard> + + <!-- Hashtable for users --> + <prime>3907</prime> + + <!-- Send messages from icq as chat to jabber clients --> + <chat/> + + <!-- Enable this for ICQ web presence + <web/> --> + + <!-- If you don't want jabber:x:data forms + in reg and search uncomment this tag. + Not recomended --> + <no_xdata/> --> + + <!-- Remove this tag to disable JIT's own contact list. + This will break the transport if it can not request + the user's roster via xdb get then (meaning the peer + uses jabberd 2 or the peer uses a remote jabber + server). --> + <own_roster/> + + <!-- When present, this tag will tell JIT not to try to + get the user's roster (which will take a bit of time + to fail in scenarios described above). --> + <no_jabber_roster/> + + <!-- File with stats --> + <user_count_file>session_count.log</user_count_file> + + <!-- Interval beetween checking sessions: ping, messages, acks --> + <session_check>5</session_check> + + <!-- Reconnect retries. --> + <reconnects>5</reconnects> + + <!-- Time in sec when session can be inactive, 0 - disabled --> + <session_timeout>18000</session_timeout> + + <!-- Charset --> + <charset>windows-1252</charset> + + <!-- These IP is login.icq.com + Use only IPs here, no host names. + You can use hostnames but this will slow down JIT due to DNS resoling + ICQ Changes the IP alot. So will use name here + --> + <server> + <host port="5190">login.icq.com</host> + </server> + + </icqtrans> + + <!-- JIT module --> + <load> + <icqtrans>/usr/lib/wpjabber/jit.so</icqtrans> + </load> + + </service> + + <!-- + The settings here have to match the setting you made + in your main Jabber server's configuration file. + Replace localhost with your main jabber server host name + --> + <service id="icqlinker"> + <uplink/> + <connect> + <ip>127.0.0.1</ip> + <port>5555</port> + <secret>someSecret</secret> + </connect> + </service> + +</jabber> diff --git a/net-im/jit/jit-1.1.6.ebuild b/net-im/jit/jit-1.1.6.ebuild new file mode 100644 index 000000000000..8057c85400a0 --- /dev/null +++ b/net-im/jit/jit-1.1.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jit/jit-1.1.6.ebuild,v 1.1 2004/01/12 01:00:49 rizzo Exp $ + +DESCRIPTION="ICQ transport for WPjabber/Jabberd" +HOMEPAGE="http://jit.jabberstudio.org/" +SRC_URI="http://www.jabberstudio.org/files/jit/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~x86" +SLOT="0" + +#DEPEND=">=net-im/jabberd-1.4.2" + + +src_compile() { + ./configure + emake || die + cp ${S}/jabberd/jabberd ${S}/jabberd/jit-wpjabber +} + +src_install() { + dodir /etc/jabber /usr/lib/jabber /usr/sbin + insinto /usr/lib/wpjabber + doins jit/jit.so + exeinto /usr/sbin + doexe jabberd/jit-wpjabber + insinto /etc/jabber + doins ${FILESDIR}/jit.xml + fowners jabber:jabber /usr/sbin/jit-wpjabber + fperms o-rwx /etc/jabber + fperms u+xs /usr/sbin/jit-wpjabber + dodoc ${FILESDIR}/README.Gentoo +} diff --git a/net-im/jit/metadata.xml b/net-im/jit/metadata.xml new file mode 100644 index 000000000000..fa4290d8cdea --- /dev/null +++ b/net-im/jit/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> |