diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-19 04:22:50 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-19 04:22:50 +0000 |
commit | 9f62a612e6363e9d51de06ca6118dfd98c387d27 (patch) | |
tree | 967aa0be80d3df51e399a1289a9322632e73cf18 /net | |
parent | 99f743496cb69518888a684360e64669a2b4da88 (diff) | |
download | ports-9f62a612e6363e9d51de06ca6118dfd98c387d27.tar.gz ports-9f62a612e6363e9d51de06ca6118dfd98c387d27.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/jabber-aim/Makefile | 29 | ||||
-rw-r--r-- | net/jabber-aim/distinfo | 1 | ||||
-rw-r--r-- | net/jabber-aim/files/patch-aa | 41 | ||||
-rw-r--r-- | net/jabber-aim/pkg-comment | 1 | ||||
-rw-r--r-- | net/jabber-aim/pkg-descr | 5 | ||||
-rw-r--r-- | net/jabber-aim/pkg-message | 60 | ||||
-rw-r--r-- | net/jabber-aim/pkg-plist | 1 |
8 files changed, 139 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index b7217d1e0ef3..4b6311563a67 100644 --- a/net/Makefile +++ b/net/Makefile @@ -191,6 +191,7 @@ SUBDIR += isc-dhcp3 SUBDIR += isic SUBDIR += jabber + SUBDIR += jabber-aim SUBDIR += jabber-conference SUBDIR += jags SUBDIR += javadc diff --git a/net/jabber-aim/Makefile b/net/jabber-aim/Makefile new file mode 100644 index 000000000000..01b7e28ae6ae --- /dev/null +++ b/net/jabber-aim/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: jabber-aim +# Date created: 14 Apr 2002 +# Whom: Sean Chittenden <sean@chittenden.org> +# +# $FreeBSD$ + +PORTNAME= aim-transport +PORTVERSION= 0.9.24c +CATEGORIES= net +MASTER_SITES= http://download.jabber.org/dists/transports/aim-transport/ +PKGNAMEPREFIX= jabber- +DIST_SUBDIR= jabber + +MAINTAINER= sean@chittenden.org + +BUILD_DEPENDS= ${LOCALBASE}/sbin/jabberd:${PORTSDIR}/net/jabber + +USE_GMAKE= yes +USE_AUTOCONF= yes + +CONFIGURE_ARGS+= --with-jabberd=${PREFIX}/include/jabber + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/aimtrans.so ${PREFIX}/lib/jabber/ + +post-install: + @cat pkg-message + +.include <bsd.port.mk> diff --git a/net/jabber-aim/distinfo b/net/jabber-aim/distinfo new file mode 100644 index 000000000000..e4a7d7fe091c --- /dev/null +++ b/net/jabber-aim/distinfo @@ -0,0 +1 @@ +MD5 (jabber/aim-transport-0.9.24c.tar.gz) = a3c18654d41ebfaa3c74117004bf7d93 diff --git a/net/jabber-aim/files/patch-aa b/net/jabber-aim/files/patch-aa new file mode 100644 index 000000000000..943027808952 --- /dev/null +++ b/net/jabber-aim/files/patch-aa @@ -0,0 +1,41 @@ +--- src/sessions.c Tue Nov 27 04:14:37 2001 ++++ /usr/ports/distfiles/jabber/sessions.c.orig Wed Jan 30 09:07:47 2002 +@@ -221,6 +221,29 @@ + return 1; + } + ++static int aim_icbmparaminfo(aim_session_t* sess, aim_frame_t* fr, ...) ++{ ++ struct aim_icbmparameters *params; ++ va_list ap; ++ ++ va_start(ap, fr); ++ params = va_arg(ap, struct aim_icbmparameters *); ++ va_end(ap); ++ ++ /* ++ * Set these to your taste, or client medium. Setting minmsginterval ++ * higher is good for keeping yourself from getting flooded (esp ++ * if you're on a slow connection or something where that would be ++ * useful). ++ */ ++ params->maxmsglen = 8000; ++ params->minmsginterval = 0; /* in milliseconds */ ++ ++ aim_seticbmparam(sess, params); ++ ++ return 1; ++} ++ + int at_conninitdone_admin(aim_session_t *sess, + aim_frame_t *command, ...) + { +@@ -411,6 +434,8 @@ + AIM_CB_SPECIAL_CONNERR, at_parse_connerr, 0); + aim_conn_addhandler(sess, bosconn, 0x0001, 0x001f, + at_memrequest, 0); ++ aim_conn_addhandler(sess, bosconn, 0x0004, 0x0005, ++ aim_icbmparaminfo, 0); + + + am = pmalloco(s->p, sizeof(_at_mio)); diff --git a/net/jabber-aim/pkg-comment b/net/jabber-aim/pkg-comment new file mode 100644 index 000000000000..247740c3b84f --- /dev/null +++ b/net/jabber-aim/pkg-comment @@ -0,0 +1 @@ +Jabber User Directory module diff --git a/net/jabber-aim/pkg-descr b/net/jabber-aim/pkg-descr new file mode 100644 index 000000000000..200de6bc05a2 --- /dev/null +++ b/net/jabber-aim/pkg-descr @@ -0,0 +1,5 @@ +The Jabber server (jabberd) is a daemon for Jabber clients to connect +and communicate with. JUD is allows clients to search for other users. + +You can learn more about Jabber at: +WWW: http://server.jabber.org/ diff --git a/net/jabber-aim/pkg-message b/net/jabber-aim/pkg-message new file mode 100644 index 000000000000..5a9fd802740a --- /dev/null +++ b/net/jabber-aim/pkg-message @@ -0,0 +1,60 @@ +You can connect to ICQ using this transport, however you cannot +retrieve ICQ away status messages or user information, nor search for +users. A simple SMS sending hack is included, but for now responses do +not come through and no SMS sending confirmation is sent. For SMS, +send "SEND-SMS:number:text" to any ICQ user, for example +"SEND-SMS:+4917012345:Test". + +To activate aim-transport, you will need to edit your jabber.xml to +tell jabberd to load this file, and let clients be aware of it's +availability. In the browse section of the jsm service you need to +add (uncomment out this block around line 248 of the sample +configuration): + + <!-- + * Don't forget to change aim.localhost to your hostname + * if you want to make this publicly available. + --> + <service type="aim" jid="aim.localhost" name="AIM Transport"> + <ns>jabber:iq:gateway</ns> + <ns>jabber:iq:register</ns> + </service> + +Next you need to add the lines to load in the transport and it's +configuration options. Please note that the following is +substantially different than what comes in the sample config +file. (near line 457): + + <!-- + * Don't forget to change aim.localhost to your hostname + * if you want to make this publicly available. + --> + <service id='aim.localhost'> + <load><aim_transport>${PREFIX}/lib/jabber/aimtrans.so</aim_transport></load> + + <aimtrans xmlns='jabber:config:aimtrans'> + <!-- + * This is the path to the aim binary neede by libfain for + * for providing access to AIM's servers + --> + <aimbinarydir>/path/to/aim_install</aimbinarydir> + <vCard> + <FN>AIM Transport</FN> + <DESC>An AIM Transport!</DESC> + <URL>http://foo.bar/</URL> + </vCard> + + </aimtrans> + </service> + +The most interesting of these is the <aimbinarydir/> flag. For +aimtransport to be able to work you need a valid directory from AIM +version 3.5.1670. It has to be that version. I would suggest +searching on Google. For legal reasons I can not distribute this +file. + +The installer version that works for me is this with md5sum: + +04eba0bd0ea5fe1756612e14663093aa /win/Install_AIM_3.5.1670.exe + +After these changes everything should be running smoothly. diff --git a/net/jabber-aim/pkg-plist b/net/jabber-aim/pkg-plist new file mode 100644 index 000000000000..898d9188e22c --- /dev/null +++ b/net/jabber-aim/pkg-plist @@ -0,0 +1 @@ +lib/jabber/aimtrans.so |