RMD160 2ef0cbc5be4de95893b43da0281bd52f5aabb314 files/mldonkey.png 6835
SHA256 c16ecc040b5ea82ed06b04a76c5d7304d7aca2f0854176aa8d78aa90831d8798 files/mldonkey.png 6835
DIST mldonkey-2.5.16.tar.gz 3214587
-DIST mldonkey-2.5.21.tar.gz 3234137
DIST mldonkey-2.6.4.tar.bz2 2669228
-DIST mldonkey-2.6.5.tar.bz2 2756288
-DIST mldonkey-2.6.7.tar.bz2 2757906
DIST mldonkey-2.7.3.tar.bz2 2807272
-DIST mldonkey-2.7.5.tar.bz2 2815190 RMD160 9e3363b16a8dfe680cbacb0be09a2fff7d8bde52 SHA1 60928b1eafc377457d3f99a436ba5b9e92f1ac65 SHA256 dd3c521664cfbf67cb8c22aa6635c463333103e51c8152e0b191b92d7ebb38de
DIST mldonkey-2.7.6.tar.bz2 2835134 RMD160 8989e86e26b6b4ed4fc8f783093c6e187b6d5051 SHA1 330c5b9c56f5fc09f2ca8a66090d96148253a2de SHA256 ec5e5723cc54c4ac3ef93e0b78ed9da58c4e75ca09fa4b2de4c9a58740085fa8
DIST mldonkey_protocol_handler-1.7.xpi 5502
DIST patch_pack16u.gz 52798
-DIST patch_pack21g 182549
EBUILD mldonkey-2.5.16-r9.ebuild 2660 RMD160 e53603314d4a4f824f3b7abed58e00221ecfd94b SHA1 91bd30d8a3457db154317de039e4e5e7d7f226d3 SHA256 c861ed600b3ddf704146651ba4231defb0f0633732e69cf48ddf335dcf7d1fe9
MD5 9171095222ebc67e9b646393ee1ba616 mldonkey-2.5.16-r9.ebuild 2660
RMD160 e53603314d4a4f824f3b7abed58e00221ecfd94b mldonkey-2.5.16-r9.ebuild 2660
SHA256 c861ed600b3ddf704146651ba4231defb0f0633732e69cf48ddf335dcf7d1fe9 mldonkey-2.5.16-r9.ebuild 2660
-EBUILD mldonkey-2.5.21-r2.ebuild 2690 RMD160 62fd03b4df209339454421323269daa3da3dc601 SHA1 536125ba6b8f16f4079e6752976efc44abb6b1fc SHA256 1af1e64a9ff5997f7d55f9793f19511baed89c2cb52b5e6a827a8200dafd51e1
-MD5 5483b629e50637a677dbbf4f93ce85f3 mldonkey-2.5.21-r2.ebuild 2690
-RMD160 62fd03b4df209339454421323269daa3da3dc601 mldonkey-2.5.21-r2.ebuild 2690
-SHA256 1af1e64a9ff5997f7d55f9793f19511baed89c2cb52b5e6a827a8200dafd51e1 mldonkey-2.5.21-r2.ebuild 2690
EBUILD mldonkey-2.6.4-r2.ebuild 4979 RMD160 ca04f2bf99c531a0bea16c920d7ee5e1203b6c49 SHA1 f018cf55642387441e7085924626eea7631bed8e SHA256 3ed7bd55a56a1036ac3825648453def8b460a4d7d5f1f576604629bfdd79514b
MD5 495438c7dda651104095d4d53e6662c6 mldonkey-2.6.4-r2.ebuild 4979
RMD160 ca04f2bf99c531a0bea16c920d7ee5e1203b6c49 mldonkey-2.6.4-r2.ebuild 4979
SHA256 3ed7bd55a56a1036ac3825648453def8b460a4d7d5f1f576604629bfdd79514b mldonkey-2.6.4-r2.ebuild 4979
-EBUILD mldonkey-2.6.5.ebuild 4981 RMD160 faeedecb7d7e304fe33b7e88f4eaa781ac91a5ab SHA1 66ac1232546ceb15ca17e3be41696f38d1e3e31b SHA256 2e4496a5efb52a96629408825aedec632d553db469dd262036d617e4ffad64bf
-MD5 1decce2ae84d294abf540fa4374a9cc6 mldonkey-2.6.5.ebuild 4981
-RMD160 faeedecb7d7e304fe33b7e88f4eaa781ac91a5ab mldonkey-2.6.5.ebuild 4981
-SHA256 2e4496a5efb52a96629408825aedec632d553db469dd262036d617e4ffad64bf mldonkey-2.6.5.ebuild 4981
-EBUILD mldonkey-2.6.7.ebuild 5031 RMD160 cc0ae3da0f7daa61d852e0b2192605965d48170b SHA1 5fc95d503cda7207d0b5b8cc5ceac487d00a23c7 SHA256 7e6b6109f05450a5e4d343988687f80410e73745b5afb001378a9496c7896337
-MD5 3ec25aa2ec7e7a1de4ff3dbe3f1b4312 mldonkey-2.6.7.ebuild 5031
-RMD160 cc0ae3da0f7daa61d852e0b2192605965d48170b mldonkey-2.6.7.ebuild 5031
-SHA256 7e6b6109f05450a5e4d343988687f80410e73745b5afb001378a9496c7896337 mldonkey-2.6.7.ebuild 5031
EBUILD mldonkey-2.7.3.ebuild 5030 RMD160 948720d0b9d30e99717b4000dd28a2e71e96b312 SHA1 6e68cb89bc1f23720c2d42506d3bbc0ba79d09ce SHA256 6561ef5f4d7eaf158319f90c154b5c91b23358c98dc5f0044fdfe4ad22d7fa2e
MD5 d49149ecf3e46e7abb3fac63f9c4cabf mldonkey-2.7.3.ebuild 5030
RMD160 948720d0b9d30e99717b4000dd28a2e71e96b312 mldonkey-2.7.3.ebuild 5030
SHA256 6561ef5f4d7eaf158319f90c154b5c91b23358c98dc5f0044fdfe4ad22d7fa2e mldonkey-2.7.3.ebuild 5030
-EBUILD mldonkey-2.7.5.ebuild 4609 RMD160 99223d2cc75aa053b6cccea0c523b3f3340c27b9 SHA1 afad858488ad53d1a8963328c0d5888c5e2667d7 SHA256 73c826ec21a997f1e7f10bb2817373025856055361b8ecf63f8a41e56757ed69
-MD5 2cb1d35607da0c0576c242890ce80b59 mldonkey-2.7.5.ebuild 4609
-RMD160 99223d2cc75aa053b6cccea0c523b3f3340c27b9 mldonkey-2.7.5.ebuild 4609
-SHA256 73c826ec21a997f1e7f10bb2817373025856055361b8ecf63f8a41e56757ed69 mldonkey-2.7.5.ebuild 4609
EBUILD mldonkey-2.7.6.ebuild 4473 RMD160 df7bd05868c5b54d6ed101c2d164bf55ab208cca SHA1 90d41b69ce4804ffbe6e130f8686dd73afba18af SHA256 1a4d546b722d1da0a3e36ece3b48856703986df99cd0d4f0d9007af7e983006b
MD5 f6edaeaadf034a3ca286b562e638e3bb mldonkey-2.7.6.ebuild 4473
RMD160 df7bd05868c5b54d6ed101c2d164bf55ab208cca mldonkey-2.7.6.ebuild 4473
SHA256 1a4d546b722d1da0a3e36ece3b48856703986df99cd0d4f0d9007af7e983006b mldonkey-2.7.6.ebuild 4473
-MISC ChangeLog 20111 RMD160 d331ea4233e944693882e22af632a0baefb5440f SHA1 b45dc1b9dc0595373cc88a7b3489506e4785f8e9 SHA256 c0054c18d9572b7434ae1acf3c425111a3ead48f23d55a2eca6c7405cabde96c
-MD5 3bd0d8c3f858145cc5e884799922142a ChangeLog 20111
-RMD160 d331ea4233e944693882e22af632a0baefb5440f ChangeLog 20111
-SHA256 c0054c18d9572b7434ae1acf3c425111a3ead48f23d55a2eca6c7405cabde96c ChangeLog 20111
+MISC ChangeLog 20288 RMD160 7183406baeeec950ebc02293400a98c14105b4c4 SHA1 e6019feebe5161203545133ab74f6cbbf1cf7de2 SHA256 72d9150d849d43e8d063ef9a9e05fd3cf02b48bf5a2d6724462f6219700a7810
+MD5 01b9675a5a1da4c9f399d40336798f33 ChangeLog 20288
+RMD160 7183406baeeec950ebc02293400a98c14105b4c4 ChangeLog 20288
+SHA256 72d9150d849d43e8d063ef9a9e05fd3cf02b48bf5a2d6724462f6219700a7810 ChangeLog 20288
MISC metadata.xml 242 RMD160 d0edc89382298dee00d3571b62a5f457ef268751 SHA1 25511186cac54f1353a3347f72da7f5d05b9da57 SHA256 b354d71d5efbed0ff97e27564894438b42a8bd8b577007cadc6972dd37d6b5f8
MD5 ee159929f3e247f937fe88bb1919d8bd metadata.xml 242
RMD160 d0edc89382298dee00d3571b62a5f457ef268751 metadata.xml 242
MD5 b1c7f6fe232921bb9516c1007f34efd4 files/digest-mldonkey-2.5.16-r9 128
RMD160 ac6c8f66255f3d1825b7d2da0a767c08447d282e files/digest-mldonkey-2.5.16-r9 128
SHA256 9211cd65f17bd15401012703fc7df4a928d8e74b088bc69ffd1b7723c98fa3b8 files/digest-mldonkey-2.5.16-r9 128
-MD5 f145ba120c09f53b0032ea8b3f930128 files/digest-mldonkey-2.5.21-r2 126
-RMD160 be097bb487eef1666027890606f82dd5345723fd files/digest-mldonkey-2.5.21-r2 126
-SHA256 1977bfa101c7b2ba848ca333333c8698de4f284d95ffd24102de508718b3eb9f files/digest-mldonkey-2.5.21-r2 126
MD5 180b211069bda96a04457a3f59535809 files/digest-mldonkey-2.6.4-r2 144
RMD160 09ce69dc7211d8d32b8249c3a1b501da0e4caeb1 files/digest-mldonkey-2.6.4-r2 144
SHA256 2ffac1e4209c3aed6e702a99bd3f3e0bda2f0a126bfe86718aa0ebd971eb1c14 files/digest-mldonkey-2.6.4-r2 144
-MD5 de7eb7ad6d5a3df848fb780ee46b8899 files/digest-mldonkey-2.6.5 144
-RMD160 04414433746f6509b40d4332f97bcbb2bf1c62b8 files/digest-mldonkey-2.6.5 144
-SHA256 d9754e1ce93963352c0d2d133e186f0b73589df07f276a300c15f166e69ae06e files/digest-mldonkey-2.6.5 144
-MD5 dd76a14a3b48bbd16dd77fffbc31a855 files/digest-mldonkey-2.6.7 144
-RMD160 b83e0f8c883b9b8d05a45ff65776972cce61b815 files/digest-mldonkey-2.6.7 144
-SHA256 fcc7f3f3a08e1e7445218814483361b937af67d7c906b54ae8ba4c729d8c5436 files/digest-mldonkey-2.6.7 144
MD5 1beda07a92ca951192a55a1331894510 files/digest-mldonkey-2.7.3 144
RMD160 b49ae2e0c1533c6a7829f65a489531ee22a4078d files/digest-mldonkey-2.7.3 144
SHA256 b770761dd8501fd3bbb6f4f12aa79937ad0d9df9137a9e73d7381ca41f353420 files/digest-mldonkey-2.7.3 144
-MD5 2c8036433d33042935ff4574eb6058d8 files/digest-mldonkey-2.7.5 250
-RMD160 38da222110d9018d6d2aa5a0c388c6374953b2ce files/digest-mldonkey-2.7.5 250
-SHA256 15613f322ead9da5d158c30cb5669776bc1c14e57c78e1cd8b355380a27e43b0 files/digest-mldonkey-2.7.5 250
MD5 c916f61ac13be36cb0b88e7891ac537d files/digest-mldonkey-2.7.6 250
RMD160 a0114e8011e4a9fb2ebaf10f8e85561d68dcd9f1 files/digest-mldonkey-2.7.6 250
SHA256 c8a5f39b5b0615d37786156a034015a57a0a79531ab30b57054ed1ab640055a0 files/digest-mldonkey-2.7.6 250
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
-iD8DBQFEie+vub4+zaPCR/oRAs/+AJ99BBAIxTA2QNKvj6d0AGL7F10CwwCguIup
-6sxFvk13Iu1a5qexbVrS6UM=
-=z1lT
+iD8DBQFEifFrub4+zaPCR/oRAkZdAJ9quu/f5cn+ZafGdGi2+R/4Zn/3rQCgqc+V
+ov5Z/ogX+645jFytdTOG2Y0=
+=JSwd
-----END PGP SIGNATURE-----
+++ /dev/null
-MD5 8a96738990f8ffc36eeb2c1f2f655826 mldonkey-2.5.21.tar.gz 3234137
-MD5 05df9cd31c21946609118daa56af1e8c patch_pack21g 182549
+++ /dev/null
-MD5 7f1d1809ca3147ad3eea5aec374dd42c mldonkey-2.6.5.tar.bz2 2756288
-MD5 20be3ad138fb9f6bec908591db14585e mldonkey_protocol_handler-1.7.xpi 5502
+++ /dev/null
-MD5 20e7e854092d553601149f60b73eb47e mldonkey-2.6.7.tar.bz2 2757906
-MD5 20be3ad138fb9f6bec908591db14585e mldonkey_protocol_handler-1.7.xpi 5502
+++ /dev/null
-MD5 3e6bcac8c49dd00a563199130aeaf185 mldonkey-2.7.5.tar.bz2 2815190
-RMD160 9e3363b16a8dfe680cbacb0be09a2fff7d8bde52 mldonkey-2.7.5.tar.bz2 2815190
-SHA256 dd3c521664cfbf67cb8c22aa6635c463333103e51c8152e0b191b92d7ebb38de mldonkey-2.7.5.tar.bz2 2815190
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.5.21-r2.ebuild,v 1.10 2006/04/27 19:24:27 mattam Exp $
-
-inherit eutils
-
-IUSE="gtk"
-
-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://savannah.nongnu.org/download/${PN}/${P}.tar.gz
- http://ftp.berlios.de/pub/mldonkey/spiralvoice/patchpacks/patch_pack21g"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~alpha ~ia64 ~hppa"
-
-RDEPEND="gtk? ( =dev-ml/lablgtk-1.2.6* )
- >=dev-lang/ocaml-3.07
- dev-lang/perl
- net-misc/wget"
-
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.58"
-
-MLUSER="p2p"
-
-src_unpack() {
- unpack ${P}.tar.gz
-
- cd ${S}
- #Don't change this, unless you know what you are doing
- patch -p0 < ${DISTDIR}/patch_pack21g || die
- 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 || 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
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.6.5.ebuild,v 1.2 2006/04/27 19:24:27 mattam Exp $
-
-inherit eutils
-
-IUSE="gtk guionly batch threads gd doc mozilla"
-
-MOZVER="1.7"
-
-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://savannah.nongnu.org/download/mldonkey/${P}.tar.bz2
- mozilla? ( http://www.informatik.uni-oldenburg.de/~dyna/${PN}/${MOZVER}/mldonkey_protocol_handler-${MOZVER}.xpi )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
-
-RDEPEND="dev-lang/perl
- gtk? ( >=gnome-base/librsvg-2.4.0
- >=dev-ml/lablgtk-2.4 )
- gd? ( >=media-libs/gd-2.0.28 )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.58
- !batch? ( >=dev-lang/ocaml-3.08.3 )
- batch? ( net-misc/wget )"
-
-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
-
- if use guionly && ! use gtk ; then
- echo
- eerror "You have guionly enabled, but gtk flag is disabled"
- die
- fi
-
- if use gtk && !(built_with_use dev-ml/lablgtk svg); then
- eerror "dev-ml/lablgtk must be built with the 'svg' USE flag to use the gtk gui"
- die "Recompile dev-ml/lablgtk with enabled svg USE flag"
- fi
-
- if use gd && !(built_with_use media-libs/gd truetype); then
- eerror "media-libs/gd must be built with the 'truetype' to compile"
- eerror "mldonkey with gd support"
- die "Recompile media-libs/gd with enabled truetype USE flag"
- fi
-}
-
-src_compile() {
- export WANT_AUTOCONF=2.5
- cd ${S}/config
- autoconf
-
- # the dirs are not (yet) used, but it doesn't hurt to specify them anyway
-
- # batch Automatically download and build OCAML-3.08.3 for compiling itself
- # threads Enables multiple threads (TURN IT ON YES WILL YA?)
- # onlygui Disable all nets support, build only chosen GUI
-
- if use gtk; 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 \
- `use_enable threads pthread` \
- `use_enable batch batch` \
- `use_enable gd` \
- ${myconf} || die "Configure Failed!"
-
- export OCAMLRUNPARAM="l=256M"
- emake || die "Make Failed"
-
- if ! use guionly; then
- emake utils || die "make utils failed"
- fi;
-}
-
-src_install() {
- if ! use guionly; then
- dobin mlnet mld_hash get_range copysources make_torrent subconv
- dobin ${FILESDIR}/mldonkey
-
- insinto /etc/conf.d; newins ${FILESDIR}/mldonkey.confd mldonkey
- exeinto /etc/init.d; newexe ${FILESDIR}/mldonkey.initd mldonkey
- fi
-
- if use gtk; then
- dobin mlgui mlguistarter mlchat mlim mlprogress
- domenu ${FILESDIR}/${PN}-gui.desktop
- doicon ${FILESDIR}/${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
-
- if use mozilla; then
- insinto /usr/share/${PN}
- doins ${DISTDIR}/mldonkey_protocol_handler-${MOZVER}.xpi
- fi;
-}
-
-pkg_preinst() {
- if ! use guionly; then
- enewuser ${MLUSER} -1 /bin/bash /home/p2p users
- fi
-}
-
-pkg_postinst() {
- if ! use guionly; then
- 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
- 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 modonkey gui."
- einfo "It puts its config files into ~/.mldonkey"
- fi
-
- if use mozilla; then
- echo
- einfo "xpi handler was placed in /usr/share/${PN} directory."
- einfo "Open it in your favorite web browser (mozilla / firefox)"
- einfo "to install extension"
- echo
- fi;
-}
-
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.6.7.ebuild,v 1.3 2006/04/27 19:24:27 mattam Exp $
-
-inherit flag-o-matic eutils
-
-IUSE="gtk guionly batch threads gd doc mozilla"
-
-MOZVER="1.7"
-
-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://savannah.nongnu.org/download/mldonkey/${P}.tar.bz2
- mozilla? ( http://www.informatik.uni-oldenburg.de/~dyna/${PN}/${MOZVER}/mldonkey_protocol_handler-${MOZVER}.xpi )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
-
-RDEPEND="dev-lang/perl
- gtk? ( >=gnome-base/librsvg-2.4.0
- >=dev-ml/lablgtk-2.4 )
- gd? ( >=media-libs/gd-2.0.28 )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.58
- !batch? ( >=dev-lang/ocaml-3.08.3 )
- batch? ( net-misc/wget )"
-
-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
-
- if use guionly && ! use gtk ; then
- echo
- eerror "You have guionly enabled, but gtk flag is disabled"
- die
- fi
-
- if use gtk && !(built_with_use dev-ml/lablgtk svg); then
- eerror "dev-ml/lablgtk must be built with the 'svg' USE flag to use the gtk gui"
- die "Recompile dev-ml/lablgtk with enabled svg USE flag"
- fi
-
- if use gd && !(built_with_use media-libs/gd truetype); then
- eerror "media-libs/gd must be built with the 'truetype' to compile"
- eerror "mldonkey with gd support"
- die "Recompile media-libs/gd with enabled truetype USE flag"
- fi
-
- filter-flags -fomit-frame-pointer
-
-}
-
-src_compile() {
- export WANT_AUTOCONF=2.5
- cd ${S}/config
- autoconf
-
- # the dirs are not (yet) used, but it doesn't hurt to specify them anyway
-
- # batch Automatically download and build OCAML-3.08.3 for compiling itself
- # threads Enables multiple threads (TURN IT ON YES WILL YA?)
- # onlygui Disable all nets support, build only chosen GUI
-
- if use gtk; 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 \
- `use_enable threads pthread` \
- `use_enable batch batch` \
- `use_enable gd` \
- ${myconf} || die "Configure Failed!"
-
- export OCAMLRUNPARAM="l=256M"
- emake || die "Make Failed"
-
- if ! use guionly; then
- emake utils || die "make utils failed"
- fi;
-}
-
-src_install() {
- if ! use guionly; then
- dobin mlnet mld_hash get_range copysources make_torrent subconv
- dobin ${FILESDIR}/mldonkey
-
- insinto /etc/conf.d; newins ${FILESDIR}/mldonkey.confd mldonkey
- exeinto /etc/init.d; newexe ${FILESDIR}/mldonkey.initd mldonkey
- fi
-
- if use gtk; then
- dobin mlgui mlguistarter mlchat mlim mlprogress
- domenu ${FILESDIR}/${PN}-gui.desktop
- doicon ${FILESDIR}/${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
-
- if use mozilla; then
- insinto /usr/share/${PN}
- doins ${DISTDIR}/mldonkey_protocol_handler-${MOZVER}.xpi
- fi;
-}
-
-pkg_preinst() {
- if ! use guionly; then
- enewuser ${MLUSER} -1 /bin/bash /home/p2p users
- fi
-}
-
-pkg_postinst() {
- if ! use guionly; then
- 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
- 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 modonkey gui."
- einfo "It puts its config files into ~/.mldonkey"
- fi
-
- if use mozilla; then
- echo
- einfo "xpi handler was placed in /usr/share/${PN} directory."
- einfo "Open it in your favorite web browser (mozilla / firefox)"
- einfo "to install extension"
- echo
- fi;
-}
-
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.7.5.ebuild,v 1.1 2006/05/18 17:49:44 squinky86 Exp $
-
-inherit eutils flag-o-matic
-
-IUSE="gtk guionly batch threads gd doc"
-
-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="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~x86"
-RESTRICT="nomirror"
-
-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 )
- gd? ( >=media-libs/gd-2.0.28 )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.58
- !batch? ( >=dev-lang/ocaml-3.08.3 )
- batch? ( net-misc/wget )"
-
-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
-
- if use gtk && !(built_with_use dev-ml/lablgtk svg); then
- eerror "dev-ml/lablgtk must be built with the 'svg' USE flag to use the gtk gui"
- die "Recompile dev-ml/lablgtk with enabled svg USE flag"
- fi
-
- if use gd && !(built_with_use media-libs/gd truetype); then
- eerror "media-libs/gd must be built with 'truetype' to compile"
- eerror "mldonkey with gd support"
- die "Recompile media-libs/gd with enabled truetype USE flag"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/dp500.patch
-
- export WANT_AUTOCONF=2.5
- cd ${S}/config
- autoconf
- cd ${S}
-}
-
-src_compile() {
- append-ldflags -Wl,-z,noexecstack
-
- # the dirs are not (yet) used, but it doesn't hurt to specify them anyway
-
- # batch Automatically download and build OCAML-3.08.3 for compiling itself
- # threads Enables multiple threads (TURN IT ON YES WILL YA?)
- # 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 \
- `use_enable threads pthread` \
- `use_enable batch` \
- `use_enable gd` \
- ${myconf} || die "Configure Failed!"
-
- export OCAMLRUNPARAM="l=256M"
- emake || die "Make Failed"
-
- if ! use guionly; then
- emake utils || die "make utils failed"
- fi;
-}
-
-src_install() {
- if ! use guionly; then
- dobin mlnet mld_hash get_range copysources make_torrent subconv
- dobin ${FILESDIR}/mldonkey
-
- insinto /etc/conf.d; newins ${FILESDIR}/mldonkey.confd mldonkey
- exeinto /etc/init.d; newexe ${FILESDIR}/mldonkey.initd mldonkey
- fi
-
- if use gtk; then
- dobin mlgui mlguistarter mlchat mlim
- domenu ${FILESDIR}/${PN}-gui.desktop
- doicon ${FILESDIR}/${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 /bin/bash /home/p2p users
- fi
-}
-
-pkg_postinst() {
- if ! use guionly; then
- 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
- 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 modonkey gui."
- einfo "It puts its config files into ~/.mldonkey"
- fi
-}