summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-18 18:31:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-18 18:31:43 +0000
commitcd0d9000770337b445051f1852fe3971ceb7a6e2 (patch)
tree49c82dbb14c2d960e04e7482bdefe6ed2d53a173 /net-p2p
parent12c505f7fcc9ddc89e96ed178df05aceec162d92 (diff)
gentoo auto-resync : 18:03:2023 - 18:31:42
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Manifest.gzbin7416 -> 6911 bytes
-rw-r--r--net-p2p/bittornado/Manifest5
-rw-r--r--net-p2p/bittornado/bittornado-0.4.1_p20160925-r4.ebuild60
-rw-r--r--net-p2p/bittornado/files/bttrack.conf17
-rw-r--r--net-p2p/bittornado/files/bttrack.rc22
-rw-r--r--net-p2p/bittornado/metadata.xml8
-rw-r--r--net-p2p/vuze-coreplugins/Manifest6
-rw-r--r--net-p2p/vuze-coreplugins/metadata.xml11
-rw-r--r--net-p2p/vuze-coreplugins/vuze-coreplugins-5.7.6.0.ebuild51
-rw-r--r--net-p2p/vuze/Manifest14
-rw-r--r--net-p2p/vuze/files/build.xml68
-rw-r--r--net-p2p/vuze/files/vuze-4.1.0.0-pre75
-rw-r--r--net-p2p/vuze/files/vuze-5.3.0.0-disable-shared-plugins.patch33
-rw-r--r--net-p2p/vuze/files/vuze-5.3.0.0-disable-updaters.patch45
-rw-r--r--net-p2p/vuze/files/vuze-5.3.0.0-java5.patch11
-rw-r--r--net-p2p/vuze/files/vuze-5.3.0.0-remove-classpath.patch10
-rw-r--r--net-p2p/vuze/files/vuze-5.3.0.0-unbundle-json.patch42
-rw-r--r--net-p2p/vuze/files/vuze-5.7.2.0-disable-osx.patch71
-rw-r--r--net-p2p/vuze/files/vuze-5.7.6.0-commons-lang.patch174
-rw-r--r--net-p2p/vuze/files/vuze-5.7.6.0-log4j-12-api.patch130
-rw-r--r--net-p2p/vuze/files/vuze.desktop9
-rw-r--r--net-p2p/vuze/metadata.xml11
-rw-r--r--net-p2p/vuze/vuze-5.7.6.0-r2.ebuild147
23 files changed, 0 insertions, 1020 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index 9bff62d36af8..5fc74835a21d 100644
--- a/net-p2p/Manifest.gz
+++ b/net-p2p/Manifest.gz
Binary files differ
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest
deleted file mode 100644
index 06cff28fc62d..000000000000
--- a/net-p2p/bittornado/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX bttrack.conf 613 BLAKE2B ad791caf43fc5cf0e22f8fd01acab3d2f93feb827d64e07a1d61f24415e77acdbbea01104e32a13596bdd29dc1493b6f518ffbf1b695f24b46354b5c321edb3c SHA512 62d63735f3329cca879aff33d64b2ab5bd12ea99ca94fe581980382dbf8a12a25ef39c8adcbdd45295ea9055fbe2e156473e072081618cb6175a77434ad0f8a4
-AUX bttrack.rc 519 BLAKE2B 829b1a4cdb29bae41e25e832d7383ea4fda3ec2473d6d9bebc2738f126c9c95a937cbce0473bf5cf3a049b75e00a0301c3d8b1179c8c46db5f327e467977d9bc SHA512 74255a6dae0d5b1b5809dd6b7b792bb1f681d9c002dd64c0b633e4c903af8748922abe4521d0e52f23ad2d1f12066bf6a2eec1ad8112251e081f07002609eae0
-DIST BitTornado-0.4.1_p20160925.tar.gz 164352 BLAKE2B 34cebe27ab0cb18a960ef830311ffa47f2064c83768a9a011dcd9e45e9460b60438e159824eaf9cf844d7c5604a9de832e6a85cea3335d9e6223c31e7b349014 SHA512 09971cc5705c421c4440cd51b9aa37da9f8ce992a882d342c0547fe1771199fa61c4924f6d6cd321776f9dcefafd3e244b9cbfce047c4cdd4502dd0a1a1fdaaa
-EBUILD bittornado-0.4.1_p20160925-r4.ebuild 1511 BLAKE2B 0ffe0715b15d486c127637848d95288a849832313e777e5bd0c7ba3413440260867a13e11a38b3c6803b9ad1a7ffb97cedd37bd56c73acdc600737920a480ba6 SHA512 5f2b2d7936e0a54ad785ce84cca4e312581967b85f549ec1c356a6126b48cfd2791f319070980127dc9e6131807a5c659658cc6276a74f23e502f92ceab270b9
-MISC metadata.xml 252 BLAKE2B cb85b5db20da782e53f27be48b292927d1e31ff678ca9dc38733efef2e50259353664cdee3ab283cd53d961ce89d46b6b15d3f3fe21765d9158be192e5fb04ac SHA512 be4a7b278c430197fabb490db8b0814e1245f9f6343fe1aae89fabce506279216697d52d01021a4a30db07b349193d2f34b77afc08652cdaffa6888d9cd188c0
diff --git a/net-p2p/bittornado/bittornado-0.4.1_p20160925-r4.ebuild b/net-p2p/bittornado/bittornado-0.4.1_p20160925-r4.ebuild
deleted file mode 100644
index 5bebef9b4079..000000000000
--- a/net-p2p/bittornado/bittornado-0.4.1_p20160925-r4.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1
-
-MY_PN=BitTornado
-MY_P=${MY_PN}-${PV}
-EGIT_COMMIT="ed327c4e1ebbe1fe949be81723527cfda87aeb8d"
-
-DESCRIPTION="John Hoffman's fork of the original bittorrent"
-HOMEPAGE="https://github.com/effigies/BitTornado"
-SRC_URI="https://github.com/effigies/BitTornado/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz"
-# GPL-2 is just for the init script from FILESDIR.
-LICENSE="MIT GPL-2"
-SLOT="0"
-
-KEYWORDS="~alpha amd64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/pycryptodome[${PYTHON_USEDEP}]
-"
-# Block dev-python/pytest-testmon for bug #693508.
-DEPEND="
- test? (
- !!dev-python/pytest-testmon
- )
-"
-
-S=${WORKDIR}/${MY_PN}-${EGIT_COMMIT}
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- # https://github.com/effigies/BitTornado/pull/53
- sed -e 's:"BitTornado.Tracker":\0, "BitTornado.Types":' -i setup.py || die
- find "${S}" -name '*.py' -print0 | \
- xargs --null -- \
- sed -r -i '
- s:time.clock\(\):time.perf_counter():g;
- s:collections.(MutableSet|Set|Sequence|Mapping):collections.abc.\1:g
- ' || die
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- epytest BitTornado/tests
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- newconfd "${FILESDIR}"/bttrack.conf bttrack
- newinitd "${FILESDIR}"/bttrack.rc bttrack
-}
diff --git a/net-p2p/bittornado/files/bttrack.conf b/net-p2p/bittornado/files/bttrack.conf
deleted file mode 100644
index 9757ce477ff6..000000000000
--- a/net-p2p/bittornado/files/bttrack.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-# /etc/conf.d/bttrack
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Change this to this to the port you would like to connect to for the tracker.
-# It is accessible at http://localhost:PORT/ from any web browser.
-PORT=8082
-
-# where to store recent downloader info
-DFILE=/usr/share/bittorrent/tracker.dfile
-
-# path to favicon.ico which many popular web browsers can use
-FAVICON=/usr/share/bittorrent/favicon.ico
-
-# Connection logs are sent to stdout by default, so they should be sent to a
-# file when using this script.
-LOGFILE=/var/log/bttrack.log
diff --git a/net-p2p/bittornado/files/bttrack.rc b/net-p2p/bittornado/files/bttrack.rc
deleted file mode 100644
index 2c1dfe69cafd..000000000000
--- a/net-p2p/bittornado/files/bttrack.rc
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting bttrack"
- start-stop-daemon --start --quiet --background --make-pidfile \
- --pidfile /var/run/bttrack.pid \
- --exec /usr/bin/bttrack.py -- --port ${PORT} \
- --dfile ${DFILE} --favicon ${FAVICON} --logfile ${LOGFILE}
- eend $?
-}
-
-stop() {
- ebegin "Stopping bttrack"
- start-stop-daemon --stop --quiet --pidfile /var/run/bttrack.pid
- eend $?
-}
diff --git a/net-p2p/bittornado/metadata.xml b/net-p2p/bittornado/metadata.xml
deleted file mode 100644
index cf542189efb2..000000000000
--- a/net-p2p/bittornado/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">effigies/BitTornado</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-p2p/vuze-coreplugins/Manifest b/net-p2p/vuze-coreplugins/Manifest
deleted file mode 100644
index c1b550874670..000000000000
--- a/net-p2p/vuze-coreplugins/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST azplugins_2.1.10.jar 313871 BLAKE2B 98d27cdf08adc27dffd6117f436a2868bf02d8b33d97bc6366182f7bd2a26293c79c4ac76aa198211b466cc90757acafd72b85703868acd42d0f748b8fae9708 SHA512 d61d517537e265cfdef5e48a8ad70afca43e1c53edb91e85e7e54296eab838b82510eb48911d545d27e4e014e6a3f599e4c1535a7c5468e69f89a88b178329c2
-DIST azrating_1.5.19.jar 114515 BLAKE2B fbd4251bfa1259d750d655f64e143437d7025badb849cf11e20b0119d8dc6c66e98f9f055c0a4d3830bc0f7fe3b3b5eaa32eefd6b8e9e56b40ba554becbb4eb0 SHA512 e75d331e21cb72b0401e62ab6828dc8c76301f84e1b3c8d01e8cbc1a95eda2a7736925212d4e4dc38239d02cddf864bf544a75f3d6d9ce5bb8cdddbc863ee03a
-DIST azupdater_1.9.2.zip 26390 BLAKE2B 9c146beee646cd4a31a1014286d4a2bdbe791b5841c0bc2dca1d0740546f224d34294efcc0ae7a36ae21b8a9e93a442369af8e896255bb11518a5a80b27fff11 SHA512 8a1b37d69e6c955f0e507c5455ae198c162f9de2f1713abd6d47bc9f32e65b6afba15152956f98eca101fbf4dbbecaa5b0f84813dcf11e9b7bf33171ce7432cd
-DIST azupnpav_0.5.7.zip 264998 BLAKE2B 70a8864c61a9b9c3520ae04b0576678c768c619de1f822cfa7968617d7d37597077126b7b562d7a6ebd7458fa8a4e1fecd733be2db41ebe2aec7b8825d00f669 SHA512 f58fa8a3e26d204080a8567240bcbac2868233137ddb073c2ca0c91c17ace5f7a07cebfb1eef04e7fb18eb9287418329b5ca742681806fce78a975e0053ddf1c
-EBUILD vuze-coreplugins-5.7.6.0.ebuild 1465 BLAKE2B 2d00105dcf43f7697b524963fe4024bd6fa585b2e717d334cced43b7989d87cb6ca7429fae5e7cbb4143c3b7e0145d8724c8bf68fc51eb0aaec179446501c4e1 SHA512 8e86902565dc2cff3eb0da593a695c5b82af808bd172959683e86e14bb875fd910f44c4116134a2d554e6b7083c1d535e6a77bf08df7bc6252b744c2b4efec92
-MISC metadata.xml 314 BLAKE2B 6e8758ffb95e1641ddb121951555ed9a9da59d48688db9bc51cf9d2d02574faddf35d874a9ca901e73f47bf456221bd8b5f2035b3e789ea13196a8c2c58b03c4 SHA512 bf06d56995ee3bb79073d3c12ed3486126dc336dc77d0fb86a6fb3229596df39836e0f0682128b883c66eb02061aff512ef64299f6cd2067bb10bd6c7f63527e
diff --git a/net-p2p/vuze-coreplugins/metadata.xml b/net-p2p/vuze-coreplugins/metadata.xml
deleted file mode 100644
index 71a06860d27c..000000000000
--- a/net-p2p/vuze-coreplugins/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">azureus</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-p2p/vuze-coreplugins/vuze-coreplugins-5.7.6.0.ebuild b/net-p2p/vuze-coreplugins/vuze-coreplugins-5.7.6.0.ebuild
deleted file mode 100644
index f4e118503103..000000000000
--- a/net-p2p/vuze-coreplugins/vuze-coreplugins-5.7.6.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# update these when bumping the version
-PLUGINS_V=2.1.10 # http://www.vuze.com/plugins/details/azplugins
-RATING_V=1.5.19 # http://www.vuze.com/plugins/details/azrating
-UPDATER_V=1.9.2 # http://www.vuze.com/plugins/details/azupdater
-UPNPAV_V=0.5.7 # http://www.vuze.com/plugins/details/azupnpav
-
-PLUGINS_DIST=azplugins_${PLUGINS_V}.jar
-RATING_DIST=azrating_${RATING_V}.jar
-UPDATER_DIST=azupdater_${UPDATER_V}.zip
-UPNPAV_DIST=azupnpav_${UPNPAV_V}.zip
-
-ALLPLUGINS_URL="http://azureus.sourceforge.net/plugins"
-
-DESCRIPTION="Core plugins for Vuze that are included in upstream distribution"
-HOMEPAGE="http://www.vuze.com/"
-SRC_URI="
- ${ALLPLUGINS_URL}/${PLUGINS_DIST}
- ${ALLPLUGINS_URL}/${RATING_DIST}
- ${ALLPLUGINS_URL}/${UPDATER_DIST}
- ${ALLPLUGINS_URL}/${UPNPAV_DIST}"
-LICENSE="GPL-2 BSD"
-
-SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
-IUSE=""
-
-RDEPEND="~net-p2p/vuze-${PV}"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_unpack() {
- mkdir -p plugins/{azplugins,azrating,azupdater,azupnpav} || die
- cp "${DISTDIR}"/${PLUGINS_DIST} plugins/azplugins || die
- cp "${DISTDIR}"/${RATING_DIST} plugins/azrating || die
- cd "${WORKDIR}"/plugins/azupdater && unpack ${UPDATER_DIST} || die
- cd "${WORKDIR}"/plugins/azupnpav && unpack ${UPNPAV_DIST} || die
-}
-
-src_compile() { :; }
-
-src_install() {
- insinto /usr/share/vuze/
- doins -r "${WORKDIR}/plugins"
-}
diff --git a/net-p2p/vuze/Manifest b/net-p2p/vuze/Manifest
deleted file mode 100644
index fc4547fa3d63..000000000000
--- a/net-p2p/vuze/Manifest
+++ /dev/null
@@ -1,14 +0,0 @@
-AUX build.xml 2275 BLAKE2B a4aea605301da5ad6af89915c686caabd9ee0f0d3b56f3ee46e2eae74adc86d88de4462228e0387b43b1d5b897c3d6b2e8939822000e86631c22ec5230e31461 SHA512 bdec7c10548ed2fda57235d14f0ae67e00e548a84b88855b5b683c947015b52bcf7011fb5952b4225370db54541614c0402fe6c77e723d310358a502837b40a3
-AUX vuze-4.1.0.0-pre 1850 BLAKE2B 3013871146bd43e7bcd0e7bd92c44ca5d06ebca634ed836918f89c1620095a200c81de2ce76c30a4cef5b3f659995c14532b410c8c39679ee821196009aba821 SHA512 04c5a77bff69e50963f3122c46f549dec78e462bfa0697b32ffe8630d22612a64f1adc52bc8d7d8868d972c4bdac3082a1e9b513459d9f97915ad87d05ab2b4a
-AUX vuze-5.3.0.0-disable-shared-plugins.patch 1069 BLAKE2B d2594d617396bee9506cf8060c61d7d97b4e5780b34ebed656cffa3d70cf69d27a50056d77d8527af716246a31918d81c626f931aa9b7a78bb3c823d2da79f7f SHA512 ee9e6513b2dd1d4e986f4c57fd5ace3593f98f7eaeb5e454fc7b5fb3c6876b86b85b511981c951ead96b1a106abb18a2e01047b2063d55c98300ed6356c0460b
-AUX vuze-5.3.0.0-disable-updaters.patch 1726 BLAKE2B 8a1d7ec1196ee27019f513d51290a0d5dae1f1ada84e21617f42d8e6bd9a42020be84eb962489f371c611f3af2edb2fb9c0bbd7d986a10ea31103a64fe3ada82 SHA512 743d48eeeac4534fc66463c0989a88d97117d988227b6cce77abdaa97c9cb9813aa1228f81a607af09e07fdf95ce02a3981f7f083fba0d9875d0951b8bbf29a3
-AUX vuze-5.3.0.0-java5.patch 618 BLAKE2B d939b9708bc4fa2902d1b5f78ceb4d707ff59e421cc9b2308178d57e78dede189eeb0723bea8ac22a3b6502f59533f72a1207be59e36cca7c568d2e0c52ce120 SHA512 0ecddf69a7fdd72860262cc73dd4a0852ba8e31d73dfc7ad1d96ad18eaa41ec23ca977207d6bff32e183d95c1a6918909ef3cab697d0c9d754345613544eb90c
-AUX vuze-5.3.0.0-remove-classpath.patch 545 BLAKE2B 52a33a81cf3803fa6f0f8e10b89b255c4e72cee2606c88abbc8c8566087d816fa0d8c951631cafb77f49c43ecc6edb78e4a083112dfc21c6df141218fb78d7be SHA512 867e932eab1f33af6a8320cbe1f1cf565b68f39c6e1c0188dada018de4b50823047a7e9a53d558c00fe2253c48e4e6276e7725681b33a115de694c43265cf42c
-AUX vuze-5.3.0.0-unbundle-json.patch 1322 BLAKE2B fc387740073933b9f99474dd2ac5e7ed8978e387ed5b903c7489d41684a6eafc44f4c85b7453d275988ad0105457966064b718e229cf8485d9fe4bb454062bb8 SHA512 60b8dc8216f5f51a4cb6c6b793d1b31b686f63d03e373741d76856a594468fa5c97781fc99fc9af30f2db8173bb86414cd52cb30ea7ebeac5a018633f661ce26
-AUX vuze-5.7.2.0-disable-osx.patch 2278 BLAKE2B 760b82f75b310d01b94891a3c1528fe48200e7c8fdc04baecb18965316e3ffb347c9b131540f7a30061751fd1b449d924536f9d8f77bde7743c88579b33e9be5 SHA512 39797193297d61c1e91bfdcbf6e4fa6acb523c067ac96a0de99d5f79fab69b327688f87f8c8f24c0d7967c4c1017bde478ecc10aa117f96f0b891dc10a21420a
-AUX vuze-5.7.6.0-commons-lang.patch 7613 BLAKE2B 00df394b0dddd442b693251d29a3bfd5c647e20b47bd94e1c5bf07267d0bee66f98c1ede2f2d070526f6829211755343184e25ee2e78c46100f5f866340571f2 SHA512 bc44e26d3ae93891e01023b2afe614c680caada24398459efa6640295b9bd9e0cc7e734c42364bac21082ec827c54f12d818b19db4ea20ff6b3046c145ffb998
-AUX vuze-5.7.6.0-log4j-12-api.patch 5749 BLAKE2B 87a63f03103e15a0a6d3ec6a44ef678c00b679ff205ce56d821676188a2042f8933b3dc9cdd623a89b1f5d225e1c94c29fe4b6ada7769ab3ccfab589c961518d SHA512 ded2cce1292e0cff747ed1e0209ab5f5728e5a2ac5d8f7037edba2380ca32e02fa6ae4f66f27780381ac53f347d0957ba04cf0cda468f54bf97769c8fcf3601c
-AUX vuze.desktop 164 BLAKE2B fa225e36d05244707ff0c0e72d2455cdc3843a2e1c7633f43f902c6372fccb14bb4baf77f07a00314a02f02e6ee682a09f95d75ff12ea0ce16d6681df0d9371e SHA512 4d68ed3af2c983435d1014ea1281076fd5d1171b23ebbe7cc8d7e6c45b39b036e7f4660fce81481ba3b7bddd29c8255ce22bbb79230f77c6ecfdecb24736d480
-DIST Vuze_5760_source.zip 10928786 BLAKE2B df8bbb797f2a1b0c92bc19be122a0da3b6382dc80f51bb652026e3d68503d19ddb3b16e3bc6c333f12c8bfa52b014f85b0812fd5683fe4553040feff39ab77d8 SHA512 c4c1cc84d3c8ce31772bd677f105f6d00e0a6d867d6890b6a834c9e189bb1752e065a64308cdf1315bace1ca4783843553b45fbf3c15240c57584e2926ba92c5
-EBUILD vuze-5.7.6.0-r2.ebuild 4096 BLAKE2B e15647da511f1e401a347ce00fe3729ba0ac4746faa2b978d159a3d65c479183c2a7d70c338532ee48bac0e8dcd044ab1be03c9f76c448330bdae5f31813e4c8 SHA512 757c168467002b4795c80d59b75e7facd8360c4137fe6e01c9e963c920c347551237abed5dfe416d177aa53198175360c1d66baaf62cab5ab759e0346b5a79cc
-MISC metadata.xml 314 BLAKE2B 6e8758ffb95e1641ddb121951555ed9a9da59d48688db9bc51cf9d2d02574faddf35d874a9ca901e73f47bf456221bd8b5f2035b3e789ea13196a8c2c58b03c4 SHA512 bf06d56995ee3bb79073d3c12ed3486126dc336dc77d0fb86a6fb3229596df39836e0f0682128b883c66eb02061aff512ef64299f6cd2067bb10bd6c7f63527e
diff --git a/net-p2p/vuze/files/build.xml b/net-p2p/vuze/files/build.xml
deleted file mode 100644
index 7b060c14b2f2..000000000000
--- a/net-p2p/vuze/files/build.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
-NOTE: You may need to set the ANT_OPTS="-Xmx512m" env prop in order to compile this project successfully.
-
--->
-
-
-<project default="jar" name="Azureus" basedir=".">
-
- <property name="root.dir" value="." /> <!-- REMINDER: this needs to be "." for public source -->
- <property name="libs.dir" value="build/libs" />
- <property name="dist.dir" value="dist" />
-
- <property name="generic.excludes" value="**/*.jar **/*.txt **/*.jardesc **/.classpath **/.project **/aereg.lib **/aereg.dll" />
- <property name="dist.jar.excludes" value="${generic.excludes} **/*.java " />
- <!-- <property name="dist.source.excludes" value="${generic.excludes} **/*.class" /> -->
-
-
- <target name="init" >
- <echo message="Building Azureus2.jar..." />
-
- <tstamp/>
-
- <!-- <condition property="libs.dir" value="build/libs">
- <not> <isset property="libs.dir" /> </not>
- </condition> -->
-
- <mkdir dir="${root.dir}/${dist.dir}" />
- </target>
-
-
- <target name="compile" depends="init" >
- <path id="libs.classpath">
- <fileset dir="${root.dir}/${libs.dir}" includes="**/*.jar" />
- </path>
-
- <javac srcdir="${root.dir}" destdir="${root.dir}" nowarn="yes" source="1.4" target="1.4" includeAntRuntime="no" debug="true" debuglevel="lines,vars,source" >
- <classpath refid="libs.classpath" />
- </javac>
- </target>
-
-
- <target name="jar" depends="compile" >
- <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>
-
- <!-- <zip destfile="${dist.dir}/Azureus2_source.zip" basedir="." excludes="${dist.source.excludes}" /> -->
-
- </target>
-
-
- <target name="clean" >
- <delete quiet="true" >
- <fileset dir="${root.dir}/com" includes="**/*.class"/>
- <fileset dir="${root.dir}/org" includes="**/*.class"/>
- </delete>
-
- <delete dir="${root.dir}/${dist.dir}" />
- </target>
-
-</project>
-
diff --git a/net-p2p/vuze/files/vuze-4.1.0.0-pre b/net-p2p/vuze/files/vuze-4.1.0.0-pre
deleted file mode 100644
index 505a7e704df3..000000000000
--- a/net-p2p/vuze/files/vuze-4.1.0.0-pre
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# 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
-
-create_initial_config() {
- if [[ ! -e "${dotazudir}" ]] ; then
- mkdir "${dotazudir}"
- echo "Creating ${dotazudir}"
- fi
-
- [[ ${UI} ]] && UI="swt"
-
- echo "Creating ${gentoocfg}"
-
- # Create the config file
- cat > "${gentoocfg}" <<END
-# User Interface options:
-# console - console based
-# swt - swt (GUI) based
-UI="${UI}"
-
-# Options you want to pass to the java binary
-JAVA_OPTIONS=""
-END
-}
-
-if [[ -f "${gentoocfg}" ]] ; then
- . "${gentoocfg}"
- echo "using ${gentoocfg}"
-elif [[ -f "${oldgentoocfg}" ]]; then
- . "${oldgentoocfg}"
- echo "using ${oldgentoocfg}"
-else
- create_initial_config
-fi
-
-if [[ -z "${UI}" && -n "${UI_OPTIONS}" ]]; then
- echo '${UI_OPTIONS} is no longer supported. ${UI} should be used instead instead' > /dev/stderr
- echo 'Unsetting ${UI_OPTIONS} and trying to migrate to ${UI}' > /dev/stderr
- if [[ ${UI_OPTIONS} = *--ui=console* ]]; then
- UI=console
- elif [[ ${UI_OPTIONS} = *--ui=swt* ]]; then
- UI=swt
- else
- echo 'Could not make $UI from $UI_OPTIONS' > /dev/stderr
- fi
- unset UI_OPTIONS
-fi
-
-if [[ -z "${UI}" ]]; then
- echo '$UI not set defaulting to swt' > /dev/stderr
- UI="swt"
-fi
-
-[[ ! -e "${dotazudir}" ]] && create_initial_config
diff --git a/net-p2p/vuze/files/vuze-5.3.0.0-disable-shared-plugins.patch b/net-p2p/vuze/files/vuze-5.3.0.0-disable-shared-plugins.patch
deleted file mode 100644
index b459c8b38308..000000000000
--- a/net-p2p/vuze/files/vuze-5.3.0.0-disable-shared-plugins.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Disallow users to install into the shared plugin directory,
-which they won't have write access to. This doesn't disable
-shared plugins, just removes the installation UI.
-
-
---- a/org/gudy/azureus2/ui/swt/pluginsinstaller/IPWListPanel.java
-+++ b/org/gudy/azureus2/ui/swt/pluginsinstaller/IPWListPanel.java
-@@ -234,13 +234,13 @@ public class IPWListPanel extends AbstractWizardPanel<InstallPluginWizard> {
- }
-
- public boolean
-- isNextEnabled()
-+ isFinishEnabled()
- {
- return(((InstallPluginWizard)wizard).getPluginList().size() > 0 );
- }
-
-- public IWizardPanel<InstallPluginWizard> getNextPanel() {
-- return new IPWInstallModePanel(wizard,this);
-+ public IWizardPanel<InstallPluginWizard> getFinishPanel() {
-+ return new IPWFinishPanel(wizard,this);
- }
-
- public void updateList() {
-@@ -252,7 +252,7 @@ public class IPWListPanel extends AbstractWizardPanel<InstallPluginWizard> {
- }
- }
- wizard.setPluginList( list );
-- wizard.setNextEnabled( isNextEnabled() );
-+ wizard.setFinishEnabled( isFinishEnabled() );
-
- }
- }
diff --git a/net-p2p/vuze/files/vuze-5.3.0.0-disable-updaters.patch b/net-p2p/vuze/files/vuze-5.3.0.0-disable-updaters.patch
deleted file mode 100644
index 1bf78cf1009d..000000000000
--- a/net-p2p/vuze/files/vuze-5.3.0.0-disable-updaters.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- a/org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java
-+++ b/org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java
-@@ -130,18 +130,6 @@ PluginInitializer
- "Magnet URI Handler",
- "true",
- "false"},
-- { PluginManagerDefaults.PID_CORE_UPDATE_CHECKER,
-- "org.gudy.azureus2.update.CoreUpdateChecker",
-- "azbpcoreupdater",
-- "CoreUpdater",
-- "true",
-- "true"},
-- { PluginManagerDefaults.PID_CORE_PATCH_CHECKER,
-- "org.gudy.azureus2.update.CorePatchChecker",
-- "azbpcorepatcher",
-- "CorePatcher",
-- "true",
-- "true"},
- { PluginManagerDefaults.PID_PLATFORM_CHECKER,
- "org.gudy.azureus2.platform.PlatformManagerPluginDelegate",
- "azplatform2",
---- a/org/gudy/azureus2/pluginsimpl/update/PluginUpdatePlugin.java
-+++ b/org/gudy/azureus2/pluginsimpl/update/PluginUpdatePlugin.java
-@@ -562,6 +562,10 @@ PluginUpdatePlugin
- }
- }
-
-+ if ( pi.getPluginState().isShared()) {
-+ continue;
-+ }
-+
- String mand = pi.getPluginProperties().getProperty( "plugin.mandatory");
-
- boolean pi_mandatory = mand != null && mand.trim().toLowerCase().equals("true");
---- a/org/gudy/azureus2/ui/swt/updater2/SWTUpdateChecker.java
-+++ b/org/gudy/azureus2/ui/swt/updater2/SWTUpdateChecker.java
-@@ -64,7 +64,7 @@ public class SWTUpdateChecker implements UpdatableComponent
- public static void
- initialize()
- {
-- PluginInitializer.getDefaultInterface().getUpdateManager().registerUpdatableComponent(new SWTUpdateChecker(),true);
-+// PluginInitializer.getDefaultInterface().getUpdateManager().registerUpdatableComponent(new SWTUpdateChecker(),true);
- }
-
- public SWTUpdateChecker() {
diff --git a/net-p2p/vuze/files/vuze-5.3.0.0-java5.patch b/net-p2p/vuze/files/vuze-5.3.0.0-java5.patch
deleted file mode 100644
index b6d2a59c43a2..000000000000
--- a/net-p2p/vuze/files/vuze-5.3.0.0-java5.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/build.xml
-+++ b/build.xml
-@@ -36,7 +36,7 @@ NOTE: You may need to set the ANT_OPTS="-Xmx512m" env prop in order to compil
- <fileset dir="${root.dir}/${libs.dir}" includes="**/*.jar" />
- </path>
-
-- <javac srcdir="${root.dir}" destdir="${root.dir}" nowarn="yes" source="1.4" target="1.4" includeAntRuntime="no" debug="true" debuglevel="lines,vars,source" >
-+ <javac encoding="8859_1" srcdir="${root.dir}" destdir="${root.dir}" nowarn="yes" includeAntRuntime="no" debug="true" debuglevel="lines,vars,source" >
- <classpath refid="libs.classpath" />
- </javac>
- </target>
diff --git a/net-p2p/vuze/files/vuze-5.3.0.0-remove-classpath.patch b/net-p2p/vuze/files/vuze-5.3.0.0-remove-classpath.patch
deleted file mode 100644
index 290b902203a8..000000000000
--- a/net-p2p/vuze/files/vuze-5.3.0.0-remove-classpath.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/build.xml
-+++ b/build.xml
-@@ -46,7 +46,6 @@ NOTE: You may need to set the ANT_OPTS="-Xmx512m" env prop in order to compil
- <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/vuze/files/vuze-5.3.0.0-unbundle-json.patch b/net-p2p/vuze/files/vuze-5.3.0.0-unbundle-json.patch
deleted file mode 100644
index 18d5ac7670ff..000000000000
--- a/net-p2p/vuze/files/vuze-5.3.0.0-unbundle-json.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/com/aelitis/azureus/util/ImportExportUtils.java
-+++ b/com/aelitis/azureus/util/ImportExportUtils.java
-@@ -360,7 +360,7 @@ public final class ImportExportUtils {
-
- throws IOException
- {
-- List l = new JSONArray(data.length);
-+ List l = new JSONArray();
-
- map.put( key, l );
-
---- a/com/aelitis/azureus/util/JSONUtils.java
-+++ b/com/aelitis/azureus/util/JSONUtils.java
-@@ -74,7 +74,7 @@ public class JSONUtils
- * @since 3.0.1.5
- */
- public static JSONObject encodeToJSONObject(Map map) {
-- JSONObject newMap = new JSONObject((int)(map.size()*1.5));
-+ JSONObject newMap = new JSONObject();
-
- for (Map.Entry<String, Object> entry: ((Map<String,Object>)map).entrySet()){
- String key = entry.getKey();
-@@ -105,9 +105,7 @@ public class JSONUtils
- */
- public static String encodeToJSON(Map map) {
- JSONObject jobj = encodeToJSONObject(map);
-- StringBuilder sb = new StringBuilder(8192);
-- jobj.toString( sb );
-- return( sb.toString());
-+ return( jobj.toString());
- }
-
- public static String encodeToJSON(Collection list) {
-@@ -138,7 +136,7 @@ public class JSONUtils
- * @since 3.0.1.5
- */
- private static JSONArray encodeToJSONArray(Collection list) {
-- JSONArray newList = new JSONArray(list.size());
-+ JSONArray newList = new JSONArray();
-
- for ( Object value: list ){
-
diff --git a/net-p2p/vuze/files/vuze-5.7.2.0-disable-osx.patch b/net-p2p/vuze/files/vuze-5.7.2.0-disable-osx.patch
deleted file mode 100644
index 6ae2301e75e3..000000000000
--- a/net-p2p/vuze/files/vuze-5.7.2.0-disable-osx.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-diff --git a/org/gudy/azureus2/ui/swt/mainwindow/SWTThread.java b/org/gudy/azureus2/ui/swt/mainwindow/SWTThread.java
-index 256daff..68010b9 100644
---- a/org/gudy/azureus2/ui/swt/mainwindow/SWTThread.java
-+++ b/org/gudy/azureus2/ui/swt/mainwindow/SWTThread.java
-@@ -231,66 +231,6 @@ public class SWTThread {
- }
- });
-
-- if (Constants.isOSX) {
--
-- // On Cocoa, we get a Close trigger on display. Need to check if all
-- // platforms send this.
-- display.addListener(SWT.Close, new Listener() {
-- public void handleEvent(Event event) {
-- UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
-- if (uiFunctions != null) {
-- event.doit = uiFunctions.dispose(false, false);
-- }
-- }
-- });
--
-- String platform = SWT.getPlatform();
-- // use reflection here so we decouple generic SWT from OSX specific stuff to an extent
--
-- if (platform.equals("carbon")) {
-- try {
--
-- Class<?> ehancerClass = Class.forName("org.gudy.azureus2.ui.swt.osx.CarbonUIEnhancer");
--
-- Constructor<?> constructor = ehancerClass.getConstructor(new Class[] {});
--
-- constructor.newInstance(new Object[] {});
--
-- } catch (Throwable e) {
--
-- Debug.printStackTrace(e);
-- }
-- } else if (platform.equals("cocoa")) {
-- try {
--
-- Class<?> ehancerClass = Class.forName("org.gudy.azureus2.ui.swt.osx.CocoaUIEnhancer");
--
-- Method mGetInstance = ehancerClass.getMethod("getInstance", new Class[0]);
-- Object claObj = mGetInstance.invoke(null, new Object[0] );
--
-- Method mHookAppMenu = claObj.getClass().getMethod("hookApplicationMenu", new Class[] {});
-- if (mHookAppMenu != null) {
-- mHookAppMenu.invoke(claObj, new Object[0]);
-- }
--
-- Method mHookDocOpen = claObj.getClass().getMethod("hookDocumentOpen", new Class[] {});
-- if (mHookDocOpen != null) {
-- mHookDocOpen.invoke(claObj, new Object[0]);
-- }
--
-- Method mIsRetinaDisplay = claObj.getClass().getMethod("isRetinaDisplay");
-- if (mIsRetinaDisplay != null) {
-- isRetinaDisplay = (Boolean) mIsRetinaDisplay.invoke(claObj);
-- }
--
--
-- } catch (Throwable e) {
--
-- Debug.printStackTrace(e);
-- }
-- }
-- }
--
- if (app != null) {
- app.runInSWTThread();
- runner = new Thread(new AERunnable() {
diff --git a/net-p2p/vuze/files/vuze-5.7.6.0-commons-lang.patch b/net-p2p/vuze/files/vuze-5.7.6.0-commons-lang.patch
deleted file mode 100644
index a03995d167a6..000000000000
--- a/net-p2p/vuze/files/vuze-5.7.6.0-commons-lang.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-diff --git a/com/aelitis/azureus/core/metasearch/Result.java b/com/aelitis/azureus/core/metasearch/Result.java
-index bec05e1..9588f9a 100644
---- a/com/aelitis/azureus/core/metasearch/Result.java
-+++ b/com/aelitis/azureus/core/metasearch/Result.java
-@@ -28,7 +28,7 @@ import java.util.Locale;
- import java.util.Map;
- import java.util.Random;
-
--import org.apache.commons.lang.Entities;
-+import org.apache.commons.text.StringEscapeUtils;
- import org.gudy.azureus2.core3.util.AENetworkClassifier;
- import org.gudy.azureus2.core3.util.DisplayFormatters;
- import org.gudy.azureus2.core3.util.HostNameToIPResolver;
-@@ -464,6 +464,6 @@ public abstract class Result {
- if ( input == null ){
- return( null );
- }
-- return( Entities.HTML40.unescape( input ));
-+ return( StringEscapeUtils.unescapeHtml4( input ));
- }
- }
-diff --git a/com/aelitis/azureus/core/metasearch/impl/web/WebResult.java b/com/aelitis/azureus/core/metasearch/impl/web/WebResult.java
-index 2d353b8..e03916b 100644
---- a/com/aelitis/azureus/core/metasearch/impl/web/WebResult.java
-+++ b/com/aelitis/azureus/core/metasearch/impl/web/WebResult.java
-@@ -22,7 +22,7 @@ package com.aelitis.azureus.core.metasearch.impl.web;
- import java.util.Date;
- import java.util.StringTokenizer;
-
--import org.apache.commons.lang.*;
-+import org.apache.commons.text.StringEscapeUtils;
- import org.gudy.azureus2.core3.util.Base32;
- import org.gudy.azureus2.core3.util.ByteFormatter;
- import org.gudy.azureus2.core3.util.Debug;
-@@ -87,14 +87,14 @@ public class WebResult extends Result {
- public void setNameFromHTML(String name) {
- if(name != null) {
- name = removeHTMLTags(name);
-- this.name = Entities.HTML40.unescape(name);
-+ this.name = StringEscapeUtils.unescapeHtml4(name);
- }
- }
-
- public void setCommentsFromHTML(String comments) {
- if(comments != null) {
- comments = removeHTMLTags(comments);
-- comments = Entities.HTML40.unescape(comments);
-+ comments = StringEscapeUtils.unescapeHtml4(comments);
- comments = comments.replaceAll(",", "");
- comments = comments.replaceAll(" ", "");
- try{
-@@ -107,7 +107,7 @@ public class WebResult extends Result {
- public void setCategoryFromHTML(String category) {
- if(category != null) {
- category = removeHTMLTags(category);
-- this.category = Entities.HTML40.unescape(category).trim();
-+ this.category = StringEscapeUtils.unescapeHtml4(category).trim();
- /*int separator = this.category.indexOf(">");
-
- if(separator != -1) {
-@@ -136,7 +136,7 @@ public class WebResult extends Result {
- public void setNbPeersFromHTML(String nbPeers) {
- if(nbPeers != null) {
- nbPeers = removeHTMLTags(nbPeers);
-- String nbPeersS = Entities.HTML40.unescape(nbPeers);
-+ String nbPeersS = StringEscapeUtils.unescapeHtml4(nbPeers);
- nbPeersS = nbPeersS.replaceAll(",", "");
- nbPeersS = nbPeersS.replaceAll(" ", "");
- try {
-@@ -151,7 +151,7 @@ public class WebResult extends Result {
- public void setNbSeedsFromHTML(String nbSeeds) {
- if(nbSeeds != null) {
- nbSeeds = removeHTMLTags(nbSeeds);
-- String nbSeedsS = Entities.HTML40.unescape(nbSeeds);
-+ String nbSeedsS = StringEscapeUtils.unescapeHtml4(nbSeeds);
- nbSeedsS = nbSeedsS.replaceAll(",", "");
- nbSeedsS = nbSeedsS.replaceAll(" ", "");
- try {
-@@ -166,7 +166,7 @@ public class WebResult extends Result {
- public void setNbSuperSeedsFromHTML(String nbSuperSeeds) {
- if(nbSuperSeeds != null) {
- nbSuperSeeds = removeHTMLTags(nbSuperSeeds);
-- String nbSuperSeedsS = Entities.HTML40.unescape(nbSuperSeeds);
-+ String nbSuperSeedsS = StringEscapeUtils.unescapeHtml4(nbSuperSeeds);
- nbSuperSeedsS = nbSuperSeedsS.replaceAll(",", "");
- nbSuperSeedsS = nbSuperSeedsS.replaceAll(" ", "");
- try {
-@@ -248,7 +248,7 @@ public class WebResult extends Result {
- public void setPublishedDateFromHTML(String publishedDate) {
- if(publishedDate != null && publishedDate.length() > 0) {
- publishedDate = removeHTMLTags(publishedDate);
-- String publishedDateS = Entities.HTML40.unescape(publishedDate).replace((char)160,(char)32);
-+ String publishedDateS = StringEscapeUtils.unescapeHtml4(publishedDate).replace((char)160,(char)32);
- this.publishedDate = dateParser.parseDate(publishedDateS);
- }
- }
-@@ -257,7 +257,7 @@ public class WebResult extends Result {
- public void setSizeFromHTML(String size) {
- if(size != null) {
- size = removeHTMLTags(size);
-- String sizeS = Entities.HTML40.unescape(size).replace((char)160,(char)32);
-+ String sizeS = StringEscapeUtils.unescapeHtml4(size).replace((char)160,(char)32);
- sizeS = sizeS.replaceAll("<[^>]+>", " ");
- //Add a space between the digits and unit if there is none
- sizeS = sizeS.replaceFirst("(\\d)([a-zA-Z])", "$1 $2");
-@@ -303,7 +303,7 @@ public class WebResult extends Result {
- public void setVotesFromHTML(String votes_str) {
- if(votes_str != null) {
- votes_str = removeHTMLTags(votes_str);
-- votes_str = Entities.HTML40.unescape(votes_str);
-+ votes_str = StringEscapeUtils.unescapeHtml4(votes_str);
- votes_str = votes_str.replaceAll(",", "");
- votes_str = votes_str.replaceAll(" ", "");
- try {
-@@ -317,7 +317,7 @@ public class WebResult extends Result {
- public void setVotesDownFromHTML(String votes_str) {
- if(votes_str != null) {
- votes_str = removeHTMLTags(votes_str);
-- votes_str = Entities.HTML40.unescape(votes_str);
-+ votes_str = StringEscapeUtils.unescapeHtml4(votes_str);
- votes_str = votes_str.replaceAll(",", "");
- votes_str = votes_str.replaceAll(" ", "");
- try {
-diff --git a/org/gudy/azureus2/core3/util/AddressUtils.java b/org/gudy/azureus2/core3/util/AddressUtils.java
-index 2558313..8cafd8a 100644
---- a/org/gudy/azureus2/core3/util/AddressUtils.java
-+++ b/org/gudy/azureus2/core3/util/AddressUtils.java
-@@ -592,11 +592,11 @@ AddressUtils
- try{
- // unfortunately we have an incompatible base64 standard in i2p, they replaced / with ~ and + with -
-
-- char[] encoded = to_decode.toCharArray();
-+ byte[] encoded = to_decode.getBytes();
-
- for ( int i=0;i<encoded.length;i++){
-
-- char c = encoded[i];
-+ byte c = encoded[i];
-
- if ( c == '~' ){
- encoded[i] = '/';
-diff --git a/org/gudy/azureus2/pluginsimpl/local/utils/xml/simpleparser/SimpleXMLParserDocumentImpl.java b/org/gudy/azureus2/pluginsimpl/local/utils/xml/simpleparser/SimpleXMLParserDocumentImpl.java
-index 1035997..5270c35 100644
---- a/org/gudy/azureus2/pluginsimpl/local/utils/xml/simpleparser/SimpleXMLParserDocumentImpl.java
-+++ b/org/gudy/azureus2/pluginsimpl/local/utils/xml/simpleparser/SimpleXMLParserDocumentImpl.java
-@@ -25,7 +25,7 @@ package org.gudy.azureus2.pluginsimpl.local.utils.xml.simpleparser;
- import javax.xml.parsers.*;
-
- import org.xml.sax.*;
--import org.apache.commons.lang.Entities;
-+import org.apache.commons.text.StringEscapeUtils;
- import org.gudy.azureus2.core3.util.AENetworkClassifier;
- import org.gudy.azureus2.core3.util.Constants;
- import org.gudy.azureus2.core3.util.Debug;
-@@ -679,17 +679,8 @@ SimpleXMLParserDocumentImpl
- replacement = new String( buffer, 0, buffer_pos );
-
- }else{
--
-- int num = Entities.HTML40.entityValue( ref );
--
-- if ( num != -1 ){
--
-- replacement = "&#" + num + ";";
--
-- }else{
--
-- replacement = new String( buffer, 0, buffer_pos );
-- }
-+
-+ replacement = StringEscapeUtils.escapeHtml4(ref);
- }
-
- char[] chars = replacement.toCharArray();
diff --git a/net-p2p/vuze/files/vuze-5.7.6.0-log4j-12-api.patch b/net-p2p/vuze/files/vuze-5.7.6.0-log4j-12-api.patch
deleted file mode 100644
index 4bcce5d5f32d..000000000000
--- a/net-p2p/vuze/files/vuze-5.7.6.0-log4j-12-api.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-From d960f15294c451bda338e4d9998e8d009970f380 Mon Sep 17 00:00:00 2001
-From: Yuan Liao <liaoyuan@gmail.com>
-Date: Fri, 18 Feb 2022 12:47:20 -0800
-Subject: [PATCH] Migrate from Log4j 1.2 to log4j-1.2-api bridge from Log4j 2
-
-Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
----
- org/gudy/azureus2/ui/common/Main.java | 7 +++---
- .../azureus2/ui/console/ConsoleInput.java | 8 +++---
- .../azureus2/ui/console/commands/Log.java | 25 ++++++++++---------
- 3 files changed, 21 insertions(+), 19 deletions(-)
-
-diff --git a/org/gudy/azureus2/ui/common/Main.java b/org/gudy/azureus2/ui/common/Main.java
-index 8c533fb..f93e685 100644
---- a/org/gudy/azureus2/ui/common/Main.java
-+++ b/org/gudy/azureus2/ui/common/Main.java
-@@ -43,7 +43,8 @@ import org.apache.log4j.Appender;
- import org.apache.log4j.ConsoleAppender;
- import org.apache.log4j.Logger;
- import org.apache.log4j.PatternLayout;
--import org.apache.log4j.varia.DenyAllFilter;
-+import org.apache.log4j.bridge.FilterWrapper;
-+import org.apache.logging.log4j.core.filter.DenyAllFilter;
-
- import com.aelitis.azureus.core.*;
- import com.aelitis.azureus.core.impl.AzureusCoreSingleInstanceClient;
-@@ -113,9 +114,9 @@ public class Main {
- public static void initRootLogger() {
- if (Logger.getRootLogger().getAppender("ConsoleAppender")==null) {
- Appender app;
-- app = new ConsoleAppender(new PatternLayout(PatternLayout.TTCC_CONVERSION_PATTERN));
-+ app = new ConsoleAppender();
- app.setName("ConsoleAppender");
-- app.addFilter( new DenyAllFilter() ); //'log off' by default
-+ app.addFilter( new FilterWrapper(DenyAllFilter.newBuilder().build()) ); //'log off' by default
- Logger.getRootLogger().addAppender(app);
- }
- }
-diff --git a/org/gudy/azureus2/ui/console/ConsoleInput.java b/org/gudy/azureus2/ui/console/ConsoleInput.java
-index d660bbb..0559f72 100644
---- a/org/gudy/azureus2/ui/console/ConsoleInput.java
-+++ b/org/gudy/azureus2/ui/console/ConsoleInput.java
-@@ -34,8 +34,8 @@ import java.util.Vector;
- import org.apache.log4j.Appender;
- import org.apache.log4j.ConsoleAppender;
- import org.apache.log4j.Logger;
--import org.apache.log4j.PatternLayout;
--import org.apache.log4j.varia.DenyAllFilter;
-+import org.apache.log4j.bridge.FilterWrapper;
-+import org.apache.logging.log4j.core.filter.DenyAllFilter;
- import org.gudy.azureus2.core3.config.COConfigurationManager;
- import org.gudy.azureus2.core3.download.DownloadManager;
- import org.gudy.azureus2.core3.download.DownloadManagerState;
-@@ -157,9 +157,9 @@ public class ConsoleInput extends Thread {
-
- if (Logger.getRootLogger().getAppender("ConsoleAppender")==null) {
- Appender app;
-- app = new ConsoleAppender(new PatternLayout(PatternLayout.TTCC_CONVERSION_PATTERN));
-+ app = new ConsoleAppender();
- app.setName("ConsoleAppender");
-- app.addFilter( new DenyAllFilter() ); //'log off' by default
-+ app.addFilter( new FilterWrapper(DenyAllFilter.newBuilder().build()) ); //'log off' by default
- Logger.getRootLogger().addAppender(app);
- }
-
-diff --git a/org/gudy/azureus2/ui/console/commands/Log.java b/org/gudy/azureus2/ui/console/commands/Log.java
-index 43f66d5..8e9b222 100644
---- a/org/gudy/azureus2/ui/console/commands/Log.java
-+++ b/org/gudy/azureus2/ui/console/commands/Log.java
-@@ -18,10 +18,13 @@ import org.apache.commons.cli.Option;
- import org.apache.commons.cli.Options;
- import org.apache.log4j.Appender;
- import org.apache.log4j.ConsoleAppender;
--import org.apache.log4j.FileAppender;
- import org.apache.log4j.Logger;
- import org.apache.log4j.PatternLayout;
--import org.apache.log4j.varia.DenyAllFilter;
-+import org.apache.log4j.bridge.AppenderWrapper;
-+import org.apache.log4j.bridge.FilterWrapper;
-+import org.apache.log4j.bridge.LayoutAdapter;
-+import org.apache.logging.log4j.core.appender.FileAppender;
-+import org.apache.logging.log4j.core.filter.DenyAllFilter;
- import org.gudy.azureus2.plugins.PluginInterface;
- import org.gudy.azureus2.plugins.logging.LoggerChannel;
- import org.gudy.azureus2.plugins.logging.LoggerChannelListener;
-@@ -54,7 +57,7 @@ public class Log extends OptionsConsoleCommand {
- String subcommand = (String) args.get(0);
- if ("off".equalsIgnoreCase(subcommand) ) {
- if ( args.size() == 1 ){
-- con.addFilter(new DenyAllFilter());
-+ con.addFilter(new FilterWrapper(DenyAllFilter.newBuilder().build()));
- ci.out.println("> Console logging off");
- }else{
-
-@@ -81,25 +84,23 @@ public class Log extends OptionsConsoleCommand {
- {
- // send log output to a file
- String filename = commandLine.getOptionValue('f');
--
-- try
-- {
-- Appender newAppender = new FileAppender(new PatternLayout("%d{ISO8601} %c{1}-%p: %m%n"), filename, true);
-+
-+ Appender newAppender = new AppenderWrapper(FileAppender.newBuilder()
-+ .setLayout(new LayoutAdapter(new PatternLayout("%d{ISO8601} %c{1}-%p: %m%n")))
-+ .withFileName(filename)
-+ .withAppend(true)
-+ .build());
- newAppender.setName("ConsoleAppender");
- Logger.getRootLogger().removeAppender(con);
- Logger.getRootLogger().addAppender(newAppender);
- ci.out.println("> Logging to filename: " + filename);
-- } catch (IOException e)
-- {
-- ci.out.println("> Unable to log to file: " + filename + ": " + e);
-- }
- }
- else
- {
- if( ! (con instanceof ConsoleAppender) )
- {
- Logger.getRootLogger().removeAppender(con);
-- con = new ConsoleAppender(new PatternLayout(PatternLayout.TTCC_CONVERSION_PATTERN));
-+ con = new ConsoleAppender();
- con.setName("ConsoleAppender");
- Logger.getRootLogger().addAppender(con);
- }
---
-2.34.1
-
diff --git a/net-p2p/vuze/files/vuze.desktop b/net-p2p/vuze/files/vuze.desktop
deleted file mode 100644
index cee9fcae3824..000000000000
--- a/net-p2p/vuze/files/vuze.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Vuze
-Comment=Vuze BitTorrent Client
-Exec=vuze
-Icon=vuze
-Terminal=false
-Categories=Network;
-Type=Application
-MimeType=application/x-bittorrent;
diff --git a/net-p2p/vuze/metadata.xml b/net-p2p/vuze/metadata.xml
deleted file mode 100644
index 71a06860d27c..000000000000
--- a/net-p2p/vuze/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">azureus</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-p2p/vuze/vuze-5.7.6.0-r2.ebuild b/net-p2p/vuze/vuze-5.7.6.0-r2.ebuild
deleted file mode 100644
index 476d04539447..000000000000
--- a/net-p2p/vuze/vuze-5.7.6.0-r2.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="source"
-
-inherit desktop edos2unix java-pkg-2 java-ant-2 xdg-utils
-
-MY_PV=$(ver_rs 1- "")
-MY_SRC="Vuze_${MY_PV}"
-
-DESCRIPTION="BitTorrent client in Java, formerly called Azureus"
-HOMEPAGE="https://www.vuze.com/"
-SRC_URI="mirror://sourceforge/azureus/${PN}/${MY_SRC}/${MY_SRC}_source.zip"
-LICENSE="GPL-2 BSD"
-
-SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
-
-# bundles parts of http://www.programmers-friend.org/
-# bundles bcprov - 1.37 required but not in the tree
-CP_DEPEND="
- dev-java/log4j-12-api:2
- dev-java/log4j-core:2
- dev-java/swt:3.8[cairo]
- dev-java/commons-cli:1
- dev-java/commons-text:0
- dev-java/json-simple:0"
-
-RDEPEND="
- ${CP_DEPEND}
- >=virtual/jre-1.8:*"
-
-# does not compile with java 11, uses classes deprecated even in java 8
-DEPEND="
- ${CP_DEPEND}
- virtual/jdk:1.8"
-
-BDEPEND="app-arch/unzip"
-
-IDEPEND="dev-util/desktop-file-utils"
-
-PDEPEND="~net-p2p/vuze-coreplugins-${PV}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.3.0.0-java5.patch
- "${FILESDIR}"/${PN}-5.3.0.0-remove-classpath.patch
- "${FILESDIR}"/${PN}-5.3.0.0-disable-shared-plugins.patch
- "${FILESDIR}"/${PN}-5.7.2.0-disable-osx.patch
- "${FILESDIR}"/${PN}-5.3.0.0-disable-updaters.patch
- "${FILESDIR}"/${PN}-5.3.0.0-unbundle-json.patch
- "${FILESDIR}"/${PN}-5.7.6.0-commons-lang.patch
- "${FILESDIR}"/${PN}-5.7.6.0-log4j-12-api.patch
-)
-
-src_unpack() {
- mkdir -p "${S}" || die
- cd "${S}" || die
- unpack ${A}
-
- # build.xml disappeared from 4.4.0.0 although it was there in 4.3.1.4
- if [[ -f build.xml ]]; then
- die "upstream has build.xml again, don't overwrite"
- fi
- cp "${FILESDIR}"/build.xml "${S}" || die "failed to copy build.xml"
-}
-
-src_prepare() {
- # upstream likes randomly changing a subset of files to CRLF every release
- edos2unix $(find "${S}" -type f -name "*.java")
-
- default
-
- # OSX / Windows
- rm "${S}"/org/gudy/azureus2/ui/swt/osx/CarbonUIEnhancer.java || die
- rm "${S}"/org/gudy/azureus2/ui/swt/osx/Start.java || die
- rm "${S}"/org/gudy/azureus2/ui/swt/win32/Win32UIEnhancer.java || die
-
- # Tree2 file does not compile on linux
- rm -rf "${S}"/org/eclipse || die
- # Bundled apache
- rm -rf "${S}"/org/apache || die
- # Bundled json
- rm -rf "${S}"/org/json || die
- # Bundled bcprov
- # currently disabled - requires bcprov 1.37
- #rm -rf "${S}"/org/bouncycastle || die
-
- rm -rf "${S}"/org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die
- mkdir -p "${S}"/build/libs || die
-}
-
-JAVA_ANT_REWRITE_CLASSPATH="true"
-
-src_compile() {
- local mem
- use amd64 && mem="512"
- use x86 && mem="448"
- use ppc && mem="384"
- use ppc64 && mem="448"
- use sparc && mem="512"
- export ANT_OPTS="-Xmx${mem}m"
- java-pkg-2_src_compile
-
- # bug #302058 - build.xml excludes .txt but upstream jar has it...
- jar uf dist/Azureus2.jar ChangeLog.txt || die
-}
-
-src_install() {
- java-pkg_dojar dist/Azureus2.jar
- dodoc ChangeLog.txt
-
- java-pkg_dolauncher "${PN}" \
- --main org.gudy.azureus2.ui.common.Main -pre "${FILESDIR}/${PN}-4.1.0.0-pre" \
- --java_args '-Dazureus.install.path=/usr/share/vuze/ ${JAVA_OPTIONS}' \
- --pkg_args '--ui=${UI}'
- dosym vuze /usr/bin/azureus
-
- # https://bugs.gentoo.org/show_bug.cgi?id=204132
- java-pkg_register-environment-variable MOZ_PLUGIN_PATH /usr/lib/nsbrowser/plugins
-
- newicon "${S}"/org/gudy/azureus2/ui/icons/a32.png vuze.png
- domenu "${FILESDIR}"/${PN}.desktop
-
- use source && java-pkg_dosrc "${S}"/{com,edu,org}
-}
-
-pkg_postinst() {
- ewarn "Running Vuze as root is not supported and may result in untracked"
- ewarn "updates to shared components and then collisions on updates"
- echo
- elog "Vuze was formerly called Azureus and many references to the old name remain."
- elog
- elog "After running Vuze for the first time, configuration options will be"
- elog "placed in '~/.azureus/gentoo.config'."
- elog
- elog "If you need to change some startup options, you should modify this file"
- elog "rather than the startup script. You can enable the console UI by"
- elog "editing this config file."
- echo
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
-}