Date: Tue, 10 Jul 2007 17:52:09 -0400 (EDT) From: Robert Noland <rnoland@2hip.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/114486: [NEW PORT] net-p2p/azureus2: A BitTorrent client written in Java Message-ID: <200707102152.l6ALq937043549@rnoland-ibm.acs.internap.com> Resent-Message-ID: <200707102200.l6AM0I06050549@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114486 >Category: ports >Synopsis: [NEW PORT] net-p2p/azureus2: A BitTorrent client written in Java >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 10 22:00:17 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 #101: Tue Jul 10 15:23:03 EDT 2007 >Description: Azureus is a java bittorrent client. Azureus offers multiple torrent downloads, queuing/priority systems (on torrents and files), start/stop seeding options and instant access to numerous pieces of information about your torrents. Azureus now features an embedded tracker easily setup and ready to use. WWW: http://azureus.sourceforge.net/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- azureus2-2.5.0.4.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # azureus2 # azureus2/files # azureus2/files/build.xml # azureus2/files/patch-TransferTypes # azureus2/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java # azureus2/files/azureus2.in # azureus2/distinfo # azureus2/Makefile # azureus2/pkg-descr # azureus2/pkg-message # echo c - azureus2 mkdir -p azureus2 > /dev/null 2>&1 echo c - azureus2/files mkdir -p azureus2/files > /dev/null 2>&1 echo x - azureus2/files/build.xml sed 's/^X//' >azureus2/files/build.xml << 'END-of-azureus2/files/build.xml' X<!-- Under a BSDL license. Copyright by Mario S F Ferreira <lioux@FreeBSD.org> 2005- --> X<!-- Under a BSDL license. Copyright by jrandom 2005- --> X<!-- $FreeBSD: ports/net-p2p/azureus/files/build.xml,v 1.6 2006/02/19 08:44:52 lioux Exp $ --> X<project basedir="." default="dist" name="azureus"> X <description> X Builds Azureus X </description> X <!-- set global properties for this build --> X <property name="src" location="src"/> X <property name="build" location="build"/> X <property name="dist" location="dist"/> X X <target name="init"> X <!-- Create the time stamp --> X <tstamp/> X <!-- Create the build directory structure used by compile --> X <mkdir dir="${build}"/> X </target> X X <target name="compile" depends="init" description="compile the source " > X <!-- Compile the java code from ${src} into ${build} --> X <javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="512m"> X <include name="**/*.java"/> X <exclude name="**/Win32*.java"/> X <exclude name="**/swt/osx/**"/> X <exclude name="**/macosx/**"/> X <classpath path="%%CLASSPATH%%"/> X </javac> X </target> X X <target name="dist" depends="compile" description="generate the distribution" > X <!-- Create the distribution directory --> X <mkdir dir="${dist}/lib"/> X X <copy todir="${build}"> X <fileset dir="." includes="**/*.gif **/*.jpg, **/*.png **/*.properties" /> X <fileset dir="." includes="**/*.dat **/*.stf **/*.xsd" /> X <fileset dir="." includes="**/*.css **/*.html **/*.js **/*.php **/*.tmpl **/*.txt" /> X <fileset dir="." includes="**/*.ico **/*.wav" /> X </copy> X <!-- Put everything in ${build} into the azureus.jar file --> X <jar jarfile="${dist}/lib/azureus2.jar" basedir="${build}"/> X </target> X X <target name="clean" description="clean up" > X <!-- Delete the ${build} and ${dist} directory trees --> X <delete dir="${build}"/> X <delete dir="${dist}"/> X </target> X</project> END-of-azureus2/files/build.xml echo x - azureus2/files/patch-TransferTypes sed 's/^X//' >azureus2/files/patch-TransferTypes << 'END-of-azureus2/files/patch-TransferTypes' X--- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Fri Dec 12 09:56:48 2003 X+++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Sat Jun 11 16:06:40 2005 X@@ -41,5 +41,5 @@ X TransferData[] data = event.dataTypes; X for (int i = 0; i < data.length; i++) { X- int id = data[i].type; X+ long id = data[i].type; X String name = getNameFromId(id); X System.out.println("Data type is " + id + " " + name); X@@ -97,5 +97,5 @@ X return ids; X } X- static String getNameFromId(int id) { X+ static String getNameFromId(long id) { X- switch (id) { X+ switch ((int)id) { X case 1 : END-of-azureus2/files/patch-TransferTypes echo x - azureus2/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java sed 's/^X//' >azureus2/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java << 'END-of-azureus2/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java' X--- org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java.orig Sun Sep 24 16:18:49 2006 X+++ org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java Sun Sep 24 16:19:07 2006 X@@ -19,7 +19,7 @@ X */ X package org.gudy.azureus2.platform.macosx.access.jnilib; X X-import org.eclipse.swt.internal.carbon.AEDesc; X+// import org.eclipse.swt.internal.carbon.AEDesc; X X import org.gudy.azureus2.core3.util.Debug; X X@@ -42,7 +42,7 @@ X } X } X X- public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result); X+// public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result); X X public static final native String getVersion(); X END-of-azureus2/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java echo x - azureus2/files/azureus2.in sed 's/^X//' >azureus2/files/azureus2.in << 'END-of-azureus2/files/azureus2.in' X#!/bin/sh X# X# $FreeBSD: ports/net-p2p/azureus/files/azureus.in,v 1.1 2007/05/26 00:56:11 alepulver Exp $ X X# java Xexport JAVA_VERSION="%%JAVA_VERSION%%" Xexport JAVA_OS="%%JAVA_OS%%" X XECLIPSE_BASE=%%LOCALBASE%%/eclipse XECLIPSE_SWT_JAR=%%SWTJAR%% XLIB_PATH=%%LIBDIR%% X XCLASS_PATH=:%%JAVAJARDIR%%/%%JARFILE%%:${ECLIPSE_SWT_JAR} X Xif [ "${DEBUG}" ] Xthen X echo "ECLIPSE_BASE = ${ECLIPSE_BASE}" X echo "ECLIPSE_WS = ${ECLIPSE_WS}" X echo "ECLIPSE_SWT = ${ECLIPSE_SWT}" X echo "ECLIPSE_SWT_JAR = ${ECLIPSE_SWT_JAR}" X echo "CLASS_PATH = ${CLASS_PATH}" X echo "LIB_PATH = ${LIB_PATH}" Xfi X Xexec "%%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 "${@}" END-of-azureus2/files/azureus2.in echo x - azureus2/distinfo sed 's/^X//' >azureus2/distinfo << 'END-of-azureus2/distinfo' XMD5 (azureus_2.5.0.4_source.zip) = 032c42578b455599a00714781438afa7 XSHA256 (azureus_2.5.0.4_source.zip) = 9ae32cbf88baf04b0e17456e92bc2634dd54e890dbece7211a83318b96d1b081 XSIZE (azureus_2.5.0.4_source.zip) = 6482560 END-of-azureus2/distinfo echo x - azureus2/Makefile sed 's/^X//' >azureus2/Makefile << 'END-of-azureus2/Makefile' X# New ports collection makefile for: Azureus X# Date created: October 6, 2004 X# Whom: Jeremy Faulkner <gldisater@gldis.ca> X# X# $FreeBSD: ports/net-p2p/azureus/Makefile,v 1.43 2007/06/14 08:03:09 miwi Exp $ X# X XPORTNAME= azureus2 XPORTVERSION= 2.5.0.4 XCATEGORIES= net-p2p java XMASTER_SITES= SF XDISTNAME= azureus_${PORTVERSION}_source X XMAINTAINER= rnoland@2hip.net XCOMMENT= A BitTorrent client written in Java X XBUILD_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j \ X ${JAVALIBDIR}/commons-cli.jar:${PORTSDIR}/java/jakarta-commons-cli \ X ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \ X ${JAVALIBDIR}/${SWT}.jar:${PORTSDIR}/x11-toolkits/${SWT} XRUN_DEPENDS= ${JAVALIBDIR}/${SWT}.jar:${PORTSDIR}/x11-toolkits/${SWT} X XUSE_JAVA= yes XJAVA_VERSION= 1.4+ XJAVA_OS= native XUSE_ANT= yes X XUSE_ZIP= yes XUSE_DOS2UNIX= org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java \ X org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java X XNO_WRKSUBDIR= yes X XJARFILE= ${PORTNAME}.jar X XOPTIONS= SWTDEVEL "Use SWT Development port" off X X# build classpath from BUILD_DEPENDS XMAKE_ENV= LANG=C XCLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar} X XPLIST_FILES= %%JAVAJARDIR%%/${JARFILE} \ X bin/${PORTNAME} X XSUB_FILES= ${PORTNAME} XSUB_LIST= LIBDIR="${LOCALBASE}/lib" JARFILE="${JARFILE}" \ X SWTJAR="${JAVALIBDIR}/${SWT}.jar" JAVA="${LOCALBASE}/bin/java" X X.include <bsd.port.pre.mk> X X.if defined(WITH_SWTDEVEL) XSWT= swt-devel X.else XSWT= swt X.endif X XCLASSPATH=. X.for jar in ${CLASSPATH_JARS} XCLASSPATH:=${CLASSPATH}:${jar} X.endfor X Xpost-patch: X @${SED} -E -e 's|%%CLASSPATH%%|${CLASSPATH}|' \ X ${FILESDIR}/build.xml > ${WRKSRC}/build.xml X# bash -> sh X @${REINPLACE_CMD} -E -e 's|/bin/bash|${SH}|' \ X ${WRKSRC}/com/aelitis/azureus/core/update/impl/AzureusRestarterImpl.java X Xdo-install: X ${MKDIR} ${JAVAJARDIR} X ${INSTALL_DATA} ${WRKSRC}/dist/lib/${JARFILE} ${JAVAJARDIR} X ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} X Xpost-install: X @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} X X.include <bsd.port.post.mk> END-of-azureus2/Makefile echo x - azureus2/pkg-descr sed 's/^X//' >azureus2/pkg-descr << 'END-of-azureus2/pkg-descr' XAzureus is a java bittorrent client. Azureus offers multiple Xtorrent downloads, queuing/priority systems (on torrents and Xfiles), start/stop seeding options and instant access to Xnumerous pieces of information about your torrents. Azureus Xnow features an embedded tracker easily setup and ready to use. X XWWW: http://azureus.sourceforge.net/ END-of-azureus2/pkg-descr echo x - azureus2/pkg-message sed 's/^X//' >azureus2/pkg-message << 'END-of-azureus2/pkg-message' X==================================== X============ ATTENTION ============= X==================================== X XIf you have problems running XAzureus, make sure you have the Xlatest version of all your installed Xpackages. X XFor instance, make sure the swt Xpackage is of version 3.2.1 or Xlater. X X==================================== END-of-azureus2/pkg-message exit --- azureus2-2.5.0.4.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707102152.l6ALq937043549>