mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 13:30:54 +08:00
nfs-kernel-server: switch to v2.3.4
This commit is contained in:
parent
897c45ba5f
commit
13bda64f2e
@ -7,9 +7,9 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=nfs-kernel-server
|
PKG_NAME:=nfs-kernel-server
|
||||||
PKG_VERSION:=2.5.1
|
PKG_VERSION:=2.3.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_HASH:=446ff6d2b039dedb0de96b88a3677516c9314613fc6f28b7b6e94c51fb375195
|
PKG_HASH:=8a6bafd5a33c4259e6e5093d126384cbe33acb10135578b5faa60c40f2f5e995
|
||||||
|
|
||||||
PKG_SOURCE_URL:=@SF/nfs
|
PKG_SOURCE_URL:=@SF/nfs
|
||||||
PKG_SOURCE:=nfs-utils-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=nfs-utils-$(PKG_VERSION).tar.xz
|
||||||
|
10
net/nfs-kernel-server/patches/100-no_malloc_h.patch
Normal file
10
net/nfs-kernel-server/patches/100-no_malloc_h.patch
Normal file
@ -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"
|
@ -1,13 +0,0 @@
|
|||||||
--- a/support/nfsidmap/libnfsidmap.c
|
|
||||||
+++ b/support/nfsidmap/libnfsidmap.c
|
|
||||||
@@ -89,6 +89,10 @@ gid_t nobody_gid = (gid_t)-1;
|
|
||||||
#define NFS4DNSTXTREC "_nfsv4idmapdomain"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#ifndef NS_MAXMSG
|
|
||||||
+#define NS_MAXMSG 65535
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
/* Default logging fuction */
|
|
||||||
static void default_logger(const char *fmt, ...)
|
|
||||||
{
|
|
Loading…
Reference in New Issue
Block a user