nfs-kernel-server: update to 1.3.1
authorPeter Wagner <tripolar@gmx.at>
Sat, 18 Oct 2014 13:34:22 +0000 (15:34 +0200)
committerPeter Wagner <tripolar@gmx.at>
Sat, 18 Oct 2014 13:34:22 +0000 (15:34 +0200)
Signed-off-by: Peter Wagner <tripolar@gmx.at>
net/nfs-kernel-server/Makefile
net/nfs-kernel-server/patches/100-nfs_utils_uclibc.patch [deleted file]
net/nfs-kernel-server/patches/100-no_malloc_h.patch [new file with mode: 0644]
net/nfs-kernel-server/patches/101-no_malloc_h.patch [deleted file]

index b5cfcd757b226a2fac98030cb9404a223343e9ad..1a3468f4a59ad68aaff94bf05b0b8bf0121b3a18 100644 (file)
@@ -7,9 +7,9 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nfs-kernel-server
-PKG_VERSION:=1.3.0
+PKG_VERSION:=1.3.1
 PKG_RELEASE:=1
-PKG_MD5SUM:=3ac3726eda563946d1f44ac3e5b61d56
+PKG_MD5SUM:=97f157f954edb6d4d4385a0c5986f36f
 
 PKG_SOURCE_URL:=@SF/nfs
 PKG_SOURCE:=nfs-utils-$(PKG_VERSION).tar.bz2
diff --git a/net/nfs-kernel-server/patches/100-nfs_utils_uclibc.patch b/net/nfs-kernel-server/patches/100-nfs_utils_uclibc.patch
deleted file mode 100644 (file)
index 5e4877e..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
---- a/support/nfs/svc_socket.c
-+++ b/support/nfs/svc_socket.c
-@@ -40,10 +40,13 @@ int getservport(u_long number, const cha
-       char rpcdata[1024], servdata[1024];
-       struct rpcent rpcbuf, *rpcp;
-       struct servent servbuf, *servp = NULL;
--      int ret;
--
-+      int ret=0;
-+#ifndef __UCLIBC__
-       ret = getrpcbynumber_r(number, &rpcbuf, rpcdata, sizeof rpcdata,
-                               &rpcp);
-+#else
-+      rpcp = getrpcbynumber (number);
-+#endif
-       if (ret == 0 && rpcp != NULL) {
-               /* First try name.  */
-               ret = getservbyname_r(rpcp->r_name, proto, &servbuf, servdata,
---- a/utils/mountd/cache.c
-+++ b/utils/mountd/cache.c
-@@ -166,6 +166,7 @@ static void auth_unix_gid(FILE *f)
-       pw = getpwuid(uid);
-       if (!pw)
-               rv = -1;
-+#ifndef __UCLIBC__
-       else {
-               rv = getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups);
-               if (rv == -1 && ngroups >= groups_len) {
-@@ -180,6 +181,7 @@ static void auth_unix_gid(FILE *f)
-                       }
-               }
-       }
-+#endif
-       qword_printuint(f, uid);
-       qword_printtimefrom(f, DEFAULT_TTL);
-       if (rv >= 0) {
diff --git a/net/nfs-kernel-server/patches/100-no_malloc_h.patch b/net/nfs-kernel-server/patches/100-no_malloc_h.patch
new file mode 100644 (file)
index 0000000..afe4c98
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/tools/rpcgen/rpc_cout.c
++++ b/tools/rpcgen/rpc_cout.c
+@@ -36,7 +36,6 @@ static char sccsid[] = "@(#)rpc_cout.c 1
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <ctype.h>
+ #include "rpc_parse.h"
+ #include "rpc_util.h"
diff --git a/net/nfs-kernel-server/patches/101-no_malloc_h.patch b/net/nfs-kernel-server/patches/101-no_malloc_h.patch
deleted file mode 100644 (file)
index afe4c98..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/tools/rpcgen/rpc_cout.c
-+++ b/tools/rpcgen/rpc_cout.c
-@@ -36,7 +36,6 @@ static char sccsid[] = "@(#)rpc_cout.c 1
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
--#include <malloc.h>
- #include <ctype.h>
- #include "rpc_parse.h"
- #include "rpc_util.h"