diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-09-22 10:32:23 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-09-22 10:32:31 +0200 |
commit | 76cf5ff19cbcb3f4dad7ccba77abb028fb1a126f (patch) | |
tree | 761d00c5d54277cfd985d7f3425d07fb8790c603 /net-analyzer/mtr | |
parent | net-analyzer/mtr: Clean up old code in 0.93 (diff) | |
download | gentoo-76cf5ff19cbcb3f4dad7ccba77abb028fb1a126f.tar.gz gentoo-76cf5ff19cbcb3f4dad7ccba77abb028fb1a126f.tar.bz2 gentoo-76cf5ff19cbcb3f4dad7ccba77abb028fb1a126f.zip |
net-analyzer/mtr: Old
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/mtr')
-rw-r--r-- | net-analyzer/mtr/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/mtr/mtr-0.92-r1.ebuild | 63 |
2 files changed, 0 insertions, 64 deletions
diff --git a/net-analyzer/mtr/Manifest b/net-analyzer/mtr/Manifest index bcb0bbbe01b6..4abd5179f577 100644 --- a/net-analyzer/mtr/Manifest +++ b/net-analyzer/mtr/Manifest @@ -1,3 +1,2 @@ DIST mtr-0.87.tar.gz 184645 BLAKE2B e96535b0bd46ee63c5e6110ee465195a9ead6ff7c7ea3629b2668631f25e9181cf4236ba0e2cfc0517e7c70683bbb6347d9c26a2b09701d89e225c27aa2faae4 SHA512 172ba2f78a6ee4deb427ac2fb00dff16843215dbd23663fbe41fcc957ffe278b408a73a0c7e1c05788b235e2d03fb53f9971b8b82d4de2f95edcaa9f2cff3cf9 -DIST mtr-0.92.tar.gz 296430 BLAKE2B 0f7dfcbd77d6f9cd0a9ba4c7e6829ce8f3fa0e1de4009632d10c3a1c2acc280db5830296695c27d89317d38d507af8f7e9bdd12b1c0e0d198872dc39f13032e7 SHA512 d362a418b6c17fd2d08da1ed9e033fa3330e4c0497e1bb0644f6193d23f4e20dd8ee181942c2a20ec0025a8b96c521394a21be5a1d9036f8a0a8c4cddfbe381f DIST mtr-0.93.tar.gz 291015 BLAKE2B 6ac0e21f9e06fbfee9e9ada4cddb6cd9685ae669a05d1ed257a2c238ab78ac16e1a1e152ef1359ca530b0eced14c9333df2b691c27cbc29173c843ebc64eaaa9 SHA512 046e98a661bd6248ce819411ceb6e2b875b92877de38523594898df507836c113573cf40d7d4cc548370f515abe99e0aa4d8b3ba44ad54dd00f8e93c8a96c021 diff --git a/net-analyzer/mtr/mtr-0.92-r1.ebuild b/net-analyzer/mtr/mtr-0.92-r1.ebuild deleted file mode 100644 index 703412cb9201..000000000000 --- a/net-analyzer/mtr/mtr-0.92-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools eutils fcaps flag-o-matic - -DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool" -HOMEPAGE="https://www.bitwizard.nl/mtr/" -SRC_URI="https://www.bitwizard.nl/mtr/files/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="gtk ipv6 ncurses" - -RDEPEND=" - gtk? ( - dev-libs/glib:2 - x11-libs/gtk+:2 - ) - ncurses? ( sys-libs/ncurses:0= ) -" -DEPEND=" - ${RDEPEND} - sys-devel/autoconf - virtual/pkgconfig -" - -DOCS=( AUTHORS FORMATS NEWS README SECURITY TODO ) -FILECAPS=( cap_net_raw usr/sbin/mtr-packet ) -PATCHES=( - "${FILESDIR}"/${PN}-0.88-tinfo.patch -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # In the source's configure script -lresolv is commented out. Apparently it - # is needed for 64bit macos still. - [[ ${CHOST} == *-darwin* ]] && append-libs -lresolv - econf \ - $(use_enable ipv6) \ - $(use_with gtk) \ - $(use_with ncurses) -} - -src_test() { - [[ "$UID" = 0 ]] && default -} - -pkg_postinst() { - fcaps_pkg_postinst - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "mtr needs root privileges to run. To grant them:" - ewarn " % sudo chown root ${EPREFIX}/usr/sbin/mtr" - ewarn " % sudo chmod u+s ${EPREFIX}/usr/sbin/mtr" - fi -} |