Date: Sat, 4 May 2002 14:10:03 -0700 (PDT) From: Sean Chittenden <sean@chittenden.org> To: freebsd-ports@FreeBSD.org Subject: Re: ports/37713: AIM Transport doesn't work correctly with jabber-1.4.2 Message-ID: <200205042110.g44LA3493486@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/37713; it has been noted by GNATS. From: Sean Chittenden <sean@chittenden.org> To: Martijn <martijn@pacno.net> Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/37713: AIM Transport doesn't work correctly with jabber-1.4.2 Date: Fri, 3 May 2002 19:07:44 -0700 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > >Number: 37713 > >Category: ports > >Synopsis: AIM Transport doesn't work correctly with jabber-1.4.2 > >Confidential: no > >Severity: non-critical > > >Description: > When a ICQ contact sends a message to a jabber user via the > aim-transport, the transport always sends an Auto-Reply > message to that contact, even when the jabber user is online. Few tweaks, but thank you for the fix! I've talked with the aim-transport maintainers about actually using a release numbering system for files given that the md5 sum is different than from when you sent the PR in. Please commit the attached patch. -sc Notes to committer: I would actually kill patch-aa and add the contents as patch-ab given that they're for two different files. -- Sean Chittenden --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/jabber-aim/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 2002/04/19 04:22:50 1.1 +++ Makefile 2002/05/04 02:04:05 @@ -5,20 +5,34 @@ # $FreeBSD: ports/net/jabber-aim/Makefile,v 1.1 2002/04/19 04:22:50 ijliao Exp $ PORTNAME= aim-transport -PORTVERSION= 0.9.24c +PORTVERSION= 0.9.25 CATEGORIES= net -MASTER_SITES= http://download.jabber.org/dists/transports/aim-transport/ +MASTER_SITES= http://aim-transport.jabberstudio.org/ PKGNAMEPREFIX= jabber- +DISTNAME= ${PORTNAME}-stable DIST_SUBDIR= jabber MAINTAINER= sean@chittenden.org -BUILD_DEPENDS= ${LOCALBASE}/sbin/jabberd:${PORTSDIR}/net/jabber +BUILD_DEPENDS= ${LOCALBASE}/sbin/jabberd:${PORTSDIR}/net/jabber \ + ${LOCALBASE}/bin/libtoolize:${PORTSDIR}/devel/libtool USE_GMAKE= yes +USE_AUTOMAKE= yes +USE_AUTOMAKE_VER= 15 +AUTOMAKE_ARGS+= --add-missing --gnu USE_AUTOCONF= yes CONFIGURE_ARGS+= --with-jabberd=${PREFIX}/include/jabber + +post-extract: + @${MV} ${WRKDIR}/${PORTNAME} ${WRKDIR}/${DISTNAME} + +pre-configure: + @cd ${WRKSRC}; \ + libtoolize --force --copy; \ + ${ACLOCAL} -I macros; \ + ${AUTOHEADER} do-install: ${INSTALL_DATA} ${WRKSRC}/src/aimtrans.so ${PREFIX}/lib/jabber/ Index: distinfo =================================================================== RCS file: /home/ncvs/ports/net/jabber-aim/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 2002/04/19 04:22:50 1.1 +++ distinfo 2002/05/04 02:04:05 @@ -1 +1 @@ -MD5 (jabber/aim-transport-0.9.24c.tar.gz) = a3c18654d41ebfaa3c74117004bf7d93 +MD5 (jabber/aim-transport-stable.tar.gz) = 802fbf87f950147afe47841af234d40d Index: files/patch-aa =================================================================== RCS file: /home/ncvs/ports/net/jabber-aim/files/patch-aa,v retrieving revision 1.1 diff -u -r1.1 patch-aa --- files/patch-aa 2002/04/19 04:22:50 1.1 +++ files/patch-aa 2002/05/04 02:04:05 @@ -1,41 +1,8 @@ ---- 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; - } +--- src/Makefile.am.orig Fri May 3 18:39:47 2002 ++++ src/Makefile.am Fri May 3 18:39:57 2002 +@@ -59,4 +59,4 @@ -+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)); + aimtrans_so_LDFLAGS = -fPIC -shared + +-CFLAGS += -DAIM_BUILDDATE=\"`date +%Y%m%d`\" -DAIM_BUILDTIME=\"`date +%H%M%S`\" -g ++CFLAGS = -DAIM_BUILDDATE=\"`date +%Y%m%d`\" -DAIM_BUILDTIME=\"`date +%H%M%S`\" -g --UugvWAfsgieZRqgk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205042110.g44LA3493486>