inetutils: Use fakeroot in do_install
authorTom Rini <tom_rini@mentor.com>
Thu, 11 Nov 2010 15:16:23 +0000 (08:16 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 11 Nov 2010 16:56:07 +0000 (09:56 -0700)
rsh/related and traceroute will otherwise be usuable.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/inetutils/inetutils_1.4.2.bb
recipes/inetutils/inetutils_1.5.bb
recipes/inetutils/inetutils_1.8.bb

index ec79349..37ff965 100644 (file)
@@ -1,12 +1,12 @@
 SECTION = "libs"
-DEPENDS = "ncurses"
+DEPENDS = "ncurses fakeroot-native"
 LICENSE = "GPL"
 DESCRIPTION = "The GNU inetutils are a collection of common \
 networking utilities and servers including ftp, ftpd, rcp, \
 rexec, rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, \
 talkd, telnet, telnetd, tftp, tftpd, and uucpd."
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
           file://configure.patch"
@@ -19,5 +19,9 @@ do_configure_prepend () {
        rm -f ${S}/glob/configure*
 }
 
+fakeroot do_install () {
+       autotools_do_install
+}
+
 SRC_URI[md5sum] = "df0909a586ddac2b7a0d62795eea4206"
 SRC_URI[sha256sum] = "9f001daa0f3d571ae35aac88f04d5dd982a14e90257e4dfb535c143fa18d5830"
index f51c3b0..dba140f 100644 (file)
@@ -1,12 +1,12 @@
 SECTION = "libs"
-DEPENDS = "ncurses"
+DEPENDS = "ncurses fakeroot-native"
 LICENSE = "GPL"
 DESCRIPTION = "The GNU inetutils are a collection of common \
 networking utilities and servers including ftp, ftpd, rcp, \
 rexec, rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, \
 talkd, telnet, telnetd, tftp, tftpd, and uucpd."
 
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
 "
@@ -20,7 +20,7 @@ do_configure_prepend () {
        rm -f ${S}/glob/configure*
 }
 
-do_install () {
+fakeroot do_install () {
        autotools_do_install
        install -d ${D}${base_sbindir} ${D}${base_bindir}
        mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN}
index 504bfdd..1396c78 100644 (file)
@@ -1,12 +1,12 @@
 SECTION = "libs"
-DEPENDS = "ncurses"
+DEPENDS = "ncurses fakeroot-native"
 LICENSE = "GPL"
 DESCRIPTION = "The GNU inetutils are a collection of common \
 networking utilities and servers including ftp, ftpd, rcp, \
 rexec, rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, \
 talkd, telnet, telnetd, tftp, tftpd, and uucpd."
 
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
 "
@@ -21,7 +21,7 @@ do_configure_prepend () {
        rm -f ${S}/glob/configure*
 }
 
-do_install () {
+fakeroot do_install () {
        autotools_do_install
        install -d ${D}${base_sbindir} ${D}${base_bindir}
        mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN}