summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-08-21 23:11:33 +0000
committerEldad Zack <eldad@gentoo.org>2004-08-21 23:11:33 +0000
commitd9892bbf2347d31e032d0bd03a6b281ed681157f (patch)
tree607b5f041066ca01f5685ac16e40319a52f8aa07
parentStable on alpha + x86. (Manifest recommit) (diff)
downloadgentoo-2-d9892bbf2347d31e032d0bd03a6b281ed681157f.tar.gz
gentoo-2-d9892bbf2347d31e032d0bd03a6b281ed681157f.tar.bz2
gentoo-2-d9892bbf2347d31e032d0bd03a6b281ed681157f.zip
bump, fixed amd64 issue with resolver lib, marked ~amd64, closes #54024
-rw-r--r--net-analyzer/mtr/ChangeLog9
-rw-r--r--net-analyzer/mtr/Manifest9
-rw-r--r--net-analyzer/mtr/files/digest-mtr-0.641
-rw-r--r--net-analyzer/mtr/files/mtr-ac-res_mkquery.patch12
-rw-r--r--net-analyzer/mtr/mtr-0.64.ebuild41
5 files changed, 67 insertions, 5 deletions
diff --git a/net-analyzer/mtr/ChangeLog b/net-analyzer/mtr/ChangeLog
index a5f1cf4c7a03..ce77cfe54bca 100644
--- a/net-analyzer/mtr/ChangeLog
+++ b/net-analyzer/mtr/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/mtr
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.23 2004/08/19 02:10:38 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.24 2004/08/21 23:11:33 eldad Exp $
+
+*mtr-0.64 (22 Aug 2004)
+
+ 22 Aug 2004; Eldad Zack <eldad@gentoo.org> +files/mtr-ac-res_mkquery.patch,
+ +mtr-0.64.ebuild:
+ Version bump. Dropped ipv6 in 0.64. Fixes amd64 issue with resolver lib.
+ marking ~amd64. Closes #54024.
18 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org> mtr-0.54-r2.ebuild:
Stable on sparc
diff --git a/net-analyzer/mtr/Manifest b/net-analyzer/mtr/Manifest
index 6813ab828685..27ffba0ed522 100644
--- a/net-analyzer/mtr/Manifest
+++ b/net-analyzer/mtr/Manifest
@@ -1,8 +1,9 @@
-MD5 ab6bc9fff4093c4fb9090986eb83bbf9 ChangeLog 2561
-MD5 1e7a07df23aefefa1d554024bd15b6eb mtr-0.49-r1.ebuild 954
+MD5 fb7fad980700981e9e54b3ac8d4be99f mtr-0.64.ebuild 893
MD5 e620c82b60871ce9935d65e232946c4e mtr-0.54.ebuild 822
+MD5 ab6bc9fff4093c4fb9090986eb83bbf9 ChangeLog 2561
MD5 720bffd73acf542e859034ca9d443c19 metadata.xml 244
-MD5 0458dd555f91d752c7436bff40720499 mtr-0.54-r2.ebuild 1115
-MD5 9ad35f50576c4ede55776cf455d747a9 files/digest-mtr-0.49-r1 59
+MD5 1e7a07df23aefefa1d554024bd15b6eb mtr-0.49-r1.ebuild 954
MD5 7a626d479aec5d6bfba540b6f3935a9e files/digest-mtr-0.54 59
+MD5 f809e2209338aeea9e409e8a7c17bc05 files/digest-mtr-0.64 60
+MD5 9ad35f50576c4ede55776cf455d747a9 files/digest-mtr-0.49-r1 59
MD5 cf3436006255ff4c602431f3a3eca98e files/digest-mtr-0.54-r2 131
diff --git a/net-analyzer/mtr/files/digest-mtr-0.64 b/net-analyzer/mtr/files/digest-mtr-0.64
new file mode 100644
index 000000000000..b95fece80a3f
--- /dev/null
+++ b/net-analyzer/mtr/files/digest-mtr-0.64
@@ -0,0 +1 @@
+MD5 4a873514d3cea596b990eea769273cd7 mtr-0.64.tar.gz 131278
diff --git a/net-analyzer/mtr/files/mtr-ac-res_mkquery.patch b/net-analyzer/mtr/files/mtr-ac-res_mkquery.patch
new file mode 100644
index 000000000000..afeb12e69acc
--- /dev/null
+++ b/net-analyzer/mtr/files/mtr-ac-res_mkquery.patch
@@ -0,0 +1,12 @@
+--- configure.in.orig 2004-08-22 01:52:55.807318544 +0300
++++ configure.in 2004-08-22 01:55:46.415382176 +0300
+@@ -83,7 +83,8 @@
+
+ AC_CHECK_FUNC(res_mkquery, ,
+ AC_CHECK_LIB(bind, res_mkquery, ,
+- AC_CHECK_LIB(resolv, res_mkquery, , AC_MSG_ERROR(No resolver library found))))
++ AC_CHECK_LIB(resolv, res_mkquery, ,
++ AC_CHECK_LIB(resolv, __res_mkquery, , AC_MSG_ERROR(No resolver library found)))))
+
+ AC_CHECK_FUNC(herror, , AC_DEFINE(NO_HERROR))
+ AC_CHECK_FUNC(strerror, , AC_DEFINE(NO_STRERROR))
diff --git a/net-analyzer/mtr/mtr-0.64.ebuild b/net-analyzer/mtr/mtr-0.64.ebuild
new file mode 100644
index 000000000000..54e768a6a440
--- /dev/null
+++ b/net-analyzer/mtr/mtr-0.64.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.64.ebuild,v 1.1 2004/08/21 23:11:33 eldad Exp $
+
+inherit eutils
+
+IUSE="gtk gtk2"
+
+DESCRIPTION="My TraceRoute. Excellent network diagnostic tool."
+SRC_URI="ftp://ftp.bitwizard.nl/mtr/${P}.tar.gz"
+HOMEPAGE="http://www.bitwizard.nl/mtr/"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ gtk? ( !gtk2? ( =x11-libs/gtk+-1.2* )
+ gtk2? ( >=x11-libs/gtk+-2* ) )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~hppa ~alpha ~amd64"
+
+src_compile() {
+ local myconf
+ use gtk || myconf="${myconf} --without-gtk"
+
+ epatch ${FILESDIR}/mtr-ac-res_mkquery.patch
+ autoconf
+
+ econf ${myconf} \
+ `use_enable gtk2` || die
+ emake || die
+}
+
+src_install() {
+ # this binary is universal. ie: it does both console and gtk.
+ make DESTDIR=${D} sbindir=/usr/bin install || die
+
+ fowners root:wheel /usr/bin/mtr
+ fperms 4710 /usr/bin/mtr
+
+ dodoc AUTHORS COPYING ChangeLog FORMATS NEWS README SECURITY TODO
+}