summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2003-08-04 08:53:43 +0000
committerGuy Martin <gmsoft@gentoo.org>2003-08-04 08:53:43 +0000
commit1772fe27947b3def730a8410fe273edaeda1bcc2 (patch)
treed96e59a6f2096608e0af0e44db074a122d3670b6 /net-analyzer
parentAdded support for ipv6. (diff)
downloadhistorical-1772fe27947b3def730a8410fe273edaeda1bcc2.tar.gz
historical-1772fe27947b3def730a8410fe273edaeda1bcc2.tar.bz2
historical-1772fe27947b3def730a8410fe273edaeda1bcc2.zip
Added support for ipv6.
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/mtr/Manifest4
-rw-r--r--net-analyzer/mtr/files/digest-mtr-0.54-r12
-rw-r--r--net-analyzer/mtr/mtr-0.54-r1.ebuild39
3 files changed, 43 insertions, 2 deletions
diff --git a/net-analyzer/mtr/Manifest b/net-analyzer/mtr/Manifest
index 157c9ee327b3..bfbb1f8ac6ac 100644
--- a/net-analyzer/mtr/Manifest
+++ b/net-analyzer/mtr/Manifest
@@ -1,7 +1,7 @@
-MD5 acba30e6af88d42030108e10a902664e ChangeLog 1721
+MD5 6c701c28f07d8ff161a2d8e8793ee8f8 ChangeLog 1724
MD5 89ad5e4dc0ca9bf79beb8fe28add08e8 mtr-0.49-r1.ebuild 983
MD5 c2d616ae01cf33884c06be4e2b29e227 mtr-0.54.ebuild 850
-MD5 65f1d584b4a66f31500b46ce1e590b1e mtr-0.54-r1.ebuild 1078
+MD5 e17c79a238021fb6d36c01305504052d mtr-0.54-r1.ebuild 1081
MD5 9ad35f50576c4ede55776cf455d747a9 files/digest-mtr-0.49-r1 59
MD5 7a626d479aec5d6bfba540b6f3935a9e files/digest-mtr-0.54 59
MD5 cf3436006255ff4c602431f3a3eca98e files/digest-mtr-0.54-r1 131
diff --git a/net-analyzer/mtr/files/digest-mtr-0.54-r1 b/net-analyzer/mtr/files/digest-mtr-0.54-r1
new file mode 100644
index 000000000000..9eefe70d1554
--- /dev/null
+++ b/net-analyzer/mtr/files/digest-mtr-0.54-r1
@@ -0,0 +1,2 @@
+MD5 7f7ecb50fc37fedb13135a5ef80fda7d mtr-0.54.tar.gz 88751
+MD5 91e24c3566b4adead41c8ac16d17233f mtr_0.54-1.0.ipv6.r1.diff.gz 16993
diff --git a/net-analyzer/mtr/mtr-0.54-r1.ebuild b/net-analyzer/mtr/mtr-0.54-r1.ebuild
new file mode 100644
index 000000000000..af442e093371
--- /dev/null
+++ b/net-analyzer/mtr/mtr-0.54-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.54-r1.ebuild,v 1.1 2003/08/04 08:53:32 gmsoft Exp $
+
+IUSE="gtk ipv6"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="My TraceRoute. Excellent network diagnostic tool."
+SRC_URI="ftp://ftp.bitwizard.nl/mtr/${P}.tar.gz ipv6? ( http://debian.fabbione.net/debian-ipv6/dists/sid/ipv6/pool/mtr_${PV}-1.0.ipv6.r1.diff.gz )"
+HOMEPAGE="http://www.bitwizard.nl/mtr/"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ gtk? ( =x11-libs/gtk+-1.2* )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~hppa ~alpha"
+
+src_unpack() {
+
+ unpack ${P}.tar.gz
+ cd ${S}
+ use ipv6 && zcat ${DISTDIR}/mtr_0.54-1.0.ipv6.r1.diff.gz | patch -p 1
+
+}
+
+src_compile() {
+ local myconf
+ use gtk || myconf="${myconf} --without-gtk"
+
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ # this binary is universal. ie: it does both console and gtk.
+ make DESTDIR=${D} sbindir=/usr/bin install || die
+ dodoc AUTHORS COPYING ChangeLog FORMATS NEWS README SECURITY TODO
+}