ports/116850: [MAINTAINER] net-p2p/azureus: update to 3.0.3.0
Robert Noland
rnoland at 2hip.net
Wed Oct 3 01:00:04 UTC 2007
>Number: 116850
>Category: ports
>Synopsis: [MAINTAINER] net-p2p/azureus: update to 3.0.3.0
>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: Wed Oct 03 01:00:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Robert Noland
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD rnoland-ibm.2hip.net 7.0-CURRENT FreeBSD 7.0-CURRENT #108: Thu Sep 27 13:39:28 EDT 2007
>Description:
- Update to 3.0.3.0
No longer BROKEN with release swt.
UI selection works if SWT is built with brower integration.
i.e. The Vuze interface is default on new installs now.
Added a hack that I have used for a long time, even though I don't
know that it is a proper fix or not.
Added file(s):
- files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- azureus-3.0.3.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-p2p/azureus/Makefile,v
retrieving revision 1.44
diff -u -r1.44 Makefile
--- Makefile 12 Jul 2007 08:30:36 -0000 1.44
+++ Makefile 3 Oct 2007 00:47:42 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= azureus
-PORTVERSION= 3.0.1.6
+PORTVERSION= 3.0.3.0
CATEGORIES= net-p2p java
MASTER_SITES= SF
DISTNAME= Azureus_${PORTVERSION}_source
@@ -33,7 +33,8 @@
JARFILE= ${PORTNAME}.jar
-OPTIONS= SWTDEVEL "Use SWT Development port" on
+OPTIONS= SWTDEVEL "Use SWT Development port" on \
+ EXTRAHACK "Apply extra performance hack" off
# build classpath from BUILD_DEPENDS
MAKE_ENV= LANG=C
@@ -52,7 +53,13 @@
SWT= swt-devel
.else
SWT= swt
-BROKEN= swt-devel is currently required
+.endif
+
+# Ok, I'm not quite sure why this works, or if it is in any way a proper fix.
+# 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
.endif
CLASSPATH=.
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/net-p2p/azureus/distinfo,v
retrieving revision 1.16
diff -u -r1.16 distinfo
--- distinfo 12 Jul 2007 08:30:36 -0000 1.16
+++ distinfo 3 Oct 2007 00:47:42 -0000
@@ -1,3 +1,3 @@
-MD5 (Azureus_3.0.1.6_source.zip) = 1f077e3fa3962f6a1f9d3f531ddaea6c
-SHA256 (Azureus_3.0.1.6_source.zip) = 73026749f328cf3be790f4bc7c8945a83515312dc36c6ed6b6aa4de446dccda1
-SIZE (Azureus_3.0.1.6_source.zip) = 6620836
+MD5 (Azureus_3.0.3.0_source.zip) = c78f8415c7e3dfabca02107abb87cff7
+SHA256 (Azureus_3.0.3.0_source.zip) = 49e50a638f4ecd555c3a0c75a12a2739ffe654a0105973241965bc83a36791d8
+SIZE (Azureus_3.0.3.0_source.zip) = 7073364
Index: pkg-message
===================================================================
RCS file: /home/ncvs/ports/net-p2p/azureus/pkg-message,v
retrieving revision 1.2
diff -u -r1.2 pkg-message
--- pkg-message 4 Jan 2007 20:00:05 -0000 1.2
+++ pkg-message 3 Oct 2007 00:47:42 -0000
@@ -8,7 +8,7 @@
packages.
For instance, make sure the swt
-package is of version 3.2.1 or
+package is of version 3.3 or
later.
====================================
Index: files/azureus.in
===================================================================
RCS file: /home/ncvs/ports/net-p2p/azureus/files/azureus.in,v
retrieving revision 1.1
diff -u -r1.1 azureus.in
--- files/azureus.in 26 May 2007 00:56:11 -0000 1.1
+++ files/azureus.in 3 Oct 2007 00:47:42 -0000
@@ -12,6 +12,23 @@
CLASS_PATH=:%%JAVAJARDIR%%/%%JARFILE%%:${ECLIPSE_SWT_JAR}
+BROWSERS="xulrunner firefox seamonkey mozilla"
+
+if [ ! "${MOZILLA_FIVE_HOME}" ]; then
+ for browser in ${BROWSERS}; do
+ if [ -d "%%LOCALBASE%%/lib/${browser}" ]; then
+ MOZILLA_FIVE_HOME="%%LOCALBASE%%/lib/${browser}"
+ break;
+ fi
+ done
+fi
+
+if [ "${MOZILLA_FIVE_HOME}" ];then
+ LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${MOZILLA_FIVE_HOME}"
+ export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
+ echo "MOZILLA_FIVE_HOME=${MOZILLA_FIVE_HOME}"
+fi
+
if [ "${DEBUG}" ]
then
echo "ECLIPSE_BASE = ${ECLIPSE_BASE}"
@@ -22,4 +39,4 @@
echo "LIB_PATH = ${LIB_PATH}"
fi
-exec "%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" "-Dos.name=FreeBSD" "-Dazureus.config.path=${HOME}/.Azureus" "-Duser.dir=${HOME}/.Azureus" org.gudy.azureus2.ui.swt.Main "${@}"
+exec "%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" "-Dos.name=linux" "-Dazureus.config.path=${HOME}/.Azureus" "-Duser.dir=${HOME}/.Azureus" org.gudy.azureus2.ui.swt.Main "${@}"
Index: files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java
===================================================================
RCS file: files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java
diff -N files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/extra-patch-com__aelitis__azureus__core__networkmanager__impl__TransportHelperFilterStream.java 3 Oct 2007 00:47:42 -0000
@@ -0,0 +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
--- azureus-3.0.3.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list