package/nfs-utils: Add optional GSS support
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>
This commit is contained in:
parent
ddd9e723c3
commit
2aea94a478
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user