Skip to contentSkip to conversation

traceroute: rename alternatives name

PATCH In review Hongxu Jia 2 participants 3 messages Feb 25, 2014 – Feb 26, 2014

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover traceroute: rename alternatives name

The following changes since commit 8089aa451827cb791c7d795b9899dc152d1ceb66:

vlc: Fix build with flac-1.3.0 (2014-02-24 10:10:25 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-traceroute
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-traceroute

Hongxu Jia (1):
traceroute: rename alternatives name

 meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 1/1 traceroute: rename alternatives name

Rename traceroute's alternatives name from 'traceroute6' to 'traceroute'.

The 'traceroute6' is equivalent to 'traceroute -6' which means traceroute in IPv6, and traceroute also supports IPv4. So traceroute6 is part of traceroute and they are not equivalent.

The Ubuntu 13.04 treated them as two different alternatives name also.
...

$ ls -al /usr/bin/traceroute*
lrwxrwxrwx 1 root root    28 Feb 25 13:31 /usr/bin/traceroute -> /etc/alternatives/traceroute
lrwxrwxrwx 1 root root    29 Oct 22  2012 /usr/bin/traceroute6 -> /etc/alternatives/traceroute6
...
---
 meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb +2 -2
index e6718db..83ac5a7 100644
@@ -39,5 +39,5 @@ do_install() {
 
 }
 
-ALTERNATIVE_${PN} = "traceroute6"
-ALTERNATIVE_LINK_NAME[traceroute6] = "${bindir}/traceroute"
+ALTERNATIVE_${PN} = "traceroute"
+ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute"
Signature · 1 line
1.8.1.2
#2 lore raw
Quoted 1 line · Hongxu Jia

Rename traceroute's alternatives name from 'traceroute6' to 'traceroute'.

Please use [meta-networking] tag in subject so it's easier to filter them on patchwork to separate bundles.

Quoted 32 lines

The 'traceroute6' is equivalent to 'traceroute -6' which means traceroute in IPv6, and traceroute also supports IPv4. So traceroute6 is part of traceroute and they are not equivalent.

The Ubuntu 13.04 treated them as two different alternatives name also.
...

$ ls -al /usr/bin/traceroute*
lrwxrwxrwx 1 root root    28 Feb 25 13:31 /usr/bin/traceroute -> /etc/alternatives/traceroute
lrwxrwxrwx 1 root root    29 Oct 22  2012 /usr/bin/traceroute6 -> /etc/alternatives/traceroute6
...
---
 meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb +2 -2
index e6718db..83ac5a7 100644
@@ -39,5 +39,5 @@ do_install() {
 
 }
 
-ALTERNATIVE_${PN} = "traceroute6"
-ALTERNATIVE_LINK_NAME[traceroute6] = "${bindir}/traceroute"
+ALTERNATIVE_${PN} = "traceroute"
+ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute"
Signature · 1 line
1.8.1.2
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]