diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/azureus/files/azureus-gentoo-2.4.0.0.sh | 65 | ||||
-rw-r--r-- | net-p2p/azureus/files/azureus-java.beans.XMLEncoder.patch | 24 | ||||
-rw-r--r-- | net-p2p/azureus/files/azureus-no-bouncycastle.patch | 190 | ||||
-rw-r--r-- | net-p2p/azureus/files/azureus.desktop | 8 | ||||
-rw-r--r-- | net-p2p/azureus/files/azureus.png | bin | 743 -> 0 bytes | |||
-rw-r--r-- | net-p2p/azureus/files/digest-azureus-2.4.0.0 | 3 | ||||
-rw-r--r-- | net-p2p/azureus/files/fedora/azureus-cache-size.patch | 11 | ||||
-rw-r--r-- | net-p2p/azureus/files/fedora/azureus-no-restart.patch | 20 | ||||
-rw-r--r-- | net-p2p/azureus/files/fedora/azureus-remove-manifest-classpath.patch | 10 | ||||
-rw-r--r-- | net-p2p/azureus/files/fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch | 14 | ||||
-rw-r--r-- | net-p2p/azureus/files/fedora/azureus-remove-win32-osx-platforms.patch | 37 |
11 files changed, 0 insertions, 382 deletions
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 deleted file mode 100644 index fc752191..00000000 --- a/net-p2p/azureus/files/azureus-gentoo-2.4.0.0.sh +++ /dev/null @@ -1,65 +0,0 @@ -#! /bin/bash -# -# Copyright (c) 2005, Petteri Räty <betelgeuse@gentoo.org> -# Copyright (c) 2004, Jochen Maes <sejo@gentoo.org> -# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> -# Copyright (c) 2004, Gentoo Foundation -# -# Licensed under the GNU General Public License, v2 - -# The Azureus config dir has moved -olddotazudir="${HOME}/.Azureus" -oldgentoocfg="${olddotazudir}/gentoo.config" -dotazudir="${HOME}/.azureus" -gentoocfg="${dotazudir}/gentoo.config" - -if [[ -f "${oldgentoocfg}" && -f "${gentoocfg}" ]]; then - cat > /dev/stderr <<END -You have gentoo.config files in both -${dotazudir} and -${olddotazudir} -${olddotazudir} is deprecated and you can delete this directory. - -END -fi - -if [[ -f "${gentoocfg}" ]] ; then - . "${gentoocfg}" - echo "using ${gentoocfg}" -elif [[ -f "${oldgentoocfg}" ]]; then - . "${oldgentoocfg}" - echo "using ${oldgentoocfg}" -else - if [[ ! -e "${dotazudir}" ]] ; then - mkdir "${dotazudir}" - echo "Creating ${dotazudir}" - fi - - # Setup defaults - UI_OPTIONS="--ui=swt" - - echo "Creating ${gentoocfg}" - - # Create the config file - cat > "${gentoocfg}" <<END -# User Interface options: -# console - console based -# swt - swt (GUI) based -# -# When selecting just 1, use '--ui=<ui>' -# When selecting multiple, use '--uis=<ui>,<ui>' -UI_OPTIONS="${UI_OPTIONS}" - -# Options you want to pass to the java binary -JAVA_OPTIONS="" -END - -fi - -#cd "${dotazudir}" - -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-java.beans.XMLEncoder.patch b/net-p2p/azureus/files/azureus-java.beans.XMLEncoder.patch deleted file mode 100644 index 8854d433..00000000 --- a/net-p2p/azureus/files/azureus-java.beans.XMLEncoder.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- azureus/org/gudy/azureus2/ui/console/multiuser/UserManager.java~ 2005-09-06 08:44:54.000000000 -0700 -+++ azureus/org/gudy/azureus2/ui/console/multiuser/UserManager.java 2005-12-17 12:06:13.000000000 -0800 -@@ -23,7 +23,7 @@ - package org.gudy.azureus2.ui.console.multiuser;
-
- import java.beans.XMLDecoder;
--import java.beans.XMLEncoder;
-+// import java.beans.XMLEncoder;
- import java.io.BufferedInputStream;
- import java.io.BufferedOutputStream;
- import java.io.File;
-@@ -159,9 +159,9 @@ - List users = new ArrayList( usersMap.values() );
- config.setUsers(users);
-
-- XMLEncoder encoder = new XMLEncoder( new BufferedOutputStream( out ) );
-- encoder.writeObject(config);
-- encoder.close();
-+ // XMLEncoder encoder = new XMLEncoder( new BufferedOutputStream( out ) );
-+ // encoder.writeObject(config);
-+ // encoder.close();
- }
-
- public static UserManager getInstance(PluginInterface pi)
diff --git a/net-p2p/azureus/files/azureus-no-bouncycastle.patch b/net-p2p/azureus/files/azureus-no-bouncycastle.patch deleted file mode 100644 index 92a20341..00000000 --- a/net-p2p/azureus/files/azureus-no-bouncycastle.patch +++ /dev/null @@ -1,190 +0,0 @@ ---- 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/azureus.desktop b/net-p2p/azureus/files/azureus.desktop deleted file mode 100644 index 7a45c5e9..00000000 --- a/net-p2p/azureus/files/azureus.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=Azureus -Comment=Azureus BitTorrent Client -Exec=azureus -Icon=azureus.png -Terminal=0 -Categories=Application;Network; -Type=Application diff --git a/net-p2p/azureus/files/azureus.png b/net-p2p/azureus/files/azureus.png Binary files differdeleted file mode 100644 index 9ece3a94..00000000 --- a/net-p2p/azureus/files/azureus.png +++ /dev/null diff --git a/net-p2p/azureus/files/digest-azureus-2.4.0.0 b/net-p2p/azureus/files/digest-azureus-2.4.0.0 deleted file mode 100644 index 6256a5c8..00000000 --- a/net-p2p/azureus/files/digest-azureus-2.4.0.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 cb0390f3e1d158453fca980c92050a56 Azureus_2.4.0.0_source.zip 5235489 -RMD160 63aae0ad115be529d6abf51ddf8bba139ac439e5 Azureus_2.4.0.0_source.zip 5235489 -SHA256 1190c7281433ef9bdb32c3aac52d2c0fd31ff13114a2c569d31ccb1cc0d69d70 Azureus_2.4.0.0_source.zip 5235489 diff --git a/net-p2p/azureus/files/fedora/azureus-cache-size.patch b/net-p2p/azureus/files/fedora/azureus-cache-size.patch deleted file mode 100644 index 954f6eea..00000000 --- a/net-p2p/azureus/files/fedora/azureus-cache-size.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 deleted file mode 100644 index f6c25227..00000000 --- a/net-p2p/azureus/files/fedora/azureus-no-restart.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- 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 deleted file mode 100644 index 842e47b3..00000000 --- a/net-p2p/azureus/files/fedora/azureus-remove-manifest-classpath.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- 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 deleted file mode 100644 index b935267b..00000000 --- a/net-p2p/azureus/files/fedora/azureus-remove-win32-PlatformManagerUpdateChecker.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- 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 deleted file mode 100644 index 961ee333..00000000 --- a/net-p2p/azureus/files/fedora/azureus-remove-win32-osx-platforms.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- 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 );
-
|