summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2006-03-13 16:29:58 +0100
committerBertrand Jacquin <beber@meleeweb.net>2006-03-13 16:29:58 +0100
commite45f9238e149b87ef189438d5942529418677299 (patch)
treeb13ab036d56d8b16af1b260c4e68d7efbf99b3d0 /net-p2p
parentadd lyx 1.4.0 (diff)
downloadportage-e45f9238e149b87ef189438d5942529418677299.tar.xz
add new java things
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/azureus/Manifest33
-rw-r--r--net-p2p/azureus/azureus-2.4.0.0.ebuild33
-rw-r--r--net-p2p/azureus/files/azureus-gentoo-2.4.0.0.sh4
-rw-r--r--net-p2p/azureus/files/azureus-no-bouncycastle.patch190
-rw-r--r--net-p2p/azureus/files/fedora/azureus-cache-size.patch11
-rw-r--r--net-p2p/azureus/files/fedora/azureus-no-restart.patch20
-rw-r--r--net-p2p/azureus/files/fedora/azureus-remove-manifest-classpath.patch10
-rw-r--r--net-p2p/azureus/files/fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch14
-rw-r--r--net-p2p/azureus/files/fedora/azureus-remove-win32-osx-platforms.patch37
9 files changed, 332 insertions, 20 deletions
diff --git a/net-p2p/azureus/Manifest b/net-p2p/azureus/Manifest
index 819af7c8..8f0425b5 100644
--- a/net-p2p/azureus/Manifest
+++ b/net-p2p/azureus/Manifest
@@ -1,12 +1,12 @@
-MD5 3486acb372bc3a7e35eccfe6dd973c66 azureus-2.4.0.0.ebuild 3060
-RMD160 ca3198c8f4eeab878856d6c9a00c64fcc5c4902b azureus-2.4.0.0.ebuild 3060
-SHA256 a49b5f797f0d7b37972097ab86b2b8502fb5060894384d9e4b8d941ad7d4721a azureus-2.4.0.0.ebuild 3060
-MD5 b7dc949ae21b0bd296bd187de5587cb1 files/azureus-gentoo-2.4.0.0.sh 1649
-RMD160 8746118f1426fbda7ef680b6df927211c314673d files/azureus-gentoo-2.4.0.0.sh 1649
-SHA256 3dbc1df04f6fac5f3c92e65ec6f0ccc0b98a93abb92fa0a09e4d8844bbc9a669 files/azureus-gentoo-2.4.0.0.sh 1649
-MD5 59cc507e2e00f3a7c52e6e555ef187f0 files/azureus-java.beans.XMLEncoder.patch 924
-RMD160 5b5137ec5880fe100a87e16710244aedb504934e files/azureus-java.beans.XMLEncoder.patch 924
-SHA256 c09184a45a96101fe1ebd9ae919adabf62623e7445c5783289f57463eeb16a85 files/azureus-java.beans.XMLEncoder.patch 924
+MD5 02774351744a3230f529c51323d1a083 azureus-2.4.0.0.ebuild 3555
+RMD160 fd10f954822443cb886bdce2fe96385972c88604 azureus-2.4.0.0.ebuild 3555
+SHA256 89796c3988350f6130408cdf09797968f8598e21e0cf4e020c5b20048d41ffed azureus-2.4.0.0.ebuild 3555
+MD5 4f91dfa90b624bef23f895b91092fe74 files/azureus-gentoo-2.4.0.0.sh 1672
+RMD160 f60545a88c2fe57e3ccd69c7e45ebdf1ed48215b files/azureus-gentoo-2.4.0.0.sh 1672
+SHA256 1bd0df541df72736c709b19118714313beebc9918f729cf85d0281efafbb0d56 files/azureus-gentoo-2.4.0.0.sh 1672
+MD5 9b08586b25f5c7ebf47f1ab353e477b3 files/azureus-no-bouncycastle.patch 7237
+RMD160 1d93540ab1b3acab5307ed4b1d86eb6f58196f5e files/azureus-no-bouncycastle.patch 7237
+SHA256 025e2e405e7c8c75359a168e676bad95600ea9e667edfa5f3f6c47489542720c files/azureus-no-bouncycastle.patch 7237
MD5 70c17db47c9a596929112714f82ac010 files/azureus.desktop 153
RMD160 817c8e44b1068b5030b19d5f61a516f560fd4e92 files/azureus.desktop 153
SHA256 6eb562481d31292ed0ab9cf16f88c9385318b4c3a3c015fd26238624e1fe9f7c files/azureus.desktop 153
@@ -16,3 +16,18 @@ SHA256 951bcf1bbd46d049740f50be4d1cd41bbac0892ca40b83891db6a2beff9f6a30 files/az
MD5 497f8a2bf6381748bb47e98cbeec8a1d files/digest-azureus-2.4.0.0 262
RMD160 ee0c23f350b5c49ac514f69ae02e80741b57b9a1 files/digest-azureus-2.4.0.0 262
SHA256 a8f0b5d51f50afe16bbe6ea05c78b32b5c43f6f2c63080b0ce3f798e5ad6fb19 files/digest-azureus-2.4.0.0 262
+MD5 eb0038e89f3506fde9b807ac4860cc3e files/fedora/azureus-cache-size.patch 578
+RMD160 767c48837a762f99bd36f841a178e19c765390e8 files/fedora/azureus-cache-size.patch 578
+SHA256 c929ca71e2a2435127eeb4a42f0a8c6a000f9130c240cf72f13ba000f1fb1548 files/fedora/azureus-cache-size.patch 578
+MD5 77985688e5ad1773e392fbbd03cedfe7 files/fedora/azureus-no-restart.patch 961
+RMD160 35267a4a6d629a000a6673ce5b1e81780391bb42 files/fedora/azureus-no-restart.patch 961
+SHA256 dde3acdfa653cc36a2be2b670fa831f3c6419f0c195e790ddb4f18482a96491b files/fedora/azureus-no-restart.patch 961
+MD5 3d7c9b3023f4773d27696560fe1fa050 files/fedora/azureus-remove-manifest-classpath.patch 544
+RMD160 ad85fef763c0f575620abe61971843e709393f4a files/fedora/azureus-remove-manifest-classpath.patch 544
+SHA256 7c42ac19d92ab584cc7ef546ee4dc903561647219101c942ce991c5570c890be files/fedora/azureus-remove-manifest-classpath.patch 544
+MD5 86707647a48a978d592b8df212ee4cd3 files/fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch 609
+RMD160 4cd0073d6d0e17c9f93087b3bce9492033b123ae files/fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch 609
+SHA256 ce973921e76d4165eab2afaa91b51f4b6c302f253d8a6448220101c2819e06ff files/fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch 609
+MD5 3c5862f1afbf48b4006a91247358e916 files/fedora/azureus-remove-win32-osx-platforms.patch 1205
+RMD160 84682f22471425f74dd5710d331f50341ef1a26d files/fedora/azureus-remove-win32-osx-platforms.patch 1205
+SHA256 babb97a8005b936b2ee127dd72f3534d47d33af803811a7041130fecd3fdbd3d files/fedora/azureus-remove-win32-osx-platforms.patch 1205
diff --git a/net-p2p/azureus/azureus-2.4.0.0.ebuild b/net-p2p/azureus/azureus-2.4.0.0.ebuild
index 2be21f4f..19ca586b 100644
--- a/net-p2p/azureus/azureus-2.4.0.0.ebuild
+++ b/net-p2p/azureus/azureus-2.4.0.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/azureus-2.3.0.6-r1.ebuild,v 1.1 2006/01/02 21:24:54 betelgeuse Exp $
-inherit eutils java-pkg
+inherit eutils java-pkg-2
DESCRIPTION="Azureus - Java BitTorrent Client"
HOMEPAGE="http://azureus.sourceforge.net/"
@@ -14,12 +14,13 @@ KEYWORDS="~amd64 ~ppc ~x86"
IUSE="gcj source"
RDEPEND=">=virtual/jre-1.4
- gcj? ( dev-java/gcj )
- >=dev-java/eclipse-ecj-3.1-r2
+ gcj? ( dev-java/gcj
+ dev-java/eclipse-ecj )
>dev-java/swt-3.2_pre1
>=dev-java/log4j-1.2.8
>=dev-java/commons-cli-1.0
- dev-java/junit
+ >=dev-java/jessie-1.0.1
+ >=dev-java/bcprov-1.31
!net-p2p/azureus-bin"
DEPEND=">=virtual/jdk-1.4
${RDEPEND}
@@ -33,26 +34,40 @@ src_unpack() {
cd ${S}
unpack ${A}
- use gcj && epatch ${FILESDIR}/${PN}-java.beans.XMLEncoder.patch
+ if use gcj ; then
+ EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
+ epatch ${FILESDIR}/fedora/
+ fi
#removing osx files and entries
- rm -fr org/gudy/azureus2/ui/swt/osx org/gudy/azureus2/ui/swt/test org/gudy/azureus2/platform/macosx/access
+ rm -fr org/gudy/azureus2/ui/swt/osx org/gudy/azureus2/platform/macosx
+ #removing windows files
+ rm -fr org/gudy/azureus2/platform/win32
+ #removing test files
+ rm -fr org/gudy/azureus2/ui/swt/test
+ rm -f org/gudy/azureus2/ui/console/multiuser/TestUserManager.java
+ #removing bouncycastle
+ rm -fr org/bouncycastle
mkdir -p build/libs
cd build/libs
java-pkg_jar-from log4j
java-pkg_jar-from commons-cli-1
java-pkg_jar-from swt-3
- java-pkg_jar-from junit
+ java-pkg_jar-from bcprov
}
src_compile() {
- use gcj && ant_extra_opts="-Dbuild.compiler=ecj"
+ # Figure out correct boot classpath for IBM jdk.
+ if [ ! -z "$(java-config --java-version | grep IBM)" ] ; then
+ # IBM JRE
+ ant_extra_opts="-Dbootclasspath=$(java-config --jdk-home)/jre/lib/core.jar:$(java-config --jdk-home)/jre/lib/xml.jar:$(java-config --jdk-home)/jre/lib/graphics.jar"
+ fi
# Fails to build on amd64 without this
use amd64 && export ANT_OPTS="${ANT_OPTS} -Xmx1g"
- ant -q -q ${ant_extra_opts} jar \
+ eant -q -q jar \
|| die "ant build failed"
}
diff --git a/net-p2p/azureus/files/azureus-gentoo-2.4.0.0.sh b/net-p2p/azureus/files/azureus-gentoo-2.4.0.0.sh
index 86b55cb9..fc752191 100644
--- a/net-p2p/azureus/files/azureus-gentoo-2.4.0.0.sh
+++ b/net-p2p/azureus/files/azureus-gentoo-2.4.0.0.sh
@@ -58,8 +58,8 @@ fi
#cd "${dotazudir}"
-CLASSPATH="$(java-config -p junit,log4j,commons-cli-1,swt-3,azureus)"
-exec ${JAVA} -cp "${CLASSPATH}" \
+CLASSPATH="$(java-config -p bcprov,jessie,log4j,commons-cli-1,swt-3,azureus)"
+exec $(java-config --java) -cp "${CLASSPATH}" \
-Djava.library.path=$(java-config -i swt-3) \
-Dazureus.install.path="${dotazudir}" \
${JAVA_OPTIONS} org.gudy.azureus2.ui.common.Main ${UI_OPTIONS} "${@}"
diff --git a/net-p2p/azureus/files/azureus-no-bouncycastle.patch b/net-p2p/azureus/files/azureus-no-bouncycastle.patch
new file mode 100644
index 00000000..92a20341
--- /dev/null
+++ b/net-p2p/azureus/files/azureus-no-bouncycastle.patch
@@ -0,0 +1,190 @@
+--- org/gudy/azureus2/ui/console/util/StringEncrypter.java~ 2005-10-14 04:43:14.000000000 -0700
++++ org/gudy/azureus2/ui/console/util/StringEncrypter.java 2006-01-17 21:56:24.000000000 -0800
+@@ -12,7 +12,7 @@
+ import javax.crypto.spec.DESKeySpec;
+ import javax.crypto.spec.DESedeKeySpec;
+
+-import org.bouncycastle.util.encoders.Base64;
++import gnu.crypto.util.Base64;
+
+ /**
+ * utility class to encrypt strings. this class was taken from the examples at:
+--- org/gudy/azureus2/ui/swt/auth/AuthenticatorWindow.java~ 2005-10-14 00:17:38.000000000 -0700
++++ org/gudy/azureus2/ui/swt/auth/AuthenticatorWindow.java 2006-01-17 21:56:47.000000000 -0800
+@@ -42,7 +42,7 @@
+ import org.gudy.azureus2.core3.config.*;
+ import org.gudy.azureus2.core3.security.*;
+
+-import org.bouncycastle.util.encoders.Base64;
++import gnu.crypto.util.Base64;
+
+ public class
+ AuthenticatorWindow
+--- org/gudy/azureus2/core3/tracker/server/impl/tcp/TRTrackerServerProcessorTCP.java~ 2005-10-15 17:36:18.000000000 -0700
++++ org/gudy/azureus2/core3/tracker/server/impl/tcp/TRTrackerServerProcessorTCP.java 2006-01-17 21:57:15.000000000 -0800
+@@ -31,7 +31,7 @@
+ import org.gudy.azureus2.core3.tracker.server.impl.*;
+ import org.gudy.azureus2.core3.util.*;
+
+-import org.bouncycastle.util.encoders.Base64;
++import gnu.crypto.util.Base64;
+
+ public abstract class
+ TRTrackerServerProcessorTCP
+--- com/aelitis/azureus/core/networkmanager/impl/TCPTransportCipher.java.orig 2006-03-03 18:51:43.000000000 +0100
++++ com/aelitis/azureus/core/networkmanager/impl/TCPTransportCipher.java 2006-03-03 18:57:32.000000000 +0100
+@@ -29,9 +29,6 @@
+ import javax.crypto.Cipher;
+ import javax.crypto.spec.SecretKeySpec;
+
+-import org.bouncycastle.crypto.CipherParameters;
+-import org.bouncycastle.crypto.engines.RC4Engine;
+-import org.bouncycastle.crypto.params.KeyParameter;
+ import org.gudy.azureus2.core3.util.ByteFormatter;
+ import org.gudy.azureus2.core3.util.Debug;
+
+@@ -38,7 +35,6 @@
+ private static boolean internal_rc4 = true; // force internal as we want 160 bit and JCE no supports it
+
+ private Cipher cipher;
+- private RC4Engine rc4_engine;
+
+ protected
+ TCPTransportCipher(
+@@ -75,19 +71,10 @@
+
+ }catch( Throwable e ){
+
+- internal_rc4 = true;
++ System.out.println("missing CRYPTO code! (com/aelitis/azureus/core/networkmanager/impl/TCPTransportCipher)");
+ }
+ }
+
+- if ( internal_rc4 ){
+-
+- rc4_engine = new RC4Engine();
+-
+- CipherParameters params = new KeyParameter(key_spec.getEncoded());
+-
+- rc4_engine.init( mode == Cipher.ENCRYPT_MODE, params );
+- }
+-
+ //System.out.println( "RC4 key: " + ByteFormatter.encodeString( key_spec.getEncoded()));
+
+ // skip first 1024 bytes of stream to protected against a Fluhrer, Mantin and Shamir attack
+@@ -132,9 +119,8 @@
+
+ }else{
+
+- result = new byte[length];
+-
+- rc4_engine.processBytes( data, offset, length, result, 0 );
++ System.out.println("missing CRYPTO code! (com/aelitis/azureus/core/networkmanager/impl/TCPTransportCipher)");
++ result = null;
+ }
+
+ return( result );
+--- com/aelitis/net/udp/uc/impl/PRUDPPacketHandlerImpl.java.orig 2006-03-03 18:58:43.000000000 +0100
++++ com/aelitis/net/udp/uc/impl/PRUDPPacketHandlerImpl.java 2006-03-03 18:59:28.000000000 +0100
+@@ -43,7 +43,7 @@
+ import com.aelitis.net.udp.uc.PRUDPPacketRequest;
+ import com.aelitis.net.udp.uc.PRUDPRequestHandler;
+
+-import org.bouncycastle.util.encoders.Base64;
++import gnu.crypto.util.Base64;
+
+ public class
+ PRUDPPacketHandlerImpl
+--- com/aelitis/azureus/core/clientmessageservice/secure/impl/SecureMessageServiceClientHelper.java.orig 2006-03-03 19:03:10.000000000 +0100
++++ com/aelitis/azureus/core/clientmessageservice/secure/impl/SecureMessageServiceClientHelper.java 2006-03-03 19:09:16.000000000 +0100
+@@ -32,11 +32,6 @@
+ import javax.crypto.KeyGenerator;
+ import javax.crypto.SecretKey;
+
+-import org.bouncycastle.crypto.CipherParameters;
+-import org.bouncycastle.crypto.encodings.PKCS1Encoding;
+-import org.bouncycastle.crypto.engines.RSAEngine;
+-import org.bouncycastle.crypto.params.ParametersWithRandom;
+-import org.bouncycastle.jce.provider.RSAUtil;
+ import org.gudy.azureus2.core3.util.Debug;
+ import org.gudy.azureus2.plugins.utils.StaticUtilities;
+
+@@ -93,17 +88,7 @@
+
+ // fallback to the BC implementation for jdk1.4.2 as JCE RSA not available
+
+- RSAEngine eng = new RSAEngine();
+-
+- PKCS1Encoding padded_eng = new PKCS1Encoding( eng );
+-
+- CipherParameters param = RSAUtil.generatePublicKeyParameter(public_key);
+-
+- param = new ParametersWithRandom(param, new SecureRandom());
+-
+- padded_eng.init( true, param );
+-
+- encryped_session_key = padded_eng.processBlock(secret_bytes, 0, secret_bytes.length);
++ System.out.println("missing CRYPTO code! (com/aelitis/azureus/core/clientmessageservice/secure/impl/SecureMessageServiceClientHelper.java)");
+ }
+
+ }catch( Throwable e ){
+--- org/gudy/azureus2/core3/security/impl/SESecurityManagerBC.java.orig 2006-03-03 20:22:59.000000000 +0100
++++ org/gudy/azureus2/core3/security/impl/SESecurityManagerBC.java 2006-03-03 20:24:41.000000000 +0100
+@@ -36,8 +36,6 @@
+ import java.security.cert.X509Certificate;
+ import java.util.Calendar;
+
+-import org.bouncycastle.jce.*;
+-import org.bouncycastle.asn1.x509.X509Name;
+ import org.gudy.azureus2.core3.util.SystemTime;
+
+ public class
+@@ -46,7 +44,7 @@
+ protected static void
+ initialise()
+ {
+- Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
++// Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
+ }
+
+ public static Certificate
+@@ -64,37 +62,7 @@
+
+ KeyPair pair = kg.generateKeyPair();
+
+- X509V3CertificateGenerator certificateGenerator =
+- new X509V3CertificateGenerator();
+-
+- certificateGenerator.setSignatureAlgorithm( "MD5WithRSAEncryption" );
+-
+- certificateGenerator.setSerialNumber( new BigInteger( ""+SystemTime.getCurrentTime()));
+-
+- X509Name issuer_dn = new X509Name(true,cert_dn);
+-
+- certificateGenerator.setIssuerDN(issuer_dn);
+-
+- X509Name subject_dn = new X509Name(true,cert_dn);
+-
+- certificateGenerator.setSubjectDN(subject_dn);
+-
+- Calendar not_after = Calendar.getInstance();
+-
+- not_after.add(Calendar.YEAR, 1);
+-
+- certificateGenerator.setNotAfter( not_after.getTime());
+-
+- certificateGenerator.setNotBefore(Calendar.getInstance().getTime());
+-
+- certificateGenerator.setPublicKey( pair.getPublic());
+-
+- X509Certificate certificate = certificateGenerator.generateX509Certificate(pair.getPrivate());
+-
+- java.security.cert.Certificate[] certChain = {(java.security.cert.Certificate) certificate };
+-
+- manager.addCertToKeyStore( alias, pair.getPrivate(), certChain );
+-
+- return( certificate );
++ System.out.println("missing CRYPTO code! (org/gudy/azureus2/core3/security/impl/SESecurityManagerBC.java)");
++ return( null );
+ }
+ }
diff --git a/net-p2p/azureus/files/fedora/azureus-cache-size.patch b/net-p2p/azureus/files/fedora/azureus-cache-size.patch
new file mode 100644
index 00000000..954f6eea
--- /dev/null
+++ b/net-p2p/azureus/files/fedora/azureus-cache-size.patch
@@ -0,0 +1,11 @@
+--- org/gudy/azureus2/core3/config/COConfigurationManager.java.~1.34.~ 2006-01-19 21:27:18.000000000 -0500
++++ org/gudy/azureus2/core3/config/COConfigurationManager.java 2006-02-09 00:01:46.000000000 -0500
+@@ -39,7 +39,7 @@
+ public static final int CONFIG_CACHE_SIZE_MAX_MB;
+
+ static{
+- long max_mem_bytes = Runtime.getRuntime().maxMemory();
++ long max_mem_bytes = Math.min (Runtime.getRuntime().maxMemory(), 64*1024*1024);
+ long mb_1 = 1*1024*1024;
+ long mb_32 = 32*mb_1;
+ CONFIG_CACHE_SIZE_MAX_MB = (int)(( max_mem_bytes - mb_32 )/mb_1);
diff --git a/net-p2p/azureus/files/fedora/azureus-no-restart.patch b/net-p2p/azureus/files/fedora/azureus-no-restart.patch
new file mode 100644
index 00000000..f6c25227
--- /dev/null
+++ b/net-p2p/azureus/files/fedora/azureus-no-restart.patch
@@ -0,0 +1,20 @@
+--- org/gudy/azureus2/ui/swt/mainwindow/MainMenu.java~ 2006-02-09 20:09:11.000000000 -0500
++++ org/gudy/azureus2/ui/swt/mainwindow/MainMenu.java 2006-02-09 20:09:17.000000000 -0500
+@@ -171,17 +171,6 @@
+ if(!Constants.isOSX) {
+ new MenuItem(fileMenu, SWT.SEPARATOR);
+
+- MenuItem file_restart = new MenuItem(fileMenu, SWT.NULL);
+- Messages.setLanguageText(file_restart, "MainWindow.menu.file.restart"); //$NON-NLS-1$
+-
+- file_restart.addListener(SWT.Selection, new Listener() {
+-
+- public void handleEvent(Event event) {
+-
+- MainWindow.getWindow().dispose(true,false);
+- }
+- });
+-
+ final MenuItem file_exit = new MenuItem(fileMenu, SWT.NULL);
+ if(!COConfigurationManager.getBooleanParameter("Enable System Tray") || !COConfigurationManager.getBooleanParameter("Close To Tray")) {
+ KeyBindings.setAccelerator(file_exit, "MainWindow.menu.file.exit");
diff --git a/net-p2p/azureus/files/fedora/azureus-remove-manifest-classpath.patch b/net-p2p/azureus/files/fedora/azureus-remove-manifest-classpath.patch
new file mode 100644
index 00000000..842e47b3
--- /dev/null
+++ b/net-p2p/azureus/files/fedora/azureus-remove-manifest-classpath.patch
@@ -0,0 +1,10 @@
+--- build.xml.orig 2005-10-25 05:22:46.000000000 -0700
++++ build.xml 2006-01-25 12:16:32.000000000 -0800
+@@ -39,7 +39,6 @@
+ <jar destfile="${root.dir}/${dist.dir}/Azureus2.jar" basedir="${root.dir}" excludes="${dist.jar.excludes}" >
+ <manifest>
+ <attribute name="Main-Class" value="org.gudy.azureus2.ui.common.Main" />
+- <attribute name="Class-Path" value="Azureus2.jar apple-extensions.jar commons-cli.jar log4j.jar swt.jar swt-win32.jar swt-osx.jar" />
+ </manifest>
+ </jar>
+
diff --git a/net-p2p/azureus/files/fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch b/net-p2p/azureus/files/fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch
new file mode 100644
index 00000000..b935267b
--- /dev/null
+++ b/net-p2p/azureus/files/fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch
@@ -0,0 +1,14 @@
+--- org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java.orig 2006-01-11 09:05:48.000000000 -0800
++++ org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java 2006-01-25 11:51:54.000000000 -0800
+@@ -133,11 +133,6 @@
+ "azbpcorepatcher",
+ "CorePatcher",
+ "true" },
+- { PluginManagerDefaults.PID_PLATFORM_CHECKER,
+- "org.gudy.azureus2.platform.win32.PlatformManagerUpdateChecker",
+- "azplatform2",
+- "azplatform2",
+- "true" },
+ { PluginManagerDefaults.PID_JPC,
+ "com.aelitis.azureus.plugins.jpc.JPCPlugin",
+ "azjpc",
diff --git a/net-p2p/azureus/files/fedora/azureus-remove-win32-osx-platforms.patch b/net-p2p/azureus/files/fedora/azureus-remove-win32-osx-platforms.patch
new file mode 100644
index 00000000..961ee333
--- /dev/null
+++ b/net-p2p/azureus/files/fedora/azureus-remove-win32-osx-platforms.patch
@@ -0,0 +1,37 @@
+--- org/gudy/azureus2/platform/PlatformManagerFactory.java.orig 2005-09-12 12:00:07.000000000 -0700
++++ org/gudy/azureus2/platform/PlatformManagerFactory.java 2006-01-25 11:25:11.000000000 -0800
+@@ -42,33 +42,7 @@
+ {
+ try{
+ class_mon.enter();
+-
+- if ( platform_manager == null ){
+-
+- try{
+- if ( getPlatformType() == PlatformManager.PT_WINDOWS ){
+-
+- platform_manager = org.gudy.azureus2.platform.win32.PlatformManagerImpl.getSingleton();
+-
+- }else if( getPlatformType() == PlatformManager.PT_MACOSX ){
+-
+- platform_manager = org.gudy.azureus2.platform.macosx.PlatformManagerImpl.getSingleton();
+-
+- }
+- }catch( PlatformManagerException e ){
+-
+- // exception will already have been logged
+-
+- }catch( Throwable e ){
+-
+- Debug.printStackTrace(e);
+- }
+- }
+-
+- if ( platform_manager == null ){
+-
+- platform_manager = org.gudy.azureus2.platform.dummy.PlatformManagerImpl.getSingleton();
+- }
++ platform_manager = org.gudy.azureus2.platform.dummy.PlatformManagerImpl.getSingleton();
+
+ return( platform_manager );
+