summaryrefslogtreecommitdiff
path: root/net-p2p/biglybt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-21 00:11:18 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-21 00:11:18 +0100
commitbed3b604e16fc6075e29f1af8d47507a07035bd3 (patch)
tree1f5d57fd86e90db37f62afb463f4b4c08a2b6eda /net-p2p/biglybt
parentd6ca4e4f90cb75c323b5988eefa96a04c0d36908 (diff)
gentoo auto-resync : 21:06:2024 - 00:11:18
Diffstat (limited to 'net-p2p/biglybt')
-rw-r--r--net-p2p/biglybt/Manifest5
-rw-r--r--net-p2p/biglybt/biglybt-3.6.0.0.ebuild110
-rw-r--r--net-p2p/biglybt/files/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch32
-rw-r--r--net-p2p/biglybt/metadata.xml9
4 files changed, 155 insertions, 1 deletions
diff --git a/net-p2p/biglybt/Manifest b/net-p2p/biglybt/Manifest
index 1d0dc6101225..bad68d507941 100644
--- a/net-p2p/biglybt/Manifest
+++ b/net-p2p/biglybt/Manifest
@@ -2,6 +2,9 @@ AUX biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch 316 BLAKE2B 87efcf5b3a0c8
AUX biglybt-3.2.0.0-disable-SWTUpdateChecker.patch 407 BLAKE2B 63b34dfc13d2c3a6002b66da1bf652a7e98b0f4c92d48d1af90001742cebc0ba89c81c72f5c8d81bb29c6f7a5fb412b00dc1a18daf9f5ab6601e446e49b030c0 SHA512 87743e1a437d15e929b51b67bd5fb329ce67fc44f93c3172634056fe52d575db22102d915d9507df9644c4f800e399fed2cb327f0451eb6506c27e5bf776f2f6
AUX biglybt-3.2.0.0-disable-shared-plugins.patch 553 BLAKE2B b4844e817c76ddb03ac1f029d4c3626483d02fc81460e8f028719e9252e4b74765db04e2c0e0561dd9237ecbf6687ef93a5c75fed58342f259839935af5e976e SHA512 5f8eeb6caf6b719b77f3b2d7857723335b0dbe8c5c4e09454471ed10e6ad01a82f566e9a42614b65821d5c33e44eb958d6933ffb1d30025512a75114346a6b45
AUX biglybt-3.5.0.0-Entities.javadoc.patch 1378 BLAKE2B 0984fcc6d342a3b54129b0196611a9b76d3aad4e7fa0b8cba7d43ac8bb7102a92072e9e288a979f7a92cf1ac496868be863b51e9a1fb3b3d83aad7ae25a1d5eb SHA512 c7987683558224f7752dbdc91d10147c5a4fbe4c0a7db47a2dd495e728d3f8b2aa4c7ec5712163160a60431e5d043f86e4018becc63fe61f8909dcdd7201f41d
+AUX biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch 1374 BLAKE2B 9f2e72b24e20db59ba57df5591e3a722b114b697f6bd4c872c5a2b41eae1310d03489c03c353748cb877735a698e3ee5bced62809ab2bf30f8bf7609be9e07a2 SHA512 dd4dc70157685acdcd0e4c4e61058367489ef4081fc027c858a31af85e5b84432d2146c7a4742ff644ae6bf79a60e2c08d5a68590829c66c008a490c9cb04247
DIST biglybt-3.5.0.0.tar.gz 41499459 BLAKE2B a08bfa560a72297a6ef21aed1bf4dc278e6c1e8b28b7adfb9bd880d8a6bcec1875b2ff8f3c95e9a05a41be5f14ba7ec66d775f53b78ee4a6bb88a295906f75e2 SHA512 1345ca1b49615be6d7e4ffb883ac5a60ed31af1dbf29a45d5d03ab56fb37d3f47d36abdffe990d264bda5fe5d3f90a3e2ad64373f1fe16fa23feb1ba8b70dd15
+DIST biglybt-3.6.0.0.tar.gz 43972902 BLAKE2B 76995d3d5f24f054690e609d2be7bd822f6c8573b6627bcf380c3a93be86265f4ca827c2991db65ef39c9f3f79b0cd8e0aebce492571a36bf237c95fc3d6cc54 SHA512 b56beb006ab813efa2ab2aff8563a04675e677ea70fe6ef72062e2d38ec753749b36740ae87f851739cb1389948a916273cb6ffb65758e651d0701a7f6237afd
EBUILD biglybt-3.5.0.0.ebuild 2941 BLAKE2B 2aa37b93d58eedf78aab850d037fd3dd8dba834b7d7ab344c5b1a6bf42676c87ffd843f1a0323be49d409097aac0a3ac446a5859d297d4f91937d43b9da73fb2 SHA512 f4bb8adca1674d8e5812ee2883172654006340e5c24a112aab2d343a701e72286725e16462fb47732c5318e0dc52c14861377d38e2258d6bc1f97a504a7e4bcc
-MISC metadata.xml 431 BLAKE2B 2d99951c29491ef26da2c83cf34ee292db74fc8a693bda6bea48c846ebffe43f660b962518c2bbc92433839672838497209bbc841ccbd7f514052d70e5c4d74d SHA512 8aded1d9b8f5987d741c041c1374ad849bfffd4a1e70cac9e1daeeda144e91f88183a2cf26527ee9f1c80d1de93bf91840b49eda82d5e1aa833eb6e593bfca88
+EBUILD biglybt-3.6.0.0.ebuild 3050 BLAKE2B 92992124c093e6a4af9779644780e4288ace64acd6b344993660537ddba2eb9b7d214ac195069efb289d9a639c22a0730de836feee1b2c093e265dc8511c8b12 SHA512 7c6dad13ef311bdb46f42d6b71a68c28828e900ed8a5b85e50dc52ce402f01f5d5f0d417bd8c57b2a988e4abac93e023743d32fb648d023ec6d9951cc1367072
+MISC metadata.xml 904 BLAKE2B fd6313faad9aa5140a1110c0fbb53fb5b220e33cdf8c0c59d8a96ed6b424d67cb1922537543b0c7bfdf6fdced2d9273b963db5e7126b0f9d9c61404d4774ea60 SHA512 5106049f93d633214a67dfa9bc52d721911bd7c7c08f36dc8dd2cc052121929c0d95483138685877a6cbbe152be58ec8165320b06a3f1bd78f9f625af2d55c1b
diff --git a/net-p2p/biglybt/biglybt-3.6.0.0.ebuild b/net-p2p/biglybt/biglybt-3.6.0.0.ebuild
new file mode 100644
index 000000000000..4ee04bea7849
--- /dev/null
+++ b/net-p2p/biglybt/biglybt-3.6.0.0.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# No tests, #839681
+JAVA_PKG_IUSE="doc source"
+MAVEN_PROVIDES="com.${PN}:${PN}-core:${PV} com.${PN}:${PN}-ui:${PV}"
+
+inherit desktop java-pkg-2 java-pkg-simple optfeature xdg
+
+DESCRIPTION="Feature-filled Bittorrent client based on the Azureus open source project"
+HOMEPAGE="https://www.biglybt.com"
+SRC_URI="https://github.com/BiglySoftware/BiglyBT/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/BiglyBT-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+CP_DEPEND="
+ dev-java/commons-cli:1
+ dev-java/swt:4.27
+"
+
+# Due to removal of AENameServiceDescriptor it would fail to start under jdk:1.8
+# StartServer ERROR: unable to bind to 127.0.0.1:6880 listening for passed torrent info: \
+# sun.net.spi.nameservice.NameServiceDescriptor: Provider com.biglybt.core.util.spi.AENameServiceDescriptor not found
+# Restricting to jdk:11 for https://bugs.gentoo.org/888859
+DEPEND="${CP_DEPEND}
+ >=virtual/jdk-11:*"
+
+RDEPEND="${CP_DEPEND}
+ >=virtual/jre-1.8:*"
+
+DOCS=(
+ CODING_GUIDELINES.md
+ CONTRIBUTING.md
+ ChangeLog.txt
+ README.md
+ TRANSLATE.md
+)
+
+JAVADOC_SRC_DIRS=( {core,uis}/src )
+
+PATCHES=(
+ "${FILESDIR}/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch"
+ "${FILESDIR}/biglybt-3.2.0.0-disable-shared-plugins.patch"
+ "${FILESDIR}/biglybt-3.5.0.0-Entities.javadoc.patch"
+ "${FILESDIR}/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch"
+)
+
+src_prepare() {
+ default #780585
+ java-pkg-2_src_prepare
+ # AENameServiceDescriptor fails to compile with jdk >= 11
+ # "error: package sun.net.spi.nameservice does not exist"
+ # https://github.com/BiglySoftware/BiglyBT/pull/2611
+ rm -r core/src/com/biglybt/core/util/spi || die
+# rm -r core/src/META-INF || die
+
+ cp -r core/{src,resources} || die
+ find core/resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
+
+ cp -r uis/{src,resources} || die
+ find uis/resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
+}
+
+src_compile() {
+ einfo "Compiling module \"core\""
+ JAVA_JAR_FILENAME="${PN}-core.jar"
+ JAVA_RESOURCE_DIRS="core/resources"
+ JAVA_SRC_DIR="core/src"
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA="${PN}-core.jar"
+
+ einfo "Compiling module \"uis\""
+ JAVA_JAR_FILENAME="BiglyBT.jar"
+ JAVA_LAUNCHER_FILENAME="${PN}"
+ JAVA_MAIN_CLASS="com.${PN}.ui.Main"
+ JAVA_RESOURCE_DIRS="uis/resources"
+ JAVA_SRC_DIR="uis/src"
+ java-pkg-simple_src_compile
+
+ if use doc; then
+ einfo "Creating javadoc"
+ JAVADOC_CLASSPATH="${JAVA_GENTOO_CLASSPATH}"
+ ejavadoc
+ fi
+}
+
+src_install() {
+ java-pkg-simple_src_install
+
+ make_desktop_entry "${PN}" BiglyBT "${PN}" "Network;FileTransfer"
+
+ if use source; then
+ java-pkg_dosrc "core/src/*"
+ java-pkg_dosrc "uis/src/*"
+ fi
+ default
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature_header "If you are using plugin proxies you might want to swap them for these native packages:"
+ optfeature "I2P SOCKS proxy" net-vpn/i2p net-vpn/i2pd
+ optfeature "TOR SOCKS proxy" net-vpn/tor
+}
diff --git a/net-p2p/biglybt/files/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch b/net-p2p/biglybt/files/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch
new file mode 100644
index 000000000000..a736a191b129
--- /dev/null
+++ b/net-p2p/biglybt/files/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch
@@ -0,0 +1,32 @@
+--- a/core/src/com/biglybt/pifimpl/update/PluginUpdatePlugin.java
++++ b/core/src/com/biglybt/pifimpl/update/PluginUpdatePlugin.java
+@@ -99,7 +99,7 @@ PluginUpdatePlugin
+
+ final PluginConfig plugin_config = plugin_interface.getPluginconfig();
+
+- boolean enabled = plugin_config.getPluginBooleanParameter( "enable.update", true );
++ boolean enabled = plugin_config.getPluginBooleanParameter( "enable.update", false );
+
+ model.setConfigSectionID(PLUGIN_CONFIGSECTION_ID);
+ model.getStatus().setText( enabled?"Running":"Optional checks disabled" );
+@@ -130,7 +130,7 @@ PluginUpdatePlugin
+
+ BasicPluginConfigModel config = ui_manager.createBasicPluginConfigModel(ConfigSection.SECTION_PLUGINS, PLUGIN_CONFIGSECTION_ID);
+
+- config.addBooleanParameter2( "enable.update", "Plugin.pluginupdate.enablecheck", true );
++ config.addBooleanParameter2( "enable.update", "Plugin.pluginupdate.enablecheck", false );
+
+ plugin_interface.addEventListener(
+ new PluginEventListener()
+@@ -563,7 +563,7 @@ PluginUpdatePlugin
+ try{
+ if ( (!mandatory) &&
+ (ids_to_check == null ) && // allow custom actions through
+- (!plugin_interface.getPluginconfig().getPluginBooleanParameter( "enable.update", true ))){
++ (!plugin_interface.getPluginconfig().getPluginBooleanParameter( "enable.update", false ))){
+
+ return( num_updates_found );
+ }
+--
+2.44.2
+
diff --git a/net-p2p/biglybt/metadata.xml b/net-p2p/biglybt/metadata.xml
index a660313d0473..f232be2ae7c6 100644
--- a/net-p2p/biglybt/metadata.xml
+++ b/net-p2p/biglybt/metadata.xml
@@ -4,9 +4,18 @@
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
+ <longdescription>
+ BiglyBT is a BitTorrent client based on Vuze (previously Azureus) which first released in 2003.
+
+ It's killer feature is integration with I2P and TOR anonymyzing networks.
+ They are available as plugins or can be used with your local node using SOCKS.
+ BiglyBT is the only client in acrive development that can work on clearnet and I2P simultaneously,
+ cross-seeding the torrents and swarm-merging them.
+ </longdescription>
<upstream>
<bugs-to>https://github.com/BiglySoftware/BiglyBT/issues</bugs-to>
<doc>https://github.com/BiglySoftware/BiglyBT/wiki</doc>
<remote-id type="github">BiglySoftware/BiglyBT</remote-id>
</upstream>
+ <stabilize-allarches/>
</pkgmetadata>