From: James Hilliard Date: Sun, 18 Jul 2021 20:44:06 +0000 (-0600) Subject: package/nfs-utils: Add optional GSS support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2aea94a47892f22250a63f4ee4fda1ec5373f6c4;p=buildroot.git package/nfs-utils: Add optional GSS support Signed-off-by: James Hilliard Reviewed-by: Petr Vorel Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in index bd1e091331..f2997b9c91 100644 --- a/package/nfs-utils/Config.in +++ b/package/nfs-utils/Config.in @@ -26,6 +26,13 @@ config BR2_PACKAGE_NFS_UTILS_NFSV4 help Enable NFSv4/NFSv4.1 support +config BR2_PACKAGE_NFS_UTILS_GSS + bool "gss" + depends on BR2_PACKAGE_NFS_UTILS_NFSV4 + select BR2_PACKAGE_LIBTIRPC_GSS + help + Enable GSS support + config BR2_PACKAGE_NFS_UTILS_RPCDEBUG bool "rpcdebug" help diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk index 0b4bca4772..763dd57ace 100644 --- a/package/nfs-utils/nfs-utils.mk +++ b/package/nfs-utils/nfs-utils.mk @@ -16,7 +16,6 @@ NFS_UTILS_AUTORECONF = YES NFS_UTILS_CONF_ENV = knfsd_cv_bsd_signals=no NFS_UTILS_CONF_OPTS = \ - --disable-gss \ --enable-tirpc \ --enable-ipv6 \ --without-tcp-wrappers \ @@ -52,6 +51,16 @@ else NFS_UTILS_CONF_OPTS += --disable-nfsv4 --disable-nfsv41 endif +ifeq ($(BR2_PACKAGE_NFS_UTILS_GSS),y) +NFS_UTILS_CONF_OPTS += \ + --enable-gss \ + --enable-svcgss \ + --with-krb5=$(STAGING_DIR)/usr +NFS_UTILS_DEPENDENCIES += libkrb5 +else +NFS_UTILS_CONF_OPTS += --disable-gss --disable-svcgss +endif + ifeq ($(BR2_PACKAGE_LIBCAP),y) NFS_UTILS_CONF_OPTS += --enable-caps NFS_UTILS_DEPENDENCIES += libcap