From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 29 19:00:08 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3C03106567F for ; Thu, 29 May 2008 19:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8D9048FC1B for ; Thu, 29 May 2008 19:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4TJ08NJ037937 for ; Thu, 29 May 2008 19:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4TJ08lu037930; Thu, 29 May 2008 19:00:08 GMT (envelope-from gnats) Resent-Date: Thu, 29 May 2008 19:00:08 GMT Resent-Message-Id: <200805291900.m4TJ08lu037930@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Robert Noland Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9366C106564A for ; Thu, 29 May 2008 18:54:43 +0000 (UTC) (envelope-from rnoland@wombat.2hip.net) Received: from wombat.2hip.net (gw1.cox.com [24.248.74.254]) by mx1.freebsd.org (Postfix) with ESMTP id 1B61A8FC18 for ; Thu, 29 May 2008 18:54:42 +0000 (UTC) (envelope-from rnoland@wombat.2hip.net) Received: from wombat.2hip.net (localhost [127.0.0.1]) by wombat.2hip.net (8.14.2/8.14.2) with ESMTP id m4TIsf3r062030 for ; Thu, 29 May 2008 14:54:41 -0400 (EDT) (envelope-from rnoland@wombat.2hip.net) Received: (from rnoland@localhost) by wombat.2hip.net (8.14.2/8.14.2/Submit) id m4TIsfBj062029; Thu, 29 May 2008 14:54:41 -0400 (EDT) (envelope-from rnoland) Message-Id: <200805291854.m4TIsfBj062029@wombat.2hip.net> Date: Thu, 29 May 2008 14:54:41 -0400 (EDT) From: Robert Noland To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/124110: [MAINTAINER] net-p2p/azureus: update to 3.0.5.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 19:00:08 -0000 >Number: 124110 >Category: ports >Synopsis: [MAINTAINER] net-p2p/azureus: update to 3.0.5.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu May 29 19:00:07 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Robert Noland >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD wombat.2hip.net 8.0-CURRENT FreeBSD 8.0-CURRENT #7: Wed May 28 11:57:20 EDT 2008 >Description: - Update to 3.0.5.2 Added file(s): - files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterTransparent.java Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- azureus-3.0.5.2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net-p2p/azureus/Makefile,v retrieving revision 1.50 diff -u -r1.50 Makefile --- Makefile 26 Mar 2008 16:11:50 -0000 1.50 +++ Makefile 29 May 2008 18:53:11 -0000 @@ -6,7 +6,7 @@ # PORTNAME= azureus -PORTVERSION= 3.0.5.0 +PORTVERSION= 3.0.5.2 CATEGORIES= net-p2p java MASTER_SITES= SF DISTNAME= Azureus_${PORTVERSION}_source @@ -72,7 +72,8 @@ # Use at your own risk, I've just had it around and decided to share. .if defined(WITH_EXTRAHACK) EXTRA_PATCHES+= \ - ${PATCHDIR}/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java + ${PATCHDIR}/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java \ + ${PATCHDIR}/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterTransparent.java .endif CLASSPATH=. Index: distinfo =================================================================== RCS file: /home/ncvs/ports/net-p2p/azureus/distinfo,v retrieving revision 1.20 diff -u -r1.20 distinfo --- distinfo 26 Mar 2008 16:11:50 -0000 1.20 +++ distinfo 29 May 2008 18:53:11 -0000 @@ -1,3 +1,3 @@ -MD5 (Azureus_3.0.5.0_source.zip) = 0968e8017b69286d0a8435494e56757c -SHA256 (Azureus_3.0.5.0_source.zip) = 2e8ae56adc4d8341bbec722b224e0885c9ca5c49c996f2bc3c0b1f01fe788ca1 -SIZE (Azureus_3.0.5.0_source.zip) = 7387408 +MD5 (Azureus_3.0.5.2_source.zip) = 064b885fafd89c8a5042a3d6641d5318 +SHA256 (Azureus_3.0.5.2_source.zip) = 43bb6a69d53ac00a446ccb706ff60d53f65dfffb4c22ab6c69c1851cbdfc8477 +SIZE (Azureus_3.0.5.2_source.zip) = 7537643 Index: files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java =================================================================== RCS file: /home/ncvs/ports/net-p2p/azureus/files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java,v retrieving revision 1.1 diff -u -r1.1 extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java --- files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java 3 Oct 2007 03:55:33 -0000 1.1 +++ files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java 29 May 2008 18:53:11 -0000 @@ -1,11 +1,11 @@ ---- com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterStream.java.orig Sat Feb 3 18:34:39 2007 -+++ com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterStream.java Sat Feb 3 18:37:03 2007 -@@ -55,7 +55,7 @@ - public boolean - hasBufferedRead() - { -- return false; -+ return true; - } - - public TransportHelper +--- com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterStream.java.orig 2007-03-01 23:39:40.000000000 -0500 ++++ com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterStream.java 2008-05-29 13:45:17.000000000 -0400 +@@ -57,7 +57,7 @@ + public boolean + hasBufferedRead() + { +- return false; ++ return true; + } + + public TransportHelper Index: files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterTransparent.java =================================================================== RCS file: files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterTransparent.java diff -N files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterTransparent.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterTransparent.java 29 May 2008 18:53:11 -0000 @@ -0,0 +1,11 @@ +--- com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterTransparent.java.orig 2008-05-29 14:05:20.000000000 -0400 ++++ com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterTransparent.java 2008-05-29 14:08:25.000000000 -0400 +@@ -60,7 +60,7 @@ + public boolean + hasBufferedRead() + { +- return( read_insert != null && read_insert.remaining() > 0 ); ++ return( true ); + } + + public long Index: files/patch-TransferTypes =================================================================== RCS file: /home/ncvs/ports/net-p2p/azureus/files/patch-TransferTypes,v retrieving revision 1.1 diff -u -r1.1 patch-TransferTypes --- files/patch-TransferTypes 19 Feb 2006 08:44:52 -0000 1.1 +++ files/patch-TransferTypes 29 May 2008 18:53:11 -0000 @@ -1,17 +1,29 @@ ---- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Fri Dec 12 09:56:48 2003 -+++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Sat Jun 11 16:06:40 2005 -@@ -41,5 +41,5 @@ - TransferData[] data = event.dataTypes; - for (int i = 0; i < data.length; i++) { -- int id = data[i].type; -+ long id = data[i].type; - String name = getNameFromId(id); - System.out.println("Data type is " + id + " " + name); -@@ -97,5 +97,5 @@ - return ids; - } -- static String getNameFromId(int id) { -+ static String getNameFromId(long id) { -- switch (id) { -+ switch ((int)id) { - case 1 : +--- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java.orig 2003-12-12 07:56:48.000000000 -0500 ++++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java 2008-05-29 14:24:29.000000000 -0400 +@@ -40,7 +40,7 @@ + + TransferData[] data = event.dataTypes; + for (int i = 0; i < data.length; i++) { +- int id = data[i].type; ++ long id = data[i].type; + String name = getNameFromId(id); + System.out.println("Data type is " + id + " " + name); + } +@@ -96,8 +96,8 @@ + protected int[] getTypeIds() { + return ids; + } +- static String getNameFromId(int id) { +- switch (id) { ++ static String getNameFromId(long id) { ++ switch ((int)id) { + case 1 : + return "CF_TEXT"; + case 8 : +@@ -144,4 +144,4 @@ + } + return "*UNKNOWN_TYPE*"; + } +-} +\ No newline at end of file ++} Index: files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java =================================================================== RCS file: /home/ncvs/ports/net-p2p/azureus/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java,v retrieving revision 1.1 diff -u -r1.1 patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java --- files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java 24 Sep 2006 23:27:59 -0000 1.1 +++ files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java 29 May 2008 18:53:11 -0000 @@ -1,20 +1,20 @@ ---- org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java.orig Sun Sep 24 16:18:49 2006 -+++ org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java Sun Sep 24 16:19:07 2006 +--- org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java.orig 2007-03-07 16:49:08.000000000 -0500 ++++ org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java 2008-05-29 14:34:23.000000000 -0400 @@ -19,7 +19,7 @@ - */ - package org.gudy.azureus2.platform.macosx.access.jnilib; - --import org.eclipse.swt.internal.carbon.AEDesc; -+// import org.eclipse.swt.internal.carbon.AEDesc; - - import org.gudy.azureus2.core3.util.Debug; - + */ + package org.gudy.azureus2.platform.macosx.access.jnilib; + +-import org.eclipse.swt.internal.carbon.AEDesc; ++// import org.eclipse.swt.internal.carbon.AEDesc; + + import org.gudy.azureus2.core3.util.*; + @@ -42,7 +42,7 @@ - } - } - -- public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result); -+// public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result); - - public static final native String getVersion(); - + } + } + +- public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result); ++// public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result); + + public static final native String getVersion(); + Index: files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java =================================================================== RCS file: /home/ncvs/ports/net-p2p/azureus/files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java,v retrieving revision 1.1 diff -u -r1.1 patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java --- files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java 29 Oct 2007 21:29:24 -0000 1.1 +++ files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java 29 May 2008 18:53:11 -0000 @@ -1,10 +1,10 @@ ---- org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java.orig 2007-10-13 16:57:39.000000000 -0400 -+++ org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java 2007-10-13 16:58:03.000000000 -0400 -@@ -136,6 +136,7 @@ - return false; - } - }); -+ possibleDirs.add(new File("/usr/local/lib")); - possibleDirs.add(new File("/usr/local")); - possibleDirs.add(new File("/opt")); - +--- org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java.orig 2007-12-06 16:43:38.000000000 -0500 ++++ org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java 2008-05-29 14:39:30.000000000 -0400 +@@ -139,6 +139,7 @@ + return false; + } + }); ++ possibleDirs.add(new File("/usr/local/lib")); + possibleDirs.add(new File("/usr/local")); + possibleDirs.add(new File("/opt")); + --- azureus-3.0.5.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: