Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
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
NFS_UTILS_CONF_ENV = knfsd_cv_bsd_signals=no
NFS_UTILS_CONF_OPTS = \
- --disable-gss \
--enable-tirpc \
--enable-ipv6 \
--without-tcp-wrappers \
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