Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Jun 2004 23:33:32 +0200 (CEST)
From:      Martijn Lina <martijn@pacno.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67689: Upgrade to version 20040131
Message-ID:  <20040607213332.5A834409C@hostage.demon.nl>
Resent-Message-ID: <200406072140.i57LeJL0010748@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67689
>Category:       ports
>Synopsis:       Upgrade to version 20040131
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 07 21:40:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martijn Lina
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD drain.pacno.net 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 

	x86/k6-2

>Description:
	The port is out of date

>How-To-Repeat:
	Try to build to current port, it won't even find the source on the net
>Fix:

Please apply the following patch:


diff -urNd net/jabber-aim.orig/Makefile net/jabber-aim/Makefile
--- net/jabber-aim.orig/Makefile	Sat Mar 20 04:36:39 2004
+++ net/jabber-aim/Makefile	Mon Jun  7 23:22:59 2004
@@ -5,11 +5,11 @@
 # $FreeBSD: ports/net/jabber-aim/Makefile,v 1.7 2004/03/14 06:17:06 ade Exp $
 
 PORTNAME=	aim-transport
-PORTVERSION=	0.9.24c
-PORTREVISION=	1
+PORTVERSION=	20040131
 CATEGORIES=	net
-MASTER_SITES=	http://download.jabber.org/dists/transports/aim-transport/
+MASTER_SITES=	http://aim-transport.jabberstudio.org/
 PKGNAMEPREFIX=	jabber-
+DISTNAME=	${PORTNAME}-stable-${PORTVERSION}b
 DIST_SUBDIR=	jabber
 
 MAINTAINER=	seanc@FreeBSD.org
@@ -17,9 +17,10 @@
 
 BUILD_DEPENDS=	${LOCALBASE}/sbin/jabberd:${PORTSDIR}/net/jabber
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-stable-${PORTVERSION}
 PLIST_FILES=	lib/jabber/aimtrans.so
 USE_GMAKE=	yes
-USE_AUTOCONF_VER=	213
+USE_AUTOCONF_VER=	257
 
 CONFIGURE_ARGS+=	--with-jabberd=${PREFIX}/include/jabber
 
@@ -27,6 +28,6 @@
 	${INSTALL_DATA} ${WRKSRC}/src/aimtrans.so ${PREFIX}/lib/jabber/
 
 post-install:
-	@cat pkg-message
+	@${CAT} pkg-message
 
 .include <bsd.port.mk>
diff -urNd net/jabber-aim.orig/distinfo net/jabber-aim/distinfo
--- net/jabber-aim.orig/distinfo	Thu Apr  1 14:40:36 2004
+++ net/jabber-aim/distinfo	Mon Jun  7 23:18:45 2004
@@ -1,2 +1,2 @@
-MD5 (jabber/aim-transport-0.9.24c.tar.gz) = a3c18654d41ebfaa3c74117004bf7d93
-SIZE (jabber/aim-transport-0.9.24c.tar.gz) = 298241
+MD5 (jabber/aim-transport-stable-20040131b.tar.gz) = 804469a50824691adcfa2cec71dbf6df
+SIZE (jabber/aim-transport-stable-20040131b.tar.gz) = 400742
diff -urNd net/jabber-aim.orig/files/patch-aa net/jabber-aim/files/patch-aa
--- net/jabber-aim.orig/files/patch-aa	Fri Apr 19 06:22:50 2002
+++ net/jabber-aim/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,41 +0,0 @@
---- 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));

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040607213332.5A834409C>