[oe-commits] Tom Rini : inetutils: Use fakeroot in do_install

git version control git at git.openembedded.org
Fri Nov 12 05:06:42 UTC 2010


Module: openembedded.git
Branch: testing-next
Commit: 5c5d48e2a92610b64729f7fd24504bba3a5adc1c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5c5d48e2a92610b64729f7fd24504bba3a5adc1c

Author: Tom Rini <tom_rini at mentor.com>
Date:   Thu Nov 11 08:16:23 2010 -0700

inetutils: Use fakeroot in do_install

rsh/related and traceroute will otherwise be usuable.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/inetutils/inetutils_1.4.2.bb |    8 ++++++--
 recipes/inetutils/inetutils_1.5.bb   |    6 +++---
 recipes/inetutils/inetutils_1.8.bb   |    6 +++---
 3 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/recipes/inetutils/inetutils_1.4.2.bb b/recipes/inetutils/inetutils_1.4.2.bb
index ec79349..37ff965 100644
--- a/recipes/inetutils/inetutils_1.4.2.bb
+++ b/recipes/inetutils/inetutils_1.4.2.bb
@@ -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"
diff --git a/recipes/inetutils/inetutils_1.5.bb b/recipes/inetutils/inetutils_1.5.bb
index f51c3b0..dba140f 100644
--- a/recipes/inetutils/inetutils_1.5.bb
+++ b/recipes/inetutils/inetutils_1.5.bb
@@ -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}
diff --git a/recipes/inetutils/inetutils_1.8.bb b/recipes/inetutils/inetutils_1.8.bb
index 504bfdd..1396c78 100644
--- a/recipes/inetutils/inetutils_1.8.bb
+++ b/recipes/inetutils/inetutils_1.8.bb
@@ -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}





More information about the Openembedded-commits mailing list