summaryrefslogtreecommitdiff
path: root/package/busybox/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-08-06 03:39:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-08-06 03:39:36 +0200
commite4800c73e63e51cb143566ccf0ec0d95981969ff (patch)
tree1e1ae62a8ca1013868ced4cbdb1292ea660b1964 /package/busybox/config
parentfbbbdb0707fda9cf8e7578f5c8bc785a0e7da2eb (diff)
busybox: update to latest
Diffstat (limited to 'package/busybox/config')
-rw-r--r--package/busybox/config/Config.in49
-rw-r--r--package/busybox/config/archival/Config.in33
-rw-r--r--package/busybox/config/coreutils/Config.in69
-rw-r--r--package/busybox/config/findutils/Config.in22
-rw-r--r--package/busybox/config/init/Config.in16
-rw-r--r--package/busybox/config/libbb/Config.in36
-rw-r--r--package/busybox/config/loginutils/Config.in5
-rw-r--r--package/busybox/config/miscutils/Config.in81
-rw-r--r--package/busybox/config/modutils/Config.in15
-rw-r--r--package/busybox/config/networking/Config.in53
-rw-r--r--package/busybox/config/procps/Config.in8
-rw-r--r--package/busybox/config/runit/Config.in9
-rw-r--r--package/busybox/config/shell/Config.in12
-rw-r--r--package/busybox/config/sysklogd/Config.in8
-rw-r--r--package/busybox/config/util-linux/Config.in74
15 files changed, 477 insertions, 13 deletions
diff --git a/package/busybox/config/Config.in b/package/busybox/config/Config.in
index 868f0b9ff..69029adae 100644
--- a/package/busybox/config/Config.in
+++ b/package/busybox/config/Config.in
@@ -30,6 +30,19 @@ config BUSYBOX_EXTRA_COMPAT
some GNU extensions in libc. You probably only need this option
if you plan to run busybox on desktop.
+config BUSYBOX_FEDORA_COMPAT
+ bool "Building for Fedora distribution"
+ default n
+ help
+ This option makes some tools behave like they do on Fedora.
+
+ At the time of this writing (2017-08) this only affects uname:
+ normally, uname -p (processor) and uname -i (platform)
+ are shown as "unknown", but with this option uname -p
+ shows the same string as uname -m (machine type),
+ and so does uname -i unless machine type is i486/i586/i686 -
+ then uname -i shows "i386".
+
config BUSYBOX_INCLUDE_SUSv2
bool "Enable obsolete features removed before SUSv3"
default n
@@ -47,6 +60,14 @@ config BUSYBOX_USE_PORTABLE_CODE
compiler other than gcc.
If you do use gcc, this option may needlessly increase code size.
+config BUSYBOX_STACK_OPTIMIZATION_386
+ bool "Use -mpreferred-stack-boundary=2 on i386 arch"
+ default n
+ help
+ This option makes for smaller code, but some libc versions
+ do not work with it (they use SSE instructions without
+ ensuring stack alignment).
+
config BUSYBOX_INSTALL_NO_USR
bool "Don't use /usr"
default n
@@ -135,6 +156,11 @@ config BUSYBOX_BUSYBOX
If you can live without these features disabling this will save
some space.
+config BUSYBOX_FEATURE_SHOW_SCRIPT
+ bool "Support --show SCRIPT"
+ default n
+ depends on BUSYBOX_BUSYBOX
+
config BUSYBOX_FEATURE_INSTALLER
bool "Support --install [-s] to install applet links at runtime"
default n
@@ -316,6 +342,15 @@ config BUSYBOX_FEATURE_CLEAN_UP
Don't enable this unless you have a really good reason to clean
things up manually.
+config BUSYBOX_FEATURE_SYSLOG_INFO
+ bool "Support LOG_INFO level syslog messages"
+ default y
+ depends on BUSYBOX_FEATURE_SYSLOG
+ help
+ Applets which send their output to syslog use either LOG_INFO or
+ LOG_ERR log levels, but by disabling this option all messages will
+ be logged at the LOG_ERR level, saving just under 200 bytes.
+
config BUSYBOX_FEATURE_UTMP
bool "Support utmp file"
default n
@@ -728,6 +763,19 @@ config BUSYBOX_WERROR
Most people should answer N.
+config BUSYBOX_WARN_SIMPLE_MSG
+ bool "Warn about single parameter bb_xx_msg calls"
+ default n
+ help
+ This will cause warnings to be shown for any instances of
+ bb_error_msg(), bb_error_msg_and_die(), bb_perror_msg(),
+ bb_perror_msg_and_die(), bb_herror_msg() or bb_herror_msg_and_die()
+ being called with a single parameter. In these cases the equivalent
+ bb_simple_xx_msg function should be used instead.
+ Note that use of STRERROR_FMT may give false positives.
+
+ If you aren't developing busybox, say N here.
+
choice
prompt "Additional debugging library"
default NO_DEBUG_LIB
@@ -850,6 +898,7 @@ source package/busybox/config/archival/Config.in
source package/busybox/config/coreutils/Config.in
source package/busybox/config/console-tools/Config.in
source package/busybox/config/debianutils/Config.in
+source package/busybox/config/klibc-utils/Config.in
source package/busybox/config/editors/Config.in
source package/busybox/config/findutils/Config.in
source package/busybox/config/init/Config.in
diff --git a/package/busybox/config/archival/Config.in b/package/busybox/config/archival/Config.in
index 8532767c2..b3f453ae2 100644
--- a/package/busybox/config/archival/Config.in
+++ b/package/busybox/config/archival/Config.in
@@ -457,4 +457,37 @@ config BUSYBOX_UNZIP
current directory. Use the `-d' option to extract to a
directory of your choice.
+config BUSYBOX_FEATURE_UNZIP_CDF
+ bool "Read and use Central Directory data"
+ default y
+ depends on BUSYBOX_UNZIP
+ help
+ If you know that you only need to deal with simple
+ ZIP files without deleted/updated files, SFX archives etc,
+ you can reduce code size by unselecting this option.
+ To support less trivial ZIPs, say Y.
+
+config BUSYBOX_FEATURE_UNZIP_BZIP2
+ bool "Support compression method 12 (bzip2)"
+ default y
+ depends on BUSYBOX_FEATURE_UNZIP_CDF && BUSYBOX_DESKTOP
+
+config BUSYBOX_FEATURE_UNZIP_LZMA
+ bool "Support compression method 14 (lzma)"
+ default y
+ depends on BUSYBOX_FEATURE_UNZIP_CDF && BUSYBOX_DESKTOP
+
+config BUSYBOX_FEATURE_UNZIP_XZ
+ bool "Support compression method 95 (xz)"
+ default y
+ depends on BUSYBOX_FEATURE_UNZIP_CDF && BUSYBOX_DESKTOP
+
+config BUSYBOX_FEATURE_LZMA_FAST
+ bool "Optimize lzma for speed"
+ default n
+ depends on BUSYBOX_UNLZMA || BUSYBOX_LZCAT || BUSYBOX_LZMA || BUSYBOX_FEATURE_SEAMLESS_LZMA
+ help
+ This option reduces decompression time by about 25% at the cost of
+ a 1K bigger binary.
+
endmenu
diff --git a/package/busybox/config/coreutils/Config.in b/package/busybox/config/coreutils/Config.in
index bb0d2a121..60bc5b0e7 100644
--- a/package/busybox/config/coreutils/Config.in
+++ b/package/busybox/config/coreutils/Config.in
@@ -21,6 +21,20 @@ config BUSYBOX_CAT
cat is used to concatenate files and print them to the standard
output. Enable this option if you wish to enable the 'cat' utility.
+config BUSYBOX_FEATURE_CATN
+ bool "Enable -n and -b options"
+ default n
+ depends on BUSYBOX_CAT
+ help
+ -n numbers all output lines while -b numbers nonempty output lines.
+
+config BUSYBOX_FEATURE_CATV
+ bool "cat -v[etA]"
+ default y
+ depends on BUSYBOX_CAT
+ help
+ Display nonprinting characters as escape sequences
+
config BUSYBOX_DATE
bool "date"
default y
@@ -430,6 +444,12 @@ config BUSYBOX_EXPR_MATH_SUPPORT_64
the applet slightly larger, but will allow computation with very
large numbers.
+config BUSYBOX_FACTOR
+ bool "factor (2.7 kb)"
+ default n
+ help
+ factor factorizes integers
+
config BUSYBOX_FALSE
bool "false"
default n
@@ -480,6 +500,11 @@ config BUSYBOX_FEATURE_INSTALL_LONG_OPTIONS
#### default y
#### help
#### length is used to print out the length of a specified string.
+config BUSYBOX_LINK
+ bool "link (3.2 kb)"
+ default n
+ help
+ link creates hard links between files.
config BUSYBOX_LN
bool "ln"
@@ -520,6 +545,11 @@ config BUSYBOX_FEATURE_LS_RECURSIVE
help
Enable the ls option (-R).
+config BUSYBOX_FEATURE_LS_WIDTH
+ bool "Enable -w WIDTH and window size autodetection"
+ default y
+ depends on BUSYBOX_LS
+
config BUSYBOX_FEATURE_LS_SORTFILES
bool "Sort the file names"
default y
@@ -611,18 +641,37 @@ config BUSYBOX_NICE
help
nice runs a program with modified scheduling priority.
+config BUSYBOX_NL
+ bool "nl (4.6 kb)"
+ default n
+ help
+ nl is used to number lines of files.
+
config BUSYBOX_NOHUP
bool "nohup"
default n
help
run a command immune to hangups, with output to a non-tty.
+config BUSYBOX_NPROC
+ bool "nproc (3.7 kb)"
+ default n
+ help
+ Print number of CPUs
+
config BUSYBOX_OD
bool "od"
default n
help
od is used to dump binary files in octal and other formats.
+config BUSYBOX_PASTE
+ bool "paste (4.9 kb)"
+ default n
+ help
+ paste is used to paste lines of different files together
+ and write the result to stdout
+
config BUSYBOX_PRINTENV
bool "printenv"
default n
@@ -689,6 +738,12 @@ config BUSYBOX_SEQ
help
print a sequence of numbers
+config BUSYBOX_SHRED
+ bool "shred (4.9 kb)"
+ default n
+ help
+ Overwrite a file to hide its contents, and optionally delete it
+
config BUSYBOX_SHA1SUM
bool "sha1sum"
default n
@@ -759,6 +814,14 @@ config BUSYBOX_FEATURE_SORT_BIG
The SuSv3 sort standard is available at:
http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
+config BUSYBOX_FEATURE_SORT_OPTIMIZE_MEMORY
+ bool "Use less memory (but might be slower)"
+ default n # defaults to N since we are size-paranoid tribe
+ depends on BUSYBOX_SORT
+ help
+ Attempt to use less memory (by storing only one copy
+ of duplicated lines, and such). Useful if you work on huge files.
+
config BUSYBOX_SPLIT
bool "split"
default n
@@ -891,6 +954,12 @@ config BUSYBOX_UNAME_OSNAME
Sets the operating system name reported by uname -o. The
default is "GNU/Linux".
+config BUSYBOX_BB_ARCH
+ bool "arch (1.1 kb)"
+ default n
+ help
+ Same as uname -m.
+
config BUSYBOX_UNEXPAND
bool "unexpand"
default n
diff --git a/package/busybox/config/findutils/Config.in b/package/busybox/config/findutils/Config.in
index a9bb761b2..09c30f6d5 100644
--- a/package/busybox/config/findutils/Config.in
+++ b/package/busybox/config/findutils/Config.in
@@ -54,6 +54,11 @@ config BUSYBOX_FEATURE_FIND_TYPE
Enable searching based on file type (file,
directory, socket, device, etc.).
+config BUSYBOX_FEATURE_FIND_EXECUTABLE
+ bool "Enable -executable: file is executable"
+ default y
+ depends on BUSYBOX_FIND
+
config BUSYBOX_FEATURE_FIND_XDEV
bool "Enable -xdev: 'stay in filesystem'"
default y
@@ -161,6 +166,13 @@ config BUSYBOX_FEATURE_FIND_PRUNE
If the file is a directory, dont descend into it. Useful for
exclusion .svn and CVS directories.
+config BUSYBOX_FEATURE_FIND_QUIT
+ bool "Enable -quit: exit"
+ default y
+ depends on BUSYBOX_FIND
+ help
+ If this action is reached, 'find' exits.
+
config BUSYBOX_FEATURE_FIND_DELETE
bool "Enable -delete: delete files/dirs"
default y
@@ -274,4 +286,14 @@ config BUSYBOX_FEATURE_XARGS_SUPPORT_REPL_STR
help
Support -I STR and -i[STR] options.
+config BUSYBOX_FEATURE_XARGS_SUPPORT_PARALLEL
+ bool "Enable -P N: processes to run in parallel"
+ default y
+ depends on BUSYBOX_XARGS
+
+config BUSYBOX_FEATURE_XARGS_SUPPORT_ARGS_FILE
+ bool "Enable -a FILE: use FILE instead of stdin"
+ default y
+ depends on BUSYBOX_XARGS
+
endmenu
diff --git a/package/busybox/config/init/Config.in b/package/busybox/config/init/Config.in
index 9e17c790c..33ddd603b 100644
--- a/package/busybox/config/init/Config.in
+++ b/package/busybox/config/init/Config.in
@@ -63,6 +63,17 @@ config BUSYBOX_REBOOT
help
Stop all processes and reboot the system.
+config BUSYBOX_FEATURE_WAIT_FOR_INIT
+ bool "Before signaling init, make sure it is ready for it"
+ default y
+ depends on BUSYBOX_HALT || BUSYBOX_POWEROFF || BUSYBOX_REBOOT
+ help
+ In rare cases, poweroff may be commanded by firmware to OS
+ even before init process exists. On Linux, this spawns
+ "/sbin/poweroff" very early. This option adds code
+ which checks that init is ready to receive poweroff
+ commands. Code size increase of ~80 bytes.
+
config BUSYBOX_FEATURE_CALL_TELINIT
bool "Call telinit on shutdown and reboot"
default n
@@ -149,6 +160,11 @@ config BUSYBOX_FEATURE_INIT_SYSLOG
default y
depends on BUSYBOX_INIT
+config BUSYBOX_FEATURE_INIT_QUIET
+ bool "Be quiet on boot (no 'init started:' message)"
+ default y
+ depends on BUSYBOX_INIT || BUSYBOX_LINUXRC
+
config BUSYBOX_FEATURE_EXTRA_QUIET
bool "Be _extra_ quiet on boot"
default y
diff --git a/package/busybox/config/libbb/Config.in b/package/busybox/config/libbb/Config.in
index 6aff24699..afbc81213 100644
--- a/package/busybox/config/libbb/Config.in
+++ b/package/busybox/config/libbb/Config.in
@@ -39,6 +39,12 @@ config BUSYBOX_FEATURE_USE_BSS_TAIL
appletlib.c:(.text.main+0xd): undefined reference to '_end'
disable this option.
+config BUSYBOX_FLOAT_DURATION
+ bool "Enable fractional duration arguments"
+ default y
+ help
+ Allow sleep N.NNN, top -d N.NNN etc.
+
config BUSYBOX_FEATURE_RTMINMAX
bool "Support RTMIN[+n] and RTMAX[-n] signal names"
default y
@@ -46,6 +52,18 @@ config BUSYBOX_FEATURE_RTMINMAX
Support RTMIN[+n] and RTMAX[-n] signal names
in kill, killall etc. This costs ~250 bytes.
+config BUSYBOX_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS
+ bool "Use the definitions of SIGRTMIN/SIGRTMAX provided by libc"
+ default y
+ depends on BUSYBOX_FEATURE_RTMINMAX
+ help
+ Some C libraries reserve a few real-time signals for internal
+ use, and adjust the values of SIGRTMIN/SIGRTMAX seen by
+ applications accordingly. Saying yes here means that a signal
+ name RTMIN+n will be interpreted according to the libc definition
+ of SIGRTMIN, and not the raw definition provided by the kernel.
+ This behavior matches "kill -l RTMIN+n" from bash.
+
config BUSYBOX_PASSWORD_MINLEN
int "Minimum password length"
default 6
@@ -92,6 +110,19 @@ config BUSYBOX_FEATURE_ETC_NETWORKS
a rarely used feature which allows you to use names
instead of IP/mask pairs in route command.
+config BUSYBOX_FEATURE_ETC_SERVICES
+ bool "Consult /etc/services even for well-known ports"
+ default n
+ help
+ Look up e.g. "telnet" and "http" in /etc/services file
+ instead of assuming ports 23 and 80.
+ This is almost never necessary (everybody uses standard ports),
+ and it makes sense to avoid reading this file.
+ If you disable this option, in the cases where port is explicitly
+ specified as a service name (e.g. "telnet HOST PORTNAME"),
+ it will still be looked up in /etc/services.
+
+
config BUSYBOX_FEATURE_USE_TERMIOS
bool "Use termios to manipulate the screen"
default y
@@ -180,6 +211,11 @@ config BUSYBOX_FEATURE_EDITING_FANCY_PROMPT
Setting this option allows for prompts to use things like \w and
\$ and escape codes.
+config BUSYBOX_FEATURE_EDITING_WINCH
+ bool "Enable automatic tracking of window size changes"
+ default y
+ depends on BUSYBOX_FEATURE_EDITING
+
config BUSYBOX_FEATURE_EDITING_ASK_TERMINAL
bool "Query cursor position from terminal"
default n
diff --git a/package/busybox/config/loginutils/Config.in b/package/busybox/config/loginutils/Config.in
index 3e435a25c..03aba2b07 100644
--- a/package/busybox/config/loginutils/Config.in
+++ b/package/busybox/config/loginutils/Config.in
@@ -338,6 +338,11 @@ config BUSYBOX_FEATURE_SU_CHECKS_SHELLS
depends on BUSYBOX_SU
default y
+config BUSYBOX_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY
+ bool "Allow blank passwords only on TTYs in /etc/securetty"
+ default n
+ depends on BUSYBOX_SU
+
config BUSYBOX_SULOGIN
bool "sulogin"
default n
diff --git a/package/busybox/config/miscutils/Config.in b/package/busybox/config/miscutils/Config.in
index 107a96664..cafe66989 100644
--- a/package/busybox/config/miscutils/Config.in
+++ b/package/busybox/config/miscutils/Config.in
@@ -44,6 +44,13 @@ config BUSYBOX_I2CDETECT
help
Detect I2C chips.
+config BUSYBOX_I2CTRANSFER
+ bool "i2ctransfer (4.0 kb)"
+ default n
+ select BUSYBOX_PLATFORM_LINUX
+ help
+ Send user-defined I2C messages in one transfer.
+
config BUSYBOX_LESS
bool "less"
depends on !BUSYBOX_DISABLE_LESS
@@ -129,6 +136,32 @@ config BUSYBOX_FEATURE_LESS_LINENUMS
help
Enables "-N" command.
+config BUSYBOX_FEATURE_LESS_RAW
+ bool "Enable -R ('raw control characters')"
+ default y
+ depends on BUSYBOX_FEATURE_LESS_DASHCMD
+ help
+ This is essential for less applet to work with tools that use colors
+ and paging, such as git, systemd tools or nmcli.
+
+config BUSYBOX_FEATURE_LESS_ENV
+ bool "Take options from $LESS environment variable"
+ default y
+ depends on BUSYBOX_FEATURE_LESS_DASHCMD
+ help
+ This is essential for less applet to work with tools that use colors
+ and paging, such as git, systemd tools or nmcli.
+
+config BUSYBOX_LSSCSI
+ bool "lsscsi (2.5 kb)"
+ default n
+ #select PLATFORM_LINUX
+ help
+ lsscsi is a utility for displaying information about SCSI buses in the
+ system and devices connected to them.
+
+ This version uses sysfs (/sys/bus/scsi/devices) only.
+
config BUSYBOX_NANDWRITE
bool "nandwrite"
default n
@@ -143,6 +176,19 @@ config BUSYBOX_NANDDUMP
help
Dump the content of raw NAND chip
+config BUSYBOX_PARTPROBE
+ bool "partprobe (3.5 kb)"
+ default n
+ select BUSYBOX_PLATFORM_LINUX
+ help
+ Ask kernel to rescan partition table.
+
+config BUSYBOX_SETFATTR
+ bool "setfattr (3.7 kb)"
+ default n
+ help
+ Set/delete extended attributes on files
+
config BUSYBOX_SETSERIAL
bool "setserial"
default n
@@ -368,6 +414,31 @@ config BUSYBOX_CRONTAB
Note that Busybox binary must be setuid root for this applet to
work properly.
+config BUSYBOX_BC
+ bool "bc (45 kb)"
+ default n
+ select BUSYBOX_FEATURE_DC_BIG
+ help
+ bc is a command-line, arbitrary-precision calculator with a
+ Turing-complete language. See the GNU bc manual
+ (https://www.gnu.org/software/bc/manual/bc.html) and bc spec
+ (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/bc.html).
+
+ This bc has five differences to the GNU bc:
+ 1) The period (.) is a shortcut for "last", as in the BSD bc.
+ 2) Arrays are copied before being passed as arguments to
+ functions. This behavior is required by the bc spec.
+ 3) Arrays can be passed to the builtin "length" function to get
+ the number of elements in the array. This prints "1":
+ a[0] = 0; length(a[])
+ 4) The precedence of the boolean "not" operator (!) is equal to
+ that of the unary minus (-) negation operator. This still
+ allows POSIX-compliant scripts to work while somewhat
+ preserving expected behavior (versus C) and making parsing
+ easier.
+ 5) "read()" accepts expressions, not only numeric literals.
+
+
config BUSYBOX_DC
bool "dc"
default n
@@ -612,6 +683,12 @@ config BUSYBOX_FEATURE_HDPARM_HDIO_GETSET_DMA
help
Enables the 'hdparm -d' option to get/set using_dma flag.
+config BUSYBOX_HEXEDIT
+ bool "hexedit (21 kb)"
+ default n
+ help
+ Edit file in hexadecimal.
+
config BUSYBOX_MAKEDEVS
bool "makedevs"
default n
@@ -763,6 +840,10 @@ config BUSYBOX_TIME
When the command finishes, time writes a message to standard output
giving timing statistics about this program run.
+config BUSYBOX_TS
+ bool "ts (450 bytes)"
+ default n
+
config BUSYBOX_TIMEOUT
bool "timeout"
default n
diff --git a/package/busybox/config/modutils/Config.in b/package/busybox/config/modutils/Config.in
index 27709277d..22d554eca 100644
--- a/package/busybox/config/modutils/Config.in
+++ b/package/busybox/config/modutils/Config.in
@@ -136,6 +136,21 @@ config BUSYBOX_DEPMOD
comment "Options common to multiple modutils"
+config BUSYBOX_FEATURE_CMDLINE_MODULE_OPTIONS
+ bool "Accept module options on modprobe command line"
+ default y
+ depends on BUSYBOX_INSMOD || BUSYBOX_MODPROBE
+ help
+ Allow insmod and modprobe take module options from the applets'
+ command line.
+
+config BUSYBOX_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
+ bool "Skip loading of already loaded modules"
+ default y
+ depends on BUSYBOX_MODPROBE_SMALL && (BUSYBOX_DEPMOD || BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
+ help
+ Check if the module is already loaded.
+
config BUSYBOX_FEATURE_2_4_MODULES
bool "Support version 2.2/2.4 Linux kernels"
default n
diff --git a/package/busybox/config/networking/Config.in b/package/busybox/config/networking/Config.in
index 8592e66ef..be486d361 100644
--- a/package/busybox/config/networking/Config.in
+++ b/package/busybox/config/networking/Config.in
@@ -49,6 +49,12 @@ config BUSYBOX_NC
A simple Unix utility which reads and writes data across network
connections.
+config BUSYBOX_NETCAT
+ bool "netcat (11 kb)"
+ default y
+ help
+ Alias to nc.
+
config BUSYBOX_NC_SERVER
bool "Netcat server options (-l)"
default y
@@ -145,6 +151,17 @@ config BUSYBOX_VERBOSE_RESOLUTION_ERRORS
"can't resolve 'hostname.com'" and want to know more.
This may increase size of your executable a bit.
+config BUSYBOX_FEATURE_TLS_SHA1
+ bool "In TLS code, support ciphers which use deprecated SHA1"
+ depends on BUSYBOX_TLS
+ default n
+ help
+ Selecting this option increases interoperability with very old
+ servers, but slightly increases code size.
+
+ Most TLS servers support SHA256 today (2018), since SHA1 is
+ considered possibly insecure (although not yet definitely broken).
+
config BUSYBOX_ARP
bool "arp"
default n
@@ -745,6 +762,16 @@ config BUSYBOX_NSLOOKUP
help
nslookup is a tool to query Internet name servers.
+config BUSYBOX_FEATURE_NSLOOKUP_BIG
+ bool "Use internal resolver code instead of libc"
+ depends on BUSYBOX_NSLOOKUP
+ default n
+
+config BUSYBOX_FEATURE_NSLOOKUP_LONG_OPTIONS
+ bool "Enable long options"
+ default n
+ depends on BUSYBOX_FEATURE_NSLOOKUP_BIG && BUSYBOX_LONG_OPTS
+
config BUSYBOX_NTPD
bool "ntpd"
depends on !BUSYBOX_DISABLE_NTPD
@@ -791,11 +818,18 @@ config BUSYBOX_SLATTACH
slattach is a small utility to attach network interfaces to serial
lines.
-#config TC
-# bool "tc"
-# default y
-# help
-# show / manipulate traffic control settings
+config BUSYBOX_SSL_CLIENT
+ bool "ssl_client (25 kb)"
+ default n
+ select BUSYBOX_TLS
+ help
+ This tool pipes data to/from a socket, TLS-encrypting it.
+
+config BUSYBOX_TC
+ bool "tc"
+ default n
+ help
+ show / manipulate traffic control settings
#
#config FEATURE_TC_INGRESS
# def_bool n
@@ -834,6 +868,11 @@ config BUSYBOX_FEATURE_TELNET_AUTOLOGIN
log into a machine without telling the username (autologin). This
option enables `-a' and `-l USER' arguments.
+config BUSYBOX_FEATURE_TELNET_WIDTH
+ bool "Enable window size autodetection"
+ default y
+ depends on BUSYBOX_TELNET
+
config BUSYBOX_TELNETD
bool "telnetd"
default n
@@ -970,6 +1009,10 @@ config BUSYBOX_TFTP_DEBUG
Make tftp[d] print debugging messages on stderr.
This is useful if you are diagnosing a bug in tftp[d].
+config BUSYBOX_TLS
+ bool #No description makes it a hidden option
+ default n
+
config BUSYBOX_TRACEROUTE
bool "traceroute"
default n
diff --git a/package/busybox/config/procps/Config.in b/package/busybox/config/procps/Config.in
index 6da62d0ce..052b77e41 100644
--- a/package/busybox/config/procps/Config.in
+++ b/package/busybox/config/procps/Config.in
@@ -219,6 +219,14 @@ config BUSYBOX_TOP
The top program provides a dynamic real-time view of a running
system.
+config BUSYBOX_FEATURE_TOP_INTERACTIVE
+ bool "Accept keyboard commands"
+ default y
+ depends on BUSYBOX_TOP
+ help
+ Without this, top will only refresh display every 5 seconds.
+ No keyboard commands will work, only ^C to terminate.
+
config BUSYBOX_FEATURE_TOP_CPU_USAGE_PERCENTAGE
bool "Show CPU per-process usage percentage"
default y
diff --git a/package/busybox/config/runit/Config.in b/package/busybox/config/runit/Config.in
index 87b9b6b1d..2df1c2d90 100644
--- a/package/busybox/config/runit/Config.in
+++ b/package/busybox/config/runit/Config.in
@@ -41,7 +41,7 @@ config BUSYBOX_SV
config BUSYBOX_SV_DEFAULT_SERVICE_DIR
string "Default directory for services"
default "/var/service"
- depends on BUSYBOX_SV
+ depends on BUSYBOX_SV || BUSYBOX_SVC || BUSYBOX_SVOK
help
Default directory for services.
Defaults to "/var/service"
@@ -53,6 +53,13 @@ config BUSYBOX_SVC
svc controls the state of services monitored by the runsv supervisor.
It is comaptible with daemontools command with the same name.
+config BUSYBOX_SVOK
+ bool "svok (1.5 kb)"
+ default n
+ help
+ svok checks whether runsv supervisor is running.
+ It is compatible with daemontools command with the same name.
+
config BUSYBOX_SVLOGD
bool "svlogd"
default n
diff --git a/package/busybox/config/shell/Config.in b/package/busybox/config/shell/Config.in
index efc17ff49..05d1aaccd 100644
--- a/package/busybox/config/shell/Config.in
+++ b/package/busybox/config/shell/Config.in
@@ -180,6 +180,7 @@ config BUSYBOX_HUSH
bool "hush"
default y if ADK_TARGET_UCLINUX
default n
+ select BUSYBOX_SHELL_HUSH
help
hush is a small shell (25k). It handles the normal flow control
constructs such as if/then/elif/else/fi, for/in/do/done, while loops,
@@ -191,6 +192,10 @@ config BUSYBOX_HUSH
It does not handle select, aliases, tilde expansion,
&>file and >&file redirection of stdout+stderr.
+config BUSYBOX_SHELL_HUSH
+ bool "Internal shell for embedded script support"
+ default n
+
config BUSYBOX_HUSH_BASH_COMPAT
bool "bash-compatible extensions"
default y
@@ -305,13 +310,6 @@ config BUSYBOX_HUSH_MODE_X
This instructs hush to print commands before execution.
Adds ~300 bytes.
-config BUSYBOX_MSH
- bool "msh (deprecated: aliased to hush)"
- default n
- select BUSYBOX_HUSH
- help
- msh is deprecated and will be removed, please migrate to hush.
-
choice
prompt "Choose which shell is aliased to 'sh' name"
diff --git a/package/busybox/config/sysklogd/Config.in b/package/busybox/config/sysklogd/Config.in
index 6df10efde..aaa6509e1 100644
--- a/package/busybox/config/sysklogd/Config.in
+++ b/package/busybox/config/sysklogd/Config.in
@@ -59,6 +59,14 @@ config BUSYBOX_FEATURE_SYSLOGD_CFG
help
Supports restricted syslogd config. See docs/syslog.conf.txt
+config BUSYBOX_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS
+ bool "Include milliseconds in timestamps"
+ default n
+ depends on BUSYBOX_SYSLOGD
+ help
+ Includes milliseconds (HH:MM:SS.mmm) in timestamp when
+ timestamps are added.
+
config BUSYBOX_FEATURE_SYSLOGD_READ_BUFFER_SIZE
int "Read buffer size in bytes"
default 256
diff --git a/package/busybox/config/util-linux/Config.in b/package/busybox/config/util-linux/Config.in
index 83830728b..106ebd934 100644
--- a/package/busybox/config/util-linux/Config.in
+++ b/package/busybox/config/util-linux/Config.in
@@ -18,6 +18,12 @@ config BUSYBOX_BLOCKDEV
help
Performs some ioctls with block devices.
+config BUSYBOX_FALLOCATE
+ bool "fallocate (4.1 kb)"
+ default n
+ help
+ Preallocate space for files.
+
config BUSYBOX_FATATTR
bool "fatattr"
default n
@@ -90,6 +96,17 @@ config BUSYBOX_FEATURE_MDEV_LOAD_FIRMWARE
/lib/firmware/ and if it exists, send it to the kernel for
loading into the hardware.
+config BUSYBOX_FEATURE_MDEV_DAEMON
+ bool "Support daemon mode"
+ default y
+ depends on BUSYBOX_MDEV
+ help
+ Adds the -d option to run mdev in daemon mode handling hotplug
+ events from the kernel like udev. If the system generates many
+ hotplug events this mode of operation will consume less
+ resources than registering mdev as hotplug helper or using the
+ uevent applet.
+
config BUSYBOX_MKE2FS
bool "mke2fs"
default n
@@ -389,6 +406,14 @@ config BUSYBOX_FSCK_MINIX
check for and attempt to repair any corruption that occurs to a minix
filesystem.
+config BUSYBOX_FSFREEZE
+ bool "fsfreeze (3.5 kb)"
+ default n
+ select BUSYBOX_PLATFORM_LINUX
+ select BUSYBOX_LONG_OPTS
+ help
+ Halt new accesses and flush writes on a mounted filesystem.
+
config BUSYBOX_MKFS_EXT2
bool "mkfs_ext2"
default n
@@ -470,6 +495,13 @@ config BUSYBOX_HD
help
hd is an alias to hexdump -C.
+config BUSYBOX_XXD
+ bool "xxd (8.9 kb)"
+ default n
+ help
+ The xxd utility is used to display binary data in a readable
+ way that is comparable to the output from most hex editors.
+
config BUSYBOX_HWCLOCK
bool "hwclock"
default y if ADK_TARGET_WITH_RTC
@@ -755,6 +787,43 @@ config BUSYBOX_LINUX64
help
Alias to "setarch linux64".
+config BUSYBOX_SETPRIV
+ bool "setpriv (6.6 kb)"
+ default n
+ select BUSYBOX_PLATFORM_LINUX
+ select BUSYBOX_LONG_OPTS
+ help
+ Run a program with different Linux privilege settings.
+ Requires kernel >= 3.5
+
+config BUSYBOX_FEATURE_SETPRIV_DUMP
+ bool "Support dumping current privilege state"
+ default y
+ depends on BUSYBOX_SETPRIV
+ help
+ Enables the "--dump" switch to print out the current privilege
+ state. This is helpful for diagnosing problems.
+
+config BUSYBOX_FEATURE_SETPRIV_CAPABILITIES
+ bool "Support capabilities"
+ default y
+ depends on BUSYBOX_SETPRIV
+ help
+ Capabilities can be used to grant processes additional rights
+ without the necessity to always execute as the root user.
+ Enabling this option enables "--dump" to show information on
+ capabilities.
+
+config BUSYBOX_FEATURE_SETPRIV_CAPABILITY_NAMES
+ bool "Support capability names"
+ default y
+ depends on BUSYBOX_SETPRIV && BUSYBOX_FEATURE_SETPRIV_CAPABILITIES
+ help
+ Capabilities can be either referenced via a human-readble name,
+ e.g. "net_admin", or using their index, e.g. "cap_12". Enabling
+ this option allows using the human-readable names in addition to
+ the index-based names.
+
config BUSYBOX_SWAPON
bool "swapon"
default n
@@ -952,6 +1021,11 @@ config BUSYBOX_FEATURE_VOLUMEID_HFS
help
TODO
+config BUSYBOX_FEATURE_VOLUMEID_MINIX
+ bool "minix filesystem"
+ default y
+ depends on BUSYBOX_VOLUMEID
+
config BUSYBOX_FEATURE_VOLUMEID_NILFS
bool "nilfs filesystem"
default y