summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-10-22 20:08:39 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-10-22 20:08:39 +0000
commit5c58ef36bfe5109114f68231205b414dba774f3b (patch)
tree3268d9b970d0e672ffa95c9962b45659a64f857d /net-p2p
parentUnmasking USE=lapack. (diff)
downloadhistorical-5c58ef36bfe5109114f68231205b414dba774f3b.tar.gz
historical-5c58ef36bfe5109114f68231205b414dba774f3b.tar.bz2
historical-5c58ef36bfe5109114f68231205b414dba774f3b.zip
Version bump
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mldonkey/ChangeLog7
-rw-r--r--net-p2p/mldonkey/Manifest16
-rw-r--r--net-p2p/mldonkey/files/digest-mldonkey-2.9.23
-rw-r--r--net-p2p/mldonkey/mldonkey-2.9.2.ebuild166
4 files changed, 187 insertions, 5 deletions
diff --git a/net-p2p/mldonkey/ChangeLog b/net-p2p/mldonkey/ChangeLog
index 8e8b3e66d3fa..efb0c1b4882d 100644
--- a/net-p2p/mldonkey/ChangeLog
+++ b/net-p2p/mldonkey/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/mldonkey
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.184 2007/09/26 16:29:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.185 2007/10/22 20:08:38 armin76 Exp $
+
+*mldonkey-2.9.2 (22 Oct 2007)
+
+ 22 Oct 2007; Raúl Porcel <armin76@gentoo.org> +mldonkey-2.9.2.ebuild:
+ Version bump
*mldonkey-2.9.1 (26 Sep 2007)
diff --git a/net-p2p/mldonkey/Manifest b/net-p2p/mldonkey/Manifest
index 014c8df1f61e..a944d8d9d1cf 100644
--- a/net-p2p/mldonkey/Manifest
+++ b/net-p2p/mldonkey/Manifest
@@ -24,6 +24,7 @@ RMD160 2ef0cbc5be4de95893b43da0281bd52f5aabb314 files/mldonkey.png 6835
SHA256 c16ecc040b5ea82ed06b04a76c5d7304d7aca2f0854176aa8d78aa90831d8798 files/mldonkey.png 6835
DIST mldonkey-2.9.0.tar.bz2 2713410 RMD160 467ece38f57e27adab008d81e8f5c98774ca3f71 SHA1 7cde099f99dc23ea284bc6661a1d83be92ac170b SHA256 1d3ac5114be7e592093dd6e2031b1fea642fa641263395e8b0f38c388c232a24
DIST mldonkey-2.9.1.tar.bz2 2714291 RMD160 c0f307752c9a7be93e6fbd1e36f5cc3c736b9856 SHA1 f4e8710b68368410739dc373814da585b293c5ff SHA256 2d49732825e867d4b09797d305744c2573a0391bec67c5d46c511ef9bacf3e5c
+DIST mldonkey-2.9.2.tar.bz2 2721072 RMD160 6a02d02149884d9d0a24892bd76dba48862a32ac SHA1 59c4216a67876a3af7015f7826c960306650ae34 SHA256 8c9abbfcf070de0e998def133ea25a6d5aba248a8c710e1f7c2317e798d17ed7
EBUILD mldonkey-2.9.0-r3.ebuild 4303 RMD160 273b5de4d4225167b33d00fb3c562a4d0e1d3ca8 SHA1 88a6fd192fd8a6dca65af4b59f9596bdd559ae6e SHA256 d02d7f619f4e12c929d5c84635641b17ab06d805ed4d0d771f41dd33f3d4c743
MD5 4acc81a4617c8100f6d45587bb913e92 mldonkey-2.9.0-r3.ebuild 4303
RMD160 273b5de4d4225167b33d00fb3c562a4d0e1d3ca8 mldonkey-2.9.0-r3.ebuild 4303
@@ -32,10 +33,14 @@ EBUILD mldonkey-2.9.1.ebuild 4305 RMD160 58c4b7cef6d475d2a9567c7a31a6739af691118
MD5 373be45a73190a13b32aef792ec063b8 mldonkey-2.9.1.ebuild 4305
RMD160 58c4b7cef6d475d2a9567c7a31a6739af6911188 mldonkey-2.9.1.ebuild 4305
SHA256 93b3e71f55eea66e90b54dea4f5f1808cec1e8ee7d26008102c70af95626d103 mldonkey-2.9.1.ebuild 4305
-MISC ChangeLog 28488 RMD160 5c0c4b6d614f80fb98cf6ee51b7adc49d239f55b SHA1 6a28ebf3247ddb2fc47d0451d5948cb1c756c54c SHA256 8875b89f756c4a2abde94fa386f2f0af5e0fc0f19c2678ffbaed5828313ac0b0
-MD5 f8d40e42e80c0c9eff61326a41559fdc ChangeLog 28488
-RMD160 5c0c4b6d614f80fb98cf6ee51b7adc49d239f55b ChangeLog 28488
-SHA256 8875b89f756c4a2abde94fa386f2f0af5e0fc0f19c2678ffbaed5828313ac0b0 ChangeLog 28488
+EBUILD mldonkey-2.9.2.ebuild 4305 RMD160 1320af5f2bcb674c2769b2e52ccd3014ee64d529 SHA1 e701eea9ab7f29f025b52e2e6d0bc4edf7954aee SHA256 a49fa82a3043dcca5dc4ac2eeb561235e094e0f0a3b256525a4e1b3797d14855
+MD5 c27c60c41ad12d37ff5eb94a0bc0ea29 mldonkey-2.9.2.ebuild 4305
+RMD160 1320af5f2bcb674c2769b2e52ccd3014ee64d529 mldonkey-2.9.2.ebuild 4305
+SHA256 a49fa82a3043dcca5dc4ac2eeb561235e094e0f0a3b256525a4e1b3797d14855 mldonkey-2.9.2.ebuild 4305
+MISC ChangeLog 28608 RMD160 d2d6ebd8c87b59bf045a0a359e9e963277c1211d SHA1 4998147cad250a5d5d5a781fd97e128052a4f267 SHA256 311a181483b2d9cd3bb219e7d6b5040e54fb87eacc1e800a933ff52ba7a297a2
+MD5 a7ff54513976882d518444a398703660 ChangeLog 28608
+RMD160 d2d6ebd8c87b59bf045a0a359e9e963277c1211d ChangeLog 28608
+SHA256 311a181483b2d9cd3bb219e7d6b5040e54fb87eacc1e800a933ff52ba7a297a2 ChangeLog 28608
MISC metadata.xml 242 RMD160 d0edc89382298dee00d3571b62a5f457ef268751 SHA1 25511186cac54f1353a3347f72da7f5d05b9da57 SHA256 b354d71d5efbed0ff97e27564894438b42a8bd8b577007cadc6972dd37d6b5f8
MD5 ee159929f3e247f937fe88bb1919d8bd metadata.xml 242
RMD160 d0edc89382298dee00d3571b62a5f457ef268751 metadata.xml 242
@@ -46,3 +51,6 @@ SHA256 0c137fff0df6d06decc82d43742c7d755bbd802bcf4d4bbae1fc0ba225e2ede4 files/di
MD5 0c7f0dfc8993d2decb2f41c885b68ffa files/digest-mldonkey-2.9.1 250
RMD160 d61a742bf2fb3916bd578125c5eb89fb0d67a84a files/digest-mldonkey-2.9.1 250
SHA256 f3fa4a12b9d2f0ef5e050464e996159ea0914a587bb633a938d516430eda1923 files/digest-mldonkey-2.9.1 250
+MD5 0ee223596a0b109c4ac9de1e6aba60ff files/digest-mldonkey-2.9.2 250
+RMD160 8fa2b2f193f841c19cb74b4aa51d6eb323e0e74b files/digest-mldonkey-2.9.2 250
+SHA256 fbef55ac9efed9b05f3ad387a6a91dbe864cc1619617e30a2250da8f3242b76f files/digest-mldonkey-2.9.2 250
diff --git a/net-p2p/mldonkey/files/digest-mldonkey-2.9.2 b/net-p2p/mldonkey/files/digest-mldonkey-2.9.2
new file mode 100644
index 000000000000..e290e1654c8d
--- /dev/null
+++ b/net-p2p/mldonkey/files/digest-mldonkey-2.9.2
@@ -0,0 +1,3 @@
+MD5 457564a0baedabe262254de660420c1c mldonkey-2.9.2.tar.bz2 2721072
+RMD160 6a02d02149884d9d0a24892bd76dba48862a32ac mldonkey-2.9.2.tar.bz2 2721072
+SHA256 8c9abbfcf070de0e998def133ea25a6d5aba248a8c710e1f7c2317e798d17ed7 mldonkey-2.9.2.tar.bz2 2721072
diff --git a/net-p2p/mldonkey/mldonkey-2.9.2.ebuild b/net-p2p/mldonkey/mldonkey-2.9.2.ebuild
new file mode 100644
index 000000000000..684c6044b874
--- /dev/null
+++ b/net-p2p/mldonkey/mldonkey-2.9.2.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.9.2.ebuild,v 1.1 2007/10/22 20:08:38 armin76 Exp $
+
+inherit flag-o-matic
+
+IUSE="doc fasttrack gd gnutella gtk guionly magic"
+
+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"
+RESTRICT="mirror"
+
+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 )
+ magic? ( sys-apps/file )"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.58
+ >=dev-lang/ocaml-3.08.3"
+
+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}"
+
+ 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
+
+ # 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) \
+ ${myconf} || die "econf failed"
+
+ export OCAMLRUNPARAM="l=256M"
+ emake || die "emake failed"
+
+ if ! use guionly; then
+ emake utils || die "emake utils failed"
+ fi;
+}
+
+src_install() {
+ if ! use guionly; then
+ dobin mlnet mld_hash get_range copysources make_torrent subconv \
+ || die "dobin failed"
+
+ newconfd "${FILESDIR}/mldonkey.confd-2.8" mldonkey
+ fperms 600 /etc/conf.d/mldonkey
+ newinitd "${FILESDIR}/mldonkey.initd" mldonkey
+ fi
+
+ if use gtk; then
+ dobin mlgui mlguistarter || die "dobin failed"
+ 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 -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
+}