summaryrefslogtreecommitdiffstats
path: root/rules/nfsutils.in
blob: 9fca268a9b8f580821eb810d6cb6423c163e82da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
## SECTION=networking
menuconfig NFSUTILS
	tristate
	prompt "nfsutils                      "
	select GCCLIBS_GCC_S	if NFSUTILS_INSTALL_NFSSTAT
	# we need libblkid
	select LIBBLKID
	select TCPWRAPPER	if NFSUTILS_WITH_TCPWRAPPERS
	select LIBEVENT		if NFSUTILS_V4
	help
	  The Sun Network Filesystem (NFS) protocol provides transparent remote
   	  access to shared files across networks.  The NFS protocol is designed
   	  to be portable across different machines, operating systems, network
   	  architectures, and transport protocols.  This portability is achieved
   	  through the use of Remote Procedure Call (RPC) primitives built on
   	  top of an eXternal Data Representation (XDR).  Implementations
   	  already exist for a variety of machines, from personal computers to
	  supercomputers. See RFC1094 for Details.
	  RFC1094 URL: http://www.ietf.org/rfc/rfc1094.txt

	  PTXdist currently supports version 2 and 3 of the NFS protocol,
	  but not NFSv4. Patches are welcome. You will find the NFSv4 protocol
	  specification in RFC3530: http://www.ietf.org/rfc/rfc3530.txt

# -----

if NFSUTILS

comment "build options"

config	NFSUTILS_V4
	bool
	depends on BROKEN
	prompt "Enable support for NFSv4"
	help
          Enable support for version 4 of the NFS protocol.

config	NFSUTILS_V41
	bool
	depends on NFSUTILS_V4
	depends on BROKEN
	prompt "Enable support for NFSv4.1"
	help
          Enable support for version 4.1 of the NFS protocol.

config	NFSUTILS_WITH_TCPWRAPPERS
	bool
	prompt "Use TCP Wrappers"

choice
	prompt "statd's userid"
	default NFSUTILS_RPCUSER_UID

	config NFSUTILS_RPCUSER_UID
		bool
		prompt "rpcuser"
		help
		  rpc.statd runs as user rpcuser

	config NFSUTILS_NOBODY_UID
		bool
		prompt "nobody"
		help
		  rpc.statd runs as user nobody

endchoice

# -----

comment "install options"

config	NFSUTILS_INSTALL_EXPORTFS
	bool
	prompt "Install exportfs"

config	NFSUTILS_INSTALL_MOUNTD
	bool
	select NFSUTILS_INSTALL_EXPORTFS
	prompt "Install rpc.mountd"

config  NFSUTILS_INSTALL_MOUNT
	bool
	prompt "Install mount/umount"

config	NFSUTILS_INSTALL_NFSD
	bool
	prompt "Install rpc.nfsd"

config	NFSUTILS_INSTALL_NFSSTAT
	bool
	prompt "Install nfsstat"

config  NFSUTILS_INSTALL_SHOWMOUNT
	bool
	prompt "Install showmount"

config  NFSUTILS_INSTALL_STATD
	bool
	prompt "Install rpc.statd"
# this feature needs /var/lib
	select ROOTFS_VAR
	select ROOTFS_VAR_LIB

# -----

comment "runtime options"

config NFSUTILS_NFSD_STARTSCRIPT
	bool
	default y
	prompt "install /etc/init.d/nfsd"

config NFSUTILS_SYSTEMD_UNIT
	bool
	default y
	depends on SYSTEMD
	prompt "install systemd unit files"

config NFSUTILS_INSTALL_USER_EXPORTS
	bool
	prompt "Install user's /etc/exports"
	help
	  This installs a user defined /etc/exports. PTXdist
	  uses files projectroot/etc/exports in your local
	  project

endif