summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity')
-rw-r--r--meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb35
1 files changed, 18 insertions, 17 deletions
diff --git a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
index 81457d7d6..155befec1 100644
--- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
+++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
@@ -8,6 +8,7 @@ LICENSE = "GPLv3"
8 8
9LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7" 9LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7"
10 10
11PR = "r1"
11 12
12SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \ 13SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
13 file://disable-pre-ANSI-compilers.patch \ 14 file://disable-pre-ANSI-compilers.patch \
@@ -37,27 +38,27 @@ do_configure_prepend () {
37do_install () { 38do_install () {
38 autotools_do_install 39 autotools_do_install
39 install -d ${D}${base_sbindir} ${D}${base_bindir} 40 install -d ${D}${base_sbindir} ${D}${base_bindir}
40 mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN} 41 mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${BPN}
41 mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN} 42 mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${BPN}
42 mv ${D}${bindir}/logger ${D}${bindir}/logger.${PN} 43 mv ${D}${bindir}/logger ${D}${bindir}/logger.${BPN}
43 mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${PN} 44 mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${BPN}
44 mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} 45 mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${BPN}
45 mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${PN} 46 mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${BPN}
46} 47}
47 48
48pkg_postinst_${PN} () { 49pkg_postinst_${PN} () {
49 update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100 50 update-alternatives --install ${bindir}/tftp tftp tftp.${BPN} 100
50 update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100 51 update-alternatives --install ${bindir}/telnet telnet telnet.${BPN} 100
51 update-alternatives --install ${bindir}/logger logger logger.${PN} 100 52 update-alternatives --install ${bindir}/logger logger logger.${BPN} 100
52 update-alternatives --install ${bindir}/traceroute traceroute traceroute.${PN} 100 53 update-alternatives --install ${bindir}/traceroute traceroute traceroute.${BPN} 100
53 update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 100 54 update-alternatives --install ${base_bindir}/hostname hostname hostname.${BPN} 100
54 update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100 55 update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${BPN} 100
55} 56}
56 57
57pkg_prerm_${PN} () { 58pkg_prerm_${PN} () {
58 update-alternatives --remove tftp tftp.${PN} 59 update-alternatives --remove tftp tftp.${BPN}
59 update-alternatives --remove telnet telnet.${PN} 60 update-alternatives --remove telnet telnet.${BPN}
60 update-alternatives --remove logger logger.${PN} 61 update-alternatives --remove logger logger.${BPN}
61 update-alternatives --remove traceroute traceroute.${PN} 62 update-alternatives --remove traceroute traceroute.${BPN}
62 update-alternatives --remove ifconfig ifconfig.${PN} 63 update-alternatives --remove ifconfig ifconfig.${BPN}
63} 64}