diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-30 10:12:14 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-30 10:12:14 +0000 |
commit | 59ad91a880695808c5b4efe88fa46286662e4cfc (patch) | |
tree | 52a40efec182c732157be1553609c9bb0d74892d /meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/018-remove-tcp-wrappers.patch | |
parent | acf3b8e884657101b736d32f4216655b96659f49 (diff) | |
download | poky-59ad91a880695808c5b4efe88fa46286662e4cfc.tar.gz |
unfs-server: Fix PV so it obeys the version number policy
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/018-remove-tcp-wrappers.patch')
-rw-r--r-- | meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/018-remove-tcp-wrappers.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/018-remove-tcp-wrappers.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/018-remove-tcp-wrappers.patch new file mode 100644 index 0000000000..95ecdee611 --- /dev/null +++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/018-remove-tcp-wrappers.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | # Remove the requirement to link with libwrap | ||
2 | # Patch origin: Wind River | ||
3 | |||
4 | Index: nfs-server-2.2beta47/haccess.c | ||
5 | =================================================================== | ||
6 | --- nfs-server-2.2beta47.orig/haccess.c 1999-04-08 08:47:19.000000000 -0400 | ||
7 | +++ nfs-server-2.2beta47/haccess.c 2006-08-07 17:05:31.868221639 -0400 | ||
8 | @@ -79,8 +79,12 @@ | ||
9 | clients[hash] = hp; | ||
10 | |||
11 | hp->clnt_addr = addr; | ||
12 | +#ifdef USE_TCP_WRAPPERS | ||
13 | hp->status = hosts_ctl(rpcprog, "unknown", | ||
14 | inet_ntoa(addr), "root"); | ||
15 | +#else | ||
16 | + hp->status = 1; | ||
17 | +#endif | ||
18 | nrhosts++; | ||
19 | } | ||
20 | |||