From 5ddb244b8833f64298eaab7cae0198a0400c13f4 Mon Sep 17 00:00:00 2001 From: geos_one Date: Tue, 6 Jul 2010 08:12:15 +0000 Subject: [PATCH] add updated mldonkey git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2278 6952d904-891a-0410-993b-d76249ca496b --- net-p2p/mldonkey/ChangeLog | 979 ++++++++++++++++++ net-p2p/mldonkey/Manifest | 17 + net-p2p/mldonkey/files/2.9.5-execstacks.patch | 44 + net-p2p/mldonkey/files/mldonkey.confd-2.8 | 39 + net-p2p/mldonkey/files/mldonkey.initd | 141 +++ net-p2p/mldonkey/metadata.xml | 12 + net-p2p/mldonkey/mldonkey-3.0.0.ebuild | 171 +++ net-p2p/mldonkey/mldonkey-3.0.2.ebuild | 171 +++ 8 files changed, 1574 insertions(+) create mode 100644 net-p2p/mldonkey/ChangeLog create mode 100644 net-p2p/mldonkey/Manifest create mode 100644 net-p2p/mldonkey/files/2.9.5-execstacks.patch create mode 100644 net-p2p/mldonkey/files/mldonkey.confd-2.8 create mode 100644 net-p2p/mldonkey/files/mldonkey.initd create mode 100644 net-p2p/mldonkey/metadata.xml create mode 100644 net-p2p/mldonkey/mldonkey-3.0.0.ebuild create mode 100644 net-p2p/mldonkey/mldonkey-3.0.2.ebuild diff --git a/net-p2p/mldonkey/ChangeLog b/net-p2p/mldonkey/ChangeLog new file mode 100644 index 00000000..1ffd92d1 --- /dev/null +++ b/net-p2p/mldonkey/ChangeLog @@ -0,0 +1,979 @@ +# ChangeLog for net-p2p/mldonkey +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.231 2009/11/09 18:34:32 fauli Exp $ + + 09 Nov 2009; Christian Faulhammer + -mldonkey-2.9.6.ebuild: + clean up + + 18 Mar 2009; Brent Baude mldonkey-3.0.0.ebuild: + Marking mldonkey-3.0.0 ppc for bug 260072 + + 07 Mar 2009; Petteri Räty mldonkey-3.0.0.ebuild: + Migrate to EAPI 2. + + 07 Mar 2009; Petteri Räty -mldonkey-2.9.7.ebuild: + Remove old ebuild. + + 07 Mar 2009; Markus Meier mldonkey-3.0.0.ebuild: + amd64 stable, bug #260072 + + 27 Feb 2009; Jeroen Roovers mldonkey-3.0.0.ebuild: + Stable for HPPA (bug #260072). + + 26 Feb 2009; Raúl Porcel mldonkey-3.0.0.ebuild: + x86 stable wrt #260072 + +*mldonkey-3.0.0 (25 Feb 2009) + + 25 Feb 2009; Raúl Porcel +mldonkey-3.0.0.ebuild: + Version bump + +*mldonkey-2.9.7 (24 Jan 2009) + + 24 Jan 2009; Raúl Porcel -mldonkey-2.9.5.ebuild, + +mldonkey-2.9.7.ebuild: + Version bump + + 30 Nov 2008; Markus Meier mldonkey-2.9.6.ebuild: + amd64 stable, bug #249065 + + 29 Nov 2008; Raúl Porcel mldonkey-2.9.6.ebuild: + x86 stable wrt #249065 + + 29 Nov 2008; Tobias Scherbaum + mldonkey-2.9.6.ebuild: + ppc stable, bug #249065 + + 27 Nov 2008; Jeroen Roovers mldonkey-2.9.6.ebuild: + Stable for HPPA (bug #249065). + +*mldonkey-2.9.6 (05 Aug 2008) + + 05 Aug 2008; Raúl Porcel +mldonkey-2.9.6.ebuild: + Version bump + + 03 Jul 2008; Raúl Porcel -mldonkey-2.9.4.ebuild: + old + + 30 Jun 2008; Jeroen Roovers mldonkey-2.9.5.ebuild: + Stable for HPPA (bug #230217). + + 30 Jun 2008; Thomas Anderson + mldonkey-2.9.5.ebuild: + stable amd64, bug 230217 + + 30 Jun 2008; nixnut mldonkey-2.9.5.ebuild: + Stable on ppc wrt bug 230217 + + 30 Jun 2008; Raúl Porcel + +files/2.9.5-execstacks.patch, mldonkey-2.9.5.ebuild: + Fix execstacks, bug #218015 + + 16 Jun 2008; Alexis Ballier mldonkey-2.9.5.ebuild: + dont try to use PIE with ocaml executables, this will not work as ocaml + does not create PIC objects. Bug #219282 + + 05 May 2008; Robert Buchholz mldonkey-2.9.4.ebuild: + amd64 stable (bug #219146) + +*mldonkey-2.9.5 (05 May 2008) + + 05 May 2008; Raúl Porcel +mldonkey-2.9.5.ebuild: + Version bump + + 26 Apr 2008; nixnut mldonkey-2.9.4.ebuild: + Stable on ppc wrt bug 219416 + + 24 Apr 2008; Jeroen Roovers mldonkey-2.9.4.ebuild: + Stable for HPPA (bug #219146). + + 24 Apr 2008; Raúl Porcel mldonkey-2.9.3.ebuild, + mldonkey-2.9.4.ebuild: + x86 stable, drop back to ~ia64 + + 19 Mar 2008; Raúl Porcel + -files/mldonkey.initd-2.8-r1, -files/mldonkey, -files/mldonkey.png, + -files/mldonkey-gui.desktop, -mldonkey-2.9.2.ebuild, + -mldonkey-2.9.2-r1.ebuild, mldonkey-2.9.3.ebuild, mldonkey-2.9.4.ebuild: + Create a desktop file instead of using a premade one, remove old + + 13 Mar 2008; Santiago M. Mola mldonkey-2.9.3.ebuild: + amd64 stable wrt bug #211382 + + 09 Mar 2008; nixnut mldonkey-2.9.3.ebuild: + Stable on ppc wrt bug 212382 + +*mldonkey-2.9.4 (04 Mar 2008) + + 04 Mar 2008; Raúl Porcel +mldonkey-2.9.4.ebuild: + Version bump + + 25 Feb 2008; Jeroen Roovers mldonkey-2.9.3.ebuild: + Stable for HPPA (bug #211382). + + 25 Feb 2008; Raúl Porcel mldonkey-2.9.3.ebuild: + ia64/x86 stable wrt #211382 + +*mldonkey-2.9.3 (21 Jan 2008) + + 21 Jan 2008; Raúl Porcel +mldonkey-2.9.3.ebuild: + Version bump + + 19 Jan 2008; Alexis Ballier + mldonkey-2.9.2-r1.ebuild: + explicitely allow ocaml 3.10* since 3.10.1 is there and is a bugfix release + and mldonkey will bail out if it sees it... + +*mldonkey-2.9.2-r1 (06 Jan 2008) + + 06 Jan 2008; Raúl Porcel +mldonkey-2.9.2-r1.ebuild: + Revision bump with a fix from Alexis Ballier to build without ocamlopt + + 06 Jan 2008; Raúl Porcel mldonkey-2.9.2.ebuild: + Remove RESTRICT=mirror as discussed with upstream + + 23 Dec 2007; Raúl Porcel -mldonkey-2.9.0-r3.ebuild, + -mldonkey-2.9.1.ebuild: + old + + 22 Dec 2007; Tobias Scherbaum + mldonkey-2.9.2.ebuild: + ppc stable, bug #199902 + + 07 Dec 2007; Santiago M. Mola + files/mldonkey-gui.desktop: + .desktop file fixed. + + 23 Nov 2007; Samuli Suominen mldonkey-2.9.2.ebuild: + amd64 stable wrt #199902 + + 21 Nov 2007; Jeroen Roovers mldonkey-2.9.2.ebuild: + Stable for HPPA (bug #199902). Fixing quoting issues (again). + + 21 Nov 2007; Raúl Porcel mldonkey-2.9.2.ebuild: + ia64/x86 stable + + 16 Nov 2007; Steve Dibb mldonkey-2.9.1.ebuild: + amd64 stable, bug 197206 + + 03 Nov 2007; Lars Weiler mldonkey-2.9.1.ebuild: + stable ppc, bug #197206 + + 28 Oct 2007; Jeroen Roovers mldonkey-2.9.1.ebuild: + Stable for HPPA (bug #197206). Fixed quoting issues. + + 27 Oct 2007; Raúl Porcel mldonkey-2.9.1.ebuild: + ia64/x86 stable + +*mldonkey-2.9.2 (22 Oct 2007) + + 22 Oct 2007; Raúl Porcel +mldonkey-2.9.2.ebuild: + Version bump + +*mldonkey-2.9.1 (26 Sep 2007) + + 26 Sep 2007; Raúl Porcel +mldonkey-2.9.1.ebuild: + Version bump, bug #193777 + + 05 Sep 2007; Raúl Porcel -mldonkey-2.9.0.ebuild, + -mldonkey-2.9.0-r1.ebuild, -mldonkey-2.9.0-r2.ebuild: + old + + 05 Sep 2007; Christoph Mende + mldonkey-2.9.0-r3.ebuild: + Stable on amd64 wrt security bug #189412 + + 29 Aug 2007; Tobias Scherbaum + mldonkey-2.9.0-r3.ebuild: + ppc stable, bug #189412 + + 29 Aug 2007; Raúl Porcel mldonkey-2.9.0-r3.ebuild: + ia64/x86 stable wrt security #189412 + + 29 Aug 2007; Jeroen Roovers mldonkey-2.9.0-r3.ebuild: + Stable for HPPA (bug #189412). + +*mldonkey-2.9.0-r3 (27 Aug 2007) + + 27 Aug 2007; Raúl Porcel +mldonkey-2.9.0-r3.ebuild: + Fix shell for the p2p user, bug 189412 + +*mldonkey-2.9.0-r2 (17 Aug 2007) + + 17 Aug 2007; Roy Marples files/mldonkey.initd, + +mldonkey-2.9.0-r2.ebuild: + Use --chuid instead of --user, #189212 thanks to Jörg Eitemüller + +*mldonkey-2.9.0-r1 (07 Aug 2007) + + 07 Aug 2007; Roy Marples +files/mldonkey.initd, + +mldonkey-2.9.0-r1.ebuild: + New init script for baselayout-2, #183840. Keyworded ~x86-fbsd. + + 07 Aug 2007; Raúl Porcel -mldonkey-2.8.5.ebuild, + -mldonkey-2.8.7.ebuild: + old + + 07 Aug 2007; René Nussbaumer + mldonkey-2.9.0.ebuild: + Stable on hppa. See bug #186885. + + 03 Aug 2007; Raúl Porcel + files/mldonkey.initd-2.8-r1: + Fix init script, bug 183840 + + 29 Jul 2007; Tobias Scherbaum + mldonkey-2.9.0.ebuild: + ppc stable, bug #186885 + + 28 Jul 2007; Steve Dibb mldonkey-2.9.0.ebuild: + amd64 stable, security bug 186885 + + 28 Jul 2007; Raúl Porcel mldonkey-2.9.0.ebuild: + ia64/x86 stable wrt security #186885 + + 27 Jul 2007; Raúl Porcel mldonkey-2.8.7.ebuild, + mldonkey-2.9.0.ebuild: + Fix keywords + +*mldonkey-2.9.0 (27 Jul 2007) + + 27 Jul 2007; Raúl Porcel mldonkey-2.8.7.ebuild, + +mldonkey-2.9.0.ebuild: + Version bump + + 09 Jul 2007; Jeroen Roovers mldonkey-2.8.7.ebuild: + Stable for HPPA (bug #184625). + + 08 Jul 2007; Joseph Jezak mldonkey-2.8.7.ebuild: + Marked ppc stable for bug #184625. + + 08 Jul 2007; Raúl Porcel mldonkey-2.8.7.ebuild: + ia64/x86 stable wrt #184625 + + 02 Jul 2007; Piotr Jaroszyński mldonkey-2.8.5.ebuild, + mldonkey-2.8.7.ebuild: + (QA) RESTRICT clean up. + + 13 Jun 2007; Raúl Porcel -mldonkey-2.8.3.ebuild, + -mldonkey-2.8.4.ebuild: + old + + 13 Jun 2007; Christoph Mende mldonkey-2.8.5.ebuild: + Stable on amd64 wrt bug 179882 + + 08 Jun 2007; Raúl Porcel + files/mldonkey.initd-2.8-r1: + Swap one line in the init script, thanks to Jörg Eitemüller for reporting in bug 181140 + +*mldonkey-2.8.7 (03 Jun 2007) + + 03 Jun 2007; Raúl Porcel +mldonkey-2.8.7.ebuild: + Version bump + + 01 Jun 2007; nixnut mldonkey-2.8.5.ebuild: + Stable on ppc wrt bug 179882 + + 28 May 2007; Jeroen Roovers mldonkey-2.8.5.ebuild: + Stable for HPPA (bug #179882). + + 26 May 2007; Raúl Porcel mldonkey-2.8.5.ebuild: + ia64 + x86 stable wrt #179882 + + 17 May 2007; Raúl Porcel mldonkey-2.8.3.ebuild, + mldonkey-2.8.4.ebuild, mldonkey-2.8.5.ebuild: + Remove useless mldonkey script, bug 178883 + + 04 May 2007; Raúl Porcel mldonkey-2.8.4.ebuild: + ia64 + x86 stable + +*mldonkey-2.8.5 (23 Apr 2007) + + 23 Apr 2007; Raúl Porcel +mldonkey-2.8.5.ebuild: + Version bump + + 22 Apr 2007; Raúl Porcel mldonkey-2.8.3.ebuild, + mldonkey-2.8.4.ebuild: + Use doconfd and doinitd, bug 174266 + + 10 Apr 2007; Raúl Porcel mldonkey-2.8.3.ebuild, + mldonkey-2.8.4.ebuild: + Remove idiot batch USE-flag, bug 174021 + + 08 Apr 2007; Raúl Porcel + -files/mldonkey-2.8.2-avoid_dupl_sending.patch, -mldonkey-2.8.2-r1.ebuild: + drop old + + 07 Apr 2007; Christian Faulhammer + mldonkey-2.8.3.ebuild: + stable amd64, bug 165591 + + 06 Apr 2007; Tobias Scherbaum + mldonkey-2.8.3.ebuild: + ppc stable, bug #165591 + + 04 Apr 2007; Raúl Porcel mldonkey-2.8.3.ebuild, + mldonkey-2.8.4.ebuild: + Make install fail if dobin fails, bug 173317 + +*mldonkey-2.8.4 (02 Apr 2007) + + 02 Apr 2007; Raúl Porcel -files/dp500.patch, + -files/mldonkey.confd, -files/mldonkey.initd, -mldonkey-2.7.7.ebuild, + mldonkey-2.8.3.ebuild, +mldonkey-2.8.4.ebuild: + Version bump, ia64 stable wrt bug 165591 and cleanup old + + 20 Mar 2007; Jeroen Roovers mldonkey-2.8.3.ebuild: + Stable for HPPA (bug #165591). + + 13 Mar 2007; Raúl Porcel mldonkey-2.8.3.ebuild: + x86 stable + + 25 Feb 2007; Matti Bickel mldonkey-2.8.2-r1.ebuild: + ppc stable (bug #165591) + + 13 Feb 2007; Steve Dibb mldonkey-2.8.2-r1.ebuild: + amd64 stable, bug 165591 + +*mldonkey-2.8.3 (11 Feb 2007) + + 11 Feb 2007; Raúl Porcel +mldonkey-2.8.3.ebuild: + Version bump, bug 166350 + + 06 Feb 2007; Jeroen Roovers mldonkey-2.8.2-r1.ebuild: + Stable for HPPA (bug #165591). + + 06 Feb 2007; Raúl Porcel mldonkey-2.8.2-r1.ebuild: + x86 stable wrt bug 165591 + + 24 Jan 2007; Raúl Porcel + -files/mldonkey-2.7.3-configure.patch, -files/mldonkey-2.7.6-magic.patch, + +files/mldonkey.confd-2.8, -files/mldonkey.initd-2.8, + +files/mldonkey.initd-2.8-r1, -mldonkey-2.6.4-r2.ebuild, + -mldonkey-2.7.3.ebuild, -mldonkey-2.7.6-r1.ebuild, -mldonkey-2.8.2.ebuild, + mldonkey-2.8.2-r1.ebuild: + Drop old , add new initd script and confd, thanks to Christian Schlotter + , bug 141177 + + 13 Jan 2007; Raúl Porcel mldonkey-2.7.7.ebuild, + mldonkey-2.8.2-r1.ebuild: + Change HOMEPAGE, bug 161875 + +*mldonkey-2.8.2-r1 (12 Jan 2007) + + 12 Jan 2007; Raúl Porcel + +files/mldonkey-2.8.2-avoid_dupl_sending.patch, +mldonkey-2.8.2-r1.ebuild: + Add new patch, from bug 161169, thanks to spiralvoice + + 21 Dec 2006; Saleem Abdulrasool + -mldonkey-2.5.16-r9.ebuild: + gnome-1.x removal + + 07 Dec 2006; Karol Wojtaszek + +files/mldonkey.initd-2.8, mldonkey-2.8.2.ebuild: + Fixed mldonkey init script to work with new mldonkey-2.8.2, bug #157242 + +*mldonkey-2.8.2 (02 Dec 2006) + + 02 Dec 2006; Karol Wojtaszek + +mldonkey-2.8.2.ebuild: + Version bump, bug #147718 + + 15 Oct 2006; Aron Griffis mldonkey-2.7.7.ebuild: + Mark 2.7.7 stable on ia64. #138373 + + 26 Sep 2006; Gustavo Zacarias mldonkey-2.7.7.ebuild: + Stable on hppa wrt #138373 + + 12 Sep 2006; Joshua Jackson mldonkey-2.7.7.ebuild: + Stable x86; bug #137373 + + 05 Sep 2006; Joseph Jezak mldonkey-2.7.7.ebuild: + Marked ppc stable for bug #138373. + + 02 Sep 2006; mldonkey-2.7.7.ebuild: + stable on amd64 + + 09 Aug 2006; Joshua Jackson mldonkey-2.7.7.ebuild: + Stable x86; bug #138373 + + 05 Jul 2006; Gustavo Zacarias mldonkey-2.7.7.ebuild: + Keyworded ~sparc wrt #139014, use ~sparc ocaml + +*mldonkey-2.7.7 (20 Jun 2006) + + 20 Jun 2006; Jon Hood -mldonkey-2.7.6.ebuild, + +mldonkey-2.7.7.ebuild: + Version bump, remove buggy version. Resolves #137314. Thanks spiralvoice + ! + +*mldonkey-2.7.6-r1 (18 Jun 2006) + + 18 Jun 2006; Karol Wojtaszek + +files/mldonkey-2.7.6-magic.patch, +mldonkey-2.7.6-r1.ebuild: + Add patch which fixes a serious performance problem when MLDonkey + downloads lots of new files or torrents with a lot (>100) subfiles, bug #136700 + + 09 Jun 2006; Karol Wojtaszek + -mldonkey-2.5.21-r2.ebuild, -mldonkey-2.6.5.ebuild, + -mldonkey-2.6.7.ebuild, -mldonkey-2.7.5.ebuild: + Ebuild clean up + +*mldonkey-2.7.6 (09 Jun 2006) + + 09 Jun 2006; Karol Wojtaszek + +mldonkey-2.7.6.ebuild: + Version bump. Removed threads USE flag. Bug #133944 and #127016 + +*mldonkey-2.7.5 (18 May 2006) + + 18 May 2006; Jon Hood + -files/mldonkey-2.5.16-configure.patch, + -files/mldonkey-2.5.21-configure.patch, + -files/mldonkey-2.6.0-gtk2-gentoo.patch, +files/dp500.patch, + -mldonkey-2.6.0-r1.ebuild, -mldonkey-2.7.0.ebuild, -mldonkey-2.7.1.ebuild, + -mldonkey-2.7.2.ebuild, +mldonkey-2.7.5.ebuild: + Version bump, #124199. Thanks to Andreas Calvo , + spiralvoice , and many others in bug #124199 for + cleaning this up. + + 27 Apr 2006; Matthieu Sozeau + +files/mldonkey-2.7.3-configure.patch, mldonkey-2.7.3.ebuild: + Patch for ocaml-3.09.2, may need to be backported. + + 15 Mar 2006; Gustavo Zacarias mldonkey-2.7.3.ebuild: + Seems to work nice enough, deserves ~hppa + + 10 Mar 2006; Aron Griffis mldonkey-2.7.3.ebuild: + Mark 2.7.3 stable on ia64. #107206 + + 28 Jan 2006; Marcin Kryczek + -files/mldonkey-2.7.0-endianess.patch.bz2, mldonkey-2.7.0.ebuild: + Moving binary patches from CVS to mirrors + + 23 Jan 2006; Marcin Kryczek -mldonkey-2.6.0.ebuild, + -mldonkey-2.6.4-r1.ebuild: + Removing ebuilds with obsolete gtk2 USE flag + +*mldonkey-2.7.3 (19 Jan 2006) + + 19 Jan 2006; Marcin Kryczek +mldonkey-2.7.3.ebuild: + Version bump. Adding RESTRICT=nomirror as an upstream developer wished + +*mldonkey-2.7.2 (13 Jan 2006) + + 13 Jan 2006; Marcin Kryczek +mldonkey-2.7.2.ebuild: + Version bump + + 04 Jan 2006; Karol Wojtaszek files/mldonkey.initd: + Fixed typos, bug #115226 by Christian Schlotter + + 31 Dec 2005; Simon Stelling mldonkey-2.6.4-r2.ebuild: + stable on amd64 + +*mldonkey-2.7.1 (20 Dec 2005) + + 20 Dec 2005; Karol Wojtaszek files/mldonkey.initd, + +mldonkey-2.7.1.ebuild: + Version bump, bug #115226 + + 29 Nov 2005; Karol Wojtaszek + +files/mldonkey-2.7.0-endianess.patch.bz2, mldonkey-2.7.0.ebuild: + Added patch to make mldonkey working on amd64 and other little-endian machines + +*mldonkey-2.7.0 (21 Nov 2005) + + 21 Nov 2005; Marcin Kryczek +mldonkey-2.7.0.ebuild: + Version bump + + 21 Nov 2005; Marcin Kryczek mldonkey-2.6.7.ebuild: + Filtering -fomit-fram-pointer + +*mldonkey-2.6.7 (29 Oct 2005) + + 29 Oct 2005; Marcin Kryczek +mldonkey-2.6.7.ebuild: + Version bump + + 20 Oct 2005; files/mldonkey.confd, files/mldonkey.initd: + Updated start script (and configuration in conf.d). This fixes bug #109469 + and bug #109604 + + 15 Oct 2005; mldonkey-2.6.0.ebuild, + mldonkey-2.6.0-r1.ebuild: + 2.6.0 version needs ocaml-3.08.3. it won't build with 3.08.4. Fixing deps + +*mldonkey-2.6.5 (14 Oct 2005) + + 14 Oct 2005; +mldonkey-2.6.5.ebuild: + Version bump. Thanks Benjamin Schleinzer + + 06 Oct 2005; Michael Hanselmann + mldonkey-2.6.4-r2.ebuild: + Stable on ppc. + + 02 Oct 2005; mldonkey-2.6.4-r1.ebuild, + mldonkey-2.6.4-r2.ebuild: + Stable on x86 + +*mldonkey-2.6.4-r2 (20 Sep 2005) +*mldonkey-2.6.0-r1 (20 Sep 2005) + + 20 Sep 2005; -files/2.5.28-config.patch, + -mldonkey-2.5.16-r10.ebuild, -mldonkey-2.5.27-r1.ebuild, + -mldonkey-2.5.28-r4.ebuild, +mldonkey-2.6.0-r1.ebuild, + -mldonkey-2.6.2.ebuild, -mldonkey-2.6.3.ebuild, -mldonkey-2.6.4.ebuild, + +mldonkey-2.6.4-r2.ebuild: + New revision bump without gtk2 flag. Also removing few older versions + + 19 Sep 2005; mldonkey-2.6.2.ebuild, + mldonkey-2.6.3.ebuild, mldonkey-2.6.4.ebuild, mldonkey-2.6.4-r1.ebuild: + Updated einfo about xpi handler (thanks Qiangning Hong for reporting bug + #106136) + + 19 Sep 2005; mldonkey-2.6.4-r1.ebuild: + Added checking if gd was built with truetype. Thanks Frittella Laurento for + bug #106396 + + 18 Sep 2005; files/mldonkey.initd: + Fixed init script. Thanks M. Giritli for bug + #103433 + + 16 Sep 2005; Ciaran McCreesh ChangeLog: + Converted to UTF-8, fixed encoding screwups + +*mldonkey-2.6.4-r1 (14 Sep 2005) + + 14 Sep 2005; +mldonkey-2.6.4-r1.ebuild: + Clean a mess in USE flags - closing bug #103239 (thanks everyone, who takes + part in discussion). Also droping 'oldgtk' flag and support for old gui, + since it's not maintaned anymore. + +*mldonkey-2.6.4 (06 Sep 2005) + + 06 Sep 2005; Martin Holzer +mldonkey-2.6.4.ebuild: + Version bumped. + + 27 Aug 2005; mldonkey-2.6.2.ebuild, + mldonkey-2.6.3.ebuild: + Fixed path to xpi file, bug #103891 + + 26 Aug 2005; mldonkey-2.6.2.ebuild, + mldonkey-2.6.3.ebuild: + Added patch to change ed2k_hash name to mld_hash, bug #103693 + +*mldonkey-2.6.3 (26 Aug 2005) + + 26 Aug 2005; Martin Holzer +mldonkey-2.6.3.ebuild: + Version bumped. + + 21 Aug 2005; metadata.xml: + Removed squinky86 from metadata.xml on jakub request, bug #103131 + + 21 Aug 2005; mldonkey-2.6.2.ebuild: + Added missing parentheses in DEPEND and RDEPEND. Fixed some typos. Bug + #103237 and #103131 + +*mldonkey-2.6.2 (21 Aug 2005) + + 21 Aug 2005; +files/mldonkey-gui.desktop, + +mldonkey-2.6.2.ebuild: + Version bump, added mozilla use flag and installing ed2k handler for + mozilla/firefox, installing of desktop file. Thanks Przemyslaw Maciag + in bug #102097 + + 07 Aug 2005; Michael Hanselmann + mldonkey-2.5.16-r9.ebuild: + Stable on ppc. + + 25 Jul 2005; + +files/mldonkey-2.6.0-gtk2-gentoo.patch, mldonkey-2.6.0.ebuild: + Fixed compile problems with enabled ekg2, thanks Marcin Kryczek + in bug #100120 + + 24 Jul 2005; mldonkey-2.6.0.ebuild: + Turned off batch configure option, cought by Phil + +*mldonkey-2.6.0 (23 Jul 2005) + + 23 Jul 2005; +mldonkey-2.6.0.ebuild: + Version bump, bug #84100 + + 06 May 2005; Bryan Østergaard + mldonkey-2.5.16-r10.ebuild: + Fix typo, bug 89322. + + 24 Mar 2005; Karol Wojtaszek +files/mldonkey.png, + mldonkey-2.5.16-r10.ebuild: + Add desktop entry when gtk use flag is enabled, bug #83300 + +*mldonkey-2.5.16-r10 (27 Feb 2005) + + 27 Feb 2005; Jon Hood +mldonkey-2.5.16-r10.ebuild: + Version bump, #80553. Thanks Holger and Costas + . + + 05 Feb 2005; Jan Brinkmann mldonkey-2.5.16-r9.ebuild: + added ~amd64 to KEYWORDS of 2.5.16-r9. fixes #76523 + + 29 Nov 2004; Jon Hood files/mldonkey.initd, + -mldonkey-2.5.16-r7.ebuild, -mldonkey-2.5.16-r8.ebuild, + mldonkey-2.5.16-r9.ebuild, -mldonkey-2.5.28-r3.ebuild, + -mldonkey-2.5.28.ebuild: + 2.5.16-r9 stable on x86 due to older versions getting banned, thanks + Lorenz Bauer , #70659; new init script from + Martin Bays , #65245, cleanup old ebuilds. + +*mldonkey-2.5.16-r9 (23 Nov 2004) + + 23 Nov 2004; Jon Hood +mldonkey-2.5.16-r9.ebuild: + Version bump irt #70659; thanks Lorenz Bauer and + Vanquirius . + +*mldonkey-2.5.28-r4 (24 Oct 2004) + + 24 Oct 2004; Jon Hood +mldonkey-2.5.28-r4.ebuild: + Version bump. + +*mldonkey-2.5.28-r3 (18 Oct 2004) + + 18 Oct 2004; Jon Hood -mldonkey-2.5.28-r1.ebuild, + -mldonkey-2.5.28-r2.ebuild, +mldonkey-2.5.28-r3.ebuild: + Version bump, remove old versions. Thanks spiralvoice, #66920. + +*mldonkey-2.5.28-r2 (05 Oct 2004) + + 05 Oct 2004; Jon Hood +mldonkey-2.5.28-r2.ebuild: + Version bump, new patch_pack. + +*mldonkey-2.5.28-r1 (30 Aug 2004) + + 30 Aug 2004; Jon Hood +mldonkey-2.5.28-r1.ebuild: + Version bump; add experimental patch_pack for testing (masked). + + 24 Aug 2004; Jon Hood +files/2.5.28-config.patch, + mldonkey-2.5.28.ebuild: + Add configure patch to not install lablgtk if it is not available, #61425. + + 22 Aug 2004; Travis Tilley mldonkey-2.5.28.ebuild: + added ~amd64 keyword + +*mldonkey-2.5.28 (19 Aug 2004) + + 19 Aug 2004; Jon Hood +mldonkey-2.5.28.ebuild: + Version bump, closes #60867. + +*mldonkey-2.5.27-r1 (17 Aug 2004) + + 17 Aug 2004; Jon Hood -mldonkey-2.5.21-r1.ebuild, + +mldonkey-2.5.27-r1.ebuild, -mldonkey-2.5.27.ebuild: + Version bump, closes #60714. + + 16 Aug 2004; Guy Martin mldonkey-2.5.16-r8.ebuild: + Marked stable on hppa (#60390). + + 14 Aug 2004; Jon Hood mldonkey-2.5.27.ebuild: + Fix DEPEND on ocaml and gtk2 use invocation; thanks xake and gustavoz, #58891. + +*mldonkey-2.5.27 (13 Aug 2004) + + 13 Aug 2004; Jon Hood -mldonkey-2.5.22-r1.ebuild, + +mldonkey-2.5.27.ebuild: + Version bump, closes #58891. Thanks Benjamin Schleinzer and + spiralvoice . Remove non-working ebuild. + +*mldonkey-2.5.16-r8 (08 Aug 2004) + + 08 Aug 2004; Jon Hood +mldonkey-2.5.16-r8.ebuild: + Version bump. Closes #57956. + + 05 Aug 2004; Jon Hood -mldonkey-2.5.16-r5.ebuild, + -mldonkey-2.5.16-r6.ebuild, mldonkey-2.5.16-r7.ebuild: + Stable on x86. + + 04 Aug 2004; Jon Hood files/mldonkey.initd: + Fix init script thanks to Antonio in #58331 and + Tiv in #59435. + +*mldonkey-2.5.22-r1 (03 Aug 2004) + + 03 Aug 2004; Jon Hood +mldonkey-2.5.22-r1.ebuild: + Version bump, masking until issues in #58891 are resolved. Thanks to Benjamin + Schleinzer and spiralvoice . + + 30 Jul 2004; Jon Hood files/mldonkey + -mldonkey-2.5.16-r4.ebuild, mldonkey-2.5.16-r6.ebuild, + files/mldonkey.initd, -files/97mldonkey, + -files/mldonkey-2.5.16-16g.patch, -files/mldonkey-2.5.16-oldbt.patch: + fix init script irt #58857 + Stable on x86; remove old version. + Remove unused patches and files + + 27 Jul 2004; Guillaume Destuynder + mldonkey-2.5.16-r(4,5,6,7).ebuild, + mldonkey-2.5.21-r(1,2).ebuild: + Fixed #58526, incorrect enewuser usage + + 19 Jul 2004; Jon Hood mldonkey-2.5.16-r5.ebuild: + stable on x86 + + 15 Jul 2004; Jon Hood files/mldonkey: + fix mldonkey init script for more options; thanks to Matthias Bernges + for the updates + +*mldonkey-2.5.16-r7 (06 Jul 2004) + + 06 Jul 2004; Jon Hood +mldonkey-2.5.16-r7.ebuild: + version bump irt #55555, change all ocaml dependencies to >=3.07 + + 04 Jul 2004; Jon Hood mldonkey-2.5.21-r2.ebuild: + fix RDEPEND on lablgtk, closes #56081 + + 28 Jun 2004; Jon Hood mldonkey-2.5.16-r6.ebuild, + mldonkey-2.5.21-r2.ebuild: + ebuild cleanups thanks to spiralvoice in #54530 + +*mldonkey-2.5.16-r6 (28 Jun 2004) + + 28 Jun 2004; Jon Hood +mldonkey-2.5.16-r6.ebuild: + version bump + + 20 Jun 2004; Jon Hood -mldonkey-2.5.16-r3.ebuild, + mldonkey-2.5.16-r4.ebuild: + stable on x86 + +*mldonkey-2.5.16-r5 (18 Jun 2004) + +*mldonkey-2.5.21-r2 (18 Jun 2004) + + 18 Jun 2004; Jon Hood +mldonkey-2.5.16-r5.ebuild, + -mldonkey-2.5.18.ebuild, -mldonkey-2.5.19.ebuild, -mldonkey-2.5.20.ebuild, + +mldonkey-2.5.21-r2.ebuild, -mldonkey-2.5.21.ebuild, + -files/mldonkey-2.5.18-configure.patch, + -files/mldonkey-2.5.19-configure.patch, + -files/mldonkey-2.5.20-configure.patch: + version bumps; thanks to teedog in #54260 and #52032; + ebuild cleanups (2.5.16 is stable branch, 2.5.21 is testing branch) + +*mldonkey-2.5.16-r4 (21 May 2004) + + 15 Jun 2004; Jon Hood : + version bump of prefered branch of mldonkey, thanks to teedog + , #53363 + +*mldonkey-2.5.21-r1 (21 May 2004) + + 21 May 2004; Jon Hood -mldonkey-2.5.11.ebuild, + -mldonkey-2.5.12.ebuild, -mldonkey-2.5.16-r1.ebuild, + -mldonkey-2.5.16-r2.ebuild, mldonkey-2.5.16-r3.ebuild, + -mldonkey-2.5.16.ebuild, +mldonkey-2.5.21-r1.ebuild, mldonkey-2.5.21.ebuild, + -mldonkey-2.5.4.ebuild: + cleanup ebuilds; version bump; apply changes from #51496 + + 11 May 2004; Guy Martin : + Marked stable on hppa. + +*mldonkey-2.5.21 (05 May 2004) + + 05 May 2004; Jon Hood + +files/mldonkey-2.5.21-configure.patch, +mldonkey-2.5.21.ebuild: + Wow, three version bumps in a day! Recloses #49847. + +*mldonkey-2.5.20 (05 May 2004) + + 05 May 2004; Jon Hood + +files/mldonkey-2.5.20-configure.patch, +mldonkey-2.5.20.ebuild: + version bump, closes #49847 + +*mldonkey-2.5.19 (05 May 2004) + + 05 May 2004; Martin Holzer mldonkey-2.5.19.ebuild, + files/mldonkey-2.5.19-configure.patch: + Version bumped. + + 26 Apr 2004; Aron Griffis mldonkey-2.5.11.ebuild, + mldonkey-2.5.12.ebuild, mldonkey-2.5.16-r1.ebuild, + mldonkey-2.5.16-r2.ebuild, mldonkey-2.5.16.ebuild, mldonkey-2.5.4.ebuild: + Add die following econf for bug 48950 + +*mldonkey-2.5.18 (17 Apr 2004) + + 17 Apr 2004; Martin Holzer mldonkey-2.5.18.ebuild, + files/mldonkey-2.5.18-configure.patch: + Version bumped. + + 17 Apr 2004; Martin Holzer mldonkey-2.5.16-r2.ebuild, + mldonkey-2.5.16-r3.ebuild: + adding make depend. closes 47329 + +*mldonkey-2.5.16-r3 (13 Apr 2004) + + 13 Apr 2004; Martin Holzer mldonkey-2.5.16-r2.ebuild, + mldonkey-2.5.16-r3.ebuild: + updating patch. big fix for 47329. + +*mldonkey-2.5.16-r2 (07 Apr 2004) +*mldonkey-2.5.16-r1 (07 Apr 2004) + + 07 Apr 2004; Jeremy Huddleston + mldonkey-2.5.16-r1.ebuild, mldonkey-2.5.16-r2.ebuild, + files/mldonkey-2.5.16-16g.patch, files/mldonkey-2.5.16-configure.patch, + files/mldonkey-2.5.16-oldbt.patch: + -r1 has the old, pre 16 bittorrent code. -r2 has threading enabled as two + solution options to bug #45471 and #46409. + + 17 Mar 2004; Jeremy Huddleston files/mldonkey, + files/mldonkey.initd: + updated init script for small fix. See bug #44563 + + 12 Mar 2004; Jeremy Huddleston + mldonkey-2.5.11.ebuild, mldonkey-2.5.12.ebuild, mldonkey-2.5.16.ebuild: + Fixed lablgtk DEPEND to accept any 1.x version but not the 2.x versions... bug + #44227. + +*mldonkey-2.5.16 (10 Mar 2004) + + 10 Mar 2004; Hanno Boeck mldonkey-2.5.16.ebuild: + Version bump. + + 24 Feb 2004; Jeremy Huddleston metadata.xml, + mldonkey-2.5.11.ebuild, mldonkey-2.5.12.ebuild: + Fixed installed documentation (Bug #41764). + Fixed init.d script (Bug #41347). + + 17 Feb 2004; Aron Griffis mldonkey-2.5.12.ebuild: + add ~alpha and ~ia64 + +*mldonkey-2.5.12 (16 Feb 2004) + + 16 Feb 2004; Martin Holzer mldonkey-2.5.12.ebuild: + Version bumped. + +*mldonkey-2.5.11 (11 Feb 2004) + + 11 Feb 2004; Martin Holzer mldonkey-2.5.11.ebuild: + Version bumped. + + 22 Jan 2004; Matthieu Sozeau mldonkey-2.5.3-r1.ebuild, + mldonkey-2.5.3-r2.ebuild, mldonkey-2.5.4.ebuild: + Changed lablgtk dependancies to =lablgtk-1.2.5 before lablgtk-2 inclusion. + + 18 Dec 2003; Heinrich Wendel mldonkey-2.5.4.ebuild: + Moved enewuser to src_install, so the home directory is created. + It was in pkg_setup but the image dir will be cleaned before src_install. + + 30 Nov 2003; Jeremy Maitin-Shepard + mldonkey-2.5.3-r1.ebuild, mldonkey-2.5.3-r2.ebuild, mldonkey-2.5.4.ebuild: + Changed `either' to 'also' in the post-install message. + Bug reported by Adam . + + 19 Nov 2003; Heinrich Wendel mldonkey-2.5.4.ebuild: + inherit eutils to fix enewuser, thx to iggy for pointing that out + + 18 Oct 2003; Heinrich Wendel mldonkey-2.5.4.ebuild: + fixed compiling with ocaml 3.07 + +*mldonkey-2.5.4 (17 Oct 2003) + + 17 Oct 2003; Heinrich Wendel mldonkey-2.5-r1.ebuild, + mldonkey-2.5.4.ebuild, files/mldonkey: + version bump / --enable-batch mode / additionaly docs / bug #30983 / bug #31228 + + 07 Oct 2003; Martin Holzer mldonkey-2.5.3-r1.ebuild, + mldonkey-2.5.3-r2.ebuild: + fixing ocml version. closes #29996 + +*mldonkey-2.5.3-r2 (24 Sep 2003) + + 24 Sep 2003; Markus Nigbur mldonkey-2.5.3-r2.ebuild, + files/mldonkey.initd: + Bugfixes in the initscript (bug #29374) + + 10 Sep 2003; Caleb Tennis mldonkey-2.5.3-r1.ebuild: + Rethink the config files - bug #27005 + + 17 Aug 2003; Martin Holzer mldonkey-2.5.3-r1.ebuild: + Marked x86 stable. + +*mldonkey-2.5.3-r1 (06 Aug 2003) + + 06 Aug 2003; Caleb Tennis mldonkey-2.5.3-r1.ebuild: + Added extra functionality, like a new p2p user and some added features. + Thanks to Julian Hoch, this closes bug #25695. + +*mldonkey-2.5.3 (17 Jun 2003) + + 17 Jun 2003; Caleb Tennis mldonkey-2.5.3.ebuild: + Version bump to 2.5-3. E-Build submitted by Gregorio Guidi (bug #22605). + +*mldonkey-2.5-r1 (02 Jun 2003) + + 02 Jun 2003; Caleb Tennis mldonkey-2.5-r1.ebuild, mldonkey: + New revision based on the fact the old ebuild (2.5) didn't work 100% properly. + Thanks to Gregorio Guidi for the submission - closes bug #20884. + +*mldonkey-2.5 (28 May 2003) + + 28 May 2003; Caleb Tennis mldonkey-2.5.ebuild: + version bump, thanks to Sridhar Dhanapalan (bug #21764) + +*mldonkey-2.04_rc1 (23 Mar 2003) + + 23 Mar 2003; Hannes Mehnert mldonkey-2.04_rc1.ebuild: + version bump, thanks to Vesa Kaihlavirta (bug #17365) + +*mldonkwy-2.02-r2 (26 Jan 2003) + + 26 Jan 2003; Hannes Mehnert mldonkey-2.02-r2.ebuild: + new pango-patches, thanks to spam@matzsoft.de (Mathias Menzel-Nielsen) + (bug #14370) + + 14 Jan 2003; Hannes Mehnert mldonkey-2.01-r1.ebuild: + fixed SRC_URI + +*mldonkey-2.02-r1 (03 Jan 2003) + + 28 Jan 2003; Jon Nall mldonkey-2.02-r1.ebuild : + added ~ppc + + 03 Jan 2003; Hannes Mehnert mldonkey-2.02-r1.ebuild: + added pango patch if USE=mldonkeypango is set. + +*mldonkey-2.02 (24 Dec 2002) + + 24 Dec 2002; J.Alberto Suarez L. mldonkey-2.02.ebuild: + New version. + Some changes in the ebuil: removed pango patch, 'N' variable introduced for src. + Merry XMas =D + +*mldonkey-2.01-r1 (15 Dec 2002) + + 16 Dec 2002; Seemant Kulleen mldonkey-2.01.ebuild + mldonkey-2.01-r1.ebuild : + + Moved 2.01 to stable, and changed the configure settings slightly. Should + go into /var not /usr/var for the state stuff and use econf instead + + 12 Dec 2002; Hannes Mehnert mldonkey-2.01-r1.ebuild: + included patch from http://concept.free.free.fr/mldonkey/ + +*mldonkey-2.01 (12 Dec 2002) + + 12 Dec 2002; Hannes Mehnert mldonkey-2.01.ebuild: + version bump + +*mldonkey-2.00-r1 (09 Dec 2002) + + 09 Dec 2002; Hannes Mehnert mldonkey-2.00-r1.ebuild: + this ebuild is now from source. Thanks to gentoo-bug@loitsch.org (Christian + Loitsch) for submission (bug #9677) + + 26 Jun 2002; Thilo Bangert : + + move to net-p2p + + 16 jun 2002; J. Alberto Suárez L. mldonkey-1.16.ebuild : + + First relase diff --git a/net-p2p/mldonkey/Manifest b/net-p2p/mldonkey/Manifest new file mode 100644 index 00000000..f953ebc1 --- /dev/null +++ b/net-p2p/mldonkey/Manifest @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 2.9.5-execstacks.patch 1542 RMD160 cfada9b8a9f88f813e2946448a8199617f4dbe61 SHA1 4eab04e17f6884e56a43344e863d345a4d591c6e SHA256 b93ee5199c1ecc943abad4de69079280a2292ab437e155384eb0e06a76c44544 +AUX mldonkey.confd-2.8 887 RMD160 0575b16320fc74fbe417150315d2247a536259d1 SHA1 28000a260fe9b7c216112ba877f55835a09aabd7 SHA256 d395ecece23a23dcb41addf63b70220996011ceb29d8738afb3c048b666cd96e +AUX mldonkey.initd 3516 RMD160 87962db06a64a64f052f1c9d00f93990136f70f7 SHA1 70368d67b319aff533f649af11b3f62b7a389dd6 SHA256 1df5a055e83af8003a01b7de5deacf8ab248483e8663799deca2dd4750de6e9e +DIST mldonkey-3.0.0.tar.bz2 2723830 RMD160 c53efda6b513bbfd2dcd71804600b0906252e463 SHA1 8d3f1808578bb145655050c0224f512afe0266b5 SHA256 27235f1e3aeae7ddb392b2d9b0963d464f21539bcb15c85c576876b8ac63fb7f +EBUILD mldonkey-3.0.0.ebuild 4675 RMD160 ccef98522e658eddfa5eb4e60e1252d5c10d76ac SHA1 62a3e581e12df95bac0ccb2e5237528c9bbb367f SHA256 67e13240f74f496e4fc46f5c3d8065a2bc91fc3998d1390b81a26f70495a4c0c +MISC ChangeLog 33927 RMD160 8f3a2f221e89ff7b88e03b5ff8d1dbb0b4110ae1 SHA1 58bb46a6ce8e45a8121638573f627d8559bfc44e SHA256 13588e9347cfc577fdc5b4578ea651749b484e91ad58a82dd85afc837e5784cc +MISC metadata.xml 503 RMD160 044c4aaffa74dbb41eda58eb511c84e7a83c9925 SHA1 bedbf550e3835d0c723ee3ea03db560fe6b45508 SHA256 666afce1ad16b273e77fe5f7c2dcba916b7876dc5c99337b832738ab60f1ce9e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAkr4YL4ACgkQNQqtfCuFneNVYACfcwVbU2IjC9zmZWyPIJTIJFQQ +hFoAn3C0nRLagDdZaHypMGI1Tq0S+qgE +=T9nI +-----END PGP SIGNATURE----- diff --git a/net-p2p/mldonkey/files/2.9.5-execstacks.patch b/net-p2p/mldonkey/files/2.9.5-execstacks.patch new file mode 100644 index 00000000..487bfbc3 --- /dev/null +++ b/net-p2p/mldonkey/files/2.9.5-execstacks.patch @@ -0,0 +1,44 @@ +diff -ur mldonkey-2.9.5.orig/src/utils/lib/md4_i386.s mldonkey-2.9.5/src/utils/lib/md4_i386.s +--- mldonkey-2.9.5.orig/src/utils/lib/md4_i386.s 2008-06-30 17:45:37.000000000 +0200 ++++ mldonkey-2.9.5/src/utils/lib/md4_i386.s 2008-06-30 17:48:10.000000000 +0200 +@@ -934,3 +934,7 @@ + + .data + ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif ++ +diff -ur mldonkey-2.9.5.orig/src/utils/lib/md4_i486.s mldonkey-2.9.5/src/utils/lib/md4_i486.s +--- mldonkey-2.9.5.orig/src/utils/lib/md4_i486.s 2008-06-30 17:45:37.000000000 +0200 ++++ mldonkey-2.9.5/src/utils/lib/md4_i486.s 2008-06-30 17:48:21.000000000 +0200 +@@ -1091,3 +1091,7 @@ + + .data + ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif ++ +diff -ur mldonkey-2.9.5.orig/src/utils/lib/md4_i586.s mldonkey-2.9.5/src/utils/lib/md4_i586.s +--- mldonkey-2.9.5.orig/src/utils/lib/md4_i586.s 2008-06-30 17:45:37.000000000 +0200 ++++ mldonkey-2.9.5/src/utils/lib/md4_i586.s 2008-06-30 17:48:27.000000000 +0200 +@@ -1047,3 +1047,7 @@ + + .data + ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif ++ +diff -ur mldonkey-2.9.5.orig/src/utils/lib/md4_i686.s mldonkey-2.9.5/src/utils/lib/md4_i686.s +--- mldonkey-2.9.5.orig/src/utils/lib/md4_i686.s 2008-06-30 17:45:37.000000000 +0200 ++++ mldonkey-2.9.5/src/utils/lib/md4_i686.s 2008-06-30 17:48:34.000000000 +0200 +@@ -1009,3 +1009,7 @@ + + .data + ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif ++ diff --git a/net-p2p/mldonkey/files/mldonkey.confd-2.8 b/net-p2p/mldonkey/files/mldonkey.confd-2.8 new file mode 100644 index 00000000..1d1f2822 --- /dev/null +++ b/net-p2p/mldonkey/files/mldonkey.confd-2.8 @@ -0,0 +1,39 @@ +# /etc/conf.d/mldonkey +# Config file for mldonkey control script + +# Change the following vars only if you know +# what you're doing, there's no checking for +# invalid data yet! + +# owner of mlnet process (don't change, must be existing) +USER="p2p" + +# mldonkey's working dir (must be existing) +MLDONKEY_DIR="/home/p2p/mldonkey" + +# logfile (/dev/null for nowhere) +LOG="/var/log/mldonkey.log" + +# set to true, if you have enabled logging to syslog in MLDonkey with +# set log_to_syslog true +USE_LOGGER=false + +# bandwidth control, values in kb/s +LOW_DOWN="6" +LOW_UP="2" +HIGH_DOWN="30" +HIGH_UP="10" + +# nice level, 0 less cpuspeed consumed +NICE="19" + +# mldonkey server ip, usually localhost +SERVER="localhost" + +# port for webinterface, usually 4080 +PORT="4080" + +# to enable password restricted access, +# uncomment and set BOTH following vars: +#USERNAME="admin" +#PASSWORD="" diff --git a/net-p2p/mldonkey/files/mldonkey.initd b/net-p2p/mldonkey/files/mldonkey.initd new file mode 100644 index 00000000..a757bf36 --- /dev/null +++ b/net-p2p/mldonkey/files/mldonkey.initd @@ -0,0 +1,141 @@ +#!/sbin/runscript + +opts="reload slow fast info" + +MLDONKEY_BINARY=${MLDONKEY_BINARY:-/usr/bin/mlnet} +MLDONKEY_TIMEOUT=${TIMEOUT:-10} + +depend() { + need localmount net + ${USE_LOGGER} && use logger +} + +start() { + if [ -z "${MLDONKEY_DIR}" ]; then + ewarn "mldonkey's start script has been changed. You should remove" + ewarn "BASEDIR and SUBDIR from /etc/conf.d/mldonkey and set MLDONKEY_DIR" + ewarn "to the correct value (you probably want" + ewarn "MLDONKEY_DIR=${BASEDIR}/${SUBDIR})" + MLDONKEY_DIR="${BASEDIR}/${SUBDIR}" + einfo "Using ${MLDONKEY_DIR} as working directory" + fi + + if [ ! -d "${MLDONKEY_DIR}" ]; then + ebegin "Directory ${MLDONKEY_DIR} not existing, trying to create..." + mkdir -p "${MLDONKEY_DIR}" && chown ${USER}:users "${MLDONKEY_DIR}" + eend $? || return 1 + fi + + ebegin "Starting ${SVCNAME}" + cd "${MLDONKEY_DIR}" + export MLDONKEY_DIR + start-stop-daemon --start --chuid "${USER}" --nice "${NICE}" \ + --exec "${MLDONKEY_BINARY}" --pidfile /var/run/"${SVCNAME}".pid \ + --background --make-pidfile + eend $? +} + +setup_uri() { + BASE="http://" + if [ -n "${USERNAME}" -a -n "${PASSWORD}" ]; then + BASE="${BASE}${USERNAME}:${PASSWORD}@" + fi + BASE="${BASE}${SERVER}:${PORT}" +} + +stop() { + ebegin "Stopping ${SVCNAME} -- please wait" + + setup_uri + wget --spider --timeout="${MLDONKEY_TIMEOUT}" "${BASE}"/submit?q=close_fds -q + wget --spider --timeout="${MLDONKEY_TIMEOUT}" "${BASE}"/submit?q=save -q + wget --spider --timeout="${MLDONKEY_TIMEOUT}" "${BASE}"/submit?q=kill -q + + # give it a chance to die: + local timeout=${MLDONKEY_TIMEOUT} + while [ $timeout -gt 0 ]; do + if ! start-stop-daemon --test --quiet --stop \ + --exec "${MLDONKEY_BINARY}" \ + --pidfile /var/run/"${SVCNAME}".pid ; then + eend 0 + return 0 + fi + sleep 1 + timeout=$((${timeout} - 1)) + done + + eend 1 "Failed to cleanly stop ${SVCNAME}" + ebegin "Forcing ${SVCNAME} to stop" + start-stop-daemon --stop --exec "${MLDONKEY_BINARY}" \ + --pidfile /var/run/"${SVCNAME}".pid + eend $? +} + +# This doesn't work for baselayout-2 +restart() { + svc_stop + sleep 5 + svc_start +} + +reload() { + if ! service_started "${SVCNAME}"; then + eerror "${SVCNAME} is not started" + return 1 + fi + + ebegin "Reloading ${SVCNAME}" + start-stop-daemon --stop --signal HUP --oknodo \ + --exec "${MLDONKEY_BINARY}" --pidfile /var/run/"${SVCNAME}".pid + eend $? +} + +slow() { + if ! service_started "${SVCNAME}"; then + eerror "${SVCNAME} is not started" + return 1 + fi + + ebegin "Reducing bandwidth to ${LOW_DOWN}k/${LOW_UP}k" + setup_uri + wget --spider --timeout="${MLDONKEY_TIMEOUT}" \ + "${BASE}/submit?q=set+max_hard_download_rate+${LOW_DOWN}" -q + wget --spider --timeout=${MLDONKEY_TIMEOUT} \ + "${BASE}/submit?q=set+max_hard_upload_rate+${LOW_UP}" -q + eend $? +} + +fast() { + if ! service_started "${SVCNAME}"; then + eerror "${SVCNAME} is not started" + return 1 + fi + + ebegin "Increasing bandwidth to ${HIGH_DOWN}k/${HIGH_UP}k" + + setup_uri + wget --spider --timeout="${MLDONKEY_TIMEOUT}" \ + "${BASE}/submit?q=set+max_hard_upload_rate+${HIGH_UP}" -q + wget --spider --timeout="${MLDONKEY_TIMEOUT}" \ + "${BASE}/submit?q=set+max_hard_download_rate+${HIGH_DOWN}" -q + eend $? +} + + +info() { + if ! service_started "${SVCNAME}"; then + eerror "${SVCNAME} is not started" + return 1 + fi + + setup_uri + local result=$(wget --timeout="${MLDONKEY_TIMEOUT}" \ + -O - "${BASE}"/submit?q=vo 2>/dev/null | \ + grep -C1 max_hard_upload | \ + grep value=\" | cut -d\" -f2) + if [ "${result}" = "${LOW_UP}" ]; then + einfo "${SVCNAME} runs slow" + else + einfo "${SVCNAME} runs fast" + fi +} diff --git a/net-p2p/mldonkey/metadata.xml b/net-p2p/mldonkey/metadata.xml new file mode 100644 index 00000000..ad6ba14e --- /dev/null +++ b/net-p2p/mldonkey/metadata.xml @@ -0,0 +1,12 @@ + + + + net-p2p + An ocaml client to access the eDonkey network. + + enable fasttrack support + enable gnutella and gnutella2 support + enable client build only + enable use of libmagic + + diff --git a/net-p2p/mldonkey/mldonkey-3.0.0.ebuild b/net-p2p/mldonkey/mldonkey-3.0.0.ebuild new file mode 100644 index 00000000..4d6d0bb2 --- /dev/null +++ b/net-p2p/mldonkey/mldonkey-3.0.0.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.0.ebuild,v 1.7 2009/03/18 22:26:32 ranger Exp $ + +EAPI="2" +WANT_AUTOCONF=2.5 + +inherit flag-o-matic eutils autotools toolchain-funcs + +IUSE="doc fasttrack gd gnutella gtk guionly magic +ocamlopt" + +DESCRIPTION="MLDonkey is a multi-network P2P application written in Ocaml, coming with its own Gtk GUI, web and telnet interface." +HOMEPAGE="http://mldonkey.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ~sparc x86 ~x86-fbsd" + +RDEPEND="dev-lang/perl + guionly? ( >=gnome-base/librsvg-2.4.0 + >=dev-ml/lablgtk-2.6 ) + gtk? ( >=gnome-base/librsvg-2.4.0 + >=dev-ml/lablgtk-2.6[svg] ) + gd? ( >=media-libs/gd-2.0.28[truetype] ) + magic? ( sys-apps/file )" + +DEPEND="${RDEPEND} + >=dev-lang/ocaml-3.10.2[ocamlopt?] + sys-apps/sed" + +MLUSER="p2p" + +pkg_setup() { + if use gtk; then + echo "" + einfo "If the compile with gui fails, and you have updated Ocaml" + einfo "recently, you may have forgotten that you need to run" + einfo "/usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh" + einfo "to learn which ebuilds you need to recompile" + einfo "each time you update Ocaml to a different version" + einfo "see the Ocaml ebuild for details" + echo "" + fi + + # dev-lang/ocaml creates its own objects but calls gcc for linking, which will + # results in relocations if gcc wants to create a PIE executable + if gcc-specs-pie ; then + append-ldflags -nopie + ewarn "Ocaml generates its own native asm, you're using a PIE compiler" + ewarn "We have appended -nopie to ocaml build options" + ewarn "because linking an executable with pie while the objects are not pic will not work" + fi +} + +src_prepare() { + cd "${S}"/config + eautoconf + cd "${S}" + use ocamlopt || sed -i -e "s/ocamlopt/idontwantocamlopt/g" "${S}/config/configure" || die "failed to disable ocamlopt" +} + +src_configure() { + # the dirs are not (yet) used, but it doesn't hurt to specify them anyway + + # onlygui Disable all nets support, build only chosen GUI + + if use gtk || use guionly; then + myconf="--enable-gui=newgui2" + else + myconf="--disable-gui" + fi + + if use guionly; then + myconf="${myconf} --disable-multinet --disable-donkey" + fi + + cd "${S}" + econf \ + --sysconfdir=/etc/mldonkey \ + --sharedstatedir=/var/mldonkey \ + --localstatedir=/var/mldonkey \ + --enable-checks \ + --disable-batch \ + $(use_enable fasttrack) \ + $(use_enable gnutella) \ + $(use_enable gnutella gnutella2) \ + $(use_enable gd) \ + $(use_enable magic) \ + --enable-ocamlver=3.10 \ + ${myconf} || die "econf failed" +} + +src_compile() { + export OCAMLRUNPARAM="l=256M" + emake || die "emake failed" + + if ! use guionly; then + emake utils || die "emake utils failed" + fi; +} + +src_install() { + local myext="" + use ocamlopt || myext=".byte" + use ocamlopt || export STRIP_MASK="*/bin/*" + if ! use guionly; then + for i in mlnet mld_hash get_range copysources make_torrent subconv; do + newbin $i$myext $i || die "failed to install $i" + done + + newconfd "${FILESDIR}/mldonkey.confd-2.8" mldonkey + fperms 600 /etc/conf.d/mldonkey + newinitd "${FILESDIR}/mldonkey.initd" mldonkey + fi + + if use gtk; then + for i in mlgui mlguistarter; do + newbin $i$myext $i || die "failed to install $i" + done + make_desktop_entry mlgui "MLDonkey GUI" mldonkey "Network;P2P" + newicon "${S}"/packages/rpm/mldonkey-icon-48.png ${PN}.png + fi + + if use doc ; then + cd "${S}"/distrib + dodoc ChangeLog *.txt + dohtml *.html + + insinto /usr/share/doc/${PF}/scripts + doins kill_mldonkey mldonkey_command mldonkey_previewer make_buginfo + + cd "${S}"/docs + dodoc *.txt *.tex *.pdf + dohtml *.html + + cd "${S}"/docs/developers + dodoc *.txt *.tex + + cd "${S}"/docs/images + insinto /usr/share/doc/${PF}/html/images + doins * + fi +} + +pkg_preinst() { + if ! use guionly; then + enewuser ${MLUSER} -1 -1 /home/p2p users + fi +} + +pkg_postinst() { + if ! use guionly; then + echo + einfo "If you want to start MLDonkey as a system service, use" + einfo "the /etc/init.d/mldonkey script. To control bandwidth, use" + einfo "the 'slow' and 'fast' arguments. Be sure to have a look at" + einfo "/etc/conf.d/mldonkey also." + echo + einfo "Attention: 2.6 has changed the inifiles structure, so downgrading" + einfo "will be problematic." + einfo "User settings (admin) are transferred to users.ini from " + einfo "downloads.ini" + einfo "Old ini files are automatically converted to the new format" + echo + else + echo + einfo "Simply run mlgui to start the chosen MLDonkey gui." + einfo "It puts its config files into ~/.mldonkey" + fi +} diff --git a/net-p2p/mldonkey/mldonkey-3.0.2.ebuild b/net-p2p/mldonkey/mldonkey-3.0.2.ebuild new file mode 100644 index 00000000..1d26ea62 --- /dev/null +++ b/net-p2p/mldonkey/mldonkey-3.0.2.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.1.ebuild,v 1.7 2010/01/13 15:02:32 ranger Exp $ + +EAPI="2" +WANT_AUTOCONF=2.5 + +inherit flag-o-matic eutils autotools toolchain-funcs + +IUSE="doc fasttrack gd gnutella gtk guionly magic +ocamlopt" + +DESCRIPTION="MLDonkey is a multi-network P2P application written in Ocaml, coming with its own Gtk GUI, web and telnet interface." +HOMEPAGE="http://mldonkey.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ~sparc x86 ~x86-fbsd" + +RDEPEND="dev-lang/perl + guionly? ( >=gnome-base/librsvg-2.4.0 + >=dev-ml/lablgtk-2.6 ) + gtk? ( >=gnome-base/librsvg-2.4.0 + >=dev-ml/lablgtk-2.6[svg] ) + gd? ( >=media-libs/gd-2.0.28[truetype] ) + magic? ( sys-apps/file )" + +DEPEND="${RDEPEND} + >=dev-lang/ocaml-3.10.2[ocamlopt?] + sys-apps/sed" + +MLUSER="p2p" + +pkg_setup() { + if use gtk; then + echo "" + einfo "If the compile with gui fails, and you have updated Ocaml" + einfo "recently, you may have forgotten that you need to run" + einfo "/usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh" + einfo "to learn which ebuilds you need to recompile" + einfo "each time you update Ocaml to a different version" + einfo "see the Ocaml ebuild for details" + echo "" + fi + + # dev-lang/ocaml creates its own objects but calls gcc for linking, which will + # results in relocations if gcc wants to create a PIE executable + if gcc-specs-pie ; then + append-ldflags -nopie + ewarn "Ocaml generates its own native asm, you're using a PIE compiler" + ewarn "We have appended -nopie to ocaml build options" + ewarn "because linking an executable with pie while the objects are not pic will not work" + fi +} + +src_prepare() { + cd "${S}"/config + eautoconf + cd "${S}" + use ocamlopt || sed -i -e "s/ocamlopt/idontwantocamlopt/g" "${S}/config/configure" || die "failed to disable ocamlopt" +} + +src_configure() { + # the dirs are not (yet) used, but it doesn't hurt to specify them anyway + + # onlygui Disable all nets support, build only chosen GUI + + if use gtk || use guionly; then + myconf="--enable-gui=newgui2" + else + myconf="--disable-gui" + fi + + if use guionly; then + myconf="${myconf} --disable-multinet --disable-donkey" + fi + + cd "${S}" + econf \ + --sysconfdir=/etc/mldonkey \ + --sharedstatedir=/var/mldonkey \ + --localstatedir=/var/mldonkey \ + --enable-checks \ + --disable-batch \ + $(use_enable fasttrack) \ + $(use_enable gnutella) \ + $(use_enable gnutella gnutella2) \ + $(use_enable gd) \ + $(use_enable magic) \ + --enable-ocamlver=3.10 \ + ${myconf} || die "econf failed" +} + +src_compile() { + export OCAMLRUNPARAM="l=256M" + emake || die "emake failed" + + if ! use guionly; then + emake utils || die "emake utils failed" + fi; +} + +src_install() { + local myext="" + use ocamlopt || myext=".byte" + use ocamlopt || export STRIP_MASK="*/bin/*" + if ! use guionly; then + for i in mlnet mld_hash get_range copysources make_torrent subconv; do + newbin $i$myext $i || die "failed to install $i" + done + + newconfd "${FILESDIR}/mldonkey.confd-2.8" mldonkey + fperms 600 /etc/conf.d/mldonkey + newinitd "${FILESDIR}/mldonkey.initd" mldonkey + fi + + if use gtk; then + for i in mlgui mlguistarter; do + newbin $i$myext $i || die "failed to install $i" + done + make_desktop_entry mlgui "MLDonkey GUI" mldonkey "Network;P2P" + newicon "${S}"/packages/rpm/mldonkey-icon-48.png ${PN}.png + fi + + if use doc ; then + cd "${S}"/distrib + dodoc ChangeLog *.txt + dohtml *.html + + insinto /usr/share/doc/${PF}/scripts + doins kill_mldonkey mldonkey_command mldonkey_previewer make_buginfo + + cd "${S}"/docs + dodoc *.txt *.tex *.pdf + dohtml *.html + + cd "${S}"/docs/developers + dodoc *.txt *.tex + + cd "${S}"/docs/images + insinto /usr/share/doc/${PF}/html/images + doins * + fi +} + +pkg_preinst() { + if ! use guionly; then + enewuser ${MLUSER} -1 -1 /home/p2p users + fi +} + +pkg_postinst() { + if ! use guionly; then + echo + einfo "If you want to start MLDonkey as a system service, use" + einfo "the /etc/init.d/mldonkey script. To control bandwidth, use" + einfo "the 'slow' and 'fast' arguments. Be sure to have a look at" + einfo "/etc/conf.d/mldonkey also." + echo + einfo "Attention: 2.6 has changed the inifiles structure, so downgrading" + einfo "will be problematic." + einfo "User settings (admin) are transferred to users.ini from " + einfo "downloads.ini" + einfo "Old ini files are automatically converted to the new format" + echo + else + echo + einfo "Simply run mlgui to start the chosen MLDonkey gui." + einfo "It puts its config files into ~/.mldonkey" + fi +}