[package] busybox: update to v1.16.1 (based on v1.16.0 update patch from Peter Wagner)
[openwrt.git] / package / busybox / config / coreutils / Config.in
index 2c4d8a3..759d98d 100644 (file)
@@ -10,7 +10,7 @@ config BUSYBOX_CONFIG_BASENAME
        default y
        help
          basename is used to strip the directory and suffix from filenames,
        default y
        help
          basename is used to strip the directory and suffix from filenames,
-         leaving just the filename itself.  Enable this option if you wish
+         leaving just the filename itself. Enable this option if you wish
          to enable the 'basename' utility.
 
 config BUSYBOX_CONFIG_CAL
          to enable the 'basename' utility.
 
 config BUSYBOX_CONFIG_CAL
@@ -24,7 +24,7 @@ config BUSYBOX_CONFIG_CAT
        default y
        help
          cat is used to concatenate files and print them to the standard
        default y
        help
          cat is used to concatenate files and print them to the standard
-         output.  Enable this option if you wish to enable the 'cat' utility.
+         output. Enable this option if you wish to enable the 'cat' utility.
 
 config BUSYBOX_CONFIG_CATV
        bool "catv"
 
 config BUSYBOX_CONFIG_CATV
        bool "catv"
@@ -52,6 +52,13 @@ config BUSYBOX_CONFIG_CHOWN
          chown is used to change the user and/or group ownership
          of files.
 
          chown is used to change the user and/or group ownership
          of files.
 
+config BUSYBOX_CONFIG_FEATURE_CHOWN_LONG_OPTIONS
+       bool "Enable long options"
+       default n
+       depends on BUSYBOX_CONFIG_CHOWN && BUSYBOX_CONFIG_LONG_OPTS
+       help
+         Enable use of long options
+
 config BUSYBOX_CONFIG_CHROOT
        bool "chroot"
        default y
 config BUSYBOX_CONFIG_CHROOT
        bool "chroot"
        default y
@@ -78,6 +85,14 @@ config BUSYBOX_CONFIG_CP
        help
          cp is used to copy files and directories.
 
        help
          cp is used to copy files and directories.
 
+config BUSYBOX_CONFIG_FEATURE_CP_LONG_OPTIONS
+       bool "Enable long options for cp"
+       default n
+       depends on BUSYBOX_CONFIG_CP && BUSYBOX_CONFIG_LONG_OPTS
+       help
+         Enable long options for cp.
+         Also add support for --parents option.
+
 config BUSYBOX_CONFIG_CUT
        bool "cut"
        default y
 config BUSYBOX_CONFIG_CUT
        bool "cut"
        default y
@@ -100,6 +115,22 @@ config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
          Enable option (-I) to output an ISO-8601 compliant
          date/time string.
 
          Enable option (-I) to output an ISO-8601 compliant
          date/time string.
 
+config BUSYBOX_CONFIG_FEATURE_DATE_COMPAT
+       bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
+       default n
+       depends on BUSYBOX_CONFIG_DATE
+       help
+         System time can be set by 'date -s DATE' and simply 'date DATE',
+         but formats of DATE string are different. 'date DATE' accepts
+         a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
+         unnatural placement of year between minutes and seconds.
+         date -s (and other commands like touch -d) use more sensible
+         formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
+
+         With this option off, 'date DATE' is 'date -s DATE' support
+         the same format. With it on, 'date DATE' additionally supports
+         MMDDhhmm[[YY]YY][.ss] format.
+
 config BUSYBOX_CONFIG_DD
        bool "dd"
        default y
 config BUSYBOX_CONFIG_DD
        bool "dd"
        default y
@@ -113,12 +144,22 @@ config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
        default y
        depends on BUSYBOX_CONFIG_DD
        help
        default y
        depends on BUSYBOX_CONFIG_DD
        help
-         sending a SIGUSR1 signal to a running `dd' process makes it
+         Sending a SIGUSR1 signal to a running `dd' process makes it
          print to standard error the number of records read and written
          so far, then to resume copying.
 
          print to standard error the number of records read and written
          so far, then to resume copying.
 
-         $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid
-         10899206+0 records in 10899206+0 records out
+         $ dd if=/dev/zero of=/dev/null&
+         $ pid=$! kill -USR1 $pid; sleep 1; kill $pid
+         10899206+0 records in
+         10899206+0 records out
+
+config BUSYBOX_CONFIG_FEATURE_DD_THIRD_STATUS_LINE
+       bool "Enable the third status line upon signal"
+       default n
+       depends on BUSYBOX_CONFIG_DD && BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
+       help
+         Displays a coreutils-like third status line with transferred bytes,
+         elapsed time and speed.
 
 config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS
        bool "Enable ibs, obs and conv options"
 
 config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS
        bool "Enable ibs, obs and conv options"
@@ -135,6 +176,13 @@ config BUSYBOX_CONFIG_DF
          df reports the amount of disk space used and available
          on filesystems.
 
          df reports the amount of disk space used and available
          on filesystems.
 
+config BUSYBOX_CONFIG_FEATURE_DF_FANCY
+       bool "Enable -a, -i, -B"
+       default n
+       depends on BUSYBOX_CONFIG_DF
+       help
+         This option enables -a, -i and -B.
+
 config BUSYBOX_CONFIG_DIRNAME
        bool "dirname"
        default y
 config BUSYBOX_CONFIG_DIRNAME
        bool "dirname"
        default y
@@ -181,7 +229,7 @@ config BUSYBOX_CONFIG_ECHO
 config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
        bool "Enable echo options (-n and -e)"
        default y
 config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
        bool "Enable echo options (-n and -e)"
        default y
-       depends on BUSYBOX_CONFIG_ECHO
+       depends on BUSYBOX_CONFIG_ECHO || BUSYBOX_CONFIG_ASH_BUILTIN_ECHO || BUSYBOX_CONFIG_HUSH
        help
          This adds options (-n and -e) to echo.
 
        help
          This adds options (-n and -e) to echo.
 
@@ -196,7 +244,7 @@ config BUSYBOX_CONFIG_ENV
 config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_ENV && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_ENV && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the env applet.
 
        help
          Support long options for the env applet.
 
@@ -209,7 +257,7 @@ config BUSYBOX_CONFIG_EXPAND
 config BUSYBOX_CONFIG_FEATURE_EXPAND_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_EXPAND_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_EXPAND && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_EXPAND && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the expand applet.
 
        help
          Support long options for the expand applet.
 
@@ -222,10 +270,10 @@ config BUSYBOX_CONFIG_EXPR
 
 config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
        bool "Extend Posix numbers support to 64 bit"
 
 config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
        bool "Extend Posix numbers support to 64 bit"
-       default n
+       default y
        depends on BUSYBOX_CONFIG_EXPR
        help
        depends on BUSYBOX_CONFIG_EXPR
        help
-         Enable 64-bit math support in the expr applet.  This will make
+         Enable 64-bit math support in the expr applet. This will make
          the applet slightly larger, but will allow computation with very
          large numbers.
 
          the applet slightly larger, but will allow computation with very
          large numbers.
 
@@ -241,6 +289,12 @@ config BUSYBOX_CONFIG_FOLD
        help
          Wrap text to fit a specific width.
 
        help
          Wrap text to fit a specific width.
 
+config BUSYBOX_CONFIG_FSYNC
+       bool "fsync"
+       default n
+       help
+         fsync is used to flush file-related cached blocks to disk.
+
 config BUSYBOX_CONFIG_HEAD
        bool "head"
        default y
 config BUSYBOX_CONFIG_HEAD
        bool "head"
        default y
@@ -277,7 +331,7 @@ config BUSYBOX_CONFIG_INSTALL
 config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the install applet.
 
        help
          Support long options for the install applet.
 
@@ -350,7 +404,7 @@ config BUSYBOX_CONFIG_FEATURE_LS_USERNAME
 config BUSYBOX_CONFIG_FEATURE_LS_COLOR
        bool "Allow use of color to identify file types"
        default y
 config BUSYBOX_CONFIG_FEATURE_LS_COLOR
        bool "Allow use of color to identify file types"
        default y
-       depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_LONG_OPTS
        help
          This enables the --color option to ls.
 
        help
          This enables the --color option to ls.
 
@@ -380,7 +434,7 @@ config BUSYBOX_CONFIG_MKDIR
 config BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_MKDIR && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_MKDIR && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the mkdir applet.
 
        help
          Support long options for the mkdir applet.
 
@@ -407,7 +461,7 @@ config BUSYBOX_CONFIG_MV
 config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_MV && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_MV && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the mv applet.
 
        help
          Support long options for the mv applet.
 
@@ -481,6 +535,14 @@ config BUSYBOX_CONFIG_RMDIR
        help
          rmdir is used to remove empty directories.
 
        help
          rmdir is used to remove empty directories.
 
+config BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS
+       bool "Enable long options"
+       default n
+       depends on BUSYBOX_CONFIG_RMDIR && BUSYBOX_CONFIG_LONG_OPTS
+       help
+         Support long options for the rmdir applet, including
+         --ignore-fail-on-non-empty for compatibility with GNU rmdir.
+
 config BUSYBOX_CONFIG_SEQ
        bool "seq"
        default y
 config BUSYBOX_CONFIG_SEQ
        bool "seq"
        default y
@@ -493,19 +555,46 @@ config BUSYBOX_CONFIG_SHA1SUM
        help
          Compute and check SHA1 message digest
 
        help
          Compute and check SHA1 message digest
 
+config BUSYBOX_CONFIG_SHA256SUM
+       bool "sha256sum"
+       default n
+       help
+         Compute and check SHA256 message digest
+
+config BUSYBOX_CONFIG_SHA512SUM
+       bool "sha512sum"
+       default n
+       help
+         Compute and check SHA512 message digest
+
 config BUSYBOX_CONFIG_SLEEP
 config BUSYBOX_CONFIG_SLEEP
-       bool "sleep (single integer arg with no suffix)"
+       bool "sleep"
        default y
        help
        default y
        help
-         sleep is used to pause for a specified number of seconds,
+         sleep is used to pause for a specified number of seconds.
+         It comes in 3 versions:
+         - small: takes one integer parameter
+         - fancy: takes multiple integer arguments with suffixes:
+           sleep 1d 2h 3m 15s
+         - fancy with fractional numbers:
+           sleep 2.3s 4.5h sleeps for 16202.3 seconds
+         Last one is "the most compatible" with coreutils sleep,
+         but it adds around 1k of code.
 
 config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
 
 config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
-       bool "Enable multiple integer args and optional time suffixes"
+       bool "Enable multiple arguments and s/m/h/d suffixes"
        default y
        depends on BUSYBOX_CONFIG_SLEEP
        help
          Allow sleep to pause for specified minutes, hours, and days.
 
        default y
        depends on BUSYBOX_CONFIG_SLEEP
        help
          Allow sleep to pause for specified minutes, hours, and days.
 
+config BUSYBOX_CONFIG_FEATURE_FLOAT_SLEEP
+       bool "Enable fractional arguments"
+       default n
+       depends on BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
+       help
+         Allow for fractional numeric parameters.
+
 config BUSYBOX_CONFIG_SORT
        bool "sort"
        default y
 config BUSYBOX_CONFIG_SORT
        bool "sort"
        default y
@@ -513,13 +602,13 @@ config BUSYBOX_CONFIG_SORT
          sort is used to sort lines of text in specified files.
 
 config BUSYBOX_CONFIG_FEATURE_SORT_BIG
          sort is used to sort lines of text in specified files.
 
 config BUSYBOX_CONFIG_FEATURE_SORT_BIG
-       bool "full SuSv3 compliant sort (Support -ktcsbdfiozgM)"
+       bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
        default n
        depends on BUSYBOX_CONFIG_SORT
        help
        default n
        depends on BUSYBOX_CONFIG_SORT
        help
-         Without this, sort only supports  -r, -u, and an integer version
-         of -n.  Selecting this adds sort keys, floating point support, and
-         more.  This adds a little over 3k to a nonstatic build on x86.
+         Without this, sort only supports -r, -u, and an integer version
+         of -n. Selecting this adds sort keys, floating point support, and
+         more. This adds a little over 3k to a nonstatic build on x86.
 
          The SuSv3 sort standard is available at:
          http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
 
          The SuSv3 sort standard is available at:
          http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
@@ -531,7 +620,7 @@ config BUSYBOX_CONFIG_SPLIT
          split a file into pieces.
 
 config BUSYBOX_CONFIG_FEATURE_SPLIT_FANCY
          split a file into pieces.
 
 config BUSYBOX_CONFIG_FEATURE_SPLIT_FANCY
-       bool "fancy extensions"
+       bool "Fancy extensions"
        default n
        depends on BUSYBOX_CONFIG_SPLIT
        help
        default n
        depends on BUSYBOX_CONFIG_SPLIT
        help
@@ -551,7 +640,7 @@ config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT
        depends on BUSYBOX_CONFIG_STAT
        help
          Without this, stat will not support the '-c format' option where
        depends on BUSYBOX_CONFIG_STAT
        help
          Without this, stat will not support the '-c format' option where
-         users can pass a custom format string for output.  This adds about
+         users can pass a custom format string for output. This adds about
          7k to a nonstatic build on amd64.
 
 config BUSYBOX_CONFIG_STTY
          7k to a nonstatic build on amd64.
 
 config BUSYBOX_CONFIG_STTY
@@ -572,6 +661,12 @@ config BUSYBOX_CONFIG_SYNC
        help
          sync is used to flush filesystem buffers.
 
        help
          sync is used to flush filesystem buffers.
 
+config BUSYBOX_CONFIG_TAC
+       bool "tac"
+       default n
+       help
+         tac is used to concatenate and print files in reverse.
+
 config BUSYBOX_CONFIG_TAIL
        bool "tail"
        default y
 config BUSYBOX_CONFIG_TAIL
        bool "tail"
        default y
@@ -580,7 +675,7 @@ config BUSYBOX_CONFIG_TAIL
          from files.
 
 config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL
          from files.
 
 config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL
-       bool "Enable extra tail options (-q, -s, and -v)"
+       bool "Enable extra tail options (-q, -s, -v, and -F)"
        default y
        depends on BUSYBOX_CONFIG_TAIL
        help
        default y
        depends on BUSYBOX_CONFIG_TAIL
        help
@@ -595,7 +690,7 @@ config BUSYBOX_CONFIG_TEE
          to standard output and files.
 
 config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO
          to standard output and files.
 
 config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO
-       bool "Enable block i/o (larger/faster) instead of byte i/o."
+       bool "Enable block I/O (larger/faster) instead of byte I/O"
        default y
        depends on BUSYBOX_CONFIG_TEE
        help
        default y
        depends on BUSYBOX_CONFIG_TEE
        help
@@ -606,13 +701,13 @@ config BUSYBOX_CONFIG_TEST
        default y
        help
          test is used to check file types and compare values,
        default y
        help
          test is used to check file types and compare values,
-         returning an appropriate exit code.  The bash shell
+         returning an appropriate exit code. The bash shell
          has test built in, ash can build it in optionally.
 
 config BUSYBOX_CONFIG_FEATURE_TEST_64
        bool "Extend test to 64 bit"
          has test built in, ash can build it in optionally.
 
 config BUSYBOX_CONFIG_FEATURE_TEST_64
        bool "Extend test to 64 bit"
-       default n
-       depends on BUSYBOX_CONFIG_TEST
+       default y
+       depends on BUSYBOX_CONFIG_TEST || BUSYBOX_CONFIG_ASH_BUILTIN_TEST || BUSYBOX_CONFIG_HUSH
        help
          Enable 64-bit support in test.
 
        help
          Enable 64-bit support in test.
 
@@ -677,7 +772,7 @@ config BUSYBOX_CONFIG_UNEXPAND
 config BUSYBOX_CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_UNEXPAND && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_UNEXPAND && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the unexpand applet.
 
        help
          Support long options for the unexpand applet.
 
@@ -717,7 +812,7 @@ config BUSYBOX_CONFIG_FEATURE_WC_LARGE
        default n
        depends on BUSYBOX_CONFIG_WC
        help
        default n
        depends on BUSYBOX_CONFIG_WC
        help
-         Use "unsigned long long" in wc for count variables
+         Use "unsigned long long" in wc for counter variables.
 
 config BUSYBOX_CONFIG_WHO
        bool "who"
 
 config BUSYBOX_CONFIG_WHO
        bool "who"
@@ -774,13 +869,13 @@ config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
        help
          Allow df, du, and ls to have human readable output.
 
        help
          Allow df, du, and ls to have human readable output.
 
-comment "Common options for md5sum, sha1sum"
-       depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
+comment "Common options for md5sum, sha1sum, sha256sum, sha512sum"
+       depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM
 
 config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
        bool "Enable -c, -s and -w options"
        default y
 
 config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
        bool "Enable -c, -s and -w options"
        default y
-       depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
+       depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM
        help
          Enabling the -c options allows files to be checked
          against pre-calculated hash values.
        help
          Enabling the -c options allows files to be checked
          against pre-calculated hash values.
This page took 0.038315 seconds and 4 git commands to generate.