ports/118774: net-p2p/azureus update to 3.0.4.0

Pietro Cerutti gahr at gahr.ch
Mon Dec 17 12:00:06 UTC 2007


>Number:         118774
>Category:       ports
>Synopsis:       net-p2p/azureus update to 3.0.4.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 17 12:00:05 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 8.0-CURRENT #17: Thu Dec 13 11:23:40 CET 2007
    root at gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034



>Description:


Update to last version


>How-To-Repeat:





>Fix:


--- _azureus.diff begins here ---
--- Makefile.orig	2007-12-17 11:40:28.000000000 +0100
+++ Makefile	2007-12-17 12:48:37.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	azureus
-PORTVERSION=	3.0.3.4
+PORTVERSION=	3.0.4.0
 CATEGORIES=	net-p2p java
 MASTER_SITES=	SF
 DISTNAME=	Azureus_${PORTVERSION}_source
--- distinfo.orig	2007-12-17 11:40:52.000000000 +0100
+++ distinfo	2007-12-17 12:48:42.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (Azureus_3.0.3.4_source.zip) = 1dd3f6cbf77ce90c1eb2f80d01c7e912
-SHA256 (Azureus_3.0.3.4_source.zip) = e413ce9908ba940345b26024e2daedb2dbf3274aeba3996b7ed7a9b287072f8d
-SIZE (Azureus_3.0.3.4_source.zip) = 6988737
+MD5 (Azureus_3.0.4.0_source.zip) = d76fb26dc907b9ee617556be3a165ac4
+SHA256 (Azureus_3.0.4.0_source.zip) = 4066756bc4ff6034fac28ec890c88432032d2d9385b47b8e8484726120e10779
+SIZE (Azureus_3.0.4.0_source.zip) = 7155213
--- files/.extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java	2007-10-03 05:55:33.000000000 +0200
+++ files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java	2007-12-17 11:48:10.000000000 +0100
@@ -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-12-17 11:47:11.000000000 +0100
++++ com/aelitis/azureus/core/networkmanager/impl/TransportHelperFilterStream.java	2007-12-17 11:47:28.000000000 +0100
+@@ -57,7 +57,7 @@
+ 	public boolean 
+ 	hasBufferedRead() 
+ 	{
+-		return false;
++		return true;
+ 	}
+ 	
+ 	public TransportHelper
--- files/.patch-TransferTypes	2006-02-19 09:44:52.000000000 +0100
+++ files/patch-TransferTypes	2007-12-17 11:51:46.000000000 +0100
@@ -1,17 +1,22 @@
---- 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	2007-12-17 11:50:22.000000000 +0100
++++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java	2007-12-17 11:51:09.000000000 +0100
+@@ -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 :
--- files/.patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java	2006-09-25 01:27:59.000000000 +0200
+++ files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java	2007-12-17 11:54:25.000000000 +0100
@@ -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-12-17 11:53:22.000000000 +0100
++++ org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java	2007-12-17 11:54:01.000000000 +0100
 @@ -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();
+ 
--- files/.patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java	2007-10-29 22:29:24.000000000 +0100
+++ files/patch-org__gudy__azureus2__platform__unix__ScriptBeforeStartup.java	2007-12-17 11:56:56.000000000 +0100
@@ -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-17 11:56:04.000000000 +0100
++++ org/gudy/azureus2/platform/unix/ScriptBeforeStartup.java	2007-12-17 11:56:25.000000000 +0100
+@@ -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.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list