Browse Source

update busybox and default config

Waldemar Brodkorb 15 years ago
parent
commit
0c6fb98d01
33 changed files with 1259 additions and 1458 deletions
  1. 2 2
      package/busybox/Makefile
  2. 216 202
      package/busybox/config/Config.in
  3. 41 17
      package/busybox/config/archival/Config.in
  4. 1 1
      package/busybox/config/console-tools/Config.in
  5. 55 37
      package/busybox/config/coreutils/Config.in
  6. 5 5
      package/busybox/config/debianutils/Config.in
  7. 6 3
      package/busybox/config/editors/Config.in
  8. 41 42
      package/busybox/config/findutils/Config.in
  9. 35 15
      package/busybox/config/init/Config.in
  10. 25 2
      package/busybox/config/libbb/Config.in
  11. 51 15
      package/busybox/config/loginutils/Config.in
  12. 0 16
      package/busybox/config/mailutils/Config.in
  13. 115 38
      package/busybox/config/miscutils/Config.in
  14. 19 23
      package/busybox/config/modutils/Config.in
  15. 77 41
      package/busybox/config/networking/Config.in
  16. 9 4
      package/busybox/config/networking/udhcp/Config.in
  17. 14 7
      package/busybox/config/procps/Config.in
  18. 2 2
      package/busybox/config/selinux/Config.in
  19. 69 44
      package/busybox/config/shell/Config.in
  20. 2 2
      package/busybox/config/sysklogd/Config.in
  21. 59 20
      package/busybox/config/util-linux/Config.in
  22. 415 603
      package/busybox/patches/001-ipkg.patch
  23. 0 105
      package/busybox/patches/002-find-empty.patch
  24. 0 18
      package/busybox/patches/003-ip-config.patch
  25. 0 12
      package/busybox/patches/patch-Makefile
  26. 0 21
      package/busybox/patches/patch-Makefile_flags
  27. 0 80
      package/busybox/patches/patch-include_libbb_h
  28. 0 30
      package/busybox/patches/patch-include_platform_h
  29. 0 12
      package/busybox/patches/patch-networking_traceroute_c
  30. 0 11
      package/busybox/patches/patch-networking_udhcp_dhcpd_c
  31. 0 16
      package/busybox/patches/patch-runit_runit_lib_h
  32. 0 12
      package/busybox/patches/patch-util-linux_fdisk_osf_c
  33. 0 0
      scripts/create-busybox.sh

+ 2 - 2
package/busybox/Makefile

@@ -4,9 +4,9 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		busybox
-PKG_VERSION:=		1.13.4
+PKG_VERSION:=		1.15.2
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		6f86b4aa466f4b492c9468ba9500976a
+PKG_MD5SUM:=		495e320537f0772125f2db3c098e437c
 PKG_DESCR:=		Core utilities for embedded Linux systems
 PKG_SECTION:=		base
 PKG_URL:=		http://www.busybox.net

+ 216 - 202
package/busybox/config/Config.in

@@ -30,18 +30,6 @@ 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_FEATURE_ASSUME_UNICODE
-	bool "Assume that 1:1 char/glyph correspondence is not true"
-	default n
-	help
-	  This makes various applets aware that one byte is not
-	  one character on screen.
-
-	  Busybox aims to eventually work correctly with Unicode displays.
-	  Any older encodings are not guaranteed to work.
-	  Probably by the time when busybox will be fully Unicode-clean,
-	  other encodings will be mainly of historic interest.
-
 choice
 	prompt "Buffer allocation policy"
 	default FEATURE_BUFFERS_USE_MALLOC
@@ -77,7 +65,7 @@ config BUSYBOX_SHOW_USAGE
 
 config BUSYBOX_FEATURE_VERBOSE_USAGE
 	bool "Show verbose applet usage messages"
-	default y
+	default n
 	select BUSYBOX_SHOW_USAGE
 	help
 	  All BusyBox applets will show more verbose help messages when
@@ -114,7 +102,29 @@ config BUSYBOX_LOCALE_SUPPORT
 	  Enable this if your system has locale support and you would like
 	  busybox to support locale settings.
 
-config BUSYBOX_GETOPT_LONG
+config BUSYBOX_FEATURE_ASSUME_UNICODE
+	bool "Support Unicode"
+	default n
+	help
+	  This makes various applets aware that one byte is not
+	  one character on screen.
+
+	  Busybox aims to eventually work correctly with Unicode displays.
+	  Any older encodings are not guaranteed to work.
+	  Probably by the time when busybox will be fully Unicode-clean,
+	  other encodings will be mainly of historic interest.
+
+config BUSYBOX_FEATURE_CHECK_UNICODE_IN_ENV
+	bool "Check $LANG environment variable"
+	default y
+	depends on BUSYBOX_FEATURE_ASSUME_UNICODE && !BUSYBOX_LOCALE_SUPPORT
+	help
+	  With this option on, Unicode support is activated
+	  only if LANG variable has the value of the form "xxxx.utf8"
+
+	  Otherwise, Unicode support will be always enabled and active.
+
+config BUSYBOX_LONG_OPTS
 	bool "Support for --long-options"
 	default y
 	help
@@ -131,17 +141,17 @@ config BUSYBOX_FEATURE_DEVPTS
 	  /dev/ttyp<number> will be used. To use this option, you should have
 	  devpts mounted.
 
-#config BUSYBOX_FEATURE_CLEAN_UP
-#	bool "Clean up all memory before exiting (usually not needed)"
-#	default n
-#	help
-#	  As a size optimization, busybox normally exits without explicitly
-#	  freeing dynamically allocated memory or closing files. This saves
-#	  space since the OS will clean up for us, but it can confuse debuggers
-#	  like valgrind, which report tons of memory and resource leaks.
-#
-#	  Don't enable this unless you have a really good reason to clean
-#	  things up manually.
+config BUSYBOX_FEATURE_CLEAN_UP
+	bool "Clean up all memory before exiting (usually not needed)"
+	default n
+	help
+	  As a size optimization, busybox normally exits without explicitly
+	  freeing dynamically allocated memory or closing files. This saves
+	  space since the OS will clean up for us, but it can confuse debuggers
+	  like valgrind, which report tons of memory and resource leaks.
+
+	  Don't enable this unless you have a really good reason to clean
+	  things up manually.
 
 config BUSYBOX_FEATURE_PIDFILE
 	bool "Support writing pidfiles"
@@ -152,7 +162,7 @@ config BUSYBOX_FEATURE_PIDFILE
 
 config BUSYBOX_FEATURE_SUID
 	bool "Support for SUID/SGID handling"
-	default y
+	default n
 	help
 	  With this option you can install the busybox binary belonging
 	  to root with the suid bit set, and it will automatically drop
@@ -167,91 +177,91 @@ config BUSYBOX_FEATURE_SUID
 	  crontab, dnsd, findfs, ipcrm, ipcs, login, passwd, ping, su,
 	  traceroute, vlock.
 
-#config BUSYBOX_FEATURE_SUID_CONFIG
-#	bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
-#	default n if FEATURE_SUID
-#	depends on BUSYBOX_FEATURE_SUID
-#	help
-#	  Allow the SUID / SGID state of an applet to be determined at runtime
-#	  by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
-#	  The format of this file is as follows:
-#
-#	  <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>)
-#
-#	  An example might help:
-#
-#	  [SUID]
-#	  su = ssx root.0 # applet su can be run by anyone and runs with
-#	                  # euid=0/egid=0
-#	  su = ssx        # exactly the same
-#
-#	  mount = sx- root.disk # applet mount can be run by root and members
-#	                        # of group disk and runs with euid=0
-#
-#	  cp = --- # disable applet cp for everyone
-#
-#	  The file has to be owned by user root, group root and has to be
-#	  writeable only by root:
-#	        (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
-#	  The busybox executable has to be owned by user root, group
-#	  root and has to be setuid root for this to work:
-#	        (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
-#
-#	  Robert 'sandman' Griebl has more information here:
-#	  <url: http://www.softforge.de/bb/suid.html >.
-
-#config BUSYBOX_FEATURE_SUID_CONFIG_QUIET
-#	bool "Suppress warning message if /etc/busybox.conf is not readable"
-#	default y
-#	depends on BUSYBOX_FEATURE_SUID_CONFIG
-#	help
-#	  /etc/busybox.conf should be readable by the user needing the SUID,
-#	  check this option to avoid users to be notified about missing
-#	  permissions.
-
-#config BUSYBOX_SELINUX
-#	bool "Support NSA Security Enhanced Linux"
-#	default n
-#	help
-#	  Enable support for SELinux in applets ls, ps, and id. Also provide
-#	  the option of compiling in SELinux applets.
-#
-#	  If you do not have a complete SELinux userland installed, this stuff
-#	  will not compile. Go visit
-#		http://www.nsa.gov/selinux/index.html
-#	  to download the necessary stuff to allow busybox to compile with
-#	  this option enabled. Specifially, libselinux 1.28 or better is
-#	  directly required by busybox. If the installation is located in a
-#	  non-standard directory, provide it by invoking make as follows:
-#		CFLAGS=-I<libselinux-include-path> \
-#		LDFLAGS=-L<libselinux-lib-path> \
-#		make
-#
-#	  Most people will leave this set to 'N'.
-
-#config BUSYBOX_FEATURE_PREFER_APPLETS
-##	bool "exec prefers applets"
-#	default n
-#	help
-#	  This is an experimental option which directs applets about to
-#	  call 'exec' to try and find an applicable busybox applet before
-#	  searching the PATH. This is typically done by exec'ing
-#	  /proc/self/exe.
-#	  This may affect shell, find -exec, xargs and similar applets.
-#	  They will use applets even if /bin/<applet> -> busybox link
-#	  is missing (or is not a link to busybox). However, this causes
-#	  problems in chroot jails without mounted /proc and with ps/top
-#	  (command name can be shown as 'exe' for applets started this way).
-
-#config BUSYBOX_BUSYBOX_EXEC_PATH
-#	string "Path to BusyBox executable"
-#	default "/proc/self/exe"
-#	help
-#	  When Busybox applets need to run other busybox applets, BusyBox
-#	  sometimes needs to exec() itself. When the /proc filesystem is
-#	  mounted, /proc/self/exe always points to the currently running
-#	  executable. If you haven't got /proc, set this to wherever you
-#	  want to run BusyBox from.
+config BUSYBOX_FEATURE_SUID_CONFIG
+	bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
+	default n if FEATURE_SUID
+	depends on BUSYBOX_FEATURE_SUID
+	help
+	  Allow the SUID / SGID state of an applet to be determined at runtime
+	  by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
+	  The format of this file is as follows:
+
+	  <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>)
+
+	  An example might help:
+
+	  [SUID]
+	  su = ssx root.0 # applet su can be run by anyone and runs with
+	                  # euid=0/egid=0
+	  su = ssx        # exactly the same
+
+	  mount = sx- root.disk # applet mount can be run by root and members
+	                        # of group disk and runs with euid=0
+
+	  cp = --- # disable applet cp for everyone
+
+	  The file has to be owned by user root, group root and has to be
+	  writeable only by root:
+	        (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
+	  The busybox executable has to be owned by user root, group
+	  root and has to be setuid root for this to work:
+	        (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
+
+	  Robert 'sandman' Griebl has more information here:
+	  <url: http://www.softforge.de/bb/suid.html >.
+
+config BUSYBOX_FEATURE_SUID_CONFIG_QUIET
+	bool "Suppress warning message if /etc/busybox.conf is not readable"
+	default y
+	depends on BUSYBOX_FEATURE_SUID_CONFIG
+	help
+	  /etc/busybox.conf should be readable by the user needing the SUID,
+	  check this option to avoid users to be notified about missing
+	  permissions.
+
+config BUSYBOX_SELINUX
+	bool "Support NSA Security Enhanced Linux"
+	default n
+	help
+	  Enable support for SELinux in applets ls, ps, and id. Also provide
+	  the option of compiling in SELinux applets.
+
+	  If you do not have a complete SELinux userland installed, this stuff
+	  will not compile. Go visit
+		http://www.nsa.gov/selinux/index.html
+	  to download the necessary stuff to allow busybox to compile with
+	  this option enabled. Specifially, libselinux 1.28 or better is
+	  directly required by busybox. If the installation is located in a
+	  non-standard directory, provide it by invoking make as follows:
+		CFLAGS=-I<libselinux-include-path> \
+		LDFLAGS=-L<libselinux-lib-path> \
+		make
+
+	  Most people will leave this set to 'N'.
+
+config BUSYBOX_FEATURE_PREFER_APPLETS
+	bool "exec prefers applets"
+	default n
+	help
+	  This is an experimental option which directs applets about to
+	  call 'exec' to try and find an applicable busybox applet before
+	  searching the PATH. This is typically done by exec'ing
+	  /proc/self/exe.
+	  This may affect shell, find -exec, xargs and similar applets.
+	  They will use applets even if /bin/<applet> -> busybox link
+	  is missing (or is not a link to busybox). However, this causes
+	  problems in chroot jails without mounted /proc and with ps/top
+	  (command name can be shown as 'exe' for applets started this way).
+
+config BUSYBOX_BUSYBOX_EXEC_PATH
+	string "Path to BusyBox executable"
+	default "/proc/self/exe"
+	help
+	  When Busybox applets need to run other busybox applets, BusyBox
+	  sometimes needs to exec() itself. When the /proc filesystem is
+	  mounted, /proc/self/exe always points to the currently running
+	  executable. If you haven't got /proc, set this to wherever you
+	  want to run BusyBox from.
 
 # These are auto-selected by other options
 
@@ -287,39 +297,39 @@ config BUSYBOX_STATIC
 
 	  Most people will leave this set to 'N'.
 
-#config BUSYBOX_PIE
-#	bool "Build BusyBox as a position independent executable"
-#	default n
-#	depends on !BUSYBOX_STATIC
-#	help
-#	  (TODO: what is it and why/when is it useful?)
-#	  Most people will leave this set to 'N'.
-#
-#config BUSYBOX_NOMMU
-#	bool "Force NOMMU build"
-#	default n
-#	help
-#	  Busybox tries to detect whether architecture it is being
-#	  built against supports MMU or not. If this detection fails,
-#	  or if you want to build NOMMU version of busybox for testing,
-#	  you may force NOMMU build here.
-#
-#	  Most people will leave this set to 'N'.
+config BUSYBOX_PIE
+	bool "Build BusyBox as a position independent executable"
+	default n
+	depends on !BUSYBOX_STATIC
+	help
+	  (TODO: what is it and why/when is it useful?)
+	  Most people will leave this set to 'N'.
+
+config BUSYBOX_NOMMU
+	bool "Force NOMMU build"
+	default n
+	help
+	  Busybox tries to detect whether architecture it is being
+	  built against supports MMU or not. If this detection fails,
+	  or if you want to build NOMMU version of busybox for testing,
+	  you may force NOMMU build here.
+
+	  Most people will leave this set to 'N'.
 
 # PIE can be made to work with BUILD_LIBBUSYBOX, but currently
 # build system does not support that
-#config BUSYBOX_BUILD_LIBBUSYBOX
-#	bool "Build shared libbusybox"
-#	default n
-#	depends on !BUSYBOX_FEATURE_PREFER_APPLETS && !BUSYBOX_PIE && !BUSYBOX_STATIC
-#	help
-#	  Build a shared library libbusybox.so.N.N.N which contains all
-#	  busybox code.
-#
-#	  This feature allows every applet to be built as a tiny
-#	  separate executable. Enabling it for "one big busybox binary"
-#	  approach serves no purpose and increases code size.
-#	  You should almost certainly say "no" to this.
+config BUSYBOX_BUILD_LIBBUSYBOX
+	bool "Build shared libbusybox"
+	default n
+	depends on !BUSYBOX_FEATURE_PREFER_APPLETS && !BUSYBOX_PIE && !BUSYBOX_STATIC
+	help
+	  Build a shared library libbusybox.so.N.N.N which contains all
+	  busybox code.
+
+	  This feature allows every applet to be built as a tiny
+	  separate executable. Enabling it for "one big busybox binary"
+	  approach serves no purpose and increases code size.
+	  You should almost certainly say "no" to this.
 
 ### config FEATURE_FULL_LIBBUSYBOX
 ###	bool "Feature-complete libbusybox"
@@ -340,32 +350,32 @@ config BUSYBOX_STATIC
 ###
 ###	  Say 'N' if in doubt.
 
-#config BUSYBOX_FEATURE_INDIVIDUAL
-#	bool "Produce a binary for each applet, linked against libbusybox"
-#	default y
-#	depends on BUSYBOX_BUILD_LIBBUSYBOX
-#	help
-#	  If your CPU architecture doesn't allow for sharing text/rodata
-#	  sections of running binaries, but allows for runtime dynamic
-#	  libraries, this option will allow you to reduce memory footprint
-#	  when you have many different applets running at once.
-#
-#	  If your CPU architecture allows for sharing text/rodata,
-#	  having single binary is more optimal.
-#
-#	  Each applet will be a tiny program, dynamically linked
-#	  against libbusybox.so.N.N.N.
-#
-#	  You need to have a working dynamic linker.
-
-#config BUSYBOX_FEATURE_SHARED_BUSYBOX
-#	bool "Produce additional busybox binary linked against libbusybox"
-#	default y
-#	depends on BUSYBOX_BUILD_LIBBUSYBOX
-#	help
-#	  Build busybox, dynamically linked against libbusybox.so.N.N.N.
-#
-#	  You need to have a working dynamic linker.
+config BUSYBOX_FEATURE_INDIVIDUAL
+	bool "Produce a binary for each applet, linked against libbusybox"
+	default y
+	depends on BUSYBOX_BUILD_LIBBUSYBOX
+	help
+	  If your CPU architecture doesn't allow for sharing text/rodata
+	  sections of running binaries, but allows for runtime dynamic
+	  libraries, this option will allow you to reduce memory footprint
+	  when you have many different applets running at once.
+
+	  If your CPU architecture allows for sharing text/rodata,
+	  having single binary is more optimal.
+
+	  Each applet will be a tiny program, dynamically linked
+	  against libbusybox.so.N.N.N.
+
+	  You need to have a working dynamic linker.
+
+config BUSYBOX_FEATURE_SHARED_BUSYBOX
+	bool "Produce additional busybox binary linked against libbusybox"
+	default y
+	depends on BUSYBOX_BUILD_LIBBUSYBOX
+	help
+	  Build busybox, dynamically linked against libbusybox.so.N.N.N.
+
+	  You need to have a working dynamic linker.
 
 ### config BUILD_AT_ONCE
 ###	bool "Compile all sources at once"
@@ -411,6 +421,12 @@ config BUSYBOX_CROSS_COMPILER_PREFIX
 
 	  Native builds leave this empty.
 
+config BUSYBOX_EXTRA_CFLAGS
+	string "Additional CFLAGS"
+	default ""
+	help
+	  Additional CFLAGS to pass to the compiler verbatim.
+
 endmenu
 
 menu 'Debugging Options'
@@ -426,25 +442,24 @@ config BUSYBOX_DEBUG
 
 	  Most people should answer N.
 
-#config BUSYBOX_DEBUG_PESSIMIZE
-#	bool "Disable compiler optimizations"
-#	default n
-#	depends on BUSYBOX_DEBUG
-#	help
-#	  The compiler's optimization of source code can eliminate and reorder
-#	  code, resulting in an executable that's hard to understand when
-#	  stepping through it with a debugger. This switches it off, resulting
-#	  in a much bigger executable that more closely matches the source
-#	  code.
-
-# triggers problems on cris with __attribute__((packed))
-#config BUSYBOX_WERROR
-#	bool "Abort compilation on any warning"
-#	default n
-#	help
-#	  Selecting this will add -Werror to gcc command line.
-#
-#	  Most people should answer N.
+config BUSYBOX_DEBUG_PESSIMIZE
+	bool "Disable compiler optimizations"
+	default n
+	depends on BUSYBOX_DEBUG
+	help
+	  The compiler's optimization of source code can eliminate and reorder
+	  code, resulting in an executable that's hard to understand when
+	  stepping through it with a debugger. This switches it off, resulting
+	  in a much bigger executable that more closely matches the source
+	  code.
+
+config BUSYBOX_WERROR
+	bool "Abort compilation on any warning"
+	default n
+	help
+	  Selecting this will add -Werror to gcc command line.
+
+	  Most people should answer N.
 
 choice
 	prompt "Additional debugging library"
@@ -488,14 +503,14 @@ config BUSYBOX_EFENCE
 
 endchoice
 
-#config BUSYBOX_INCLUDE_SUSv2
-#	bool "Enable obsolete features removed before SUSv3?"
-#	default y
-#	help
-#	  This option will enable backwards compatibility with SuSv2,
-#	  specifically, old-style numeric options ('command -1 <file>')
-#	  will be supported in head, tail, and fold. (Note: should
-#	  affect renice too.)
+config BUSYBOX_INCLUDE_SUSv2
+	bool "Enable obsolete features removed before SUSv3?"
+	default y
+	help
+	  This option will enable backwards compatibility with SuSv2,
+	  specifically, old-style numeric options ('command -1 <file>')
+	  will be supported in head, tail, and fold. (Note: should
+	  affect renice too.)
 
 ### config PARSE
 ### 	bool "Uniform config file parser debugging applet: parse"
@@ -504,12 +519,12 @@ endmenu
 
 menu 'Installation Options'
 
-#config BUSYBOX_INSTALL_NO_USR
-#	bool "Don't use /usr"
-#	default n
-#	help
-#	  Disable use of /usr. Don't activate this option if you don't know
-#	  that you really want this behaviour.
+config BUSYBOX_INSTALL_NO_USR
+	bool "Don't use /usr"
+	default n
+	help
+	  Disable use of /usr. Don't activate this option if you don't know
+	  that you really want this behaviour.
 
 choice
 	prompt "Applets links"
@@ -599,8 +614,7 @@ 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
-# disable, gcc 4.4.0 problems
-#source package/busybox/config/runit/Config.in
+source package/busybox/config/runit/Config.in
 source package/busybox/config/selinux/Config.in
 source package/busybox/config/shell/Config.in
 source package/busybox/config/sysklogd/Config.in

+ 41 - 17
package/busybox/config/archival/Config.in

@@ -7,25 +7,25 @@ menu "Archival Utilities"
 
 config BUSYBOX_FEATURE_SEAMLESS_LZMA
 	bool "Make tar, rpm, modprobe etc understand .lzma data"
-	default y
+	default n
 	help
 	  Make tar, rpm, modprobe etc understand .lzma data.
 
 config BUSYBOX_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.
 
 config BUSYBOX_FEATURE_SEAMLESS_GZ
 	bool "Make tar, rpm, modprobe etc understand .gz data"
-	default y
+	default n
 	help
 	  Make tar, rpm, modprobe etc understand .gz data.
 
 config BUSYBOX_FEATURE_SEAMLESS_Z
 	bool "Make tar and gunzip understand .Z data"
-	default y
+	default n
 	help
 	  Make tar and gunzip understand .Z data.
 
@@ -53,18 +53,19 @@ config BUSYBOX_AR
 	  probably say N here.
 
 config BUSYBOX_FEATURE_AR_LONG_FILENAMES
-	bool "Support for long filenames (not need for debs)"
+	bool "Support for long filenames (not needed for debs)"
 	default n
 	depends on BUSYBOX_AR
 	help
-	  By default the ar format can only store the first 15 characters of
-	  the filename, this option removes that limitation.
+	  By default the ar format can only store the first 15 characters
+	  of the filename, this option removes that limitation.
 	  It supports the GNU ar long filename method which moves multiple long
 	  filenames into a the data section of a new ar entry.
 
 config BUSYBOX_BUNZIP2
 	bool "bunzip2"
-	default y
+	depends on !ADK_PACKAGE_BZIP2
+	default n
 	help
 	  bunzip2 is a compression utility using the Burrows-Wheeler block
 	  sorting text compression algorithm, and Huffman coding. Compression
@@ -77,8 +78,8 @@ config BUSYBOX_BUNZIP2
 
 config BUSYBOX_BZIP2
 	bool "bzip2"
-	default n
 	depends on !ADK_PACKAGE_BZIP2
+	default n
 	help
 	  bzip2 is a compression utility using the Burrows-Wheeler block
 	  sorting text compression algorithm, and Huffman coding. Compression
@@ -91,8 +92,8 @@ config BUSYBOX_BZIP2
 
 config BUSYBOX_CPIO
 	bool "cpio"
-	default y if !ADK_PACKAGE_CPIO
 	depends on !ADK_PACKAGE_CPIO
+	default n
 	help
 	  cpio is an archival utility program used to create, modify, and
 	  extract contents from archives.
@@ -112,6 +113,13 @@ config BUSYBOX_FEATURE_CPIO_O
 	  This implementation of cpio can create cpio archives in the "newc"
 	  format only.
 
+config BUSYBOX_FEATURE_CPIO_P
+	bool "Support for passthrough mode"
+	default n
+	depends on BUSYBOX_FEATURE_CPIO_O
+	help
+	  Passthrough mode. Rarely used.
+
 config BUSYBOX_DPKG
 	bool "dpkg"
 	default n
@@ -155,14 +163,29 @@ config BUSYBOX_GUNZIP
 
 config BUSYBOX_GZIP
 	bool "gzip"
-	default y
+	default n
 	help
 	  gzip is used to compress files.
 	  It's probably the most widely used UNIX compression program.
 
+config BUSYBOX_LZOP
+	bool "lzop"
+	default n
+	help
+	  Lzop compression/decompresion.
+
+config BUSYBOX_LZOP_COMPR_HIGH
+	bool "lzop complession levels 7,8,9 (not very useful)"
+	default n
+	depends on BUSYBOX_LZOP
+	help
+	  High levels (7,8,9) of lzop compression. These levels
+	  are actually slower than gzip at equivalent compression ratios
+	  and take up 3.2K of code.
+
 config BUSYBOX_IPKG
 	bool "ipkg"
-	default y
+	default n
 	select BUSYBOX_MD5SUM
 	select BUSYBOX_WGET
 	help
@@ -170,6 +193,7 @@ config BUSYBOX_IPKG
 
 config BUSYBOX_RPM2CPIO
 	bool "rpm2cpio"
+	depends on !ADK_PACKAGE_RPM
 	default n
 	help
 	  Converts an RPM file into a CPIO archive.
@@ -183,8 +207,8 @@ config BUSYBOX_RPM
 
 config BUSYBOX_TAR
 	bool "tar"
-	default y
 	depends on !ADK_PACKAGE_TAR
+	default y
 	help
 	  tar is an archiving program. It's commonly used with gzip to
 	  create compressed archives. It's probably the most widely used
@@ -201,11 +225,11 @@ config BUSYBOX_FEATURE_TAR_CREATE
 	  tar archives using the `-c' option.
 
 config BUSYBOX_FEATURE_TAR_AUTODETECT
-	bool "Autodetect gz/bz2 compressed tarballs"
+	bool "Autodetect compressed tarballs"
 	default n
 	depends on BUSYBOX_FEATURE_SEAMLESS_Z || BUSYBOX_FEATURE_SEAMLESS_GZ || BUSYBOX_FEATURE_SEAMLESS_BZ2 || BUSYBOX_FEATURE_SEAMLESS_LZMA
 	help
-	  With this option tar can automatically detect gzip/bzip2 compressed
+	  With this option tar can automatically detect compressed
 	  tarballs. Currently it works only on files (not pipes etc).
 
 config BUSYBOX_FEATURE_TAR_FROM
@@ -246,7 +270,7 @@ config BUSYBOX_FEATURE_TAR_GNU_EXTENSIONS
 config BUSYBOX_FEATURE_TAR_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_TAR && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_TAR && BUSYBOX_LONG_OPTS
 	help
 	  Enable use of long options, increases size by about 400 Bytes
 
@@ -293,7 +317,7 @@ config BUSYBOX_FEATURE_LZMA_FAST
 
 config BUSYBOX_UNZIP
 	bool "unzip"
-	default y
+	default n
 	help
 	  unzip will list or extract files from a ZIP archive,
 	  commonly found on DOS/WIN systems. The default behavior

+ 1 - 1
package/busybox/config/console-tools/Config.in

@@ -91,7 +91,7 @@ config BUSYBOX_SETCONSOLE
 config BUSYBOX_FEATURE_SETCONSOLE_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_SETCONSOLE && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_SETCONSOLE && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the setconsole applet.
 

+ 55 - 37
package/busybox/config/coreutils/Config.in

@@ -61,13 +61,13 @@ config BUSYBOX_CHROOT
 
 config BUSYBOX_CKSUM
 	bool "cksum"
-	default y
+	default n
 	help
 	  cksum is used to calculate the CRC32 checksum of a file.
 
 config BUSYBOX_COMM
 	bool "comm"
-	default y
+	default n
 	help
 	  comm is used to compare two files line by line and return
 	  a three-column output.
@@ -123,7 +123,7 @@ config BUSYBOX_FEATURE_DD_SIGNAL_HANDLING
 
 config BUSYBOX_FEATURE_DD_IBS_OBS
 	bool "Enable ibs, obs and conv options"
-	default y
+	default n
 	depends on BUSYBOX_DD
 	help
 	  Enables support for writing a certain number of bytes in and out,
@@ -138,7 +138,7 @@ config BUSYBOX_DF
 
 config BUSYBOX_FEATURE_DF_FANCY
 	bool "Enable -a, -i, -B"
-	default y
+	default n
 	depends on BUSYBOX_DF
 	help
 	  This option enables -a, -i and -B.
@@ -152,7 +152,7 @@ config BUSYBOX_DIRNAME
 
 config BUSYBOX_DOS2UNIX
 	bool "dos2unix/unix2dos"
-	default y
+	default n
 	help
 	  dos2unix is used to convert a text file from DOS format to
 	  UNIX format, and vice versa.
@@ -189,7 +189,7 @@ config BUSYBOX_ECHO
 config BUSYBOX_FEATURE_FANCY_ECHO
 	bool "Enable echo options (-n and -e)"
 	default y
-	depends on BUSYBOX_ECHO || BUSYBOX_ASH_BUILTIN_ECHO
+	depends on BUSYBOX_ECHO || BUSYBOX_ASH_BUILTIN_ECHO || BUSYBOX_HUSH
 	help
 	  This adds options (-n and -e) to echo.
 
@@ -204,7 +204,7 @@ config BUSYBOX_ENV
 config BUSYBOX_FEATURE_ENV_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_ENV && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_ENV && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the env applet.
 
@@ -217,13 +217,13 @@ config BUSYBOX_EXPAND
 config BUSYBOX_FEATURE_EXPAND_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_EXPAND && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_EXPAND && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the expand applet.
 
 config BUSYBOX_EXPR
 	bool "expr"
-	default y
+	default n
 	help
 	  expr is used to calculate numbers and print the result
 	  to standard output.
@@ -239,7 +239,7 @@ config BUSYBOX_EXPR_MATH_SUPPORT_64
 
 config BUSYBOX_FALSE
 	bool "false"
-	default y
+	default n
 	help
 	  false returns an exit code of FALSE (1).
 
@@ -249,6 +249,12 @@ config BUSYBOX_FOLD
 	help
 	  Wrap text to fit a specific width.
 
+config BUSYBOX_FSYNC
+	bool "fsync"
+	default n
+	help
+	  fsync is used to flush file-related cached blocks to disk.
+
 config BUSYBOX_HEAD
 	bool "head"
 	default y
@@ -258,7 +264,7 @@ config BUSYBOX_HEAD
 
 config BUSYBOX_FEATURE_FANCY_HEAD
 	bool "Enable head options (-c, -q, and -v)"
-	default y
+	default n
 	depends on BUSYBOX_HEAD
 	help
 	  This enables the head options (-c, -q, and -v).
@@ -278,14 +284,14 @@ config BUSYBOX_ID
 
 config BUSYBOX_INSTALL
 	bool "install"
-	default y
+	default n
 	help
 	  Copy files and set attributes.
 
 config BUSYBOX_FEATURE_INSTALL_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_INSTALL && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_INSTALL && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the install applet.
 
@@ -358,7 +364,7 @@ config BUSYBOX_FEATURE_LS_USERNAME
 config BUSYBOX_FEATURE_LS_COLOR
 	bool "Allow use of color to identify file types"
 	default n
-	depends on BUSYBOX_LS && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_LS && BUSYBOX_LONG_OPTS
 	help
 	  This enables the --color option to ls.
 
@@ -388,7 +394,7 @@ config BUSYBOX_MKDIR
 config BUSYBOX_FEATURE_MKDIR_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_MKDIR && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_MKDIR && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the mkdir applet.
 
@@ -415,19 +421,19 @@ config BUSYBOX_MV
 config BUSYBOX_FEATURE_MV_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_MV && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_MV && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the mv applet.
 
 config BUSYBOX_NICE
 	bool "nice"
-	default y
+	default n
 	help
 	  nice runs a program with modified scheduling priority.
 
 config BUSYBOX_NOHUP
 	bool "nohup"
-	default y
+	default n
 	help
 	  run a command immune to hangups, with output to a non-tty.
 
@@ -465,7 +471,7 @@ config BUSYBOX_READLINK
 
 config BUSYBOX_FEATURE_READLINK_FOLLOW
 	bool "Enable canonicalization by following all symlinks (-f)"
-	default y
+	default n
 	depends on BUSYBOX_READLINK
 	help
 	  Enable the readlink option (-f).
@@ -485,30 +491,42 @@ config BUSYBOX_RM
 
 config BUSYBOX_RMDIR
 	bool "rmdir"
-	default y
+	default n
 	help
 	  rmdir is used to remove empty directories.
 
 config BUSYBOX_FEATURE_RMDIR_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_RMDIR && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_RMDIR && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the rmdir applet, including
 	  --ignore-fail-on-non-empty for compatibility with GNU rmdir.
 
 config BUSYBOX_SEQ
 	bool "seq"
-	default y
+	default n
 	help
 	  print a sequence of numbers
 
 config BUSYBOX_SHA1SUM
 	bool "sha1sum"
-	default y
+	default n
 	help
 	  Compute and check SHA1 message digest
 
+config BUSYBOX_SHA256SUM
+	bool "sha256sum"
+	default n
+	help
+	  Compute and check SHA256 message digest
+
+config BUSYBOX_SHA512SUM
+	bool "sha512sum"
+	default n
+	help
+	  Compute and check SHA512 message digest
+
 config BUSYBOX_SLEEP
 	bool "sleep"
 	default y
@@ -545,7 +563,7 @@ config BUSYBOX_SORT
 
 config BUSYBOX_FEATURE_SORT_BIG
 	bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
-	default n
+	default y
 	depends on BUSYBOX_SORT
 	help
 	  Without this, sort only supports -r, -u, and an integer version
@@ -557,7 +575,7 @@ config BUSYBOX_FEATURE_SORT_BIG
 
 config BUSYBOX_SPLIT
 	bool "split"
-	default y
+	default n
 	help
 	  split a file into pieces.
 
@@ -587,7 +605,7 @@ config BUSYBOX_FEATURE_STAT_FORMAT
 
 config BUSYBOX_STTY
 	bool "stty"
-	default y
+	default n
 	help
 	  stty is used to change and print terminal line settings.
 
@@ -617,8 +635,8 @@ config BUSYBOX_TAIL
 	  from files.
 
 config BUSYBOX_FEATURE_FANCY_TAIL
-	bool "Enable extra tail options (-q, -s, and -v)"
-	default n
+	bool "Enable extra tail options (-q, -s, -v, and -F)"
+	default y
 	depends on BUSYBOX_TAIL
 	help
 	  The options (-q, -s, and -v) are provided by GNU tail, but
@@ -626,7 +644,7 @@ config BUSYBOX_FEATURE_FANCY_TAIL
 
 config BUSYBOX_TEE
 	bool "tee"
-	default y
+	default n
 	help
 	  tee is used to read from standard input and write
 	  to standard output and files.
@@ -649,7 +667,7 @@ config BUSYBOX_TEST
 config BUSYBOX_FEATURE_TEST_64
 	bool "Extend test to 64 bit"
 	default n
-	depends on BUSYBOX_TEST || BUSYBOX_ASH_BUILTIN_TEST
+	depends on BUSYBOX_TEST || BUSYBOX_ASH_BUILTIN_TEST || BUSYBOX_HUSH
 	help
 	  Enable 64-bit support in test.
 
@@ -669,7 +687,7 @@ config BUSYBOX_TR
 
 config BUSYBOX_FEATURE_TR_CLASSES
 	bool "Enable character classes (such as [:upper:])"
-	default y
+	default n
 	depends on BUSYBOX_TR
 	help
 	  Enable character classes, enabling commands such as:
@@ -688,7 +706,7 @@ config BUSYBOX_FEATURE_TR_EQUIV
 
 config BUSYBOX_TRUE
 	bool "true"
-	default y
+	default n
 	help
 	  true returns an exit code of TRUE (0).
 
@@ -714,7 +732,7 @@ config BUSYBOX_UNEXPAND
 config BUSYBOX_FEATURE_UNEXPAND_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_UNEXPAND && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_UNEXPAND && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the unexpand applet.
 
@@ -754,11 +772,11 @@ config BUSYBOX_FEATURE_WC_LARGE
 	default n
 	depends on BUSYBOX_WC
 	help
-	  Use "unsigned long long" in wc for count variables.
+	  Use "unsigned long long" in wc for counter variables.
 
 config BUSYBOX_WHO
 	bool "who"
-	default y
+	default n
 	select BUSYBOX_FEATURE_UTMP
 	help
 	  who is used to show who is logged on.
@@ -772,7 +790,7 @@ config BUSYBOX_WHOAMI
 
 config BUSYBOX_YES
 	bool "yes"
-	default y
+	default n
 	help
 	  yes is used to repeatedly output a specific string, or
 	  the default string `y'.
@@ -816,7 +834,7 @@ comment "Common options for md5sum, sha1sum"
 
 config BUSYBOX_FEATURE_MD5_SHA1_SUM_CHECK
 	bool "Enable -c, -s and -w options"
-	default y
+	default n
 	depends on BUSYBOX_MD5SUM || BUSYBOX_SHA1SUM
 	help
 	  Enabling the -c options allows files to be checked

+ 5 - 5
package/busybox/config/debianutils/Config.in

@@ -7,7 +7,7 @@ menu "Debian Utilities"
 
 config BUSYBOX_MKTEMP
 	bool "mktemp"
-	default y
+	default n
 	help
 	  mktemp is used to create unique temporary files
 
@@ -19,7 +19,7 @@ config BUSYBOX_PIPE_PROGRESS
 
 config BUSYBOX_RUN_PARTS
 	bool "run-parts"
-	default y
+	default n
 	help
 	  run-parts is a utility designed to run all the scripts in a directory.
 
@@ -35,7 +35,7 @@ config BUSYBOX_RUN_PARTS
 config BUSYBOX_FEATURE_RUN_PARTS_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_RUN_PARTS && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_RUN_PARTS && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the run-parts applet.
 
@@ -69,13 +69,13 @@ config BUSYBOX_FEATURE_START_STOP_DAEMON_FANCY
 config BUSYBOX_FEATURE_START_STOP_DAEMON_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_START_STOP_DAEMON && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_START_STOP_DAEMON && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the start-stop-daemon applet.
 
 config BUSYBOX_WHICH
 	bool "which"
-	default y
+	default n
 	help
 	  which is used to find programs in your PATH and
 	  print out their pathnames.

+ 6 - 3
package/busybox/config/editors/Config.in

@@ -14,7 +14,7 @@ config BUSYBOX_AWK
 
 config BUSYBOX_FEATURE_AWK_LIBM
 	bool "Enable math functions (requires libm)"
-	default y
+	default n
 	depends on BUSYBOX_AWK
 	help
 	  Enable math functions of the Awk programming language.
@@ -22,15 +22,15 @@ config BUSYBOX_FEATURE_AWK_LIBM
 
 config BUSYBOX_CMP
 	bool "cmp"
-	default y
+	default n
 	help
 	  cmp is used to compare two files and returns the result
 	  to standard output.
 
 config BUSYBOX_DIFF
 	bool "diff"
-	default y
 	depends on !ADK_PACKAGE_DIFFUTILS
+	default n
 	help
 	  diff compares two files or directories and outputs the
 	  differences between them in a form that can be given to
@@ -70,12 +70,14 @@ config BUSYBOX_ED
 
 config BUSYBOX_PATCH
 	bool "patch"
+	depends on !ADK_PACKAGE_PATCH
 	default n
 	help
 	  Apply a unified diff formatted patch.
 
 config BUSYBOX_SED
 	bool "sed"
+	depends on !ADK_PACKAGE_SED
 	default y
 	help
 	  sed is used to perform text transformations on a file
@@ -83,6 +85,7 @@ config BUSYBOX_SED
 
 config BUSYBOX_VI
 	bool "vi"
+	depends on !ADK_PACKAGE_VIM
 	default y
 	help
 	  'vi' is a text editor. More specifically, it is the One True

+ 41 - 42
package/busybox/config/findutils/Config.in

@@ -12,17 +12,17 @@ config BUSYBOX_FIND
 	  find is used to search your system to find specified files.
 
 config BUSYBOX_FEATURE_FIND_PRINT0
-	bool "Enable -print0 option"
+	bool "Enable -print0: NUL-terminated output"
 	default y
 	depends on BUSYBOX_FIND
 	help
-	  Causes output names to be separated by a null character
+	  Causes output names to be separated by a NUL character
 	  rather than a newline. This allows names that contain
 	  newlines and other whitespace to be more easily
 	  interpreted by other programs.
 
 config BUSYBOX_FEATURE_FIND_MTIME
-	bool "Enable modified time matching (-mtime option)"
+	bool "Enable -mtime: modified time matching"
 	default y
 	depends on BUSYBOX_FIND
 	help
@@ -30,7 +30,7 @@ config BUSYBOX_FEATURE_FIND_MTIME
 	  files, in days.
 
 config BUSYBOX_FEATURE_FIND_MMIN
-	bool "Enable modified time matching (-mmin option)"
+	bool "Enable -mmin: modified time matching by minutes"
 	default y
 	depends on BUSYBOX_FIND
 	help
@@ -38,14 +38,14 @@ config BUSYBOX_FEATURE_FIND_MMIN
 	  files, in minutes.
 
 config BUSYBOX_FEATURE_FIND_PERM
-	bool "Enable permissions matching (-perm option)"
+	bool "Enable -perm: permissions matching"
 	default y
 	depends on BUSYBOX_FIND
 	help
 	  Enable searching based on file permissions.
 
 config BUSYBOX_FEATURE_FIND_TYPE
-	bool "Enable filetype matching (-type option)"
+	bool "Enable -type: file type matching (file/dir/link/...)"
 	default y
 	depends on BUSYBOX_FIND
 	help
@@ -53,21 +53,21 @@ config BUSYBOX_FEATURE_FIND_TYPE
 	  directory, socket, device, etc.).
 
 config BUSYBOX_FEATURE_FIND_XDEV
-	bool "Enable 'stay in filesystem' option (-xdev)"
+	bool "Enable -xdev: 'stay in filesystem'"
 	default y
 	depends on BUSYBOX_FIND
 	help
 	  This option allows find to restrict searches to a single filesystem.
 
 config BUSYBOX_FEATURE_FIND_MAXDEPTH
-	bool "Enable -maxdepth N option"
+	bool "Enable -maxdepth N"
 	default y
 	depends on BUSYBOX_FIND
 	help
 	  This option enables -maxdepth N option.
 
 config BUSYBOX_FEATURE_FIND_NEWER
-	bool "Enable -newer option for comparing file mtimes"
+	bool "Enable -newer: compare file modification times"
 	default y
 	depends on BUSYBOX_FIND
 	help
@@ -75,14 +75,22 @@ config BUSYBOX_FEATURE_FIND_NEWER
 	  a modified time that is more recent than the specified FILE.
 
 config BUSYBOX_FEATURE_FIND_INUM
-	bool "Enable inode number matching (-inum option)"
+	bool "Enable -inum: inode number matching"
 	default y
 	depends on BUSYBOX_FIND
 	help
 	  Support the 'find -inum' option for searching by inode number.
 
+config BUSYBOX_FEATURE_FIND_EMPTY
+	bool "Enable -empty option matching empty files and directories"
+	default y
+	depends on BUSYBOX_FIND
+	help
+	  Support the 'find -empty' option for searching empty files 
+	  and directories.
+
 config BUSYBOX_FEATURE_FIND_EXEC
-	bool "Enable -exec option allowing execution of commands"
+	bool "Enable -exec: execute commands"
 	default y
 	depends on BUSYBOX_FIND
 	help
@@ -90,14 +98,14 @@ config BUSYBOX_FEATURE_FIND_EXEC
 	  the files matched.
 
 config BUSYBOX_FEATURE_FIND_USER
-	bool "Enable username/uid matching (-user option)"
+	bool "Enable -user: username/uid matching"
 	default y
 	depends on BUSYBOX_FIND
 	help
 	  Support the 'find -user' option for searching by username or uid.
 
 config BUSYBOX_FEATURE_FIND_GROUP
-	bool "Enable group/gid matching (-group option)"
+	bool "Enable -group: group/gid matching"
 	default y
 	depends on BUSYBOX_FIND
 	help
@@ -113,7 +121,7 @@ config BUSYBOX_FEATURE_FIND_NOT
 	  the non-POSIX notation '-not'.
 
 config BUSYBOX_FEATURE_FIND_DEPTH
-	bool "Enable the -depth option"
+	bool "Enable -depth"
 	default y
 	depends on BUSYBOX_FIND
 	help
@@ -127,30 +135,22 @@ config BUSYBOX_FEATURE_FIND_PAREN
 	  Enable usage of parens '(' to specify logical order of arguments.
 
 config BUSYBOX_FEATURE_FIND_SIZE
-	bool "Enable -size option allowing matching for file size"
+	bool "Enable -size: file size matching"
 	default y
 	depends on BUSYBOX_FIND
 	help
 	  Support the 'find -size' option for searching by file size.
 
 config BUSYBOX_FEATURE_FIND_PRUNE
-	bool "Enable -prune option allowing to exclude subdirectories"
+	bool "Enable -prune: exclude subdirectories"
 	default y
 	depends on BUSYBOX_FIND
 	help
 	  If the file is a directory, dont descend into it. Useful for
 	  exclusion .svn and CVS directories.
 
-config BUSYBOX_FEATURE_FIND_EMPTY
-	bool "Enable -empty option matching empty files and directories"
-	default y
-	depends on BUSYBOX_FIND
-	help
-	  Support the 'find -empty' option for searching empty files 
-	  and directories.
-
 config BUSYBOX_FEATURE_FIND_DELETE
-	bool "Enable -delete option allowing to delete files"
+	bool "Enable -delete: delete files/dirs"
 	default y
 	depends on BUSYBOX_FIND && BUSYBOX_FEATURE_FIND_DEPTH
 	help
@@ -159,21 +159,21 @@ config BUSYBOX_FEATURE_FIND_DELETE
 	  try to protect the user from doing stupid things. Use with care.
 
 config BUSYBOX_FEATURE_FIND_PATH
-	bool "Enable -path option allowing to match pathname patterns"
+	bool "Enable -path: match pathname with shell pattern"
 	default y
 	depends on BUSYBOX_FIND
 	help
 	  The -path option matches whole pathname instead of just filename.
 
 config BUSYBOX_FEATURE_FIND_REGEX
-	bool "Enable -regex: match pathname to regex"
+	bool "Enable -regex: match pathname with regex"
 	default y
 	depends on BUSYBOX_FIND
 	help
 	  The -regex option matches whole pathname against regular expression.
 
 config BUSYBOX_FEATURE_FIND_CONTEXT
-	bool "Enable -context option for matching security context"
+	bool "Enable -context: security context matching"
 	default n
 	depends on BUSYBOX_FIND && BUSYBOX_SELINUX
 	help
@@ -186,7 +186,7 @@ config BUSYBOX_GREP
 	  grep is used to search files for a specified pattern.
 
 config BUSYBOX_FEATURE_GREP_EGREP_ALIAS
-	bool "Support extended regular expressions (egrep & grep -E)"
+	bool "Enable extended regular expressions (egrep & grep -E)"
 	default y
 	depends on BUSYBOX_GREP
 	help
@@ -201,7 +201,7 @@ config BUSYBOX_FEATURE_GREP_FGREP_ALIAS
 	help
 	  fgrep sees the search pattern as a normal string rather than
 	  regular expressions.
-	  grep -F is always builtin, this just creates the fgrep alias.
+	  grep -F always works, this just creates the fgrep alias.
 
 config BUSYBOX_FEATURE_GREP_CONTEXT
 	bool "Enable before and after context flags (-A, -B and -C)"
@@ -214,42 +214,41 @@ config BUSYBOX_FEATURE_GREP_CONTEXT
 
 config BUSYBOX_XARGS
 	bool "xargs"
-	default y
+	default n
 	help
-	  xargs is used to execute a specified command on
+	  xargs is used to execute a specified command for
 	  every item from standard input.
 
 config BUSYBOX_FEATURE_XARGS_SUPPORT_CONFIRMATION
-	bool "Enable prompt and confirmation option -p"
+	bool "Enable -p: prompt and confirmation"
 	default n
 	depends on BUSYBOX_XARGS
 	help
-	  Support prompt the user about whether to run each command
+	  Support -p: prompt the user whether to run each command
 	  line and read a line from the terminal.
 
 config BUSYBOX_FEATURE_XARGS_SUPPORT_QUOTES
-	bool "Enable support single and double quotes and backslash"
+	bool "Enable single and double quotes and backslash"
 	default n
 	depends on BUSYBOX_XARGS
 	help
-	  Default xargs unsupport single and double quotes
-	  and backslash for can use aruments with spaces.
+	  Support quoting in the input.
 
 config BUSYBOX_FEATURE_XARGS_SUPPORT_TERMOPT
-	bool "Enable support options -x"
+	bool "Enable -x: exit if -s or -n is exceeded"
 	default n
 	depends on BUSYBOX_XARGS
 	help
-	  Enable support exit if the size (see the -s or -n option)
+	  Support -x: exit if the command size (see the -s or -n option)
 	  is exceeded.
 
 config BUSYBOX_FEATURE_XARGS_SUPPORT_ZERO_TERM
-	bool "Enable null terminated option -0"
+	bool "Enable -0: NUL-terminated input"
 	default n
 	depends on BUSYBOX_XARGS
 	help
-	  Enable input filenames are terminated by a null character
-	  instead of by whitespace, and the quotes and backslash
+	  Support -0: input items are terminated by a NUL character
+	  instead of whitespace, and the quotes and backslash
 	  are not special.
 
 endmenu

+ 35 - 15
package/busybox/config/init/Config.in

@@ -32,11 +32,12 @@ config BUSYBOX_FEATURE_KILL_DELAY
 	int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED
 	range 0 1024
 	default 0
+	depends on BUSYBOX_FEATURE_KILL_REMOVED
 	help
 	  With nonzero setting, init sends TERM, forks, child waits N
 	  seconds, sends KILL and exits. Setting it too high is unwise
-	  (child will hang around for too long and can actually kill
-	  wrong process!)
+	  (child will hang around for too long and could actually kill
+	  the wrong process!)
 
 config BUSYBOX_FEATURE_INIT_SCTTY
 	bool "Run commands with leading dash with controlling tty"
@@ -55,12 +56,12 @@ config BUSYBOX_FEATURE_INIT_SCTTY
 
 config BUSYBOX_FEATURE_INIT_SYSLOG
 	bool "Enable init to write to syslog"
-	default y
+	default n
 	depends on BUSYBOX_INIT
 
 config BUSYBOX_FEATURE_EXTRA_QUIET
 	bool "Be _extra_ quiet on boot"
-	default n
+	default y
 	depends on BUSYBOX_INIT
 	help
 	  Prevent init from logging some messages to the console during boot.
@@ -75,17 +76,16 @@ config BUSYBOX_FEATURE_INIT_COREDUMPS
 	  core file sizes. If this option is disabled, processes
 	  will not generate any core files.
 
-# you should never need this, breaks allconfig images
-#config BUSYBOX_FEATURE_INITRD
-#	bool "Support running init from within an initrd (not initramfs)"
-#	default n
-#	depends on BUSYBOX_INIT
-#	help
-#	  Legacy support for running init under the old-style initrd. Allows
-#	  the name linuxrc to act as init, and it doesn't assume init is PID 1.
-#
-#	  This does not apply to initramfs, which runs /init as PID 1 and
-#	  requires no special support.
+config BUSYBOX_FEATURE_INITRD
+	bool "Support running init from within an initrd (not initramfs)"
+	default n
+	depends on BUSYBOX_INIT
+	help
+	  Legacy support for running init under the old-style initrd. Allows
+	  the name linuxrc to act as init, and it doesn't assume init is PID 1.
+
+	  This does not apply to initramfs, which runs /init as PID 1 and
+	  requires no special support.
 
 config BUSYBOX_HALT
 	bool "poweroff, halt, and reboot"
@@ -93,6 +93,26 @@ config BUSYBOX_HALT
 	help
 	  Stop all processes and either halt, reboot, or power off the system.
 
+config BUSYBOX_FEATURE_CALL_TELINIT
+	bool "Call telinit on shutdown and reboot"
+	default n
+	depends on BUSYBOX_HALT && !BUSYBOX_INIT
+	help
+	  Call an external program (normally telinit) to facilitate
+	  a switch to a proper runlevel.
+
+	  This option is only available if you selected halt and friends,
+	  but did not select init.
+
+config BUSYBOX_TELINIT_PATH
+	string "Path to telinit executable"
+	default "/sbin/telinit"
+	depends on BUSYBOX_FEATURE_CALL_TELINIT
+	help
+	  When busybox halt and friends have to call external telinit
+	  to facilitate proper shutdown, this path is to be used when
+	  locating telinit executable.
+
 config BUSYBOX_MESG
 	bool "mesg"
 	default n

+ 25 - 2
package/busybox/config/libbb/Config.in

@@ -13,7 +13,7 @@ config BUSYBOX_PASSWORD_MINLEN
 	  Minimum allowable password length.
 
 config BUSYBOX_MD5_SIZE_VS_SPEED
-	int "MD5: Trade Bytes for Speed"
+	int "MD5: Trade bytes for speed (0:fast, 3:slow)"
 	default 2
 	range 0 3
 	help
@@ -68,7 +68,7 @@ config BUSYBOX_FEATURE_EDITING_VI
 config BUSYBOX_FEATURE_EDITING_HISTORY
 	int "History size"
 	range 0 99999
-	default 15
+	default 64
 	depends on BUSYBOX_FEATURE_EDITING
 	help
 	  Specify command history size.
@@ -102,6 +102,28 @@ 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_ASK_TERMINAL
+	bool "Query cursor position from terminal"
+	default n
+	depends on BUSYBOX_FEATURE_EDITING
+	help
+	  Allow usage of "ESC [ 6 n" sequence. Terminal answers back with
+	  current cursor position. This information is used to make line
+	  editing more robust in some cases.
+	  If you are not sure whether your terminals respond to this code
+	  correctly, or want to save on code size (about 300 bytes),
+	  then do not turn this option on.
+
+config BUSYBOX_FEATURE_NON_POSIX_CP
+	bool "Non-POSIX, but safer, copying to special nodes"
+	default y
+	help
+	  With this option, "cp file symlink" will delete symlink
+	  and create a regular file. This does not conform to POSIX,
+	  but prevents a symlink attack.
+	  Similarly, "cp file device" will not send file's data
+	  to the device.
+
 config BUSYBOX_FEATURE_VERBOSE_CP_MESSAGE
 	bool "Give more precise messages when copy fails (cp, mv etc)"
 	default n
@@ -151,4 +173,5 @@ config BUSYBOX_FEATURE_HWIB
 	help
 	  Support for printing infiniband addresses in
 	  network applets.
+
 endmenu

+ 51 - 15
package/busybox/config/loginutils/Config.in

@@ -58,7 +58,7 @@ config BUSYBOX_USE_BB_SHADOW
 	  password servers and whatnot.
 
 config BUSYBOX_USE_BB_CRYPT
-	bool "Use internal DES and MD5 crypt functions"
+	bool "Use internal crypt functions"
 	default y
 	help
 	  Busybox has internal DES and MD5 crypt functions.
@@ -79,12 +79,31 @@ config BUSYBOX_USE_BB_CRYPT
 	  In static build, it makes code _smaller_ by about 1.2k,
 	  and likely many kilobytes less of bss.
 
+config BUSYBOX_USE_BB_CRYPT_SHA
+	bool "Enable SHA256/512 crypt functions"
+	default n
+	depends on BUSYBOX_USE_BB_CRYPT
+	help
+	  Enable this if you have passwords starting with "$5$" or "$6$"
+	  in your /etc/passwd or /etc/shadow files. These passwords
+	  are hashed using SHA256 and SHA512 algorithms. Support for them
+	  was added to glibc in 2008.
+	  With this option off, login will fail password check for any
+	  user which has password encrypted with these algorithms.
+
 config BUSYBOX_ADDGROUP
 	bool "addgroup"
 	default y
 	help
 	  Utility for creating a new group account.
 
+config BUSYBOX_FEATURE_ADDGROUP_LONG_OPTIONS
+	bool "Enable long options"
+	default n
+	depends on BUSYBOX_ADDGROUP && BUSYBOX_LONG_OPTS
+	help
+	  Support long options for the addgroup applet.
+
 config BUSYBOX_FEATURE_ADDUSER_TO_GROUP
 	bool "Support for adding users to groups"
 	default n
@@ -129,10 +148,26 @@ config BUSYBOX_ADDUSER
 config BUSYBOX_FEATURE_ADDUSER_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_ADDUSER && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_ADDUSER && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the adduser applet.
 
+config BUSYBOX_FIRST_SYSTEM_ID
+	int "First valid system uid or gid for adduser and addgroup"
+	depends on BUSYBOX_ADDUSER || BUSYBOX_ADDGROUP
+	range 0 64900
+	default 100
+	help
+	  First valid system uid or gid for adduser and addgroup
+
+config BUSYBOX_LAST_SYSTEM_ID
+	int "Last valid system uid or gid for adduser and addgroup"
+	depends on BUSYBOX_ADDUSER || BUSYBOX_ADDGROUP
+	range 0 64900
+	default 999
+	help
+	  Last valid system uid or gid for adduser and addgroup
+
 config BUSYBOX_DELUSER
 	bool "deluser"
 	default y
@@ -149,14 +184,14 @@ config BUSYBOX_GETTY
 config BUSYBOX_FEATURE_UTMP
 	bool "Support utmp file"
 	depends on BUSYBOX_GETTY || BUSYBOX_LOGIN || BUSYBOX_SU || BUSYBOX_WHO
-	default y
+	default n
 	help
 	  The file /var/run/utmp is used to track who is currently logged in.
 
 config BUSYBOX_FEATURE_WTMP
 	bool "Support wtmp file"
 	depends on BUSYBOX_GETTY || BUSYBOX_LOGIN || BUSYBOX_SU || BUSYBOX_LAST
-	default y
+	default n
 	select BUSYBOX_FEATURE_UTMP
 	help
 	  The file /var/run/wtmp is used to track when user's have logged into
@@ -173,12 +208,12 @@ config BUSYBOX_LOGIN
 	  Note that Busybox binary must be setuid root for this applet to
 	  work properly.
 
-#config BUSYBOX_PAM
-#	bool "Support for PAM (Pluggable Authentication Modules)"
-#	default n
-#	depends on BUSYBOX_LOGIN
-#	help
-#	  Use PAM in login(1) instead of direct access to password database.
+config BUSYBOX_PAM
+	bool "Support for PAM (Pluggable Authentication Modules)"
+	default n
+	depends on BUSYBOX_LOGIN
+	help
+	  Use PAM in login(1) instead of direct access to password database.
 
 config BUSYBOX_LOGIN_SCRIPTS
 	bool "Support for login scripts"
@@ -221,7 +256,7 @@ config BUSYBOX_PASSWD
 
 config BUSYBOX_FEATURE_PASSWD_WEAK_CHECK
 	bool "Check new passwords for weakness"
-	default y
+	default n
 	depends on BUSYBOX_PASSWD
 	help
 	  With this option passwd will refuse new passwords which are "weak".
@@ -230,15 +265,16 @@ config BUSYBOX_CRYPTPW
 	bool "cryptpw"
 	default n
 	help
-	  Applet for crypting a string.
+	  Encrypts the given password with the crypt(3) libc function
+	  using the given salt. Debian has this utility under mkpasswd
+	  name. Busybox provides mkpasswd as an alias for cryptpw.
 
 config BUSYBOX_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.
+	  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_SU
 	bool "su"

+ 0 - 16
package/busybox/config/mailutils/Config.in

@@ -50,20 +50,4 @@ config BUSYBOX_SENDMAIL
 	help
 	  Barebones sendmail.
 
-config BUSYBOX_FEATURE_SENDMAIL_MAILX
-	bool "Allow to specify subject, attachments, their charset etc"
-	default y
-	depends on BUSYBOX_SENDMAIL
-	help
-	  Allow to specify subject, attachments and their charset.
-	  Allow to use custom connection helper.
-
-config BUSYBOX_FEATURE_SENDMAIL_MAILXX
-	bool "Allow to specify Cc: addresses and some additional headers"
-	default n
-	depends on BUSYBOX_FEATURE_SENDMAIL_MAILX
-	help
-	  Allow to specify Cc: addresses and some additional headers:
-	  Errors-To:
-
 endmenu

+ 115 - 38
package/busybox/config/miscutils/Config.in

@@ -19,6 +19,28 @@ config BUSYBOX_BBCONFIG
 	  The bbconfig applet will print the config file with which
 	  busybox was built.
 
+config BUSYBOX_BEEP
+	bool "beep"
+	default n
+	help
+	  The beep applets beeps in a given freq/Hz.
+
+config BUSYBOX_FEATURE_BEEP_FREQ
+	int "default frequency"
+	range 0 2147483647
+	default 4000
+	depends on BUSYBOX_BEEP
+	help
+	  Frequency for default beep.
+
+config BUSYBOX_FEATURE_BEEP_LENGTH_MS
+	int "default length"
+	range 0 2147483647
+	default 30
+	depends on BUSYBOX_BEEP
+	help
+	  Length in ms for default beep.
+
 config BUSYBOX_CHAT
 	bool "chat"
 	default n
@@ -95,7 +117,7 @@ config BUSYBOX_CHRT
 
 config BUSYBOX_CROND
 	bool "crond"
-	default y
+	default n
 	select BUSYBOX_FEATURE_SUID
 	select BUSYBOX_FEATURE_SYSLOG
 	help
@@ -121,9 +143,16 @@ config BUSYBOX_FEATURE_CROND_CALL_SENDMAIL
 	help
 	  Support calling /usr/sbin/sendmail for send cmd outputs.
 
+config BUSYBOX_FEATURE_CROND_DIR
+	string "crond spool directory"
+	default "/var/spool/cron"
+	depends on BUSYBOX_CROND || BUSYBOX_CRONTAB
+	help
+	  Location of crond spool.
+
 config BUSYBOX_CRONTAB
 	bool "crontab"
-	default y
+	default n
 	select BUSYBOX_FEATURE_SUID
 	help
 	  Crontab manipulates the crontab for a particular user. Only
@@ -151,7 +180,10 @@ config BUSYBOX_DEVFSD
 	default n
 	select BUSYBOX_FEATURE_SYSLOG
 	help
-	  This is deprecated, and will be removed at the end of 2008.
+	  This is deprecated and should NOT be used anymore.
+	  Use linux >= 2.6 (optionally with hotplug) and mdev instead!
+	  See docs/mdev.txt for detailed instructions on how to use mdev
+	  instead.
 
 	  Provides compatibility with old device names on a devfs systems.
 	  You should set it to true if you have devfs enabled.
@@ -160,7 +192,7 @@ config BUSYBOX_DEVFSD
 	  "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
 	  "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
 
-	   But only if they are written UPPERCASE!!!!!!!!
+	  But only if they are written UPPERCASE!!!!!!!!
 
 config BUSYBOX_DEVFSD_MODLOAD
 	bool "Adds support for MODLOAD keyword in devsfd.conf"
@@ -190,9 +222,11 @@ config BUSYBOX_FEATURE_DEVFS
 	bool "Use devfs names for all devices (obsolete)"
 	default n
 	help
-	  This is obsolete and will be going away at the end of 2008..
+	  This is obsolete and should NOT be used anymore.
+	  Use linux >= 2.6 (optionally with hotplug) and mdev instead!
 
-	  This tells busybox to look for names like /dev/loop/0 instead of
+	  For legacy systems -- if there is no way around devfsd -- this
+	  tells busybox to look for names like /dev/loop/0 instead of
 	  /dev/loop0. If your /dev directory has normal names instead of
 	  devfs names, you don't want this.
 
@@ -238,6 +272,34 @@ config BUSYBOX_FBSPLASH
 	    "NN" (ASCII decimal number) - percentage to show on progress bar
 	    "exit" - well you guessed it
 
+config BUSYBOX_FLASH_LOCK
+	bool "flash_lock"
+	default n
+	help
+	  The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
+	  utility locks part or all of the flash device.
+
+config BUSYBOX_FLASH_UNLOCK
+	bool "flash_unlock"
+	default n
+	help
+	  The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
+	  utility unlocks part or all of the flash device.
+
+config BUSYBOX_FLASH_ERASEALL
+	bool "flash_eraseall"
+	default n
+	help
+	  The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
+	  This utility is used to erase the whole MTD device.
+
+config BUSYBOX_IONICE
+	bool "ionice"
+	default n
+	help
+	  Set/set program io scheduling class and priority
+	  Requires kernel >= 2.6.13
+
 config BUSYBOX_INOTIFYD
 	bool "inotifyd"
 	default n
@@ -273,6 +335,7 @@ endchoice
 config BUSYBOX_LESS
 	bool "less"
 	default y
+	depends on !ADK_PACKAGE_LESS
 	help
 	  'less' is a pager, meaning that it displays text files. It possesses
 	  a wide array of features, and is an improvement over 'more'.
@@ -300,14 +363,6 @@ config BUSYBOX_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_FEATURE_LESS_DASHCMD
-	bool "Enable flag changes ('-' command)"
-	default n
-	depends on BUSYBOX_LESS
-	help
-	  This enables the ability to change command-line flags within
-	  less itself ('-' keyboard command).
-
 config BUSYBOX_FEATURE_LESS_MARKS
 	bool "Enable marks"
 	default n
@@ -322,6 +377,21 @@ config BUSYBOX_FEATURE_LESS_REGEXP
 	help
 	  Enable regular expressions, allowing complex file searches.
 
+config BUSYBOX_FEATURE_LESS_WINCH
+	bool "Enable automatic resizing on window size changes"
+	default n
+	depends on BUSYBOX_LESS
+	help
+	  Makes less track window size changes.
+
+config BUSYBOX_FEATURE_LESS_DASHCMD
+	bool "Enable flag changes ('-' command)"
+	default n
+	depends on BUSYBOX_LESS
+	help
+	  This enables the ability to change command-line flags within
+	  less itself ('-' keyboard command).
+
 config BUSYBOX_FEATURE_LESS_LINENUMS
 	bool "Enable dynamic switching of line numbers"
 	default n
@@ -329,15 +399,9 @@ config BUSYBOX_FEATURE_LESS_LINENUMS
 	help
 	  Enable "-N" command.
 
-config BUSYBOX_FEATURE_LESS_WINCH
-	bool "Enable automatic resizing on window size changes"
-	default y
-	depends on BUSYBOX_LESS
-	help
-	  Makes less track window size changes.
-
 config BUSYBOX_HDPARM
 	bool "hdparm"
+	depends on !ADK_PACKAGE_HDPARM
 	default n
 	help
 	  Get/Set hard drive parameters. Primarily intended for ATA
@@ -388,12 +452,11 @@ config BUSYBOX_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
 	  stuff, so you should probably say N.
 
 config BUSYBOX_FEATURE_HDPARM_HDIO_GETSET_DMA
-	bool "Get/set using_dma flag (DANGEROUS)"
+	bool "Get/set using_dma flag"
 	default n
 	depends on BUSYBOX_HDPARM
 	help
 	  Enables the 'hdparm -d' option to get/set using_dma flag.
-	  This is dangerous stuff, so you should probably say N.
 
 config BUSYBOX_MAKEDEVS
 	bool "makedevs"
@@ -505,21 +568,21 @@ config BUSYBOX_STRINGS
 	  strings prints the printable character sequences for each file
 	  specified.
 
-#config BUSYBOX_TASKSET
-#	bool "taskset"
-#	default n
-#	help
-#	  Retrieve or set a processes's CPU affinity.
-#	  This requires sched_{g,s}etaffinity support in your libc.
-
-#config BUSYBOX_FEATURE_TASKSET_FANCY
-#	bool "Fancy output"
-#	default y
-#	depends on BUSYBOX_TASKSET
-#	help
-#	  Add code for fancy output. This merely silences a compiler-warning
-#	  and adds about 135 Bytes. May be needed for machines with alot
-#	  of CPUs.
+config BUSYBOX_TASKSET
+	bool "taskset"
+	default n
+	help
+	  Retrieve or set a processes's CPU affinity.
+	  This requires sched_{g,s}etaffinity support in your libc.
+
+config BUSYBOX_FEATURE_TASKSET_FANCY
+	bool "Fancy output"
+	default y
+	depends on BUSYBOX_TASKSET
+	help
+	  Add code for fancy output. This merely silences a compiler-warning
+	  and adds about 135 Bytes. May be needed for machines with alot
+	  of CPUs.
 
 config BUSYBOX_TIME
 	bool "time"
@@ -529,6 +592,13 @@ config BUSYBOX_TIME
 	  When the command finishes, time writes a message to standard output
 	  giving timing statistics about this program run.
 
+config BUSYBOX_TIMEOUT
+	bool "timeout"
+	default n
+	help
+	  Runs a program and watches it. If it does not terminate in
+	  specified number of seconds, it is sent a signal.
+
 config BUSYBOX_TTYSIZE
 	bool "ttysize"
 	default n
@@ -538,8 +608,15 @@ config BUSYBOX_TTYSIZE
 	  error, but returns default 80x24.
 	  Usage in shell scripts: width=`ttysize w`.
 
+config BUSYBOX_VOLNAME
+	bool "volname"
+	default n
+	help
+	  Prints a CD-ROM volume name.
+
 config BUSYBOX_WATCHDOG
 	bool "watchdog"
+	depends on !ADK_PACKAGE_WATCHDOG
 	default n
 	help
 	  The watchdog utility is used with hardware or software watchdog

+ 19 - 23
package/busybox/config/modutils/Config.in

@@ -5,20 +5,6 @@
 
 menu "Linux Module Utilities"
 
-config BUSYBOX_DEFAULT_MODULES_DIR
-	string "Default directory containing modules"
-	default "/lib/modules"
-	help
-	  Directory that contains kernel modules.
-	  Defaults to "/lib/modules"
-
-config BUSYBOX_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_MODPROBE_SMALL
 	bool "Simplified modutils"
 	default n
@@ -58,7 +44,6 @@ config BUSYBOX_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
 	depends on BUSYBOX_MODPROBE_SMALL
 	help
 	  Allow insmod and modprobe take module options from command line.
-	  N.B. Very bloaty.
 
 config BUSYBOX_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
 	bool "Skip loading of already loaded modules"
@@ -66,7 +51,6 @@ config BUSYBOX_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
 	depends on BUSYBOX_MODPROBE_SMALL
 	help
 	  Check if the module is already loaded.
-	  N.B. It's racy.
 
 config BUSYBOX_INSMOD
 	bool "insmod"
@@ -106,12 +90,8 @@ config BUSYBOX_MODPROBE
 	  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_FEATURE_MODPROBE_BLACKLIST
-	bool
-	prompt "Blacklist support"
+	bool "Blacklist support"
 	default n
 	depends on BUSYBOX_MODPROBE
 	help
@@ -157,7 +137,7 @@ config BUSYBOX_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
 	  By adding module symbols to the kernel symbol table, Oops messages
 	  occuring within kernel modules can be properly debugged. By enabling
 	  this feature, module symbols will always be added to the kernel symbol
-	  table for properly debugging support. If you are not interested in
+	  table for proper debugging support. If you are not interested in
 	  Oops messages from kernel modules, say N.
 
 config BUSYBOX_FEATURE_INSMOD_LOADINKMEM
@@ -193,7 +173,7 @@ config BUSYBOX_FEATURE_INSMOD_LOAD_MAP_FULL
 config BUSYBOX_FEATURE_CHECK_TAINTED_MODULE
 	bool "Support tainted module checking with new kernels"
 	default y
-	depends on !BUSYBOX_MODPROBE_SMALL
+	depends on (BUSYBOX_LSMOD || BUSYBOX_FEATURE_2_4_MODULES) && !BUSYBOX_MODPROBE_SMALL
 	help
 	  Support checking for tainted modules. These are usually binary
 	  only modules that will make the linux-kernel list ignore your
@@ -227,4 +207,20 @@ config BUSYBOX_FEATURE_MODUTILS_SYMBOLS
 
 	  Say Y if unsure.
 
+config BUSYBOX_DEFAULT_MODULES_DIR
+	string "Default directory containing modules"
+	default "/lib/modules"
+	depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODPROBE_SMALL
+	help
+	  Directory that contains kernel modules.
+	  Defaults to "/lib/modules"
+
+config BUSYBOX_DEFAULT_DEPMOD_FILE
+	string "Default name of modules.dep"
+	default "modules.dep"
+	depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODPROBE_SMALL
+	help
+	  Filename that contains kernel modules dependencies.
+	  Defaults to "modules.dep"
+
 endmenu

+ 77 - 41
package/busybox/config/networking/Config.in

@@ -7,13 +7,24 @@ menu "Networking Utilities"
 
 config BUSYBOX_FEATURE_IPV6
 	bool "Enable IPv6 support"
-	default n
+	default y
 	help
 	  Enable IPv6 support in busybox.
 	  This adds IPv6 support in the networking applets.
 
+config BUSYBOX_FEATURE_UNIX_LOCAL
+	bool "Enable Unix domain socket support (usually not needed)"
+	default n
+	help
+	  Enable Unix domain socket support in all busybox networking
+	  applets.  Address of the form local:/path/to/unix/socket
+	  will be recognized.
+
+	  This extension is almost never used in real world usage.
+	  You most likely want to say N.
+
 config BUSYBOX_FEATURE_PREFER_IPV4_ADDRESS
-	bool "Preferentially use IPv4 addresses from DNS queries"
+	bool "Prefer IPv4 addresses from DNS queries"
 	default y
 	depends on BUSYBOX_FEATURE_IPV6
 	help
@@ -43,12 +54,13 @@ config BUSYBOX_ARP
 
 config BUSYBOX_ARPING
 	bool "arping"
-	default y
+	default n
 	help
 	  Ping hosts by ARP packets.
 
 config BUSYBOX_BRCTL
 	bool "brctl"
+	depends on !ADK_PACKAGE_BRCTL
 	default n
 	help
 	  Manage ethernet bridges.
@@ -93,6 +105,19 @@ config BUSYBOX_FAKEIDENTD
 	  fakeidentd listens on the ident port and returns a predefined
 	  fake value on any query.
 
+config BUSYBOX_FTPD
+	bool "ftpd"
+	default n
+	help
+	  simple FTP daemon. You have to run it via inetd.
+
+config BUSYBOX_FEATURE_FTP_WRITE
+	bool "Enable upload commands"
+	default y
+	depends on BUSYBOX_FTPD
+	help
+	  Enable all kinds of FTP upload commands (-w option)
+
 config BUSYBOX_FTPGET
 	bool "ftpget"
 	default n
@@ -108,7 +133,7 @@ config BUSYBOX_FTPPUT
 config BUSYBOX_FEATURE_FTPGETPUT_LONG_OPTIONS
 	bool "Enable long options in ftpget/ftpput"
 	default n
-	depends on BUSYBOX_GETOPT_LONG && (BUSYBOX_FTPGET || BUSYBOX_FTPPUT)
+	depends on BUSYBOX_LONG_OPTS && (BUSYBOX_FTPGET || BUSYBOX_FTPPUT)
 	help
 	  Support long options for the ftpget/ftpput applet.
 
@@ -141,14 +166,6 @@ config BUSYBOX_FEATURE_HTTPD_USE_SENDFILE
 	  When enabled, httpd will use the kernel sendfile() function
 	  instead of read/write loop.
 
-config BUSYBOX_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
-	bool "Support reloading of global config file on HUP signal"
-	default n
-	depends on BUSYBOX_HTTPD
-	help
-	  This option enables processing of SIGHUP to reload cached
-	  configuration settings.
-
 config BUSYBOX_FEATURE_HTTPD_SETUID
 	bool "Enable -u <user> option"
 	default n
@@ -175,14 +192,6 @@ config BUSYBOX_FEATURE_HTTPD_AUTH_MD5
 	  Enables basic per URL authentication from /etc/httpd.conf
 	  using md5 passwords.
 
-config BUSYBOX_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
-	bool "Support loading additional MIME types at run-time"
-	default n
-	depends on BUSYBOX_HTTPD
-	help
-	  This option enables support for additional MIME types at
-	  run-time to be specified in the configuration file.
-
 config BUSYBOX_FEATURE_HTTPD_CGI
 	bool "Support Common Gateway Interface (CGI)"
 	default y
@@ -299,6 +308,12 @@ config BUSYBOX_IFENSLAVE
 	  Userspace application to bind several interfaces
 	  to a logical interface (use with kernel bonding driver).
 
+config BUSYBOX_IFPLUGD
+	bool "ifplugd"
+	default n
+	help
+	  Network interface plug detection daemon.
+
 config BUSYBOX_IFUPDOWN
 	bool "ifupdown"
 	default y
@@ -338,7 +353,6 @@ config BUSYBOX_FEATURE_IFUPDOWN_IP_BUILTIN
 	bool "Use busybox ip applet"
 	default y
 	depends on BUSYBOX_FEATURE_IFUPDOWN_IP
-	depends on !ADK_PACKAGE_IP
 	select BUSYBOX_IP
 	select BUSYBOX_FEATURE_IP_ADDRESS
 	select BUSYBOX_FEATURE_IP_LINK
@@ -372,7 +386,7 @@ config BUSYBOX_FEATURE_IFUPDOWN_IPV4
 
 config BUSYBOX_FEATURE_IFUPDOWN_IPV6
 	bool "Support for IPv6"
-	default n
+	default y
 	depends on BUSYBOX_IFUPDOWN && BUSYBOX_FEATURE_IPV6
 	help
 	  If you need support for IPv6, turn this option on.
@@ -456,8 +470,8 @@ config BUSYBOX_FEATURE_INETD_RPC
 
 config BUSYBOX_IP
 	bool "ip"
-	default y
 	depends on !ADK_PACKAGE_IP
+	default y
 	help
 	  The "ip" applet is a TCP/IP interface configuration and routing
 	  utility. You generally don't need "ip" to use busybox with
@@ -566,7 +580,7 @@ config BUSYBOX_FEATURE_IPCALC_FANCY
 config BUSYBOX_FEATURE_IPCALC_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_IPCALC && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_IPCALC && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the ipcalc applet.
 
@@ -637,7 +651,7 @@ config BUSYBOX_FEATURE_NETSTAT_WIDE
 
 config BUSYBOX_FEATURE_NETSTAT_PRG
 	bool "Enable PID/Program name output"
-	default y
+	default n
 	depends on BUSYBOX_NETSTAT
 	help
 	  Add support for -p flag to print out PID and program name.
@@ -645,7 +659,7 @@ config BUSYBOX_FEATURE_NETSTAT_PRG
 
 config BUSYBOX_NSLOOKUP
 	bool "nslookup"
-	default y
+	default n
 	help
 	  nslookup is a tool to query Internet name servers.
 
@@ -658,7 +672,7 @@ config BUSYBOX_PING
 
 config BUSYBOX_PING6
 	bool "ping6"
-	default n
+	default y
 	depends on BUSYBOX_FEATURE_IPV6 && BUSYBOX_PING
 	help
 	  This will give you a ping that can talk IPv6.
@@ -702,7 +716,7 @@ config BUSYBOX_SLATTACH
 
 config BUSYBOX_TELNET
 	bool "telnet"
-	default y
+	default n
 	help
 	  Telnet is an interface to the TELNET protocol, but is also commonly
 	  used to test other simple protocols.
@@ -823,24 +837,23 @@ config BUSYBOX_FEATURE_TFTP_BLOCKSIZE
 config BUSYBOX_TFTP_DEBUG
 	bool "Enable debug"
 	default n
-	depends on BUSYBOX_TFTP
+	depends on BUSYBOX_TFTP || BUSYBOX_TFTPD
 	help
-	  Enable debug settings for tftp. This is useful if you're running
-	  into problems with tftp as the protocol doesn't help you much when
-	  you run into problems.
+	  Make tftp[d] print debugging messages on stderr.
+	  This is useful if you are diagnosing a bug in tftp[d].
 
 config BUSYBOX_TRACEROUTE
 	bool "traceroute"
-	default y
+	default n
 	help
-	  Utility to trace the route of IP packets
+	  Utility to trace the route of IP packets.
 
 config BUSYBOX_FEATURE_TRACEROUTE_VERBOSE
 	bool "Enable verbose output"
-	default y
+	default n
 	depends on BUSYBOX_TRACEROUTE
 	help
-	  Add some verbosity to traceroute. This includes amongst other things
+	  Add some verbosity to traceroute. This includes among other things
 	  hostnames and ICMP response types.
 
 config BUSYBOX_FEATURE_TRACEROUTE_SOURCE_ROUTE
@@ -853,13 +866,22 @@ config BUSYBOX_FEATURE_TRACEROUTE_SOURCE_ROUTE
 
 config BUSYBOX_FEATURE_TRACEROUTE_USE_ICMP
 	bool "Use ICMP instead of UDP"
-	default y
+	default n
 	depends on BUSYBOX_TRACEROUTE
 	help
-	  Add feature to allow for ICMP ECHO instead of UDP datagrams.
+	  Add option -I to use ICMP ECHO instead of UDP datagrams.
 
 source package/busybox/config/networking/udhcp/Config.in
 
+config BUSYBOX_IFUPDOWN_UDHCPC_CMD_OPTIONS
+	string "ifup udhcpc command line options"
+	default "-b -R"
+	depends on BUSYBOX_IFUPDOWN && BUSYBOX_APP_UDHCPC
+	help
+	  Command line options to pass to udhcpc from ifup.
+	  Intended to alter options not available in /etc/network/interfaces.
+	  (IE: --syslog --background etc...)
+
 config BUSYBOX_VCONFIG
 	bool "vconfig"
 	default n
@@ -868,7 +890,7 @@ config BUSYBOX_VCONFIG
 
 config BUSYBOX_WGET
 	bool "wget"
-	default y if !ADK_PACKAGE_WGET
+	default y
 	depends on !ADK_PACKAGE_WGET
 	help
 	  wget is a utility for non-interactive download of files from HTTP,
@@ -876,7 +898,7 @@ config BUSYBOX_WGET
 
 config BUSYBOX_FEATURE_WGET_STATUSBAR
 	bool "Enable a nifty process meter (+2k)"
-	default n
+	default y
 	depends on BUSYBOX_WGET
 	help
 	  Enable the transfer progress bar for wget transfers.
@@ -891,7 +913,7 @@ config BUSYBOX_FEATURE_WGET_AUTHENTICATION
 config BUSYBOX_FEATURE_WGET_LONG_OPTIONS
 	bool "Enable long options"
 	default n
-	depends on BUSYBOX_WGET && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_WGET && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the wget applet.
 
@@ -914,6 +936,20 @@ config BUSYBOX_TCPSVD
 	  tcpsvd listens on a TCP port and runs a program for each new
 	  connection.
 
+config BUSYBOX_TUNCTL
+	bool "tunctl"
+	default n
+	help
+	  tunctl creates or deletes tun devices.
+
+config BUSYBOX_FEATURE_TUNCTL_UG
+	bool "Support owner:group assignment"
+	default n
+	depends on BUSYBOX_TUNCTL
+	help
+	  Allow to specify owner and group of newly created interface.
+	  340 bytes of pure bloat. Say no here.
+
 config BUSYBOX_UDPSVD
 	bool "udpsvd"
 	default n

+ 9 - 4
package/busybox/config/networking/udhcp/Config.in

@@ -75,11 +75,16 @@ config BUSYBOX_FEATURE_UDHCP_PORT
 	  This feature is typically not needed.
 
 config BUSYBOX_UDHCP_DEBUG
-	bool "Compile udhcp with noisy debugging messages"
-	default n
-	depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC
+	int "Maximum verbosity level for udhcp applets (0..9)"
+	default 0
+	range 0 9
+	depends on BUSYBOX_APP_UDHCPD || BUSYBOX_APP_UDHCPC || BUSYBOX_APP_DHCPRELAY
 	help
-	  If selected, udhcpd will output extra debugging output.
+	  Verbosity can be increased with multiple -v options.
+	  This options controls how high it can be cranked up.
+
+	  Bigger values result in bigger code. Levels above 1
+	  are very verbose and useful for debugging only.
 
 config BUSYBOX_FEATURE_UDHCP_RFC3397
 	bool "Support for RFC3397 domain search (experimental)"

+ 14 - 7
package/busybox/config/procps/Config.in

@@ -7,7 +7,7 @@ menu "Process Utilities"
 
 config BUSYBOX_FREE
 	bool "free"
-	default y
+	default n
 	help
 	  free displays the total amount of free and used physical and swap
 	  memory in the system, as well as the buffers used by the kernel.
@@ -15,7 +15,7 @@ config BUSYBOX_FREE
 
 config BUSYBOX_FUSER
 	bool "fuser"
-	default y
+	default n
 	help
 	  fuser lists all PIDs (Process IDs) that currently have a given
 	  file open. fuser can also list all PIDs that have a given network
@@ -51,7 +51,7 @@ config BUSYBOX_NMETER
 
 config BUSYBOX_PGREP
 	bool "pgrep"
-	default n
+	default y
 	help
 	  Look for processes by name.
 
@@ -91,13 +91,13 @@ config BUSYBOX_PS
 	  ps gives a snapshot of the current processes.
 
 config BUSYBOX_FEATURE_PS_WIDE
-	bool "Enable argument for wide output (-w)"
-	default n
+	bool "Enable wide output option (-w)"
+	default y
 	depends on BUSYBOX_PS
 	help
 	  Support argument 'w' for wide output.
-	  If given once, 132 chars are printed and given more than
-	  one, the length is unlimited.
+	  If given once, 132 chars are printed, and if given more
+	  than once, the length is unlimited.
 
 config BUSYBOX_FEATURE_PS_TIME
 	bool "Enable time and elapsed time output"
@@ -106,6 +106,13 @@ config BUSYBOX_FEATURE_PS_TIME
 	help
 	  Support -o time and -o etime output specifiers.
 
+config BUSYBOX_FEATURE_PS_ADDITIONAL_COLUMNS
+	bool "Enable additional ps columns"
+	default n
+	depends on BUSYBOX_PS && BUSYBOX_DESKTOP
+	help
+	  Support -o rgroup, -o ruser, -o nice output specifiers.
+
 config BUSYBOX_FEATURE_PS_UNUSUAL_SYSTEMS
 	bool "Support Linux prior to 2.4.0 and non-ELF systems"
 	default n

+ 2 - 2
package/busybox/config/selinux/Config.in

@@ -16,7 +16,7 @@ config BUSYBOX_CHCON
 config BUSYBOX_FEATURE_CHCON_LONG_OPTIONS
 	bool "Enable long options"
 	default y
-	depends on BUSYBOX_CHCON && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_CHCON && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the chcon applet.
 
@@ -67,7 +67,7 @@ config BUSYBOX_RUNCON
 config BUSYBOX_FEATURE_RUNCON_LONG_OPTIONS
 	bool "Enable long options"
 	default y
-	depends on BUSYBOX_RUNCON && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_RUNCON && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the runcon applet.
 

+ 69 - 44
package/busybox/config/shell/Config.in

@@ -24,9 +24,9 @@ config BUSYBOX_FEATURE_SH_IS_HUSH
 ####	select LASH
 ####	bool "lash"
 
-config BUSYBOX_FEATURE_SH_IS_MSH
-	select BUSYBOX_MSH
-	bool "msh"
+####config FEATURE_SH_IS_MSH
+####	select MSH
+####	bool "msh"
 
 config BUSYBOX_FEATURE_SH_IS_NONE
 	bool "none"
@@ -43,9 +43,6 @@ config BUSYBOX_ASH
 	  shell (by Herbert Xu), which was created by porting the 'ash' shell
 	  (written by Kenneth Almquist) from NetBSD.
 
-comment "Ash Shell Options"
-	depends on BUSYBOX_ASH
-
 config BUSYBOX_ASH_BASH_COMPAT
 	bool "bash-compatible extensions"
 	default y
@@ -84,22 +81,6 @@ config BUSYBOX_ASH_ALIAS
 	help
 	  Enable alias support in the ash shell.
 
-config BUSYBOX_ASH_MATH_SUPPORT
-	bool "Posix math support"
-	default y
-	depends on BUSYBOX_ASH
-	help
-	  Enable math support in the ash shell.
-
-config BUSYBOX_ASH_MATH_SUPPORT_64
-	bool "Extend Posix math support to 64 bit"
-	default n
-	depends on BUSYBOX_ASH_MATH_SUPPORT
-	help
-	  Enable 64-bit math support in the ash shell. This will make
-	  the shell slightly larger, but will allow computation with very
-	  large numbers.
-
 config BUSYBOX_ASH_GETOPTS
 	bool "Builtin getopt to parse positional parameters"
 	default y
@@ -152,14 +133,14 @@ config BUSYBOX_ASH_OPTIMIZE_FOR_SIZE
 	  Compile ash for reduced size at the price of speed.
 
 config BUSYBOX_ASH_RANDOM_SUPPORT
-	bool "Pseudorandom generator and variable $RANDOM"
+	bool "Pseudorandom generator and $RANDOM variable"
 	default n
 	depends on BUSYBOX_ASH
 	help
 	  Enable pseudorandom generator and dynamic variable "$RANDOM".
 	  Each read of "$RANDOM" will generate a new pseudorandom value.
 	  You can reset the generator by using a specified start value.
-	  After "unset RANDOM" then generator will switch off and this
+	  After "unset RANDOM" the generator will switch off and this
 	  variable will no longer have special treatment.
 
 config BUSYBOX_ASH_EXPAND_PRMT
@@ -167,7 +148,7 @@ config BUSYBOX_ASH_EXPAND_PRMT
 	default n
 	depends on BUSYBOX_ASH
 	help
-	  "PS#" may be contain volatile content, such as backquote commands.
+	  "PS#" may contain volatile content, such as backquote commands.
 	  This option recreates the prompt string from the environment
 	  variable each time it is displayed.
 
@@ -175,16 +156,22 @@ config BUSYBOX_HUSH
 	bool "hush"
 	default n
 	help
-	  hush is a very small shell (just 18k) and it has fairly complete
-	  Bourne shell grammar. It even handles all the normal flow control
-	  options such as if/then/elif/else/fi, for/in/do/done, while loops,
-	  case/esac.
+	  hush is a small shell (22k). It handles the normal flow control
+	  constructs such as if/then/elif/else/fi, for/in/do/done, while loops,
+	  case/esac. Redirections, here documents, $((arithmetic))
+	  and functions are supported.
 
-	  It uses only vfork, so it can be used on uClinux systems.
+	  It will compile and work on no-mmu systems.
 
-	  It does not handle select, functions, here documents ( <<
-	  word ), arithmetic expansion, aliases, brace expansion, tilde
-	  expansion, &> and >& redirection of stdout+stderr, etc.
+	  It does not handle select, aliases, brace expansion,
+	  tilde expansion, &>file and >&file redirection of stdout+stderr.
+
+config BUSYBOX_HUSH_BASH_COMPAT
+	bool "bash-compatible extensions"
+	default y
+	depends on BUSYBOX_HUSH
+	help
+	  Enable bash-compatible extensions.
 
 config BUSYBOX_HUSH_HELP
 	bool "help builtin"
@@ -234,7 +221,6 @@ config BUSYBOX_HUSH_LOOPS
 	depends on BUSYBOX_HUSH
 	help
 	  Enable for, while and until loops in hush.
-	  As of 2008-07, break and continue statements are not supported.
 
 config BUSYBOX_HUSH_CASE
 	bool "Support case ... esac statement"
@@ -243,26 +229,65 @@ config BUSYBOX_HUSH_CASE
 	help
 	  Enable case ... esac statement in hush. +400 bytes.
 
+config BUSYBOX_HUSH_FUNCTIONS
+	bool "Support funcname() { commands; } syntax"
+	default n
+	depends on BUSYBOX_HUSH
+	help
+	  Enable support for shell functions in hush. +800 bytes.
+
+config BUSYBOX_HUSH_LOCAL
+	bool "Support local builtin"
+	default n
+	depends on BUSYBOX_HUSH_FUNCTIONS
+	help
+	  Enable support for local variables in functions.
+
+config BUSYBOX_HUSH_EXPORT_N
+	bool "Support export '-n' option"
+	default n
+	depends on BUSYBOX_HUSH
+	help
+	  Enable support for export '-n' option in hush. It is a bash extension.
+
 config BUSYBOX_LASH
-	bool "lash"
+	bool "lash (deprecated: aliased to hush)"
 	default n
 	select BUSYBOX_HUSH
 	help
 	  lash is deprecated and will be removed, please migrate to hush.
 
 config BUSYBOX_MSH
-	bool "msh"
+	bool "msh (deprecated: please use hush)"
 	default n
+	select BUSYBOX_HUSH
 	help
-	  The minix shell (adds just 30k) is quite complete and handles things
-	  like for/do/done, case/esac and all the things you expect a Bourne
-	  shell to do. It is not always pedantically correct about Bourne
-	  shell grammar (try running the shell testscript "tests/sh.testcases"
-	  on it and compare vs bash) but for most things it works quite well.
-	  It uses only vfork, so it can be used on uClinux systems.
+	  msh is deprecated and will be removed, please migrate to hush.
+	  If there is a feature msh has but hush does not, please let us know.
 
-comment "Bourne Shell Options"
-	depends on BUSYBOX_MSH || BUSYBOX_LASH || BUSYBOX_HUSH || BUSYBOX_ASH
+#	  The minix shell (adds just 30k) is quite complete and handles things
+#	  like for/do/done, case/esac and all the things you expect a Bourne
+#	  shell to do. It is not always pedantically correct about Bourne
+#	  shell grammar (try running the shell testscript "tests/sh.testcases"
+#	  on it and compare vs bash) but for most things it works quite well.
+#	  It uses only vfork, so it can be used on uClinux systems.
+
+
+config BUSYBOX_SH_MATH_SUPPORT
+	bool "POSIX math support"
+	default y
+	depends on BUSYBOX_ASH || BUSYBOX_HUSH
+	help
+	  Enable math support in the shell via $((...)) syntax.
+
+config BUSYBOX_SH_MATH_SUPPORT_64
+	bool "Extend POSIX math support to 64 bit"
+	default n
+	depends on BUSYBOX_SH_MATH_SUPPORT
+	help
+	  Enable 64-bit math support in the shell. This will make the shell
+	  slightly larger, but will allow computation with very large numbers.
+	  This is not in POSIX, so do not rely on this in portable code.
 
 config BUSYBOX_FEATURE_SH_EXTRA_QUIET
 	bool "Hide message on interactive shell startup"

+ 2 - 2
package/busybox/config/sysklogd/Config.in

@@ -30,7 +30,7 @@ config BUSYBOX_FEATURE_ROTATE_LOGFILE
 
 config BUSYBOX_FEATURE_REMOTE_LOG
 	bool "Remote Log support"
-	default n
+	default y
 	depends on BUSYBOX_SYSLOGD
 	help
 	  When you enable this feature, the syslogd utility can
@@ -85,7 +85,7 @@ config BUSYBOX_LOGREAD
 
 config BUSYBOX_FEATURE_LOGREAD_REDUCED_LOCKING
 	bool "Double buffering"
-	default y
+	default n
 	depends on BUSYBOX_LOGREAD
 	help
 	  'logread' ouput to slow serial terminals can have

+ 59 - 20
package/busybox/config/util-linux/Config.in

@@ -5,9 +5,31 @@
 
 menu "Linux System Utilities"
 
+config BUSYBOX_ACPID
+	bool "acpid"
+	default n
+	help
+	  acpid listens to ACPI events coming either in textual form from
+	  /proc/acpi/event (though it is marked deprecated it is still widely
+	  used and _is_ a standard) or in binary form from specified evdevs
+	  (just use /dev/input/event*).
+
+	  It parses the event to retrieve ACTION and a possible PARAMETER.
+	  It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
+	  (if the resulting path is a directory) or directly as an executable.
+
+	  N.B. acpid relies on run-parts so have the latter installed.
+
+config BUSYBOX_FEATURE_ACPID_COMPAT
+	bool "Accept and ignore redundant options"
+	default n
+	depends on BUSYBOX_ACPID
+	help
+	  Accept and ignore compatibility options -g -m -s -S -v.
+
 config BUSYBOX_BLKID
 	bool "blkid"
-	default y
+	default n
 	select BUSYBOX_VOLUMEID
 	help
 	  Lists labels and UUIDs of all filesystems.
@@ -95,7 +117,7 @@ config BUSYBOX_FDFORMAT
 
 config BUSYBOX_FDISK
 	bool "fdisk"
-	default y
+	default n
 	help
 	  The fdisk utility is used to divide hard disks into one or more
 	  logical disks, which are generally called partitions. This utility
@@ -211,6 +233,12 @@ config BUSYBOX_FEATURE_MINIX2
 	  this. If you enabled 'mkfs_minix' then you almost certainly want to
 	  be using the version 2 filesystem support.
 
+config BUSYBOX_MKFS_VFAT
+	bool "mkfs_vfat"
+	default n
+	help
+	  Utility to create FAT32 filesystems.
+
 config BUSYBOX_GETOPT
 	bool "getopt"
 	default n
@@ -222,9 +250,16 @@ config BUSYBOX_GETOPT
 	  written by others, this utility may be for you. Most people will
 	  wisely leave this disabled.
 
+config BUSYBOX_FEATURE_GETOPT_LONG
+	bool "Support option -l"
+	default y if LONG_OPTS
+	depends on BUSYBOX_GETOPT
+	help
+	  Enable support for long options (option -l).
+
 config BUSYBOX_HEXDUMP
 	bool "hexdump"
-	default y
+	default n
 	help
 	  The hexdump utility is used to display binary data in a readable
 	  way that is comparable to the output from most hex editors.
@@ -258,7 +293,7 @@ config BUSYBOX_HWCLOCK
 config BUSYBOX_FEATURE_HWCLOCK_LONG_OPTIONS
 	bool "Support long options (--hctosys,...)"
 	default n
-	depends on BUSYBOX_HWCLOCK && BUSYBOX_GETOPT_LONG
+	depends on BUSYBOX_HWCLOCK && BUSYBOX_LONG_OPTS
 	help
 	  By default, the hwclock utility only uses short options. If you
 	  are overly fond of its long options, such as --hctosys, --utc, etc)
@@ -278,7 +313,7 @@ config BUSYBOX_FEATURE_HWCLOCK_ADJTIME_FHS
 
 config BUSYBOX_IPCRM
 	bool "ipcrm"
-	default y
+	default n
 	select BUSYBOX_FEATURE_SUID
 	help
 	  The ipcrm utility allows the removal of System V interprocess
@@ -287,7 +322,7 @@ config BUSYBOX_IPCRM
 
 config BUSYBOX_IPCS
 	bool "ipcs"
-	default y
+	default n
 	select BUSYBOX_FEATURE_SUID
 	help
 	  The ipcs utility is used to provide information on the currently
@@ -295,7 +330,7 @@ config BUSYBOX_IPCS
 
 config BUSYBOX_LOSETUP
 	bool "losetup"
-	default y
+	default n
 	help
 	  losetup is used to associate or detach a loop device with a regular
 	  file or block device, and to query the status of a loop device. This
@@ -371,19 +406,16 @@ config BUSYBOX_MKSWAP
 	  Once you have created swap space using 'mkswap' you need to enable
 	  the swap space using the 'swapon' utility.
 
-config BUSYBOX_FEATURE_MKSWAP_V0
-	bool "Version 0 support"
+config BUSYBOX_FEATURE_MKSWAP_UUID
+	bool "UUID support"
 	default n
 	depends on BUSYBOX_MKSWAP
-#	depends on BUSYBOX_MKSWAP && BUSYBOX_DEPRECATED
 	help
-	  Enable support for the old v0 style.
-	  If your kernel is older than 2.1.117, then v0 support is the
-	  only option.
+	  Generate swap spaces with universally unique identifiers.
 
 config BUSYBOX_MORE
 	bool "more"
-	default y
+	default n
 	help
 	  more is a simple utility which allows you to read text one screen
 	  sized page at a time. If you want to read text that is larger than
@@ -450,7 +482,7 @@ config BUSYBOX_FEATURE_VOLUMEID_JFS
 
 config BUSYBOX_FEATURE_VOLUMEID_XFS
 	bool "xfs filesystem"
-	default y
+	default n
 	depends on BUSYBOX_VOLUMEID
 	help
 	  TODO
@@ -651,7 +683,7 @@ config BUSYBOX_FEATURE_MOUNT_HELPERS
 
 config BUSYBOX_FEATURE_MOUNT_LABEL
 	bool "Support specifiying devices by label or UUID"
-	default y
+	default n
 	depends on BUSYBOX_MOUNT
 	select BUSYBOX_VOLUMEID
 	help
@@ -660,7 +692,7 @@ config BUSYBOX_FEATURE_MOUNT_LABEL
 
 config BUSYBOX_FEATURE_MOUNT_NFS
 	bool "Support mounting NFS file systems"
-	default n
+	default y
 	depends on BUSYBOX_MOUNT
 	select BUSYBOX_FEATURE_HAVE_RPC
 	select BUSYBOX_FEATURE_SYSLOG
@@ -669,7 +701,7 @@ config BUSYBOX_FEATURE_MOUNT_NFS
 
 config BUSYBOX_FEATURE_MOUNT_CIFS
 	bool "Support mounting CIFS/SMB file systems"
-	default n
+	default y
 	depends on BUSYBOX_MOUNT
 	help
 	  Enable support for samba mounts.
@@ -705,7 +737,7 @@ config BUSYBOX_PIVOT_ROOT
 
 config BUSYBOX_RDATE
 	bool "rdate"
-	default y
+	default n
 	help
 	  The rdate utility allows you to synchronize the date and time of your
 	  system clock with the date and time of a remote networked system using
@@ -736,6 +768,13 @@ config BUSYBOX_SCRIPT
 	help
 	  The script makes typescript of terminal session.
 
+config BUSYBOX_SCRIPTREPLAY
+	bool "scriptreplay"
+	default n
+	help
+	  This program replays a typescript, using timing information
+	  given by script -t.
+
 config BUSYBOX_SETARCH
 	bool "setarch"
 	default n
@@ -803,7 +842,7 @@ comment "Common options for mount/umount"
 
 config BUSYBOX_FEATURE_MOUNT_LOOP
 	bool "Support loopback mounts"
-	default y
+	default n
 	depends on BUSYBOX_MOUNT || BUSYBOX_UMOUNT
 	help
 	  Enabling this feature allows automatic mounting of files (containing

File diff suppressed because it is too large
+ 415 - 603
package/busybox/patches/001-ipkg.patch


+ 0 - 105
package/busybox/patches/002-find-empty.patch

@@ -1,105 +0,0 @@
-diff -Nur busybox-1.12.3/findutils/Config.in busybox-1.12.3-find/findutils/Config.in
---- busybox-1.12.3/findutils/Config.in	2008-09-28 20:04:28.000000000 +0200
-+++ busybox-1.12.3-find/findutils/Config.in	2009-01-06 22:24:46.086215240 +0100
-@@ -81,6 +81,14 @@
- 	help
- 	  Support the 'find -inum' option for searching by inode number.
- 
-+config FEATURE_FIND_EMPTY
-+	bool "Enable -empty option matching empty files and directories"
-+	default y
-+	depends on FIND
-+	help
-+	  Support the 'find -empty' option for searching empty files 
-+	  and directories.
-+
- config FEATURE_FIND_EXEC
- 	bool "Enable -exec option allowing execution of commands"
- 	default y
-diff -Nur busybox-1.12.3/findutils/find.c busybox-1.12.3-find/findutils/find.c
---- busybox-1.12.3/findutils/find.c	2008-09-28 20:04:28.000000000 +0200
-+++ busybox-1.12.3-find/findutils/find.c	2009-01-06 23:33:53.201386585 +0100
-@@ -93,6 +93,7 @@
- USE_FEATURE_FIND_CONTEXT(ACTS(context, security_context_t context;))
- USE_FEATURE_FIND_PAREN(  ACTS(paren, action ***subexpr;))
- USE_FEATURE_FIND_PRUNE(  ACTS(prune))
-+USE_FEATURE_FIND_EMPTY(  ACTS(empty))
- USE_FEATURE_FIND_DELETE( ACTS(delete))
- USE_FEATURE_FIND_EXEC(   ACTS(exec,  char **exec_argv; unsigned *subst_count; int exec_argc;))
- USE_FEATURE_FIND_GROUP(  ACTS(group, gid_t gid;))
-@@ -318,6 +319,34 @@
- 	return exec_actions(ap->subexpr, fileName, statbuf);
- }
- #endif
-+#if ENABLE_FEATURE_FIND_EMPTY
-+ACTF(empty)
-+{
-+	DIR *d;
-+	struct dirent *dp;
-+	bool empty = TRUE;
-+
-+	if (S_ISDIR(statbuf->st_mode)) {
-+		d = opendir(fileName);
-+		if (d == NULL)
-+			bb_simple_perror_msg(fileName);
-+		for (dp = readdir(d); dp; dp = readdir(d)) {
-+			if (dp->d_name[0] != '.' ||
-+				(dp->d_name[1] != '\0' &&
-+				(dp->d_name[1] != '.' ||
-+				dp->d_name[2] != '\0'))) {
-+					empty = FALSE;
-+					break;
-+			}
-+		}
-+		closedir(d);
-+		return(empty);
-+	} else if (S_ISREG(statbuf->st_mode))
-+		return (statbuf->st_size == 0);
-+	else
-+		return FALSE;
-+}
-+#endif
- #if ENABLE_FEATURE_FIND_SIZE
- ACTF(size)
- {
-@@ -459,6 +488,7 @@
- 	USE_FEATURE_FIND_PRINT0( PARM_print0    ,)
- 	USE_FEATURE_FIND_DEPTH(  PARM_depth     ,)
- 	USE_FEATURE_FIND_PRUNE(  PARM_prune     ,)
-+	USE_FEATURE_FIND_EMPTY(  PARM_empty     ,)
- 	USE_FEATURE_FIND_DELETE( PARM_delete    ,)
- 	USE_FEATURE_FIND_EXEC(   PARM_exec      ,)
- 	USE_FEATURE_FIND_PAREN(  PARM_char_brace,)
-@@ -492,6 +522,7 @@
- 	USE_FEATURE_FIND_PRINT0( "-print0\0" )
- 	USE_FEATURE_FIND_DEPTH(  "-depth\0"  )
- 	USE_FEATURE_FIND_PRUNE(  "-prune\0"  )
-+	USE_FEATURE_FIND_EMPTY(  "-empty\0"  )
- 	USE_FEATURE_FIND_DELETE( "-delete\0" )
- 	USE_FEATURE_FIND_EXEC(   "-exec\0"   )
- 	USE_FEATURE_FIND_PAREN(  "(\0"       )
-@@ -610,6 +641,12 @@
- 			(void) ALLOC_ACTION(prune);
- 		}
- #endif
-+#if ENABLE_FEATURE_FIND_EMPTY
-+		else if (parm == PARM_empty) {
-+			USE_FEATURE_FIND_NOT( invert_flag = 0; )
-+			(void) ALLOC_ACTION(empty);
-+		}
-+#endif
- #if ENABLE_FEATURE_FIND_DELETE
- 		else if (parm == PARM_delete) {
- 			need_print = 0;
-diff -Nur busybox-1.12.3/include/usage.h busybox-1.12.3-find/include/usage.h
---- busybox-1.12.3/include/usage.h	2008-09-28 20:04:26.000000000 +0200
-+++ busybox-1.12.3-find/include/usage.h	2009-01-07 00:07:49.832669156 +0100
-@@ -1140,6 +1140,8 @@
-      "\n	-group NAME	File belongs to group NAME (numeric group ID allowed)") \
- 	USE_FEATURE_FIND_DEPTH( \
-      "\n	-depth		Process directory name after traversing it") \
-+	USE_FEATURE_FIND_EMPTY( \
-+     "\n	-empty		File or directory is empty") \
- 	USE_FEATURE_FIND_SIZE( \
-      "\n	-size N[bck]	File size is N (c:bytes,k:kbytes,b:512 bytes(def.))." \
-      "\n			+/-N: file size is bigger/smaller than N") \

+ 0 - 18
package/busybox/patches/003-ip-config.patch

@@ -1,18 +0,0 @@
-diff -Nur busybox-1.13.4.orig/networking/Config.in busybox-1.13.4/networking/Config.in
---- busybox-1.13.4.orig/networking/Config.in	2008-11-09 18:27:59.000000000 +0100
-+++ busybox-1.13.4/networking/Config.in	2009-08-12 23:12:27.132893048 +0200
-@@ -338,10 +338,10 @@
- 	bool "Use busybox ip applet"
- 	default y
- 	depends on FEATURE_IFUPDOWN_IP
--	select IP
--	select FEATURE_IP_ADDRESS
--	select FEATURE_IP_LINK
--	select FEATURE_IP_ROUTE
-+	#select IP
-+	#select FEATURE_IP_ADDRESS
-+	#select FEATURE_IP_LINK
-+	#select FEATURE_IP_ROUTE
- 	help
- 	  Use the busybox iproute "ip" applet to implement "ifupdown".
- 

+ 0 - 12
package/busybox/patches/patch-Makefile

@@ -1,12 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- busybox-1.13.4.orig/Makefile	2009-04-15 02:11:01.000000000 +0200
-+++ busybox-1.13.4/Makefile	2009-05-06 20:30:25.953125000 +0200
-@@ -277,7 +277,7 @@ HOSTCXXFLAGS	:=
- # We need some generic definitions
- include $(srctree)/scripts/Kbuild.include
- 
--HOSTCFLAGS	+= $(call hostcc-option,-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer,)
-+HOSTCFLAGS	+= $(call hostcc-option,-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DHOSTCOMPILE=1,)
- HOSTCXXFLAGS	+= -O2
- 
- # For maximum performance (+ possibly random breakage, uncomment

+ 0 - 21
package/busybox/patches/patch-Makefile_flags

@@ -1,21 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- busybox-1.12.3.orig/Makefile.flags	2008-09-28 20:04:30.000000000 +0200
-+++ busybox-1.12.3/Makefile.flags	2008-12-25 20:27:43.092824157 +0100
-@@ -46,15 +46,12 @@ CFLAGS += $(call cc-option,-falign-funct
- # be fixed..
- #CFLAGS += $(call cc-option,-Wconversion,)
- 
--ifneq ($(CONFIG_DEBUG),y)
--CFLAGS += $(call cc-option,-Os,)
--else
-+ifeq ($(CONFIG_DEBUG),y)
- CFLAGS += $(call cc-option,-g,)
-+else
- #CFLAGS += "-D_FORTIFY_SOURCE=2"
- ifeq ($(CONFIG_DEBUG_PESSIMIZE),y)
- CFLAGS += $(call cc-option,-O0,)
--else
--CFLAGS += $(call cc-option,-Os,)
- endif
- endif
- 

+ 0 - 80
package/busybox/patches/patch-include_libbb_h

@@ -1,80 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- busybox-1.13.4.orig/include/libbb.h	2009-04-15 02:09:42.000000000 +0200
-+++ busybox-1.13.4/include/libbb.h	2009-05-09 02:06:09.000000000 +0200
-@@ -44,6 +44,7 @@
- #define PATH_MAX 256
- #endif
- 
-+#if !(defined __APPLE__ || defined __FreeBSD__)
- #ifdef HAVE_MNTENT_H
- #include <mntent.h>
- #endif
-@@ -58,6 +59,7 @@
- #include <selinux/flask.h>
- #include <selinux/av_permissions.h>
- #endif
-+#endif
- 
- #if ENABLE_LOCALE_SUPPORT
- #include <locale.h>
-@@ -71,9 +73,11 @@
- 
- #include <pwd.h>
- #include <grp.h>
-+#ifndef HOSTCOMPILE
- #if ENABLE_FEATURE_SHADOWPASSWDS
- # include <shadow.h>
- #endif
-+#endif
- 
- /* Some libc's forget to declare these, do it ourself */
- 
-@@ -409,7 +413,9 @@ struct BUG_too_small {
- 	char BUG_family_t_too_small[(0
- 			| AF_UNSPEC
- 			| AF_INET
-+#ifndef HOSTCOMPILE
- 			| AF_INET6
-+#endif
- 			| AF_UNIX
- #ifdef AF_PACKET
- 			| AF_PACKET
-@@ -810,7 +816,9 @@ enum {
- # define bb_daemonize_or_rexec(flags, argv) bb_daemonize_or_rexec(flags)
- # define bb_daemonize(flags)                bb_daemonize_or_rexec(flags, bogus)
- #else
-+#ifndef HOSTCOMPILE
-   void re_exec(char **argv) NORETURN FAST_FUNC;
-+#endif
-   void forkexit_or_rexec(char **argv) FAST_FUNC;
-   extern bool re_execed;
-   int  BUG_fork_is_unavailable_on_nommu(void) FAST_FUNC;
-@@ -1003,10 +1011,12 @@ extern void run_applet_and_exit(const ch
- extern void run_applet_no_and_exit(int a, char **argv) NORETURN FAST_FUNC;
- #endif
- 
-+#if !(defined __APPLE__ || defined __FreeBSD__)
- #ifdef HAVE_MNTENT_H
- extern int match_fstype(const struct mntent *mt, const char *fstypes) FAST_FUNC;
- extern struct mntent *find_mount_point(const char *name, const char *table) FAST_FUNC;
- #endif
-+#endif
- extern void erase_mtab(const char * name) FAST_FUNC;
- extern unsigned int tty_baud_to_value(speed_t speed) FAST_FUNC;
- extern speed_t tty_value_to_baud(unsigned int value) FAST_FUNC;
-@@ -1084,6 +1094,7 @@ extern void bb_do_delay(int seconds) FAS
- extern void change_identity(const struct passwd *pw) FAST_FUNC;
- extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args) NORETURN FAST_FUNC;
- extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args) FAST_FUNC;
-+#if !(defined __APPLE__ || defined __FreeBSD__)
- #if ENABLE_SELINUX
- extern void renew_current_security_context(void) FAST_FUNC;
- extern void set_current_security_context(security_context_t sid) FAST_FUNC;
-@@ -1094,6 +1105,7 @@ extern void selinux_preserve_fcontext(in
- #else
- #define selinux_preserve_fcontext(fdesc) ((void)0)
- #endif
-+#endif
- extern void selinux_or_die(void) FAST_FUNC;
- extern int restricted_shell(const char *shell) FAST_FUNC;
- 

+ 0 - 30
package/busybox/patches/patch-include_platform_h

@@ -1,30 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- busybox-1.13.4.orig/include/platform.h	2008-11-09 18:28:17.000000000 +0100
-+++ busybox-1.13.4/include/platform.h	2009-05-08 22:48:50.000000000 +0200
-@@ -116,7 +116,7 @@
- # include <sex.h>
- # define __BIG_ENDIAN__ (BYTE_ORDER == BIG_ENDIAN)
- # define __BYTE_ORDER BYTE_ORDER
--#elif !defined __APPLE__
-+#elif !(defined __APPLE__ || defined __FreeBSD__)
- # include <byteswap.h>
- # include <endian.h>
- #endif
-@@ -162,7 +162,7 @@
- 
- /* ---- Networking ------------------------------------------ */
- 
--#ifndef __APPLE__
-+#if !(defined __APPLE__ || defined __FreeBSD__)
- # include <arpa/inet.h>
- # ifndef __socklen_t_defined
- typedef int socklen_t;
-@@ -210,7 +210,7 @@ __extension__ typedef unsigned long long
- #define HAVE_FEATURES_H
- #include <stdint.h>
- #define HAVE_STDINT_H
--#elif !defined __APPLE__
-+#elif !(defined __APPLE__ || defined __FreeBSD__)
- /* Largest integral types.  */
- #if __BIG_ENDIAN__
- typedef long                intmax_t;

+ 0 - 12
package/busybox/patches/patch-networking_traceroute_c

@@ -1,12 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- busybox-1.13.4.orig/networking/traceroute.c	2008-11-09 18:27:59.000000000 +0100
-+++ busybox-1.13.4/networking/traceroute.c	2009-05-12 16:26:08.000000000 +0200
-@@ -273,7 +273,7 @@ typedef struct outdata {
- 	unsigned char seq;             /* sequence number of this packet */
- 	unsigned char ttl;             /* ttl packet left with */
- // UNUSED. Retaining to have the same packet size.
--	struct timeval tv_UNUSED PACKED; /* time packet left */
-+	struct timeval tv_UNUSED; /* time packet left */
- } outdata_t;
- 
- struct IFADDRLIST {

+ 0 - 11
package/busybox/patches/patch-networking_udhcp_dhcpd_c

@@ -1,11 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- busybox-1.13.4.orig/networking/udhcp/dhcpd.c	2008-11-09 18:27:58.000000000 +0100
-+++ busybox-1.13.4/networking/udhcp/dhcpd.c	2009-05-12 16:32:40.000000000 +0200
-@@ -196,7 +196,6 @@ int udhcpd_main(int argc UNUSED_PARAM, c
- 			if (lease) {
- 				if (server_id) {
- 					/* SELECTING State */
--					DEBUG("server_id = %08x", ntohl(server_id_align));
- 					if (server_id_align == server_config.server && requested
- 					 && requested_align == lease->yiaddr
- 					) {

+ 0 - 16
package/busybox/patches/patch-runit_runit_lib_h

@@ -1,16 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- busybox-1.13.4.orig/runit/runit_lib.h	2008-11-09 18:28:19.000000000 +0100
-+++ busybox-1.13.4/runit/runit_lib.h	2009-05-12 16:34:56.000000000 +0200
-@@ -88,9 +88,9 @@ extern unsigned pmatch(const char *, con
-  * runsv / supervise / sv stuff
-  */
- typedef struct svstatus_t {
--	uint64_t time_be64 PACKED;
--	uint32_t time_nsec_be32 PACKED;
--	uint32_t pid_le32 PACKED;
-+	uint64_t time_be64;
-+	uint32_t time_nsec_be32;
-+	uint32_t pid_le32;
- 	uint8_t  paused;
- 	uint8_t  want;
- 	uint8_t  got_term;

+ 0 - 12
package/busybox/patches/patch-util-linux_fdisk_osf_c

@@ -1,12 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- busybox-1.13.4.orig/util-linux/fdisk_osf.c	2008-11-09 18:28:22.000000000 +0100
-+++ busybox-1.13.4/util-linux/fdisk_osf.c	2009-05-12 16:39:12.000000000 +0200
-@@ -45,7 +45,7 @@
- 
- #if defined(i386) || defined(__sparc__) || defined(__arm__) \
-  || defined(__m68k__) || defined(__mips__) || defined(__s390__) \
-- || defined(__sh__) || defined(__x86_64__)
-+ || defined(__sh__) || defined(__x86_64__) || defined(__cris__)
- #define BSD_LABELSECTOR   1
- #define BSD_LABELOFFSET   0
- #elif defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \

+ 0 - 0
scripts/create-busybox.sh


Some files were not shown because too many files changed in this diff