commit: 8986bbeb851ff4d7342b79cdb0971fc17e325d33 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Mar 31 22:26:01 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Mar 31 22:37:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8986bbeb
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 <whissi <AT> gentoo.org> 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(-) diff --git a/net-misc/iputils/iputils-20171016_pre.ebuild b/net-misc/iputils/iputils-20171016_pre.ebuild index 8d1bbffafa1..bea9c59247c 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 a667ae038ad..9624d0deee7 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 ccc540e0855..84825935763 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 8fb0527115b..2c0fdf44b67 100644 --- a/net-misc/iputils/metadata.xml +++ b/net-misc/iputils/metadata.xml @@ -15,7 +15,7 @@ <flag name="rdisc">Build and install rdisc -- server for the client side of the ICMP router discover protocol</flag> <flag name="tftpd">Build and install tftpd -- server for the Trivial File Transfer Protocol (see also <pkg>net-ftp/tftp-hpa</pkg>)</flag> <flag name="tracepath">Build and install tracepath -- tool for tracing network paths for discovering MTU values</flag> - <flag name="traceroute">Build and install traceroute -- tool for tracing network paths (see also <pkg>net-analyzer/traceroute</pkg>)</flag> + <flag name="traceroute6">Build and install deprecated traceroute6 tool. It's recommended to use <pkg>net-analyzer/traceroute</pkg> instead.</flag> <flag name="SECURITY_HAZARD">Allow non-root users to flood (ping -f). This is generally a very bad idea.</flag> </use> <upstream>
