config: trim/improve item names and help texts, take 2

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-07-27 10:53:09 +02:00
parent 86d5bf4246
commit 68b653b66b
16 changed files with 81 additions and 74 deletions

View File

@ -11,8 +11,7 @@
//config: bool "awk (22 kb)" //config: bool "awk (22 kb)"
//config: default y //config: default y
//config: help //config: help
//config: Awk is used as a pattern scanning and processing language. This is //config: Awk is used as a pattern scanning and processing language.
//config: the BusyBox implementation of that programming language.
//config: //config:
//config:config FEATURE_AWK_LIBM //config:config FEATURE_AWK_LIBM
//config: bool "Enable math functions (requires libm)" //config: bool "Enable math functions (requires libm)"

View File

@ -9,7 +9,7 @@
//config: help //config: help
//config: login is used when signing onto a system. //config: login is used when signing onto a system.
//config: //config:
//config: Note that Busybox binary must be setuid root for this applet to //config: Note that busybox binary must be setuid root for this applet to
//config: work properly. //config: work properly.
//config: //config:
//config:config LOGIN_SESSION_AS_CHILD //config:config LOGIN_SESSION_AS_CHILD

View File

@ -12,7 +12,7 @@
//config: may change the password for any account. The administrator of a group //config: may change the password for any account. The administrator of a group
//config: may change the password for the group. //config: may change the password for the group.
//config: //config:
//config: Note that Busybox binary must be setuid root for this applet to //config: Note that busybox binary must be setuid root for this applet to
//config: work properly. //config: work properly.
//config: //config:
//config:config FEATURE_PASSWD_WEAK_CHECK //config:config FEATURE_PASSWD_WEAK_CHECK

View File

@ -21,7 +21,7 @@
//config: help //config: help
//config: Build the "vlock" applet which allows you to lock (virtual) terminals. //config: Build the "vlock" applet which allows you to lock (virtual) terminals.
//config: //config:
//config: Note that Busybox binary must be setuid root for this applet to //config: Note that busybox binary must be setuid root for this applet to
//config: work properly. //config: work properly.
//applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */ //applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */

View File

@ -15,7 +15,7 @@
//config: help //config: help
//config: Crontab manipulates the crontab for a particular user. Only //config: Crontab manipulates the crontab for a particular user. Only
//config: the superuser may specify a different user and/or crontab directory. //config: the superuser may specify a different user and/or crontab directory.
//config: Note that Busybox binary must be setuid root for this applet to //config: Note that busybox binary must be setuid root for this applet to
//config: work properly. //config: work properly.
/* Needs to be run by root or be suid root - needs to change /var/spool/cron* files: */ /* Needs to be run by root or be suid root - needs to change /var/spool/cron* files: */

View File

@ -18,11 +18,12 @@
//config: Simple FTP daemon. You have to run it via inetd. //config: Simple FTP daemon. You have to run it via inetd.
//config: //config:
//config:config FEATURE_FTPD_WRITE //config:config FEATURE_FTPD_WRITE
//config: bool "Enable upload commands" //config: bool "Enable -w (upload commands)"
//config: default y //config: default y
//config: depends on FTPD //config: depends on FTPD
//config: help //config: help
//config: Enable all kinds of FTP upload commands (-w option) //config: Enable -w option. "ftpd -w" will accept upload commands
//config: such as STOR, STOU, APPE, DELE, MKD, RMD, rename commands.
//config: //config:
//config:config FEATURE_FTPD_ACCEPT_BROKEN_LIST //config:config FEATURE_FTPD_ACCEPT_BROKEN_LIST
//config: bool "Enable workaround for RFC-violating clients" //config: bool "Enable workaround for RFC-violating clients"
@ -40,7 +41,13 @@
//config: default y //config: default y
//config: depends on FTPD //config: depends on FTPD
//config: help //config: help
//config: Enable basic system login as seen in telnet etc. //config: Require login, and change to logged in user's UID:GID before
//config: accessing any files. Option "-a USER" allows "anonymous"
//config: logins (treats them as if USER logged in).
//config:
//config: If this option is not selected, ftpd runs with the rights
//config: of the user it was started under, and does not require login.
//config: Take care to not launch it under root.
//applet:IF_FTPD(APPLET(ftpd, BB_DIR_USR_SBIN, BB_SUID_DROP)) //applet:IF_FTPD(APPLET(ftpd, BB_DIR_USR_SBIN, BB_SUID_DROP))

View File

@ -59,11 +59,11 @@
//config: than the default of using the older "ifconfig" and "route" utilities. //config: than the default of using the older "ifconfig" and "route" utilities.
//config: //config:
//config: If Y: you must install either the full-blown iproute2 package //config: If Y: you must install either the full-blown iproute2 package
//config: or enable "ip" applet in Busybox, or the "ifup" and "ifdown" applets //config: or enable "ip" applet in busybox, or the "ifup" and "ifdown" applets
//config: will not work. //config: will not work.
//config: //config:
//config: If N: you must install either the full-blown ifconfig and route //config: If N: you must install either the full-blown ifconfig and route
//config: utilities, or enable these applets in Busybox. //config: utilities, or enable these applets in busybox.
//config: //config:
//config:config FEATURE_IFUPDOWN_IPV4 //config:config FEATURE_IFUPDOWN_IPV4
//config: bool "Support IPv4" //config: bool "Support IPv4"

View File

@ -14,8 +14,10 @@
//config: select PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: The "ip" applet is a TCP/IP interface configuration and routing //config: The "ip" applet is a TCP/IP interface configuration and routing
//config: utility. You generally don't need "ip" to use busybox with //config: utility.
//config: TCP/IP. //config: Short forms (enabled below) are busybox-specific extensions.
//config: The standard "ip" utility does not provide them. If you are
//config: trying to be portable, it's better to use "ip CMD" forms.
//config: //config:
//config:config IPADDR //config:config IPADDR
//config: bool "ipaddr (14 kb)" //config: bool "ipaddr (14 kb)"
@ -23,7 +25,7 @@
//config: select FEATURE_IP_ADDRESS //config: select FEATURE_IP_ADDRESS
//config: select PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Support short form of ip addr: ipaddr //config: Short form of "ip addr"
//config: //config:
//config:config IPLINK //config:config IPLINK
//config: bool "iplink (16 kb)" //config: bool "iplink (16 kb)"
@ -31,7 +33,7 @@
//config: select FEATURE_IP_LINK //config: select FEATURE_IP_LINK
//config: select PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Support short form of ip link: iplink //config: Short form of "ip link"
//config: //config:
//config:config IPROUTE //config:config IPROUTE
//config: bool "iproute (15 kb)" //config: bool "iproute (15 kb)"
@ -39,7 +41,7 @@
//config: select FEATURE_IP_ROUTE //config: select FEATURE_IP_ROUTE
//config: select PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Support short form of ip route: iproute //config: Short form of "ip route"
//config: //config:
//config:config IPTUNNEL //config:config IPTUNNEL
//config: bool "iptunnel (9.6 kb)" //config: bool "iptunnel (9.6 kb)"
@ -47,7 +49,7 @@
//config: select FEATURE_IP_TUNNEL //config: select FEATURE_IP_TUNNEL
//config: select PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Support short form of ip tunnel: iptunnel //config: Short form of "ip tunnel"
//config: //config:
//config:config IPRULE //config:config IPRULE
//config: bool "iprule (10 kb)" //config: bool "iprule (10 kb)"
@ -55,7 +57,7 @@
//config: select FEATURE_IP_RULE //config: select FEATURE_IP_RULE
//config: select PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Support short form of ip rule: iprule //config: Short form of "ip rule"
//config: //config:
//config:config IPNEIGH //config:config IPNEIGH
//config: bool "ipneigh (8.3 kb)" //config: bool "ipneigh (8.3 kb)"
@ -63,7 +65,7 @@
//config: select FEATURE_IP_NEIGH //config: select FEATURE_IP_NEIGH
//config: select PLATFORM_LINUX //config: select PLATFORM_LINUX
//config: help //config: help
//config: Support short form of ip neigh: ipneigh //config: Short form of "ip neigh"
//config: //config:
//config:config FEATURE_IP_ADDRESS //config:config FEATURE_IP_ADDRESS
//config: bool "ip address" //config: bool "ip address"

View File

@ -54,7 +54,7 @@
//config: //config:
//config: You need to be sure that busybox has LOGIN and //config: You need to be sure that busybox has LOGIN and
//config: FEATURE_SUID enabled. And finally, you should make //config: FEATURE_SUID enabled. And finally, you should make
//config: certain that Busybox has been installed setuid root: //config: certain that busybox has been installed setuid root:
//config: //config:
//config: chown root.root /bin/busybox //config: chown root.root /bin/busybox
//config: chmod 4755 /bin/busybox //config: chmod 4755 /bin/busybox

View File

@ -22,15 +22,20 @@
//config: bool "tftp (12 kb)" //config: bool "tftp (12 kb)"
//config: default y //config: default y
//config: help //config: help
//config: This enables the Trivial File Transfer Protocol client program. TFTP //config: Trivial File Transfer Protocol client. TFTP is usually used
//config: is usually used for simple, small transfers such as a root image //config: for simple, small transfers such as a root image
//config: for a network-enabled bootloader. //config: for a network-enabled bootloader.
//config: //config:
//config:config FEATURE_TFTP_PROGRESS_BAR
//config: bool "Enable progress bar"
//config: default y
//config: depends on TFTP
//config:
//config:config TFTPD //config:config TFTPD
//config: bool "tftpd (10 kb)" //config: bool "tftpd (10 kb)"
//config: default y //config: default y
//config: help //config: help
//config: This enables the Trivial File Transfer Protocol server program. //config: Trivial File Transfer Protocol server.
//config: It expects that stdin is a datagram socket and a packet //config: It expects that stdin is a datagram socket and a packet
//config: is already pending on it. It will exit after one transfer. //config: is already pending on it. It will exit after one transfer.
//config: In other words: it should be run from inetd in nowait mode, //config: In other words: it should be run from inetd in nowait mode,
@ -68,11 +73,6 @@
//config: Allow tftp to specify block size, and tftpd to understand //config: Allow tftp to specify block size, and tftpd to understand
//config: "blksize" and "tsize" options. //config: "blksize" and "tsize" options.
//config: //config:
//config:config FEATURE_TFTP_PROGRESS_BAR
//config: bool "Enable progress bar"
//config: default y
//config: depends on TFTP && FEATURE_TFTP_BLOCKSIZE
//config:
//config:config TFTP_DEBUG //config:config TFTP_DEBUG
//config: bool "Enable debug" //config: bool "Enable debug"
//config: default n //config: default n

View File

@ -3,26 +3,14 @@
# see scripts/kbuild/config-language.txt. # see scripts/kbuild/config-language.txt.
# #
INSERT
config UDHCPD config UDHCPD
bool "udhcpd (DHCP server)" bool "udhcpd"
default y default y
select PLATFORM_LINUX select PLATFORM_LINUX
help help
udhcpd is a DHCP server geared primarily toward embedded systems, udhcpd is a DHCP server geared primarily toward embedded systems,
while striving to be fully functional and RFC compliant. while striving to be fully functional and RFC compliant.
config FEATURE_UDHCPD_WRITE_LEASES_EARLY
bool "Rewrite the lease file at every new acknowledge"
default y
depends on UDHCPD
help
If selected, udhcpd will write a new file with leases every
time a new lease has been accepted, thus eliminating the need
to send SIGUSR1 for the initial writing or updating. Any timed
rewriting remains undisturbed.
config FEATURE_UDHCPD_BASE_IP_ON_MAC config FEATURE_UDHCPD_BASE_IP_ON_MAC
bool "Select IP address based on client MAC" bool "Select IP address based on client MAC"
default n default n
@ -37,6 +25,16 @@ config FEATURE_UDHCPD_BASE_IP_ON_MAC
for the same client to (almost always) contain the same for the same client to (almost always) contain the same
IP address. IP address.
config FEATURE_UDHCPD_WRITE_LEASES_EARLY
bool "Rewrite lease file at every new acknowledge"
default y
depends on UDHCPD
help
If selected, udhcpd will write a new file with leases every
time a new lease has been accepted, thus eliminating the need
to send SIGUSR1 for the initial writing or updating. Any timed
rewriting remains undisturbed.
config DHCPD_LEASES_FILE config DHCPD_LEASES_FILE
string "Absolute path to lease file" string "Absolute path to lease file"
default "/var/lib/misc/udhcpd.leases" default "/var/lib/misc/udhcpd.leases"
@ -57,12 +55,12 @@ config DHCPRELAY
bool "dhcprelay (5.8 kb)" bool "dhcprelay (5.8 kb)"
default y default y
help help
dhcprelay listens for dhcp requests on one or more interfaces dhcprelay listens for DHCP requests on one or more interfaces
and forwards these requests to a different interface or dhcp and forwards these requests to a different interface or DHCP
server. server.
config UDHCPC config UDHCPC
bool "udhcpc (DHCP client)" bool "udhcpc"
default y default y
select PLATFORM_LINUX select PLATFORM_LINUX
help help
@ -102,19 +100,25 @@ config UDHCPC_DEFAULT_SCRIPT
examples/udhcp for a working example. Normally it is safe examples/udhcp for a working example. Normally it is safe
to leave this untouched. to leave this untouched.
# udhcpc6 config is inserted here:
INSERT
comment "Common options for DHCP applets"
depends on UDHCPD || UDHCPC || UDHCPC6 || DHCPRELAY
config FEATURE_UDHCP_PORT config FEATURE_UDHCP_PORT
bool "Enable '-P port' option for udhcpd and udhcpc" bool "Enable '-P port' option for udhcpd and udhcpc"
default n default n
depends on UDHCPD || UDHCPC depends on UDHCPD || UDHCPC || UDHCPC6
help help
At the cost of ~300 bytes, enables -P port option. At the cost of ~300 bytes, enables -P port option.
This feature is typically not needed. This feature is typically not needed.
config UDHCP_DEBUG config UDHCP_DEBUG
int "Maximum verbosity level for udhcp applets (0..9)" int "Maximum verbosity level (0..9)"
default 9 default 9
range 0 9 range 0 9
depends on UDHCPD || UDHCPC || DHCPRELAY depends on UDHCPD || UDHCPC || UDHCPC6 || DHCPRELAY
help help
Verbosity can be increased with multiple -v options. Verbosity can be increased with multiple -v options.
This option controls how high it can be cranked up. This option controls how high it can be cranked up.
@ -122,23 +126,6 @@ config UDHCP_DEBUG
Bigger values result in bigger code. Levels above 1 Bigger values result in bigger code. Levels above 1
are very verbose and useful for debugging only. are very verbose and useful for debugging only.
config FEATURE_UDHCP_RFC3397
bool "Support RFC3397 domain search (experimental)"
default y
depends on UDHCPD || UDHCPC
help
If selected, both client and server will support passing of domain
search lists via option 119, specified in RFC 3397,
and SIP servers option 120, specified in RFC 3361.
config FEATURE_UDHCP_8021Q
bool "Support 802.1Q VLAN parameters"
default y
depends on UDHCPD || UDHCPC
help
If selected, both client and server will support passing of VLAN
ID and priority via options 132 and 133 as per 802.1Q.
config UDHCPC_SLACK_FOR_BUGGY_SERVERS config UDHCPC_SLACK_FOR_BUGGY_SERVERS
int "DHCP options slack buffer size" int "DHCP options slack buffer size"
default 80 default 80
@ -149,10 +136,10 @@ config UDHCPC_SLACK_FOR_BUGGY_SERVERS
field larger than we expect (which might also be considered a field larger than we expect (which might also be considered a
buffer overflow attempt). These packets are normally discarded. buffer overflow attempt). These packets are normally discarded.
If circumstances beyond your control force you to support such If circumstances beyond your control force you to support such
servers, this may help. The upper limit (924) makes dhcpc accept servers, this may help. The upper limit (924) makes udhcpc accept
even 1500 byte packets (maximum-sized ethernet packets). even 1500 byte packets (maximum-sized ethernet packets).
This option does not make dhcp[cd] emit non-standard This option does not make udhcp[cd] emit non-standard
sized packets. sized packets.
Known buggy DHCP servers: Known buggy DHCP servers:
@ -161,3 +148,20 @@ config UDHCPC_SLACK_FOR_BUGGY_SERVERS
maximum size of entire IP packet, and sends packets maximum size of entire IP packet, and sends packets
which are 28 bytes too large. which are 28 bytes too large.
Seednet (ISP) VDSL: sends packets 2 bytes too large. Seednet (ISP) VDSL: sends packets 2 bytes too large.
config FEATURE_UDHCP_RFC3397
bool "Support RFC 3397 domain search options"
default y
depends on UDHCPD || UDHCPC
help
If selected, both client and server will support passing of domain
search lists via option 119, specified in RFC 3397,
and SIP servers option 120, specified in RFC 3361.
config FEATURE_UDHCP_8021Q
bool "Support 802.1Q VLAN parameters options"
default y
depends on UDHCPD || UDHCPC
help
If selected, both client and server will support passing of VLAN
ID and priority via options 132 and 133 as per 802.1Q.

View File

@ -10,7 +10,7 @@
*/ */
//config:config UDHCPC6 //config:config UDHCPC6
//config: bool "udhcpc6 (DHCPv6 client, EXPERIMENTAL)" //config: bool "udhcpc6"
//config: default n # not yet ready //config: default n # not yet ready
//config: depends on FEATURE_IPV6 //config: depends on FEATURE_IPV6
//config: help //config: help

View File

@ -13,8 +13,6 @@
//config: select VOLUMEID //config: select VOLUMEID
//config: help //config: help
//config: Lists labels and UUIDs of all filesystems. //config: Lists labels and UUIDs of all filesystems.
//config: WARNING:
//config: With all submodules selected, it will add ~8k to busybox.
//config: //config:
//config:config FEATURE_BLKID_TYPE //config:config FEATURE_BLKID_TYPE
//config: bool "Print filesystem type" //config: bool "Print filesystem type"

View File

@ -14,8 +14,6 @@
//config: select VOLUMEID //config: select VOLUMEID
//config: help //config: help
//config: Prints the name of a filesystem with given label or UUID. //config: Prints the name of a filesystem with given label or UUID.
//config: WARNING:
//config: With all submodules selected, it will add ~8k to busybox.
/* Benefits from suid root: better access to /dev/BLOCKDEVs: */ /* Benefits from suid root: better access to /dev/BLOCKDEVs: */
//applet:IF_FINDFS(APPLET(findfs, BB_DIR_SBIN, BB_SUID_MAYBE)) //applet:IF_FINDFS(APPLET(findfs, BB_DIR_SBIN, BB_SUID_MAYBE))

View File

@ -56,7 +56,7 @@
//config: For more information, please see docs/mdev.txt //config: For more information, please see docs/mdev.txt
//config: //config:
//config:config FEATURE_MDEV_LOAD_FIRMWARE //config:config FEATURE_MDEV_LOAD_FIRMWARE
//config: bool "Support loading of firmwares" //config: bool "Support loading of firmware"
//config: default y //config: default y
//config: depends on MDEV //config: depends on MDEV
//config: help //config: help

View File

@ -26,8 +26,7 @@
//config: tree. The 'mount' utility is used to graft a filesystem onto a //config: tree. The 'mount' utility is used to graft a filesystem onto a
//config: particular part of the tree. A filesystem can either live on a block //config: particular part of the tree. A filesystem can either live on a block
//config: device, or it can be accessible over the network, as is the case with //config: device, or it can be accessible over the network, as is the case with
//config: NFS filesystems. Most people using BusyBox will also want to enable //config: NFS filesystems.
//config: the 'mount' utility.
//config: //config:
//config:config FEATURE_MOUNT_FAKE //config:config FEATURE_MOUNT_FAKE
//config: bool "Support option -f" //config: bool "Support option -f"