diff --git a/net-analyzer/mtr/metadata.xml b/net-analyzer/mtr/metadata.xml index 2c2a7923cfc84..632c6e60e5bae 100644 --- a/net-analyzer/mtr/metadata.xml +++ b/net-analyzer/mtr/metadata.xml @@ -1,8 +1,12 @@ - - netmon@gentoo.org - Gentoo network monitoring and analysis project - + +netmon@gentoo.org +Gentoo network monitoring and analysis project + + +Disable support for IP address lookups +Enable JSON output support through dev-libs/jansson + diff --git a/net-analyzer/mtr/mtr-9999.ebuild b/net-analyzer/mtr/mtr-9999.ebuild index 75a592ba00d87..37f5ab5d3a6ca 100644 --- a/net-analyzer/mtr/mtr-9999.ebuild +++ b/net-analyzer/mtr/mtr-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools fcaps flag-o-matic git-r3 +inherit autotools bash-completion-r1 fcaps flag-o-matic git-r3 DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool" HOMEPAGE="https://www.bitwizard.nl/mtr/" @@ -11,18 +11,20 @@ EGIT_REPO_URI="https://github.com/traviscross/mtr" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="gtk ipv6 ncurses" +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} - sys-devel/autoconf +" +BDEPEND=" virtual/pkgconfig " DOCS=( AUTHORS FORMATS NEWS README.md SECURITY TODO ) @@ -45,7 +47,10 @@ src_configure() { econf \ $(use_enable ipv6) \ $(use_with gtk) \ - $(use_with ncurses) + $(use_with ipinfo) \ + $(use_with jansson) \ + $(use_with ncurses) \ + --with-bashcompletiondir="$(get_bashcompdir)" } pkg_postinst() {