Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

inetutils: Add traceroute and ifconfig to u-a, ifconfig moves to /sbin

Signed-off-by: Tom Rini <tom_rini@mentor.com>
  • Loading branch information...
commit f57b09944118b0f93ef9244f8a65765087c220a1 1 parent 5ef4b15
Tom Rini authored
9 recipes/inetutils/inetutils_1.5.bb
@@ -6,7 +6,7 @@ networking utilities and servers including ftp, ftpd, rcp, \
6 6 rexec, rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, \
7 7 talkd, telnet, telnetd, tftp, tftpd, and uucpd."
8 8
9   -PR = "r3"
  9 +PR = "r4"
10 10
11 11 SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
12 12 "
@@ -22,21 +22,28 @@ do_configure_prepend () {
22 22
23 23 do_install () {
24 24 autotools_do_install
  25 + install -d ${D}${base_sbindir}
25 26 mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN}
26 27 mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN}
27 28 mv ${D}${bindir}/logger ${D}${bindir}/logger.${PN}
  29 + mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${PN}
  30 + mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${PN}
28 31 }
29 32
30 33 pkg_postinst_${PN} () {
31 34 update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100
32 35 update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100
33 36 update-alternatives --install ${bindir}/logger logger logger.${PN} 100
  37 + update-alternatives --install ${bindir}/traceroute traceroute traceroute.${PN} 100
  38 + update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100
34 39 }
35 40
36 41 pkg_prerm_${PN} () {
37 42 update-alternatives --remove tftp tftp.${PN}
38 43 update-alternatives --remove telnet telnet.${PN}
39 44 update-alternatives --remove logger logger.${PN}
  45 + update-alternatives --remove traceroute traceroute.${PN}
  46 + update-alternatives --remove ifconfig ifconfig.${PN}
40 47 }
41 48
42 49 SRC_URI[md5sum] = "aeacd11d19bf25c89d4eff38346bdfb9"
11 recipes/inetutils/inetutils_1.8.bb
@@ -6,7 +6,7 @@ networking utilities and servers including ftp, ftpd, rcp, \
6 6 rexec, rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, \
7 7 talkd, telnet, telnetd, tftp, tftpd, and uucpd."
8 8
9   -PR = "r2"
  9 +PR = "r3"
10 10
11 11 SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
12 12 "
@@ -23,22 +23,29 @@ do_configure_prepend () {
23 23
24 24 do_install () {
25 25 autotools_do_install
  26 + install -d ${D}${base_sbindir}
26 27 mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN}
27 28 mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN}
28 29 mv ${D}${bindir}/logger ${D}${bindir}/logger.${PN}
  30 + mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${PN}
  31 + mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${PN}
29 32 }
30 33
31 34 pkg_postinst_${PN} () {
32 35 update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100
33 36 update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100
34 37 update-alternatives --install ${bindir}/logger logger logger.${PN} 100
  38 + update-alternatives --install ${bindir}/traceroute traceroute traceroute.${PN} 100
  39 + update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100
35 40 }
36 41
37 42 pkg_prerm_${PN} () {
38 43 update-alternatives --remove tftp tftp.${PN}
39 44 update-alternatives --remove telnet telnet.${PN}
40 45 update-alternatives --remove logger logger.${PN}
  46 + update-alternatives --remove traceroute traceroute.${PN}
  47 + update-alternatives --remove ifconfig ifconfig.${PN}
41 48 }
  49 +
42 50 SRC_URI[md5sum] = "ad8fdcdf1797b9ca258264a6b04e48fd"
43 51 SRC_URI[sha256sum] = "c8500baee04b9ea408c9e65e24ad7f5b41e7d96d42fb1d29abf25b52b68311c7"
44   -

0 comments on commit f57b099

Please sign in to comment.
Something went wrong with that request. Please try again.