summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2005-11-26 17:32:38 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2005-11-26 17:32:38 +0000
commit3446d34d826ab605b33b58a68988c5e7214b3a23 (patch)
tree45eb94ebb1231aacb77860240a58efda06b7cc03 /net-p2p
parentFixed amule and pgadmin3 crash while using broken wxGTK-2.6.2 with unicode su... (diff)
downloadgentoo-2-3446d34d826ab605b33b58a68988c5e7214b3a23.tar.gz
gentoo-2-3446d34d826ab605b33b58a68988c5e7214b3a23.tar.bz2
gentoo-2-3446d34d826ab605b33b58a68988c5e7214b3a23.zip
Version bump and did a major ebuild cleanup. Does not install a packed seda any more because it is not allowed and not needed.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/azureus/ChangeLog9
-rw-r--r--net-p2p/azureus/Manifest15
-rw-r--r--net-p2p/azureus/azureus-2.3.0.6.ebuild107
-rw-r--r--net-p2p/azureus/files/azureus-gentoo-2.3.0.6.sh43
-rw-r--r--net-p2p/azureus/files/digest-azureus-2.3.0.61
5 files changed, 163 insertions, 12 deletions
diff --git a/net-p2p/azureus/ChangeLog b/net-p2p/azureus/ChangeLog
index 3b0ecfc29b7b..a0406ede41d0 100644
--- a/net-p2p/azureus/ChangeLog
+++ b/net-p2p/azureus/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-p2p/azureus
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.9 2005/11/25 00:19:02 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.10 2005/11/26 17:32:38 betelgeuse Exp $
+
+*azureus-2.3.0.6 (26 Nov 2005)
+
+ 26 Nov 2005; Petteri Räty <betelgeuse@gentoo.org>
+ +files/azureus-gentoo-2.3.0.6.sh, +azureus-2.3.0.6.ebuild:
+ Version bump and did a major ebuild cleanup. Does not install a packed seda
+ any more because it is not allowed and not needed.
25 Nov 2005; Herbie Hopkins <herbs@gentoo.org>
files/azureus-gentoo-2.3.0.4.sh, azureus-2.3.0.4.ebuild:
diff --git a/net-p2p/azureus/Manifest b/net-p2p/azureus/Manifest
index 4c5082727811..411346e9a7f5 100644
--- a/net-p2p/azureus/Manifest
+++ b/net-p2p/azureus/Manifest
@@ -1,23 +1,16 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 c87917c646460c4f64658fbef2a40505 ChangeLog 1550
+MD5 6e0be6a88125dde8f88acaca8a5434b0 ChangeLog 1828
MD5 ff3e702ff946e17b534a1a0971cab592 azureus-2.2.0.0-r1.ebuild 2345
MD5 0aee5632d7755d629ae59035e6e59f92 azureus-2.3.0.4.ebuild 2603
+MD5 c3b1df267a7696e648c448f9340c6932 azureus-2.3.0.6.ebuild 3522
MD5 21218e1a7c134f02c8e42bcb63375e74 files/SWTThread.java 2549
MD5 e3cc00baa30d499993d4f65e56ad03bc files/UpdaterPatcher.java 2523
MD5 6d60bd5e1461cf5f8bc467794e6a1827 files/azureus-gentoo-2.3.0.4.sh 1008
+MD5 d5fd79649f95df6df10bcafbca2cc927 files/azureus-gentoo-2.3.0.6.sh 1023
MD5 77d299aef0633c501b998f3ec0c1f0c9 files/azureus-gentoo.sh 1010
MD5 70c17db47c9a596929112714f82ac010 files/azureus.desktop 153
MD5 2d3136c60488dd51bef012cbcb59201b files/azureus.png 743
MD5 3ae1e81c8450fa93040e4e97a1311d88 files/build.xml 661
MD5 67821fe5d66efda508803dfa3a87b967 files/digest-azureus-2.2.0.0-r1 134
MD5 29bddb8c1c68b6c8cb4fd46b070b7a2d files/digest-azureus-2.3.0.4 134
+MD5 54e557185ba087a7b67c5fd0600fef12 files/digest-azureus-2.3.0.6 72
MD5 a63336d02253ae5fe2ad69f813bdd7d8 metadata.xml 329
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDhliI2G5bA0cA/ScRAqW4AJ4+p33bi0aBoifPswbvGUoEoUPjGQCfec88
-WJ1OE8rIphIuq2/2wyUf9TI=
-=Dtoa
------END PGP SIGNATURE-----
diff --git a/net-p2p/azureus/azureus-2.3.0.6.ebuild b/net-p2p/azureus/azureus-2.3.0.6.ebuild
new file mode 100644
index 000000000000..6a6e52d15be4
--- /dev/null
+++ b/net-p2p/azureus/azureus-2.3.0.6.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/azureus-2.3.0.6.ebuild,v 1.1 2005/11/26 17:32:38 betelgeuse Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Azureus - Java BitTorrent Client"
+HOMEPAGE="http://azureus.sourceforge.net/"
+SRC_URI="mirror://sourceforge/azureus/Azureus_${PV}_source.zip"
+LICENSE="GPL-2 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="source"
+
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/swt-3.0-r2
+ >=dev-java/log4j-1.2.8
+ >=dev-java/commons-cli-1.0
+ dev-java/junit
+ !net-p2p/azureus-bin"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ >=dev-java/ant-core-1.6.2
+ >=app-arch/unzip-5.0"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+# cp ${FILESDIR}/build.xml ${S} || die "cp build.xml failed"
+
+ #cp -f ${FILESDIR}/SWTThread.java \
+ # ${S}/org/gudy/azureus2/ui/swt/mainwindow/SWTThread.java \
+ # || die "cp SWTThread.java failed!"
+
+ #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
+
+# cp ${FILESDIR}/UpdaterPatcher.java ${S}/org/gudy/azureus2/update/ \
+# || die "cp UpdaterPatrcher.java failed"
+
+ 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
+}
+
+src_compile() {
+ # 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
+ ANT_OPTS="${ANT_OPTS} -Xmx1g" \
+ ant -q -q ${ant_extra_opts} jar \
+ || die "ant build failed"
+}
+
+src_install() {
+ java-pkg_newjar dist/Azureus2.jar azureus.jar || die "doins jar failed"
+
+ # copying the shell script to run the app
+ newbin ${FILESDIR}/azureus-gentoo-${PV}.sh azureus \
+ || die "Creating launcher failed."
+
+ doicon "${FILESDIR}/azureus.png"
+ insinto /usr/share/applications
+ doins "${FILESDIR}/azureus.desktop"
+ use source && java-pkg_dosrc ${S}/{com,org}
+}
+
+pkg_postinst() {
+ echo
+ einfo "Due to the nature of the portage system, we recommend"
+ einfo "that users check portage for new versions of Azureus"
+ einfo "instead of attempting to use the auto-update feature."
+ einfo "You can disable auto-update in"
+ einfo "Tools->Options...->Interface->Start"
+ echo
+ einfo "After running azureus for the first time, configuration"
+ einfo "options will be placed in ~/.Azureus/gentoo.config"
+ einfo "It is recommended that you modify this file rather than"
+ einfo "the azureus startup script directly."
+ echo
+ einfo "As of this version, the new ui type 'console' is supported,"
+ einfo "and this may be set in ~/.Azureus/gentoo.config."
+ echo
+ ewarn "If you are upgrading, and the menu in azureus has entries like"
+ ewarn "\"!MainWindow.menu.transfers!\" then you have a stray"
+ ewarn "MessageBundle.properties file,"
+ ewarn "and you may safely delete ~/.Azureus/MessagesBundle.properties"
+ echo
+ einfo "It's recommended to use sun-java in version 1.5 or later."
+ einfo "If you'll notice any problems running azureus and you've"
+ einfo "got older java, try to upgrade it. Just remember not to set"
+ einfo "a 1.5 jdk as the system jdk or things will break."
+ echo
+ ewarn "Please, do not run azureus as root!"
+ ewarn "Azureus has not been developed for multi-user environments!"
+}
diff --git a/net-p2p/azureus/files/azureus-gentoo-2.3.0.6.sh b/net-p2p/azureus/files/azureus-gentoo-2.3.0.6.sh
new file mode 100644
index 000000000000..9ccaed385d75
--- /dev/null
+++ b/net-p2p/azureus/files/azureus-gentoo-2.3.0.6.sh
@@ -0,0 +1,43 @@
+#! /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
+
+dotazudir=${HOME}/.Azureus
+gentoocfg=${dotazudir}/gentoo.config
+
+if [ -f ${gentoocfg} ] ; then
+ . ${gentoocfg}
+else
+ if [ ! -e ${dotazudir} ] ; then
+ mkdir ${dotazudir}
+ echo "Creating ${dotazudir}"
+ fi
+
+ # Setup defaults
+ UI_OPTIONS="--ui=swt"
+
+ # Create the config file
+ cat > ${gentoocfg} <<END
+# User Interface options:
+# web - web based
+# web2 - web based
+# console - console based
+# swt - swt (GUI) based
+#
+# When selecting just 1, use '--ui=<ui>'
+# When selecting multiple, use '--uis=<ui>,<ui>'
+UI_OPTIONS="--ui=swt"
+END
+
+fi
+
+cd ${dotazudir}
+
+CLASSPATH=$(java-config -p junit,log4j,commons-cli-1,swt-3,azureus)
+java -cp $CLASSPATH -Djava.library.path=$(java-config -i swt-3) \
+ org.gudy.azureus2.ui.swt.Main "${@}"
diff --git a/net-p2p/azureus/files/digest-azureus-2.3.0.6 b/net-p2p/azureus/files/digest-azureus-2.3.0.6
new file mode 100644
index 000000000000..82688fc1f438
--- /dev/null
+++ b/net-p2p/azureus/files/digest-azureus-2.3.0.6
@@ -0,0 +1 @@
+MD5 d02357ee2917482fee1174a0dc549c5e Azureus_2.3.0.6_source.zip 4773566