aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/bittyrant
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-06-30 08:37:49 +0000
committerRene Ladan <rene@FreeBSD.org>2014-06-30 08:37:49 +0000
commita1334cc5336a99e37ca77595c60f68012e2bb0bc (patch)
treedf4588a3eebe74807d57f164b1c860b1243ffb47 /net-p2p/bittyrant
parent253b88d8be9b64b5c3997611b2748738f6050bda (diff)
downloadports-a1334cc5336a99e37ca77595c60f68012e2bb0bc.tar.gz
ports-a1334cc5336a99e37ca77595c60f68012e2bb0bc.zip
Notes
Diffstat (limited to 'net-p2p/bittyrant')
-rw-r--r--net-p2p/bittyrant/Makefile74
-rw-r--r--net-p2p/bittyrant/distinfo2
-rw-r--r--net-p2p/bittyrant/files/bittyrant.in11
-rw-r--r--net-p2p/bittyrant/files/patch-build.xml13
-rw-r--r--net-p2p/bittyrant/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java20
-rw-r--r--net-p2p/bittyrant/files/patch-org__gudy__azureus2__ui__swt__test__PrintTransferTypes.java29
-rw-r--r--net-p2p/bittyrant/pkg-descr19
7 files changed, 0 insertions, 168 deletions
diff --git a/net-p2p/bittyrant/Makefile b/net-p2p/bittyrant/Makefile
deleted file mode 100644
index 4fc435e756b3..000000000000
--- a/net-p2p/bittyrant/Makefile
+++ /dev/null
@@ -1,74 +0,0 @@
-# Created by: alepulver
-# $FreeBSD$
-
-PORTNAME= bittyrant
-PORTVERSION= 1.1
-PORTREVISION= 6
-CATEGORIES= net-p2p java
-MASTER_SITES= http://bittyrant.cs.washington.edu/dist_010807/
-DISTNAME= BitTyrant-src
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Java BitTorrent client optimized for fast download performance
-
-BUILD_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j \
- ${JAVALIBDIR}/commons-cli.jar:${PORTSDIR}/java/jakarta-commons-cli \
- ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
- ${JAVALIBDIR}/${SWT}.jar:${PORTSDIR}/x11-toolkits/${SWT}
-RUN_DEPENDS= ${JAVALIBDIR}/${SWT}.jar:${PORTSDIR}/x11-toolkits/${SWT}
-
-USES= dos2unix zip
-DOS2UNIX_FILES= build.xml \
- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java \
- org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java
-USE_JAVA= yes
-JAVA_VERSION= 1.6+
-JAVA_OS= native
-USE_ANT= yes
-WRKSRC= ${WRKDIR}/BitTyrant
-
-OPTIONS_DEFINE= SWTDEVEL
-OPTIONS_DEFAULT= SWTDEVEL
-SWTDEVEL_DESC= Use SWT Development port
-
-# build classpath from BUILD_DEPENDS
-MAKE_ENV= LANG=C
-CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar}
-
-PLIST_FILES= bin/${PORTNAME} \
- %%JAVAJARDIR%%/${PORTNAME}.jar
-
-SUB_FILES= ${PORTNAME}
-SUB_LIST= JARFILE="${PORTNAME}.jar" \
- JAVA="${LOCALBASE}/bin/java" \
- LIBDIR="${LOCALBASE}/lib" \
- SWTJAR="${JAVAJARDIR}/${SWT}.jar"
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-BROKEN= Does not build
-DEPRECATED= Broken for more than 5 months
-EXPIRATION_DATE= 2014-06-30
-
-.if ${PORT_OPTIONS:MSWTDEVEL}
-SWT= swt-devel
-.else
-SWT= swt
-.endif
-
-CLASSPATH=.
-.for jar in ${CLASSPATH_JARS}
-CLASSPATH:=${CLASSPATH}:${jar}
-.endfor
-
-post-patch:
- @${REINPLACE_CMD} -e 's|refid="libs.classpath"|path="${CLASSPATH}"|' \
- ${WRKSRC}/build.xml
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/dist/Azureus2.jar \
- ${JAVAJARDIR}/${PORTNAME}.jar
-
-.include <bsd.port.mk>
diff --git a/net-p2p/bittyrant/distinfo b/net-p2p/bittyrant/distinfo
deleted file mode 100644
index 06bc9794e586..000000000000
--- a/net-p2p/bittyrant/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (BitTyrant-src.zip) = 450253ff20402fdc17a42819d8aa70b7bf1d1aa2af9709301c3818565284b426
-SIZE (BitTyrant-src.zip) = 101031418
diff --git a/net-p2p/bittyrant/files/bittyrant.in b/net-p2p/bittyrant/files/bittyrant.in
deleted file mode 100644
index bdb81a4dc03d..000000000000
--- a/net-p2p/bittyrant/files/bittyrant.in
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-
-export JAVA_VERSION="%%JAVA_VERSION%%"
-export JAVA_OS="%%JAVA_OS%%"
-
-LIB_PATH="%%LIBDIR%%"
-CLASS_PATH="%%JAVAJARDIR%%/%%JARFILE%%:%%SWTJAR%%"
-
-exec "%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" "-Dos.name=FreeBSD" "-Dazureus.config.path=${HOME}/.BitTyrant" "-Duser.dir=${HOME}/.BitTyrant" org.gudy.azureus2.ui.swt.Main "${@}"
diff --git a/net-p2p/bittyrant/files/patch-build.xml b/net-p2p/bittyrant/files/patch-build.xml
deleted file mode 100644
index 1ca3632e3b17..000000000000
--- a/net-p2p/bittyrant/files/patch-build.xml
+++ /dev/null
@@ -1,13 +0,0 @@
---- build.xml.orig Thu Jan 4 15:51:46 2007
-+++ build.xml Thu May 3 00:29:25 2007
-@@ -32,6 +32,10 @@
- <!-- increasing the memory for javac avoids heap space problems when compiling so many source files -->
- <!--- uses java1.5 -->
- <javac srcdir="${root.dir}" destdir="${root.dir}" nowarn="yes" source="1.5" target="1.5" includeAntRuntime="no" debug="true" debuglevel="lines,vars,source" fork="yes" memoryMaximumSize="256m">
-+ <include name="**/*.java"/>
-+ <exclude name="**/Win32*.java"/>
-+ <exclude name="**/swt/osx/**"/>
-+ <exclude name="**/macosx/**"/>
- <classpath refid="libs.classpath" />
- </javac>
- </target>
diff --git a/net-p2p/bittyrant/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java b/net-p2p/bittyrant/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java
deleted file mode 100644
index 0c6659f8b515..000000000000
--- a/net-p2p/bittyrant/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java.orig Fri Nov 3 16:47:18 2006
-+++ ./org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java Thu May 3 00:24:10 2007
-@@ -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;
-
-@@ -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();
-
diff --git a/net-p2p/bittyrant/files/patch-org__gudy__azureus2__ui__swt__test__PrintTransferTypes.java b/net-p2p/bittyrant/files/patch-org__gudy__azureus2__ui__swt__test__PrintTransferTypes.java
deleted file mode 100644
index b39e3fb53b64..000000000000
--- a/net-p2p/bittyrant/files/patch-org__gudy__azureus2__ui__swt__test__PrintTransferTypes.java
+++ /dev/null
@@ -1,29 +0,0 @@
---- ./org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java.orig Fri Nov 3 16:46:40 2006
-+++ ./org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Thu May 3 00:25:01 2007
-@@ -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
-+}
diff --git a/net-p2p/bittyrant/pkg-descr b/net-p2p/bittyrant/pkg-descr
deleted file mode 100644
index e9b92a46aa95..000000000000
--- a/net-p2p/bittyrant/pkg-descr
+++ /dev/null
@@ -1,19 +0,0 @@
-BitTyrant is a new, protocol compatible BitTorrent client that is optimized
-for fast download performance. BitTyrant is:
-
-* Fast: During evaluation testing on more than 100 real BitTorrent swarms,
- BitTyrant provided an average 70% download performance increase when
- compared to the existing Azureus 2.5 implementation, with some downloads
- finishing more than three times as quickly.
-
-* Fair: BitTorrent was designed with incentives in mind: if a user is
- downloading at 30 KBps, they should upload at 30 KBps. However, due to the
- unique workload properties of many real-world swarms, this is not always
- enforced. BitTyrant is designed to make efficient use of your scarce upload
- bandwidth, rewarding those users whose upload allocations are fair and only
- allocating excess capacity to other users.
-
-* Familiar: BitTyrant is based on modifications to Azureus 2.5, currently the
- most popular BitTorrent client. All of our changes are under the hood.
- You'll find the GUI identical to Azureus, with optional additions to display
- statistics relevant to BitTyrant's operation.