mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-analyzer/mtr: Version 0.94
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST mtr-0.87.tar.gz 184645 BLAKE2B e96535b0bd46ee63c5e6110ee465195a9ead6ff7c7ea3629b2668631f25e9181cf4236ba0e2cfc0517e7c70683bbb6347d9c26a2b09701d89e225c27aa2faae4 SHA512 172ba2f78a6ee4deb427ac2fb00dff16843215dbd23663fbe41fcc957ffe278b408a73a0c7e1c05788b235e2d03fb53f9971b8b82d4de2f95edcaa9f2cff3cf9
|
||||
DIST mtr-0.93.tar.gz 291015 BLAKE2B 6ac0e21f9e06fbfee9e9ada4cddb6cd9685ae669a05d1ed257a2c238ab78ac16e1a1e152ef1359ca530b0eced14c9333df2b691c27cbc29173c843ebc64eaaa9 SHA512 046e98a661bd6248ce819411ceb6e2b875b92877de38523594898df507836c113573cf40d7d4cc548370f515abe99e0aa4d8b3ba44ad54dd00f8e93c8a96c021
|
||||
DIST mtr-0.94.tar.gz 143616 BLAKE2B e9b4619a85a515d729f0987d5882fb91e4bfa3be82476efbfdb832d0b13ed334be1c1a1bcf8ab4ca820002e79ca4a24d0b50f2739d9284b7dec0b8852a1a91e0 SHA512 0e58bd79562ff80f9308135562ab22aa1f1eea686aefd3aef07bac05e661e34b60fde7c66c96bf4f0919f546376fbd6106ecd8fa92328c24f6f903097496bf11
|
||||
|
||||
61
net-analyzer/mtr/mtr-0.94.ebuild
Normal file
61
net-analyzer/mtr/mtr-0.94.ebuild
Normal file
@@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools bash-completion-r1 fcaps
|
||||
|
||||
DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool"
|
||||
HOMEPAGE="https://www.bitwizard.nl/mtr/"
|
||||
SRC_URI="https://github.com/traviscross/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="+gtk +ipinfo +ipv6 +jansson +ncurses"
|
||||
|
||||
RDEPEND="
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:3
|
||||
)
|
||||
jansson? ( dev-libs/jansson )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DOCS=( AUTHORS FORMATS NEWS README.md SECURITY TODO )
|
||||
FILECAPS=( cap_net_raw usr/sbin/mtr-packet )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.88-tinfo.patch
|
||||
)
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with gtk) \
|
||||
$(use_with ipinfo) \
|
||||
$(use_with jansson) \
|
||||
$(use_with ncurses) \
|
||||
--with-bashcompletiondir="$(get_bashcompdir)"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user