diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-05-25 17:15:39 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-05-25 17:15:39 +0000 |
commit | e7133da4aada3f96f0e4a64a9858919ee36a2e0a (patch) | |
tree | 04f8e115af4d7639ce173efddf1022b215048390 /package/busybox/config | |
parent | b90bd689a2df064438cc7b270270f322136aa7b2 (diff) | |
download | upstream-e7133da4aada3f96f0e4a64a9858919ee36a2e0a.tar.gz upstream-e7133da4aada3f96f0e4a64a9858919ee36a2e0a.tar.bz2 upstream-e7133da4aada3f96f0e4a64a9858919ee36a2e0a.zip |
busybox: update to v1.13.4 (closes: #4279)
SVN-Revision: 16063
Diffstat (limited to 'package/busybox/config')
20 files changed, 338 insertions, 247 deletions
diff --git a/package/busybox/config/Config.in b/package/busybox/config/Config.in index 73e8792550..e8c77bfa69 100644 --- a/package/busybox/config/Config.in +++ b/package/busybox/config/Config.in @@ -154,15 +154,17 @@ config BUSYBOX_CONFIG_FEATURE_SUID default y help With this option you can install the busybox binary belonging - to root with the suid bit set, and it'll and it'll automatically drop + to root with the suid bit set, and it will automatically drop priviledges for applets that don't need root access. - If you're really paranoid and don't want to do this, build two + If you are really paranoid and don't want to do this, build two busybox binaries with different applets in them (and the appropriate symlinks pointing to each binary), and only set the suid bit on the one that needs it. The applets currently marked to need the suid bit - are login, passwd, su, ping, traceroute, crontab, dnsd, ipcrm, ipcs, - and vlock. + are: + + crontab, dnsd, findfs, ipcrm, ipcs, login, passwd, ping, su, + traceroute, vlock. config BUSYBOX_CONFIG_FEATURE_SUID_CONFIG bool "Runtime SUID/SGID configuration via /etc/busybox.conf" @@ -253,18 +255,18 @@ config BUSYBOX_CONFIG_BUSYBOX_EXEC_PATH # These are auto-selected by other options config BUSYBOX_CONFIG_FEATURE_SYSLOG - bool "Support for logging to syslog" + bool #No description makes it a hidden option default y - help - This option is auto-selected when you select any applet which may - send its output to syslog. You do not need to select it manually. + #help + # This option is auto-selected when you select any applet which may + # send its output to syslog. You do not need to select it manually. config BUSYBOX_CONFIG_FEATURE_HAVE_RPC - bool "RPC support" + bool #No description makes it a hidden option default y - help - This is automatically selected if any of enabled applets need it. - You do not need to select it manually. + #help + # This is automatically selected if any of enabled applets need it. + # You do not need to select it manually. endmenu @@ -401,9 +403,12 @@ config BUSYBOX_CONFIG_CROSS_COMPILER_PREFIX help If you want to build BusyBox with a cross compiler, then you will need to set this to the cross-compiler prefix, for example, - "i386-uclibc-". Note that CROSS_COMPILE environment variable - or "make CROSS_COMPILE=xxx ..." will override this selection. - For native build leave it empty. + "i386-uclibc-". + + Note that CROSS_COMPILE environment variable or + "make CROSS_COMPILE=xxx ..." will override this selection. + + Native builds leave this empty. endmenu @@ -490,8 +495,8 @@ config BUSYBOX_CONFIG_INCLUDE_SUSv2 will be supported in head, tail, and fold. (Note: should affect renice too.) -config BUSYBOX_CONFIG_PARSE - bool "Uniform config file parser debugging applet: parse" +### config PARSE +### bool "Uniform config file parser debugging applet: parse" endmenu @@ -589,9 +594,10 @@ source package/busybox/config/modutils/Config.in source package/busybox/config/util-linux/Config.in source package/busybox/config/miscutils/Config.in source package/busybox/config/networking/Config.in +source package/busybox/config/printutils/Config.in +source package/busybox/config/mailutils/Config.in source package/busybox/config/procps/Config.in -source package/busybox/config/shell/Config.in -source package/busybox/config/sysklogd/Config.in source package/busybox/config/runit/Config.in source package/busybox/config/selinux/Config.in -source package/busybox/config/printutils/Config.in +source package/busybox/config/shell/Config.in +source package/busybox/config/sysklogd/Config.in diff --git a/package/busybox/config/archival/Config.in b/package/busybox/config/archival/Config.in index 3fd0fb96b8..f1e4d77018 100644 --- a/package/busybox/config/archival/Config.in +++ b/package/busybox/config/archival/Config.in @@ -13,7 +13,7 @@ config BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA config BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2 bool "Make tar, rpm, modprobe etc understand .bz2 data" - default y + default n help Make tar, rpm, modprobe etc understand .bz2 data. @@ -77,7 +77,7 @@ config BUSYBOX_CONFIG_BUNZIP2 config BUSYBOX_CONFIG_BZIP2 bool "bzip2" - default y + default n help bzip2 is a compression utility using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding. Compression @@ -113,6 +113,7 @@ config BUSYBOX_CONFIG_FEATURE_CPIO_O config BUSYBOX_CONFIG_DPKG bool "dpkg" default n + select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ help dpkg is a medium-level tool to install, build, remove and manage Debian packages. @@ -123,9 +124,9 @@ config BUSYBOX_CONFIG_DPKG config BUSYBOX_CONFIG_DPKG_DEB bool "dpkg_deb" default n + select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ help - dpkg-deb packs, unpacks and provides information about Debian - archives. + dpkg-deb unpacks and provides information about Debian archives. This implementation of dpkg-deb cannot pack archives. @@ -177,7 +178,7 @@ config BUSYBOX_CONFIG_TAR create compressed archives. It's probably the most widely used UNIX archive program. -if TAR +if BUSYBOX_CONFIG_TAR config BUSYBOX_CONFIG_FEATURE_TAR_CREATE bool "Enable archive creation" diff --git a/package/busybox/config/console-tools/Config.in b/package/busybox/config/console-tools/Config.in index 02fcef49fc..ffc96d1b6c 100644 --- a/package/busybox/config/console-tools/Config.in +++ b/package/busybox/config/console-tools/Config.in @@ -101,6 +101,21 @@ config BUSYBOX_CONFIG_SETFONT help Allows to load console screen map. Useful for i18n. +config BUSYBOX_CONFIG_FEATURE_SETFONT_TEXTUAL_MAP + bool "Support reading textual screen maps" + default n + depends on BUSYBOX_CONFIG_SETFONT + help + Support reading textual screen maps. + +config BUSYBOX_CONFIG_DEFAULT_SETFONT_DIR + string "Default directory for console-tools files" + default n + depends on BUSYBOX_CONFIG_SETFONT + help + Directory to use if setfont's params are simple filenames + (not /path/to/file or ./file). Default is "" (no default directory). + config BUSYBOX_CONFIG_SETKEYCODES bool "setkeycodes" default n diff --git a/package/busybox/config/coreutils/Config.in b/package/busybox/config/coreutils/Config.in index 93f10e38b1..0775b4cbc7 100644 --- a/package/busybox/config/coreutils/Config.in +++ b/package/busybox/config/coreutils/Config.in @@ -136,12 +136,12 @@ config BUSYBOX_CONFIG_DF df reports the amount of disk space used and available on filesystems. -config BUSYBOX_CONFIG_FEATURE_DF_INODE - bool "Enable -i (inode information)" +config BUSYBOX_CONFIG_FEATURE_DF_FANCY + bool "Enable -a, -i, -B" default n depends on BUSYBOX_CONFIG_DF help - This option enables support for df -i. + This option enables -a, -i and -B. config BUSYBOX_CONFIG_DIRNAME bool "dirname" @@ -189,7 +189,7 @@ config BUSYBOX_CONFIG_ECHO config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO bool "Enable echo options (-n and -e)" default y - depends on BUSYBOX_CONFIG_ECHO + depends on BUSYBOX_CONFIG_ECHO || BUSYBOX_CONFIG_ASH_BUILTIN_ECHO help This adds options (-n and -e) to echo. @@ -649,7 +649,7 @@ config BUSYBOX_CONFIG_TEST config BUSYBOX_CONFIG_FEATURE_TEST_64 bool "Extend test to 64 bit" default n - depends on BUSYBOX_CONFIG_TEST + depends on BUSYBOX_CONFIG_TEST || BUSYBOX_CONFIG_ASH_BUILTIN_TEST help Enable 64-bit support in test. diff --git a/package/busybox/config/debianutils/Config.in b/package/busybox/config/debianutils/Config.in index b2118c8630..e5f0c26161 100644 --- a/package/busybox/config/debianutils/Config.in +++ b/package/busybox/config/debianutils/Config.in @@ -64,6 +64,7 @@ config BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_FANCY Support additional arguments. -o|--oknodo ignored since we exit with 0 anyway -v|--verbose + -N|--nicelevel N config BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS bool "Enable long options" diff --git a/package/busybox/config/editors/Config.in b/package/busybox/config/editors/Config.in index fd1da4b37e..9eb85bbb87 100644 --- a/package/busybox/config/editors/Config.in +++ b/package/busybox/config/editors/Config.in @@ -12,7 +12,7 @@ config BUSYBOX_CONFIG_AWK Awk is used as a pattern scanning and processing language. This is the BusyBox implementation of that programming language. -config BUSYBOX_CONFIG_FEATURE_AWK_MATH +config BUSYBOX_CONFIG_FEATURE_AWK_LIBM bool "Enable math functions (requires libm)" default y depends on BUSYBOX_CONFIG_AWK diff --git a/package/busybox/config/findutils/Config.in b/package/busybox/config/findutils/Config.in index 54ef44e178..991b97fac5 100644 --- a/package/busybox/config/findutils/Config.in +++ b/package/busybox/config/findutils/Config.in @@ -146,7 +146,7 @@ config BUSYBOX_CONFIG_FEATURE_FIND_DELETE default n depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_FEATURE_FIND_DEPTH help - Support the 'find -delete' option for deleting files and direcotries. + Support the 'find -delete' option for deleting files and directories. WARNING: This option can do much harm if used wrong. Busybox will not try to protect the user from doing stupid things. Use with care. diff --git a/package/busybox/config/init/Config.in b/package/busybox/config/init/Config.in index 07f6fae780..a84169d46e 100644 --- a/package/busybox/config/init/Config.in +++ b/package/busybox/config/init/Config.in @@ -12,14 +12,6 @@ config BUSYBOX_CONFIG_INIT help init is the first program run when the system boots. -config BUSYBOX_CONFIG_DEBUG_INIT - bool "Debugging aid" - default n - depends on BUSYBOX_CONFIG_INIT - help - Turn this on to disable all the dangerous - rebooting stuff when debugging. - config BUSYBOX_CONFIG_FEATURE_USE_INITTAB bool "Support reading an inittab file" default y @@ -83,8 +75,6 @@ config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS core file sizes. If this option is disabled, processes will not generate any core files. - - config BUSYBOX_CONFIG_FEATURE_INITRD bool "Support running init from within an initrd (not initramfs)" default n diff --git a/package/busybox/config/ipsvd/Config.in b/package/busybox/config/ipsvd/Config.in deleted file mode 100644 index d163ade492..0000000000 --- a/package/busybox/config/ipsvd/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -# -# For a description of the syntax of this configuration file, -# see scripts/kbuild/config-language.txt. -# - -menu "ipsvd utilities" - -config BUSYBOX_CONFIG_TCPSVD - bool "tcpsvd" - default n - help - tcpsvd listens on a tcp port and runs a program for each new connection - -config BUSYBOX_CONFIG_UDPSVD - bool "udpsvd" - default n - help - udpsvd listens on a udp port and runs a program for each new connection - -endmenu diff --git a/package/busybox/config/loginutils/Config.in b/package/busybox/config/loginutils/Config.in index fa9f65e1cd..d100b3bb2e 100644 --- a/package/busybox/config/loginutils/Config.in +++ b/package/busybox/config/loginutils/Config.in @@ -233,12 +233,12 @@ config BUSYBOX_CONFIG_CRYPTPW Applet for crypting a string. config BUSYBOX_CONFIG_CHPASSWD - bool "chpasswd" - default n - help - chpasswd reads a file of user name and password pairs from - standard input and uses this information to update a group of - existing users. + bool "chpasswd" + default n + help + chpasswd reads a file of user name and password pairs from + standard input and uses this information to update a group of + existing users. config BUSYBOX_CONFIG_SU bool "su" diff --git a/package/busybox/config/mailutils/Config.in b/package/busybox/config/mailutils/Config.in new file mode 100644 index 0000000000..9fb5a13ec7 --- /dev/null +++ b/package/busybox/config/mailutils/Config.in @@ -0,0 +1,69 @@ +menu "Mail Utilities" + +config BUSYBOX_CONFIG_MAKEMIME + bool "makemime" + default n + help + Create MIME-formatted messages. + +config BUSYBOX_CONFIG_FEATURE_MIME_CHARSET + string "Default charset" + default n + depends on BUSYBOX_CONFIG_MAKEMIME || BUSYBOX_CONFIG_REFORMIME || BUSYBOX_CONFIG_SENDMAIL + help + Default charset of the message. + +config BUSYBOX_CONFIG_POPMAILDIR + bool "popmaildir" + default n + help + Simple yet powerful POP3 mail popper. Delivers content + of remote mailboxes to local Maildir. + +config BUSYBOX_CONFIG_FEATURE_POPMAILDIR_DELIVERY + bool "Allow message filters and custom delivery program" + default n + depends on BUSYBOX_CONFIG_POPMAILDIR + help + Allow to use a custom program to filter the content + of the message before actual delivery (-F "prog [args...]"). + Allow to use a custom program for message actual delivery + (-M "prog [args...]"). + +config BUSYBOX_CONFIG_REFORMIME + bool "reformime" + default n + help + Parse MIME-formatted messages. + +config BUSYBOX_CONFIG_FEATURE_REFORMIME_COMPAT + bool "Accept and ignore options other than -x and -X" + default n + depends on BUSYBOX_CONFIG_REFORMIME + help + Accept (for compatibility only) and ignore options + other than -x and -X. + +config BUSYBOX_CONFIG_SENDMAIL + bool "sendmail" + default n + help + Barebones sendmail. + +config BUSYBOX_CONFIG_FEATURE_SENDMAIL_MAILX + bool "Allow to specify subject, attachments, their charset etc" + default n + depends on BUSYBOX_CONFIG_SENDMAIL + help + Allow to specify subject, attachments and their charset. + Allow to use custom connection helper. + +config BUSYBOX_CONFIG_FEATURE_SENDMAIL_MAILXX + bool "Allow to specify Cc: addresses and some additional headers" + default n + depends on BUSYBOX_CONFIG_FEATURE_SENDMAIL_MAILX + help + Allow to specify Cc: addresses and some additional headers: + Errors-To: + +endmenu diff --git a/package/busybox/config/miscutils/Config.in b/package/busybox/config/miscutils/Config.in index df5f28cfd4..e1541c97da 100644 --- a/package/busybox/config/miscutils/Config.in +++ b/package/busybox/config/miscutils/Config.in @@ -107,7 +107,7 @@ config BUSYBOX_CONFIG_CROND # Run daily cron jobs at 4:40 every day: 40 4 * * * /etc/cron/daily > /dev/null 2>&1 -config BUSYBOX_CONFIG_DEBUG_CROND_OPTION +config BUSYBOX_CONFIG_FEATURE_CROND_D bool "Support option -d to redirect output to stderr" depends on BUSYBOX_CONFIG_CROND default n @@ -138,6 +138,14 @@ config BUSYBOX_CONFIG_DC Dc is a reverse-polish desk calculator which supports unlimited precision arithmetic. +config BUSYBOX_CONFIG_FEATURE_DC_LIBM + bool "Enable power and exp functions (requires libm)" + default n + depends on BUSYBOX_CONFIG_DC + help + Enable power and exp functions. + NOTE: This will require libm to be present for linking. + config BUSYBOX_CONFIG_DEVFSD bool "devfsd (obsolete)" default n @@ -188,6 +196,13 @@ config BUSYBOX_CONFIG_FEATURE_DEVFS /dev/loop0. If your /dev directory has normal names instead of devfs names, you don't want this. +config BUSYBOX_CONFIG_DEVMEM + bool "devmem" + default n + help + devmem is a small program that reads and writes from physical + memory using /dev/mem. + config BUSYBOX_CONFIG_EJECT bool "eject" default n @@ -285,13 +300,13 @@ config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS The -M flag enables a more sophisticated status line. The -m flag enables a simpler status line with a percentage. -config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS - bool "Enable flag changes" +config BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD + bool "Enable flag changes ('-' command)" default n depends on BUSYBOX_CONFIG_LESS help This enables the ability to change command-line flags within - less itself. + less itself ('-' keyboard command). config BUSYBOX_CONFIG_FEATURE_LESS_MARKS bool "Enable marks" @@ -307,6 +322,20 @@ config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP help Enable regular expressions, allowing complex file searches. +config BUSYBOX_CONFIG_FEATURE_LESS_LINENUMS + bool "Enable dynamic switching of line numbers" + default n + depends on BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD + help + Enable "-N" command. + +config BUSYBOX_CONFIG_FEATURE_LESS_WINCH + bool "Enable automatic resizing on window size changes" + default n + depends on BUSYBOX_CONFIG_LESS + help + Makes less track window size changes. + config BUSYBOX_CONFIG_HDPARM bool "hdparm" default n diff --git a/package/busybox/config/modutils/Config.in b/package/busybox/config/modutils/Config.in index be141d91c7..f02f03178e 100644 --- a/package/busybox/config/modutils/Config.in +++ b/package/busybox/config/modutils/Config.in @@ -5,6 +5,20 @@ menu "Linux Module Utilities" +config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR + string "Default directory containing modules" + default "/lib/modules" + help + Directory that contains kernel modules. + Defaults to "/lib/modules" + +config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE + string "Default name of modules.dep" + default "modules.dep" + help + Filename that contains kernel modules dependencies. + Defaults to "modules.dep" + config BUSYBOX_CONFIG_MODPROBE_SMALL bool "Simplified modutils" default n @@ -54,48 +68,83 @@ config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED Check if the module is already loaded. N.B. It's racy. -config BUSYBOX_CONFIG_DEPMOD - bool "depmod" - default n +config BUSYBOX_CONFIG_INSMOD + bool "insmod" + default y depends on !BUSYBOX_CONFIG_MODPROBE_SMALL help - depmod generates modules.dep (FIXME: elaborate) + insmod is used to load specified modules in the running kernel. -config BUSYBOX_CONFIG_FEATURE_DEPMOD_PRUNE_FANCY - bool "Fancy dependency pruning" - default n - depends on BUSYBOX_CONFIG_DEPMOD +config BUSYBOX_CONFIG_RMMOD + bool "rmmod" + default y + depends on !BUSYBOX_CONFIG_MODPROBE_SMALL help - By default modules.dep contains all dependencies as listed by - the modules. - If you enable this option then we remove implied modules from - the dependencies. - This makes depmod somewhat bigger but generates a smaller - modules.dep file. + rmmod is used to unload specified modules from the kernel. - If unsure, say N. +config BUSYBOX_CONFIG_LSMOD + bool "lsmod" + default y + depends on !BUSYBOX_CONFIG_MODPROBE_SMALL + help + lsmod is used to display a list of loaded modules. + +config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT + bool "Pretty output" + default y + depends on BUSYBOX_CONFIG_LSMOD + help + This option makes output format of lsmod adjusted to + the format of module-init-tools for Linux kernel 2.6. + Increases size somewhat. -config BUSYBOX_CONFIG_FEATURE_DEPMOD_ALIAS - bool "Alias support" +config BUSYBOX_CONFIG_MODPROBE + bool "modprobe" default n - depends on BUSYBOX_CONFIG_DEPMOD + depends on !BUSYBOX_CONFIG_MODPROBE_SMALL help - By default modules.dep does not contain alias information. - Enable this to emit aliases of the form: + Handle the loading of modules, and their dependencies on a high + level. - alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs + Note that in the state, modprobe does not understand multiple + module options from the configuration file. See option below. -config BUSYBOX_CONFIG_INSMOD - bool "insmod" - default y +config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST + bool + prompt "Blacklist support" + default n + depends on BUSYBOX_CONFIG_MODPROBE + help + Say 'y' here to enable support for the 'blacklist' command in + modprobe.conf. This prevents the alias resolver to resolve + blacklisted modules. This is useful if you want to prevent your + hardware autodetection scripts to load modules like evdev, frame + buffer drivers etc. + +config BUSYBOX_CONFIG_DEPMOD + bool "depmod" + default n depends on !BUSYBOX_CONFIG_MODPROBE_SMALL help - insmod is used to load specified modules in the running kernel. + depmod generates modules.dep (and potentially modules.alias + and modules.symbols) that contain dependency information + for modprobe. + +comment "Options common to multiple modutils" + +config BUSYBOX_CONFIG_FEATURE_2_4_MODULES + bool "Support version 2.2/2.4 Linux kernels" + default n + depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_LSMOD + help + Support module loading for 2.2.x and 2.4.x Linux kernels. + This increases size considerably. Say N unless you plan + to run ancient kernels. config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING - bool "Module version checking" + bool "Enable module version checking" default n - depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES + depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) help Support checking of versions for modules. This is used to ensure that the kernel and module are made for each other. @@ -103,7 +152,7 @@ config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS bool "Add module symbols to kernel symbol table" default n - depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES + depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) help By adding module symbols to the kernel symbol table, Oops messages occuring within kernel modules can be properly debugged. By enabling @@ -114,7 +163,7 @@ config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM bool "In kernel memory optimization (uClinux only)" default n - depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES + depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) help This is a special uClinux only memory optimization that lets insmod load the specified kernel module directly into kernel space, reducing @@ -122,9 +171,9 @@ config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM being loaded into memory. config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP - bool "Enable load map (-m) option" + bool "Enable insmod load map (-m) option" default n - depends on BUSYBOX_CONFIG_INSMOD && ( BUSYBOX_CONFIG_FEATURE_2_4_MODULES || BUSYBOX_CONFIG_FEATURE_2_6_MODULES ) + depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD help Enabling this, one would be able to get a load map output on stdout. This makes kernel module debugging @@ -135,138 +184,47 @@ config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL bool "Symbols in load map" default n - depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP + depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_CONFIG_MODPROBE_SMALL help Without this option, -m will only output section load map. With this option, -m will also output symbols load map. -config BUSYBOX_CONFIG_RMMOD - bool "rmmod" - default y - depends on !BUSYBOX_CONFIG_MODPROBE_SMALL - help - rmmod is used to unload specified modules from the kernel. - -config BUSYBOX_CONFIG_LSMOD - bool "lsmod" - default y - depends on !BUSYBOX_CONFIG_MODPROBE_SMALL - help - lsmod is used to display a list of loaded modules. - -config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT - bool "Pretty output for 2.6.x Linux kernels" - default y - depends on BUSYBOX_CONFIG_LSMOD - help - This option makes output format of lsmod adjusted to - the format of module-init-tools for Linux kernel 2.6. - -config BUSYBOX_CONFIG_MODPROBE - bool "modprobe" - default n - depends on !BUSYBOX_CONFIG_MODPROBE_SMALL - help - Handle the loading of modules, and their dependencies on a high - level. - - Note that in the state, modprobe does not understand multiple - module options from the configuration file. See option below. - -config BUSYBOX_CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS - bool - prompt "Multiple options parsing" - default n - depends on BUSYBOX_CONFIG_MODPROBE - help - Allow modprobe to understand more than one option to pass to - modules. - - This is a WIP, while waiting for a common argument parsing - common amongst all BB applets (shell, modprobe, etc...) and - adds around 600 bytes on x86, 700 bytes on ARM. The code is - biggish and uggly, but just works. - - Saying Y here is not a bad idea if you're not that short - on storage capacity. - -config BUSYBOX_CONFIG_FEATURE_MODPROBE_FANCY_ALIAS - bool - prompt "Fancy alias parsing" - default n - depends on BUSYBOX_CONFIG_MODPROBE && BUSYBOX_CONFIG_FEATURE_2_6_MODULES - help - Say 'y' here to enable parsing of aliases with underscore/dash - mismatch between module name and file name, along with bus-specific - aliases (such as pci:... or usb:... aliases). - -config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST - bool - prompt "Blacklist support" - default n - depends on BUSYBOX_CONFIG_MODPROBE && BUSYBOX_CONFIG_FEATURE_2_6_MODULES - help - Say 'y' here to enable support for the 'blacklist' command in - modprobe.conf. This prevents the alias resolver to resolve - blacklisted modules. This is useful if you want to prevent your - hardware autodetection scripts to load modules like evdev, frame - buffer drivers etc. - -comment "Options common to multiple modutils" - depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_DEPMOD - config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE - # Simulate indentation bool "Support tainted module checking with new kernels" default y - depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD + depends on !BUSYBOX_CONFIG_MODPROBE_SMALL help Support checking for tainted modules. These are usually binary only modules that will make the linux-kernel list ignore your support request. This option is required to support GPLONLY modules. -config BUSYBOX_CONFIG_FEATURE_2_4_MODULES - # Simulate indentation - bool "Support version 2.2.x to 2.4.x Linux kernels" +config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS + bool "Support for module.aliases file" default n - depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE + depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE help - Support module loading for 2.2.x and 2.4.x Linux kernels. + Generate and parse modules.alias containing aliases for bus + identifiers: + alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs - Note: - This is automatically enabled if 2.6 modules are not enabled. + and aliases for logical modules names e.g.: + alias padlock_aes aes + alias aes_i586 aes + alias aes_generic aes -config BUSYBOX_CONFIG_FEATURE_2_6_MODULES - # Simulate indentation - bool "Support version 2.6.x Linux kernels" - default y - depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE - help - Support module loading for newer 2.6.x Linux kernels. - -config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR - # Simulate indentation - string "Default directory containing modules" - default "/lib/modules" - depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_DEPMOD - help - Directory that contains kernel modules. - Defaults to "/lib/modules" + Say Y if unsure. -config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE - # Simulate indentation - string "Default name of modules.dep" - default "modules.dep" - depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_DEPMOD +config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS + bool "Support for module.symbols file" + default n + depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE help - Filename that contains kernel modules dependencies. - Defaults to "modules.dep" + Generate and parse modules.symbols containing aliases for + symbol_request() kernel calls, such as: + alias symbol:usb_sg_init usbcore -config BUSYBOX_CONFIG_FEATURE_QUERY_MODULE_INTERFACE - bool - default n - depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !BUSYBOX_CONFIG_FEATURE_2_6_MODULES + Say Y if unsure. endmenu diff --git a/package/busybox/config/networking/Config.in b/package/busybox/config/networking/Config.in index 76630852b7..de7484aa99 100644 --- a/package/busybox/config/networking/Config.in +++ b/package/busybox/config/networking/Config.in @@ -641,7 +641,7 @@ config BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE config BUSYBOX_CONFIG_FEATURE_NETSTAT_PRG bool "Enable PID/Program name output" - default n + default y depends on BUSYBOX_CONFIG_NETSTAT help Add support for -p flag to print out PID and program name. @@ -687,18 +687,6 @@ config BUSYBOX_CONFIG_ROUTE help Route displays or manipulates the kernel's IP routing tables. -config BUSYBOX_CONFIG_SENDMAIL - bool "sendmail" - default n - help - Barebones sendmail. - -config BUSYBOX_CONFIG_FETCHMAIL - bool "fetchmail" - default n - help - Barebones fetchmail. - config BUSYBOX_CONFIG_SLATTACH bool "slattach" default n @@ -706,6 +694,16 @@ config BUSYBOX_CONFIG_SLATTACH slattach is a small utility to attach network interfaces to serial lines. +#config TC +# bool "tc" +# default n +# help +# show / manipulate traffic control settings +# +#config FEATURE_TC_INGRESS +# def_bool n +# depends on TC + config BUSYBOX_CONFIG_TELNET bool "telnet" default y @@ -826,7 +824,7 @@ config BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE Allow tftp to specify block size, and tftpd to understand "blksize" option. -config BUSYBOX_CONFIG_DEBUG_TFTP +config BUSYBOX_CONFIG_TFTP_DEBUG bool "Enable debug" default n depends on BUSYBOX_CONFIG_TFTP diff --git a/package/busybox/config/networking/udhcp/Config.in b/package/busybox/config/networking/udhcp/Config.in index 891dcf8d83..10e06d5e36 100644 --- a/package/busybox/config/networking/udhcp/Config.in +++ b/package/busybox/config/networking/udhcp/Config.in @@ -74,14 +74,14 @@ config BUSYBOX_CONFIG_FEATURE_UDHCP_PORT At the cost of ~300 bytes, enables -P port option. This feature is typically not needed. -config BUSYBOX_CONFIG_FEATURE_UDHCP_DEBUG +config BUSYBOX_CONFIG_UDHCP_DEBUG bool "Compile udhcp with noisy debugging messages" default n depends on BUSYBOX_CONFIG_APP_UDHCPD || BUSYBOX_CONFIG_APP_UDHCPC help If selected, udhcpd will output extra debugging output. -config BUSYBOX_CONFIG_FEATURE_RFC3397 +config BUSYBOX_CONFIG_FEATURE_UDHCP_RFC3397 bool "Support for RFC3397 domain search (experimental)" default y depends on BUSYBOX_CONFIG_APP_UDHCPD || BUSYBOX_CONFIG_APP_UDHCPC @@ -89,7 +89,7 @@ config BUSYBOX_CONFIG_FEATURE_RFC3397 If selected, both client and server will support passing of domain search lists via option 119, specified in RFC3397. -config BUSYBOX_CONFIG_DHCPC_DEFAULT_SCRIPT +config BUSYBOX_CONFIG_UDHCPC_DEFAULT_SCRIPT string "Absolute path to config script" default "/usr/share/udhcpc/default.script" depends on BUSYBOX_CONFIG_APP_UDHCPC diff --git a/package/busybox/config/printutils/Config.in b/package/busybox/config/printutils/Config.in index 62fb448cff..8b84bdec26 100644 --- a/package/busybox/config/printutils/Config.in +++ b/package/busybox/config/printutils/Config.in @@ -1,3 +1,8 @@ +# +# For a description of the syntax of this configuration file, +# see scripts/kbuild/config-language.txt. +# + menu "Print Utilities" config BUSYBOX_CONFIG_LPD diff --git a/package/busybox/config/procps/Config.in b/package/busybox/config/procps/Config.in index ac93163994..7343592607 100644 --- a/package/busybox/config/procps/Config.in +++ b/package/busybox/config/procps/Config.in @@ -135,32 +135,51 @@ config BUSYBOX_CONFIG_TOP system. config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE - bool "Show CPU per-process usage percentage (adds 2k bytes)" + bool "Show CPU per-process usage percentage" default y depends on BUSYBOX_CONFIG_TOP help Make top display CPU usage for each process. + This adds about 2k. config BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS - bool "Show CPU global usage percentage (adds 0.5k bytes)" + bool "Show CPU global usage percentage" default y depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE help Makes top display "CPU: NN% usr NN% sys..." line. + This adds about 0.5k. + +config BUSYBOX_CONFIG_FEATURE_TOP_SMP_CPU + bool "SMP CPU usage display ('c' key)" + default n + depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS + help + Allow 'c' key to switch between individual/cumulative CPU stats + This adds about 0.5k. config BUSYBOX_CONFIG_FEATURE_TOP_DECIMALS - bool "Show 1/10th of a percent in CPU/mem statistics (adds 0.3k bytes)" + bool "Show 1/10th of a percent in CPU/mem statistics" default n depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE help Show 1/10th of a percent in CPU/mem statistics. + This adds about 0.3k. + +config BUSYBOX_CONFIG_FEATURE_TOP_SMP_PROCESS + bool "Show CPU process runs on ('j' field)" + default n + depends on BUSYBOX_CONFIG_TOP + help + Show CPU where process was last found running on. + This is the 'j' field. config BUSYBOX_CONFIG_FEATURE_TOPMEM - bool "topmem" + bool "Topmem command ('s' key)" default n depends on BUSYBOX_CONFIG_TOP help - Enable 's' in top (gives lots of memory info) + Enable 's' in top (gives lots of memory info). config BUSYBOX_CONFIG_UPTIME bool "uptime" @@ -173,11 +192,9 @@ config BUSYBOX_CONFIG_UPTIME config BUSYBOX_CONFIG_WATCH bool "watch" default n - #huh?? select DATE help watch is used to execute a program periodically, showing output to the screen. endmenu - diff --git a/package/busybox/config/runit/Config.in b/package/busybox/config/runit/Config.in index 3938f9cc2f..624d4992e3 100644 --- a/package/busybox/config/runit/Config.in +++ b/package/busybox/config/runit/Config.in @@ -20,6 +20,15 @@ config BUSYBOX_CONFIG_RUNSVDIR a directory, in the services directory dir, up to a limit of 1000 subdirectories, and restarts a runsv process if it terminates. +config BUSYBOX_CONFIG_FEATURE_RUNSVDIR_LOG + bool "Enable scrolling argument log" + depends on BUSYBOX_CONFIG_RUNSVDIR + default n + help + Enable feature where second parameter of runsvdir holds last error + message (viewable via top/ps). Otherwise (feature is off + or no parameter), error messages go to stderr only. + config BUSYBOX_CONFIG_SV bool "sv" default n @@ -27,6 +36,14 @@ config BUSYBOX_CONFIG_SV sv reports the current status and controls the state of services monitored by the runsv supervisor. +config BUSYBOX_CONFIG_SV_DEFAULT_SERVICE_DIR + string "Default directory for services" + default "/var/service" + depends on BUSYBOX_CONFIG_SV + help + Default directory for services. + Defaults to "/var/service" + config BUSYBOX_CONFIG_SVLOGD bool "svlogd" default n diff --git a/package/busybox/config/selinux/Config.in b/package/busybox/config/selinux/Config.in index cc8966c5a5..b5b2d663e6 100644 --- a/package/busybox/config/selinux/Config.in +++ b/package/busybox/config/selinux/Config.in @@ -3,7 +3,7 @@ # see scripts/kbuild/config-language.txt. # -menu "Selinux Utilities" +menu "SELinux Utilities" depends on BUSYBOX_CONFIG_SELINUX config BUSYBOX_CONFIG_CHCON diff --git a/package/busybox/config/util-linux/Config.in b/package/busybox/config/util-linux/Config.in index 6e3fc39b49..6b8dcdf7f6 100644 --- a/package/busybox/config/util-linux/Config.in +++ b/package/busybox/config/util-linux/Config.in @@ -5,6 +5,15 @@ menu "Linux System Utilities" +config BUSYBOX_CONFIG_BLKID + bool "blkid" + default n + select BUSYBOX_CONFIG_VOLUMEID + help + Lists labels and UUIDs of all filesystems. + WARNING: + With all submodules selected, it will add ~8k to busybox. + config BUSYBOX_CONFIG_DMESG bool "dmesg" default y @@ -156,9 +165,7 @@ config BUSYBOX_CONFIG_FINDFS default n select BUSYBOX_CONFIG_VOLUMEID help - This is similar to the findfs program that is part of the e2fsprogs - package. However, the e2fsprogs version only support ext2/3. This - version supports those in addition to FAT, swap, and ReiserFS. + Prints the name of a filesystem with given label or UUID. WARNING: With all submodules selected, it will add ~8k to busybox. @@ -396,10 +403,8 @@ config BUSYBOX_CONFIG_FEATURE_USE_TERMIOS unable to move the cursor. config BUSYBOX_CONFIG_VOLUMEID - bool "Routines for detecting label and uuid on common filesystems" + bool #No description makes it a hidden option default n - help - TODO config BUSYBOX_CONFIG_FEATURE_VOLUMEID_EXT bool "Ext filesystem" @@ -651,7 +656,7 @@ config BUSYBOX_CONFIG_FEATURE_MOUNT_LABEL select BUSYBOX_CONFIG_VOLUMEID help This allows for specifying a device by label or uuid, rather than by - name. This feature utilizes the same functionality as findfs. + name. This feature utilizes the same functionality as blkid/findfs. config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS bool "Support mounting NFS file systems" |