Files
Giulio Benetti 83d0ba5faf package/nfs-utils: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB
Package nfs-utils requires libtirpc rpcdb option enabled. Package
libtirpc with commit [1] disabled rpcdb functions by default so let's
select it by default to enable rpcdb functions required.

[1]:
https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193

Fixes:
https://autobuild.buildroot.org/results/29adf2d04cf4c46e492af95edaa96983985d6b57/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2026-01-06 23:13:53 +01:00

68 lines
1.7 KiB
Plaintext

comment "nfs-utils needs a toolchain w/ threads, headers >= 3.17"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
config BR2_PACKAGE_NFS_UTILS
bool "nfs-utils"
depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # getrandom()
select BR2_PACKAGE_LIBEVENT
select BR2_PACKAGE_LIBTIRPC # IPv6 requires libtirpc
select BR2_PACKAGE_LIBTIRPC_RPCDB
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
The NFS Linux kernel server.
Supports NFSv3 and optionally NFSv4 (and later).
http://linux-nfs.org/
if BR2_PACKAGE_NFS_UTILS
config BR2_PACKAGE_NFS_UTILS_NFSV4
bool "NFSv4/NFSv4.1"
depends on !BR2_STATIC_LIBS # keyutils, lvm2
select BR2_PACKAGE_KEYUTILS
select BR2_PACKAGE_LVM2
help
Enable NFSv4/NFSv4.1/NFSv4.2 support
comment "NFSv4/NFSv4.1 support needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
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
The RPC debugging utility
config BR2_PACKAGE_NFS_UTILS_RPC_LOCKD
bool "rpc.lockd"
help
NFS lock manager for Linux kernels older than 2.4
config BR2_PACKAGE_NFS_UTILS_RPC_NFSD
bool "rpc.nfsd"
default y
select BR2_PACKAGE_RPCBIND # runtime
help
NFS server
config BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD
bool "rpc.rquotad"
help
NFS remote quota server
endif