diff options
-rw-r--r-- | net-p2p/mldonkey/ChangeLog | 7 | ||||
-rw-r--r-- | net-p2p/mldonkey/Manifest | 10 | ||||
-rw-r--r-- | net-p2p/mldonkey/files/digest-mldonkey-2.5.28-r4 | 2 | ||||
-rw-r--r-- | net-p2p/mldonkey/mldonkey-2.5.28-r4.ebuild | 101 |
4 files changed, 115 insertions, 5 deletions
diff --git a/net-p2p/mldonkey/ChangeLog b/net-p2p/mldonkey/ChangeLog index 72307b8b4792..5e55e3c4ad33 100644 --- a/net-p2p/mldonkey/ChangeLog +++ b/net-p2p/mldonkey/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/mldonkey # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.74 2004/10/18 19:20:39 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.75 2004/10/25 04:11:30 squinky86 Exp $ + +*mldonkey-2.5.28-r4 (24 Oct 2004) + + 24 Oct 2004; Jon Hood <squinky86@gentoo.org> +mldonkey-2.5.28-r4.ebuild: + Version bump. *mldonkey-2.5.28-r3 (18 Oct 2004) diff --git a/net-p2p/mldonkey/Manifest b/net-p2p/mldonkey/Manifest index 487993a7491e..a2dd3afa63ce 100644 --- a/net-p2p/mldonkey/Manifest +++ b/net-p2p/mldonkey/Manifest @@ -7,7 +7,8 @@ MD5 8d3ae8cd5f6b471de19912845a21beea mldonkey-2.5.27-r1.ebuild 2756 MD5 56e7da52446479881edfc5eecde9b926 mldonkey-2.5.21-r2.ebuild 2692 MD5 2b98f66763bd8905a795eea801eb9027 mldonkey-2.5.16-r8.ebuild 2657 MD5 1e4ead4905578e6c3e874dd3bd65a953 mldonkey-2.5.28.ebuild 2757 -MD5 995f9d442503323b52c9f592b8ec0dd0 ChangeLog 12427 +MD5 0323f0092443c2a79f6cfd060a186d2b mldonkey-2.5.28-r4.ebuild 2801 +MD5 28d7d7630219af23ea3daf225cd46e6e ChangeLog 12554 MD5 74e4ceef69a9fc3a7a76299e5f4d2ed8 metadata.xml 307 MD5 476ec69e79e7c93a7bdaa6cb049c0857 files/mldonkey.confd 836 MD5 dd6c047ee9ad00cddbc438e8ea30641a files/mldonkey.initd 2858 @@ -17,6 +18,7 @@ MD5 8a6a83aef1530834a8fa4e64a1b0191b files/digest-mldonkey-2.5.16-r8 129 MD5 f145ba120c09f53b0032ea8b3f930128 files/digest-mldonkey-2.5.21-r2 126 MD5 6df804eab9a1d919e43d09f42c700b40 files/digest-mldonkey-2.5.27-r1 129 MD5 40c94b8c0e62bf72f3967cabd710d852 files/digest-mldonkey-2.5.28-r3 129 +MD5 4083205e52db56c9d64c4a67db61cbf2 files/digest-mldonkey-2.5.28-r4 129 MD5 a929dcdb98bcc52d06066afb45960ea9 files/2.5.28-config.patch 586 MD5 be0c71929c461b50601e8715706a4a16 files/mldonkey-2.5.21-configure.patch 540 MD5 ac93ed074d62909b2a496045f0740127 files/mldonkey 336 @@ -24,7 +26,7 @@ MD5 be0c71929c461b50601e8715706a4a16 files/mldonkey-2.5.16-configure.patch 540 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBdBeOcAgAdbxYsnERAsyfAJ42FRJRGwFgu63K7/uGvaTTjyfRFwCfU1pT -3XRBM1PXgQrqsuDHbXZcZBU= -=0FX8 +iD8DBQFBfH0DcAgAdbxYsnERAsbaAKChLITNaLH1AsjLEunPVw6aKXh43ACeM9s5 +e7X9VDxMxMthq+PCBWlnwY4= +=7Uab -----END PGP SIGNATURE----- diff --git a/net-p2p/mldonkey/files/digest-mldonkey-2.5.28-r4 b/net-p2p/mldonkey/files/digest-mldonkey-2.5.28-r4 new file mode 100644 index 000000000000..a428fd1e7a6c --- /dev/null +++ b/net-p2p/mldonkey/files/digest-mldonkey-2.5.28-r4 @@ -0,0 +1,2 @@ +MD5 5b5128ec570ec065992db25d9a434285 mldonkey-2.5.28.tar.bz2 2760339 +MD5 28b3977cff499f8fc9f9b5713ebbf9c8 patch_pack28h.gz 57739 diff --git a/net-p2p/mldonkey/mldonkey-2.5.28-r4.ebuild b/net-p2p/mldonkey/mldonkey-2.5.28-r4.ebuild new file mode 100644 index 000000000000..51bfc17ff313 --- /dev/null +++ b/net-p2p/mldonkey/mldonkey-2.5.28-r4.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.5.28-r4.ebuild,v 1.1 2004/10/25 04:11:30 squinky86 Exp $ + +inherit eutils + +IUSE="gtk gtk2" + +PATCHPACK="patch_pack28h.gz" + +DESCRIPTION="mldonkey is a new client to access the eDonkey network. It is written in Objective-Caml, and comes with its own GTK GUI, an HTTP interface and a telnet interface." +HOMEPAGE="http://www.nongnu.org/mldonkey/" +SRC_URI="http://download.berlios.de/pub/mldonkey/spiralvoice/cvs/${P}.tar.bz2 + http://download.berlios.de/pub/mldonkey/spiralvoice/patchpacks/${PATCHPACK}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~alpha ~ia64 ~amd64" + +RDEPEND=">=dev-lang/ocaml-3.08 + dev-lang/perl + net-misc/wget + gtk? ( !gtk2? ( =dev-ml/lablgtk-1.2.7* ) ) + gtk? ( gtk2? ( >=dev-ml/lablgtk-2.4 ) )" + +DEPEND="${RDEPEND} + >=sys-devel/autoconf-2.58" + +MLUSER="p2p" + +src_unpack() { + unpack ${P}.tar.bz2 + cd ${S} + epatch ${DISTDIR}/${PATCHPACK} + use gtk || epatch ${FILESDIR}/${PV}-config.patch + export WANT_AUTOCONF=2.5 + cd config; autoconf; cd .. +} + +src_compile() { + use gtk || export GTK_CONFIG="no" + + # the dirs are not (yet) used, but it doesn't hurt to specify them anyway + econf \ + --sysconfdir=/etc/mldonkey \ + --sharedstatedir=/var/mldonkey \ + --localstatedir=/var/mldonkey \ + --enable-batch \ + --enable-checks \ + --enable-pthread \ + `use_enable gtk2` || die + export OCAMLRUNPARAM="l=256M" + emake || die +} + +src_install() { + dobin mlnet + use gtk && dobin mlchat mlgui mlguistarter mlim mlnet+gui + dobin ${FILESDIR}/mldonkey + + dodoc ChangeLog Copying.txt Developers.txt Install.txt + cd ${S}/distrib + dodoc ChangeLog Authors.txt Bugs.txt Copying.txt Developers.txt Install.txt Readme.txt Todo.txt ed2k_links.txt + dohtml FAQ.html + + insinto /usr/share/doc/${PF}/scripts + doins kill_mldonkey mldonkey_command mldonkey_previewer + + insinto /usr/share/doc/${PF}/distrib + doins directconnect.ini + + 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 * + + insinto /etc/conf.d; newins ${FILESDIR}/mldonkey.confd mldonkey + exeinto /etc/init.d; newexe ${FILESDIR}/mldonkey.initd mldonkey +} + +pkg_preinst() { + enewuser ${MLUSER} -1 /bin/bash /home/p2p users +} + +pkg_postinst() { + echo + einfo "Running \`mldonkey' will start the server inside ~/.mldonkey/" + einfo "If you want to start mldonkey in a particular working directory," + einfo "use the \`mlnet' command." + 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 +} |