From 8adcafc239ccb3fa9fc968140b43da90d735ce21 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 21 Jan 2013 21:04:26 -0800 Subject: nfs-utils: Upgrade 1.2.3 -> 1.2.8-rc3 Disable nfsv4l since it needs LVM2 which is not available in OE-Core Disable nfsdcltrack since its configure time check for sqlite3 is not cross compiling safe It can support ipv6 but thats disabled since we disable libtirpc which is needed for ipv6 support in nfs-utils Patches imported from fedora to take us to 1.2.8-rc3 (From OE-Core rev: 658bfe4690005d0a68dc4e3ca2bc741ff4c89f28) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- .../nfs-utils/nfs-utils-1.0.6-uclibc.patch | 39 ++++++++++++---------- 1 file changed, 22 insertions(+), 17 deletions(-) (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch') diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch index 6d46d3a591..c3442380e1 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch @@ -1,22 +1,27 @@ +Signed-off-by: Khem Raj + Upstream-Status: Inappropriate [embedded specific] -Index: nfs-utils-1.2.3/support/nfs/svc_socket.c +Index: nfs-utils-1.2.6/support/nfs/svc_socket.c =================================================================== ---- nfs-utils-1.2.3.orig/support/nfs/svc_socket.c -+++ nfs-utils-1.2.3/support/nfs/svc_socket.c -@@ -67,6 +67,7 @@ svc_socket (u_long number, int type, int - memset (&addr, 0, sizeof (addr)); - addr.sin_family = AF_INET; +--- nfs-utils-1.2.6.orig/support/nfs/svc_socket.c 2012-05-14 07:40:52.000000000 -0700 ++++ nfs-utils-1.2.6/support/nfs/svc_socket.c 2012-10-28 02:42:50.179222457 -0700 +@@ -40,8 +40,9 @@ + char rpcdata[1024], servdata[1024]; + struct rpcent rpcbuf, *rpcp; + struct servent servbuf, *servp = NULL; +- int ret; ++ int ret = 0; -+#ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */ - ret = getrpcbynumber_r (number, &rpcbuf, rpcdata, sizeof rpcdata, - &rpcp); - if (ret == 0 && rpcp != NULL) -@@ -100,6 +101,7 @@ svc_socket (u_long number, int type, int ++#ifndef __UCLIBC__ /* neither getrpcbynumber() nor getrpcbynumber_r() is SuSv3 */ + ret = getrpcbynumber_r(number, &rpcbuf, rpcdata, sizeof rpcdata, + &rpcp); + if (ret == 0 && rpcp != NULL) { +@@ -60,6 +61,7 @@ + } + } } - } - else -+#endif - { - addr.sin_port = 0; - if (bind (sock, (struct sockaddr *) &addr, len) < 0) ++#endif /* __UCLIBC__ */ + + if (ret == 0 && servp != NULL) + return ntohs(servp->s_port); -- cgit v1.2.3-54-g00ecf