summaryrefslogtreecommitdiffstats
path: root/rules/nfsutils.in
blob: b437498ed471ddb671740a046c93dc7c376d78fb (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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
menuconfig NFSUTILS
	bool "nfsutils            "

# -----

comment "build options"
	depends on NFSUTILS

config	NFSUTILS_V3
	bool
	prompt "Enable support for NFSv3"
	depends on NFSUTILS

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

config	NFSUTILS_RQUOTAD
	bool
	prompt "Enable rquotad"
	depends on NFSUTILS

config	NFSUTILS_WITH_TCPWRAPPERS
	bool
	prompt "Use TCP Wrappers"
	depends on NFSUTILS
	select TCPWRAPPER

choice
	prompt "statd's userid"
	depends on NFSUTILS
	depends on NFSUTILS_INSTALL_STATD
	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"
	depends on NFSUTILS

#config	NFSUTILS_INSTALL_CLIENTSCRIPT
#	bool
#	prompt "Install /etc/init.d/nfs-client"
#	depends on NFSUTILS

#config	NFSUTILS_INSTALL_FUNCTIONSSCRIPT
#	bool
#	prompt "Install /etc/init.d/nfs-functions"
#	depends on NFSUTILS

#config	NFSUTILS_INSTALL_SERVERSCRIPT
#	bool
#	prompt "Install /etc/init.d/nfs-server"
#	depends on NFSUTILS

config	NFSUTILS_INSTALL_EXPORTFS
	bool
	prompt "Install /sbin/exportfs"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_LOCKD
	bool
	prompt "Install /sbin/lockd"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_MOUNTD
	bool
	prompt "Install /sbin/mountd"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_NFSD
	bool
	prompt "Install /sbin/nfsd"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_NFSSTAT
	bool
	prompt "Install /sbin/nfsstat"
	depends on NFSUTILS

config	NFSUTILS_INSTALL_NHFSGRAPH
	bool
	prompt "Install /sbin/nhfsgraph"
	depends on NFSUTILS

config  NFSUTILS_INSTALL_NHFSNUMS
	bool
	prompt "Install /sbin/nhfsnums"
	depends on NFSUTILS

config  NFSUTILS_INSTALL_NHFSRUN
	bool
	prompt "Install /sbin/nhfsrun"
	depends on NFSUTILS

config  NFSUTILS_INSTALL_NHFSSTONE
	bool
	prompt "Install /sbin/nhfsstone"
	depends on NFSUTILS

config  NFSUTILS_INSTALL_SHOWMOUNT
	bool
	prompt "Install /sbin/showmount"
	depends on NFSUTILS

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

# -----

comment "runtime options"
	depends on NFSUTILS

choice
	prompt "Kind of startup script"
	default ROOTFS_ETC_INITD_NFS_DEFAULT
	depends on NFSUTILS

	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
	depends on NFSUTILS
	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