diff options
| -rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils/0001-configure-Allow-to-explicitly-disable-nfsidmap.patch | 43 | ||||
| -rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb | 2 |
2 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-configure-Allow-to-explicitly-disable-nfsidmap.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-configure-Allow-to-explicitly-disable-nfsidmap.patch new file mode 100644 index 0000000000..7025fb555c --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-configure-Allow-to-explicitly-disable-nfsidmap.patch | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | From 9b84cff305866abd150cf1a4c6e7e5ebf8a7eb3a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 3 | Date: Fri, 15 Nov 2013 23:21:35 +0100 | ||
| 4 | Subject: [PATCH] configure: Allow to explicitly disable nfsidmap | ||
| 5 | |||
| 6 | * keyutils availability is autodetected and builds aren't reproducible | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | |||
| 10 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 11 | --- | ||
| 12 | configure.ac | 10 +++++++++- | ||
| 13 | 1 file changed, 9 insertions(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/configure.ac b/configure.ac | ||
| 16 | index bf433d6..28a8f62 100644 | ||
| 17 | --- a/configure.ac | ||
| 18 | +++ b/configure.ac | ||
| 19 | @@ -69,6 +69,12 @@ AC_ARG_ENABLE(nfsv4, | ||
| 20 | AC_SUBST(enable_nfsv4) | ||
| 21 | AM_CONDITIONAL(CONFIG_NFSV4, [test "$enable_nfsv4" = "yes"]) | ||
| 22 | |||
| 23 | +AC_ARG_ENABLE(nfsidmap, | ||
| 24 | + [AC_HELP_STRING([--enable-nfsidmap], | ||
| 25 | + [enable support for NFSv4 idmapper @<:@default=yes@:>@])], | ||
| 26 | + enable_nfsidmap=$enableval, | ||
| 27 | + enable_nfsidmap=yes) | ||
| 28 | + | ||
| 29 | AC_ARG_ENABLE(nfsv41, | ||
| 30 | [AC_HELP_STRING([--enable-nfsv41], | ||
| 31 | [enable support for NFSv41 @<:@default=yes@:>@])], | ||
| 32 | @@ -296,7 +302,7 @@ fi | ||
| 33 | |||
| 34 | dnl enable nfsidmap when its support by libnfsidmap | ||
| 35 | AM_CONDITIONAL(CONFIG_NFSDCLTRACK, [test "$enable_nfsdcltrack" = "yes" ]) | ||
| 36 | -AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$ac_cv_header_keyutils_h$ac_cv_lib_nfsidmap_nfs4_owner_to_uid" = "yesyes"]) | ||
| 37 | +AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$enable_nfsidmap$ac_cv_header_keyutils_h$ac_cv_lib_nfsidmap_nfs4_owner_to_uid" = "yesyesyes"]) | ||
| 38 | |||
| 39 | |||
| 40 | if test "$knfsd_cv_glibc2" = no; then | ||
| 41 | -- | ||
| 42 | 1.8.4.3 | ||
| 43 | |||
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb index 9fa972cac5..ea4914670b 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb | |||
| @@ -13,6 +13,7 @@ RDEPENDS_${PN} = "rpcbind" | |||
| 13 | RRECOMMENDS_${PN} = "kernel-module-nfsd" | 13 | RRECOMMENDS_${PN} = "kernel-module-nfsd" |
| 14 | 14 | ||
| 15 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.bz2 \ | 15 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.bz2 \ |
| 16 | file://0001-configure-Allow-to-explicitly-disable-nfsidmap.patch \ | ||
| 16 | file://nfs-utils-1.0.6-uclibc.patch \ | 17 | file://nfs-utils-1.0.6-uclibc.patch \ |
| 17 | file://nfs-utils-1.2.3-sm-notify-res_init.patch \ | 18 | file://nfs-utils-1.2.3-sm-notify-res_init.patch \ |
| 18 | file://nfsserver \ | 19 | file://nfsserver \ |
| @@ -54,6 +55,7 @@ EXTRA_OECONF = "--with-statduser=nobody \ | |||
| 54 | 55 | ||
| 55 | PACKAGECONFIG ??= "tcp-wrappers" | 56 | PACKAGECONFIG ??= "tcp-wrappers" |
| 56 | PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers" | 57 | PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers" |
| 58 | PACKAGECONFIG[nfsidmap] = "--enable-nfsidmap,--disable-nfsidmap,keyutils" | ||
| 57 | 59 | ||
| 58 | INHIBIT_AUTO_STAGE = "1" | 60 | INHIBIT_AUTO_STAGE = "1" |
| 59 | 61 | ||
