summaryrefslogtreecommitdiffstats
path: root/rules/nfsutils.in
blob: 5673e2ca95ff10db3e7678a9f8fb321f38892879 (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
128
129
130
131
132
133
134
135
136
137
138
139
## SECTION=networking
menuconfig NFSUTILS
	tristate
	# we need libblkid
	select E2FSPROGS
	prompt "nfsutils                      "
	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_V3
	bool
	prompt "Enable support for NFSv3"
	help
	  Enable support for version 3 of the NFS protocol.
	  Revision 3 of the NFS protocol addresses new
	  requirements. The need to support larger files
	  and file systems has prompted extensions to
	  allow 64 bit file sizes and offsets. The revision
	  enhances security by adding support for an access
	  check to be done on the server.

	  See RFC1813 for Details:
	  http://www.ietf.org/rfc/rfc1813.txt

config	NFSUTILS_SECURE_STATD
	bool
	prompt "Only lockd can use statd (security)"

config	NFSUTILS_RQUOTAD
	bool
	prompt "Enable rquotad"

config	NFSUTILS_WITH_TCPWRAPPERS
	bool
	prompt "Use TCP Wrappers"
	select TCPWRAPPER

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 /sbin/exportfs"

config	NFSUTILS_INSTALL_MOUNTD
	bool
	prompt "Install /sbin/mountd"

config	NFSUTILS_INSTALL_NFSD
	bool
	prompt "Install /sbin/nfsd"

config	NFSUTILS_INSTALL_NFSSTAT
	bool
	prompt "Install /sbin/nfsstat"

config  NFSUTILS_INSTALL_SHOWMOUNT
	bool
	prompt "Install /sbin/showmount"

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

# -----

comment "runtime options"

choice
	prompt "Kind of startup script"
	default ROOTFS_ETC_INITD_NFS_DEFAULT

	config ROOTFS_ETC_INITD_NFS_DEFAULT
		bool
		prompt "Use generic"
		help
		  Installs a generic /etc/init.d/nfsd startup script.
		  See <ptxdist-install>/generic/etc/init.d/nfsd

	config ROOTFS_ETC_INITD_NFS_USER
		bool
		prompt "User defined"
		help
		  This uses a user defined nfsd startup script. PTXdist
		  uses files projectroot/etc/init.d/nfsd in your local
		  project

endchoice

config NFSUTILS_INSTALL_USER_EXPORTS
	default n
	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