aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-16 13:56:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-16 13:56:51 +0000
commita7825f269d7fef5370ef7bf4c9acf88a4ec51e71 (patch)
tree4c738d408e371c262c472b8f280640689614e07a
parent7b72fc12000c878e11d5f0b245f83c0d71b29f58 (diff)
downloadbusybox-w32-a7825f269d7fef5370ef7bf4c9acf88a4ec51e71.tar.gz
busybox-w32-a7825f269d7fef5370ef7bf4c9acf88a4ec51e71.tar.bz2
busybox-w32-a7825f269d7fef5370ef7bf4c9acf88a4ec51e71.zip
make FEATURE_HAVE_RPC auto-selectable by mount and inetd sub-features
-rw-r--r--Config.in36
-rw-r--r--networking/Config.in3
-rw-r--r--util-linux/Config.in3
3 files changed, 22 insertions, 20 deletions
diff --git a/Config.in b/Config.in
index a04e11b5c..54bcd9d10 100644
--- a/Config.in
+++ b/Config.in
@@ -101,8 +101,7 @@ config FEATURE_INSTALLER
101 help 101 help
102 Enable 'busybox --install [-s]' support. This will allow you to use 102 Enable 'busybox --install [-s]' support. This will allow you to use
103 busybox at runtime to create hard links or symlinks for all the 103 busybox at runtime to create hard links or symlinks for all the
104 applets that are compiled into busybox. This feature requires the 104 applets that are compiled into busybox.
105 /proc filesystem.
106 105
107config LOCALE_SUPPORT 106config LOCALE_SUPPORT
108 bool "Enable locale support (system needs locale for this to work)" 107 bool "Enable locale support (system needs locale for this to work)"
@@ -146,7 +145,7 @@ config FEATURE_PIDFILE
146 default n 145 default n
147 help 146 help
148 This option makes some applets (crond, syslogd and inetd) write 147 This option makes some applets (crond, syslogd and inetd) write
149 a pidfile in /var/run. Some applications rely on them 148 a pidfile in /var/run. Some applications rely on them.
150 149
151config FEATURE_SUID 150config FEATURE_SUID
152 bool "Support for SUID/SGID handling" 151 bool "Support for SUID/SGID handling"
@@ -163,13 +162,6 @@ config FEATURE_SUID
163 are login, passwd, su, ping, traceroute, crontab, dnsd, ipcrm, ipcs, 162 are login, passwd, su, ping, traceroute, crontab, dnsd, ipcrm, ipcs,
164 and vlock. 163 and vlock.
165 164
166config FEATURE_SYSLOG
167 bool "Support for syslog"
168 default n
169 help
170 This option is auto-selected when you select any applet which may
171 send its output to syslog. You do not need to select it manually.
172
173config FEATURE_SUID_CONFIG 165config FEATURE_SUID_CONFIG
174 bool "Runtime SUID/SGID configuration via /etc/busybox.conf" 166 bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
175 default n if FEATURE_SUID 167 default n if FEATURE_SUID
@@ -210,14 +202,6 @@ config FEATURE_SUID_CONFIG_QUIET
210 /etc/busybox.conf should be readable by the user needing the SUID, check 202 /etc/busybox.conf should be readable by the user needing the SUID, check
211 this option to avoid users to be notified about missing permissions. 203 this option to avoid users to be notified about missing permissions.
212 204
213config FEATURE_HAVE_RPC
214 bool "RPC support"
215 default y
216 help
217 Select this if you have rpc support.
218 This automatically turns off all configuration options that rely
219 on RPC.
220
221config SELINUX 205config SELINUX
222 bool "Support NSA Security Enhanced Linux" 206 bool "Support NSA Security Enhanced Linux"
223 default n 207 default n
@@ -262,6 +246,22 @@ config BUSYBOX_EXEC_PATH
262 executable. If you haven't got /proc, set this to wherever you 246 executable. If you haven't got /proc, set this to wherever you
263 want to run BusyBox from. 247 want to run BusyBox from.
264 248
249# These are auto-selected by other options
250
251config FEATURE_SYSLOG
252 bool "Support for logging to syslog"
253 default n
254 help
255 This option is auto-selected when you select any applet which may
256 send its output to syslog. You do not need to select it manually.
257
258config FEATURE_HAVE_RPC
259 bool "RPC support"
260 default n
261 help
262 This is automatically selected if any of enabled applets need it.
263 You do not need to select it manually.
264
265endmenu 265endmenu
266 266
267menu 'Build Options' 267menu 'Build Options'
diff --git a/networking/Config.in b/networking/Config.in
index efa6aaec2..13ad13f9a 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -347,7 +347,8 @@ config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
347config FEATURE_INETD_RPC 347config FEATURE_INETD_RPC
348 bool "Support RPC services" 348 bool "Support RPC services"
349 default n 349 default n
350 depends on INETD && FEATURE_HAVE_RPC 350 depends on INETD
351 select FEATURE_HAVE_RPC
351 help 352 help
352 Support Sun-RPC based services 353 Support Sun-RPC based services
353 354
diff --git a/util-linux/Config.in b/util-linux/Config.in
index 1040ce282..c9108134b 100644
--- a/util-linux/Config.in
+++ b/util-linux/Config.in
@@ -363,7 +363,8 @@ config MOUNT
363config FEATURE_MOUNT_NFS 363config FEATURE_MOUNT_NFS
364 bool "Support mounting NFS file systems" 364 bool "Support mounting NFS file systems"
365 default n 365 default n
366 depends on MOUNT && FEATURE_HAVE_RPC 366 depends on MOUNT
367 select FEATURE_HAVE_RPC
367 select FEATURE_SYSLOG 368 select FEATURE_SYSLOG
368 help 369 help
369 Enable mounting of NFS file systems. 370 Enable mounting of NFS file systems.