diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-04-15 19:00:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-21 07:20:25 +0100 |
commit | 9e901d8de3cad9f5462824b5827e5908e80857d0 (patch) | |
tree | 41b0312a746a0a78b26d4a68ed38396d33548355 /meta/recipes-connectivity/nfs-utils/libnfsidmap | |
parent | a4111d30e2f46f78ebe6c0ad452a712fc8b080d4 (diff) | |
download | poky-9e901d8de3cad9f5462824b5827e5908e80857d0.tar.gz |
libnfsidmap: Include sys/types.h for u_int32_t
Exposed using musl
Change-Id: Ia155850b3dfe62cd7d10b207b94ff3cc1f0244fc
(From OE-Core rev: 65e30309ac66bdd7785eb3790b91245a9ac5277a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/libnfsidmap')
3 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/libnfsidmap/0001-include-sys-types.h-for-getting-u_-typedefs.patch b/meta/recipes-connectivity/nfs-utils/libnfsidmap/0001-include-sys-types.h-for-getting-u_-typedefs.patch new file mode 100644 index 0000000000..4ac5290440 --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/libnfsidmap/0001-include-sys-types.h-for-getting-u_-typedefs.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From a5e95a42e7bceddc9ecad06694c1a0588f4bafc8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 14 Apr 2015 07:22:47 -0700 | ||
4 | Subject: [PATCH] include sys/types.h for getting u_* typedefs | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | cfg.h | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/cfg.h b/cfg.h | ||
14 | index d4d4cab..fe49e8f 100644 | ||
15 | --- a/cfg.h | ||
16 | +++ b/cfg.h | ||
17 | @@ -33,6 +33,7 @@ | ||
18 | #ifndef _CONF_H_ | ||
19 | #define _CONF_H_ | ||
20 | |||
21 | +#include <sys/types.h> | ||
22 | #include "queue.h" | ||
23 | |||
24 | struct conf_list_node { | ||
25 | -- | ||
26 | 2.1.4 | ||
27 | |||
diff --git a/meta/recipes-connectivity/nfs-utils/libnfsidmap/Set_nobody_user_group.patch b/meta/recipes-connectivity/nfs-utils/libnfsidmap/Set_nobody_user_group.patch new file mode 100644 index 0000000000..4633da919e --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/libnfsidmap/Set_nobody_user_group.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Set nobody user and group | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
5 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | ||
6 | --- a/idmapd.conf | ||
7 | +++ b/idmapd.conf | ||
8 | @@ -17,8 +17,8 @@ | ||
9 | |||
10 | [Mapping] | ||
11 | |||
12 | -#Nobody-User = nobody | ||
13 | -#Nobody-Group = nobody | ||
14 | +Nobody-User = nobody | ||
15 | +Nobody-Group = nogroup | ||
16 | |||
17 | [Translation] | ||
18 | |||
diff --git a/meta/recipes-connectivity/nfs-utils/libnfsidmap/fix-ac-prereq.patch b/meta/recipes-connectivity/nfs-utils/libnfsidmap/fix-ac-prereq.patch new file mode 100644 index 0000000000..d81c7c5f32 --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/libnfsidmap/fix-ac-prereq.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | --- a/configure.in | ||
4 | +++ b/configure.in | ||
5 | @@ -1,7 +1,7 @@ | ||
6 | # -*- Autoconf -*- | ||
7 | # Process this file with autoconf to produce a configure script. | ||
8 | |||
9 | -AC_PREREQ([2.68]) | ||
10 | +AC_PREREQ([2.65]) | ||
11 | AC_INIT([libnfsidmap],[0.25],[linux-nfs@vger.kernel.org]) | ||
12 | AC_CONFIG_SRCDIR([nfsidmap.h]) | ||
13 | AC_CONFIG_MACRO_DIR([m4]) | ||