From 8986bbeb851ff4d7342b79cdb0971fc17e325d33 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Mon, 1 Apr 2019 00:26:01 +0200 Subject: net-misc/iputils: rename USE=traceroute to USE=traceroute6 and mark as deprecated iputils always did only provide traceroute6. Renaming USE flag will clarify that iputils can't provide normal IPv4 traceroute. Also, mark USE=traceroute6 as deprecated (in metadata.xml). See Link 1. Please use net-analyzer/traceroute for traceroute and traceroute6. Link 1: https://github.com/iputils/iputils/issues/166 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann --- net-misc/iputils/iputils-20171016_pre.ebuild | 10 +++++----- net-misc/iputils/iputils-20180629.ebuild | 8 ++++---- net-misc/iputils/iputils-99999999.ebuild | 8 ++++---- net-misc/iputils/metadata.xml | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'net-misc/iputils') diff --git a/net-misc/iputils/iputils-20171016_pre.ebuild b/net-misc/iputils/iputils-20171016_pre.ebuild index 8d1bbffafa10..bea9c59247cc 100644 --- a/net-misc/iputils/iputils-20171016_pre.ebuild +++ b/net-misc/iputils/iputils-20171016_pre.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # For released versions, we precompile the man/html pages and store @@ -32,7 +32,7 @@ HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils" LICENSE="BSD GPL-2+ rdisc" SLOT="0" -IUSE="+arping caps clockdiff doc gcrypt idn ipv6 libressl nettle +openssl rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute" +IUSE="+arping caps clockdiff doc gcrypt idn ipv6 libressl nettle +openssl rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute6" LIB_DEPEND="caps? ( sys-libs/libcap[static-libs(+)] ) idn? ( net-dns/libidn:=[static-libs(+)] ) @@ -46,7 +46,7 @@ LIB_DEPEND="caps? ( sys-libs/libcap[static-libs(+)] ) ) )" RDEPEND="arping? ( !net-misc/arping ) rarpd? ( !net-misc/rarpd ) - traceroute? ( !net-analyzer/traceroute ) + traceroute6? ( !net-analyzer/traceroute ) !static? ( ${LIB_DEPEND//\[static-libs(+)]} )" DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} ) @@ -81,7 +81,7 @@ src_configure() { ) if use ipv6 ; then TARGETS+=( - $(usex traceroute 'traceroute6' '') + $(usex traceroute6 'traceroute6' '') ) fi @@ -155,7 +155,7 @@ src_install() { dosym tracepath.8 /usr/share/man/man8/tracepath6.8 fi - if use traceroute && use ipv6 ; then + if use traceroute6 && use ipv6 ; then dosbin traceroute6 doman doc/traceroute6.8 fi diff --git a/net-misc/iputils/iputils-20180629.ebuild b/net-misc/iputils/iputils-20180629.ebuild index a667ae038ad9..9624d0deee75 100644 --- a/net-misc/iputils/iputils-20180629.ebuild +++ b/net-misc/iputils/iputils-20180629.ebuild @@ -32,7 +32,7 @@ HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils" LICENSE="BSD GPL-2+ rdisc" SLOT="0" -IUSE="+arping caps clockdiff doc gcrypt idn ipv6 libressl nettle rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute" +IUSE="+arping caps clockdiff doc gcrypt idn ipv6 libressl nettle rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute6" LIB_DEPEND="caps? ( sys-libs/libcap[static-libs(+)] ) idn? ( net-dns/libidn2:=[static-libs(+)] ) @@ -51,7 +51,7 @@ LIB_DEPEND="caps? ( sys-libs/libcap[static-libs(+)] ) " RDEPEND="arping? ( !net-misc/arping ) rarpd? ( !net-misc/rarpd ) - traceroute? ( !net-analyzer/traceroute ) + traceroute6? ( !net-analyzer/traceroute ) !static? ( ${LIB_DEPEND//\[static-libs(+)]} )" DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} ) @@ -82,7 +82,7 @@ src_configure() { ) if use ipv6 ; then TARGETS+=( - $(usex traceroute 'traceroute6' '') + $(usex traceroute6 'traceroute6' '') ) fi @@ -156,7 +156,7 @@ src_install() { dosym tracepath.8 /usr/share/man/man8/tracepath6.8 fi - if use traceroute && use ipv6 ; then + if use traceroute6 && use ipv6 ; then dosbin traceroute6 doman doc/traceroute6.8 fi diff --git a/net-misc/iputils/iputils-99999999.ebuild b/net-misc/iputils/iputils-99999999.ebuild index ccc540e0855c..848259357631 100644 --- a/net-misc/iputils/iputils-99999999.ebuild +++ b/net-misc/iputils/iputils-99999999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # For released versions, we precompile the man/html pages and store @@ -25,7 +25,7 @@ HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils" LICENSE="BSD GPL-2+ rdisc" SLOT="0" -IUSE="+arping caps clockdiff doc gcrypt idn ipv6 libressl nettle rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute" +IUSE="+arping caps clockdiff doc gcrypt idn ipv6 libressl nettle rarpd rdisc SECURITY_HAZARD ssl static tftpd tracepath traceroute6" LIB_DEPEND=" caps? ( sys-libs/libcap[static-libs(+)] ) @@ -46,7 +46,7 @@ LIB_DEPEND=" RDEPEND=" arping? ( !net-misc/arping ) rarpd? ( !net-misc/rarpd ) - traceroute? ( !net-analyzer/traceroute ) + traceroute6? ( !net-analyzer/traceroute ) !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) " DEPEND=" @@ -88,7 +88,7 @@ src_configure() { -DENABLE_RDISC_SERVER="$(usex rdisc true false)" -DBUILD_TFTPD="$(usex tftpd true false)" -DBUILD_TRACEPATH="$(usex tracepath true false)" - -DBUILD_TRACEROUTE6="$(usex ipv6 $(usex traceroute true false) false)" + -DBUILD_TRACEROUTE6="$(usex ipv6 $(usex traceroute6 true false) false)" -DBUILD_NINFOD="false" -DNINFOD_MESSAGES="false" -DBUILD_HTML_MANS="$(usex doc true false)" diff --git a/net-misc/iputils/metadata.xml b/net-misc/iputils/metadata.xml index 8fb0527115b6..2c0fdf44b673 100644 --- a/net-misc/iputils/metadata.xml +++ b/net-misc/iputils/metadata.xml @@ -15,7 +15,7 @@ Build and install rdisc -- server for the client side of the ICMP router discover protocol Build and install tftpd -- server for the Trivial File Transfer Protocol (see also net-ftp/tftp-hpa) Build and install tracepath -- tool for tracing network paths for discovering MTU values - Build and install traceroute -- tool for tracing network paths (see also net-analyzer/traceroute) + Build and install deprecated traceroute6 tool. It's recommended to use net-analyzer/traceroute instead. Allow non-root users to flood (ping -f). This is generally a very bad idea. -- cgit v1.2.3-65-gdbad