1 |
commit: 52480244962fc69df86b6e99ca5799b4fe9961d4 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 4 21:20:13 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 4 21:21:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52480244 |
7 |
|
8 |
net-analyzer/mtr: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
net-analyzer/mtr/mtr-0.87-r1.ebuild | 61 ------------------------------------- |
13 |
1 file changed, 61 deletions(-) |
14 |
|
15 |
diff --git a/net-analyzer/mtr/mtr-0.87-r1.ebuild b/net-analyzer/mtr/mtr-0.87-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 7ae0169ea4b..00000000000 |
18 |
--- a/net-analyzer/mtr/mtr-0.87-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,61 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
-inherit autotools eutils fcaps flag-o-matic |
26 |
- |
27 |
-DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool" |
28 |
-HOMEPAGE="http://www.bitwizard.nl/mtr/" |
29 |
-SRC_URI="ftp://ftp.bitwizard.nl/mtr/${P}.tar.gz" |
30 |
- |
31 |
-LICENSE="GPL-2" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
34 |
-IUSE="gtk ipv6" |
35 |
- |
36 |
-RDEPEND=" |
37 |
- sys-libs/ncurses:0= |
38 |
- gtk? ( |
39 |
- dev-libs/glib:2 |
40 |
- x11-libs/gtk+:2 |
41 |
- ) |
42 |
-" |
43 |
-DEPEND=" |
44 |
- ${RDEPEND} |
45 |
- sys-devel/autoconf |
46 |
- virtual/pkgconfig |
47 |
-" |
48 |
- |
49 |
-DOCS=( AUTHORS FORMATS NEWS README SECURITY TODO ) |
50 |
-FILECAPS=( cap_net_raw usr/sbin/mtr ) |
51 |
-PATCHES=( |
52 |
- "${FILESDIR}"/${PN}-0.80-impl-dec.patch |
53 |
- "${FILESDIR}"/${PN}-0.87-ipv6.patch |
54 |
- "${FILESDIR}"/${PN}-0.87-tinfo.patch |
55 |
-) |
56 |
- |
57 |
-src_prepare() { |
58 |
- default |
59 |
- eautoreconf |
60 |
-} |
61 |
- |
62 |
-src_configure() { |
63 |
- # In the source's configure script -lresolv is commented out. Apparently it |
64 |
- # is needed for 64bit macos still. |
65 |
- [[ ${CHOST} == *-darwin* ]] && append-libs -lresolv |
66 |
- |
67 |
- econf \ |
68 |
- $(use_enable ipv6) \ |
69 |
- $(use_with gtk) \ |
70 |
- --disable-gtktest |
71 |
-} |
72 |
- |
73 |
-pkg_postinst() { |
74 |
- fcaps_pkg_postinst |
75 |
- |
76 |
- if use prefix && [[ ${CHOST} == *-darwin* ]] ; then |
77 |
- ewarn "mtr needs root privileges to run. To grant them:" |
78 |
- ewarn " % sudo chown root ${EPREFIX}/usr/sbin/mtr" |
79 |
- ewarn " % sudo chmod u+s ${EPREFIX}/usr/sbin/mtr" |
80 |
- fi |
81 |
-} |