upgrade busybox to v1.11.1 and add current upstream fixes
[openwrt/svn-archive/archive.git] / package / busybox / config / coreutils / Config.in
index 3487fc742ce69144b3bf73ac06c1d9759113ae09..53fb74a795f04be4ef6dc8390396e9a4caf289aa 100644 (file)
@@ -65,13 +65,6 @@ config BUSYBOX_CONFIG_CKSUM
        help
          cksum is used to calculate the CRC32 checksum of a file.
 
-config BUSYBOX_CONFIG_CMP
-       bool "cmp"
-       default n
-       help
-         cmp is used to compare two files and returns the result
-         to standard output.
-
 config BUSYBOX_CONFIG_COMM
        bool "comm"
        default n
@@ -120,11 +113,11 @@ config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
        default y
        depends on BUSYBOX_CONFIG_DD
        help
-         sending a SIGUSR1 signal to a running `dd' process makes it 
-         print to standard error the number of records read and written 
+         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.
 
-         $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid 
+         $ 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_IBS_OBS
@@ -142,37 +135,12 @@ config BUSYBOX_CONFIG_DF
          df reports the amount of disk space used and available
          on filesystems.
 
-config BUSYBOX_CONFIG_DIFF
-       bool "diff"
-       default n
-       help
-         diff compares two files or directories and outputs the
-         differences between them in a form that can be given to
-         the patch command.
-
-config BUSYBOX_CONFIG_FEATURE_DIFF_BINARY
-       bool "Enable checks for binary files"
+config BUSYBOX_CONFIG_FEATURE_DF_INODE
+       bool "Enable -i (inode information)"
        default n
-       depends on BUSYBOX_CONFIG_DIFF
+       depends on BUSYBOX_CONFIG_DF
        help
-         This option enables support for checking for binary files
-         before a comparison is carried out.
-
-config BUSYBOX_CONFIG_FEATURE_DIFF_DIR
-       bool "Enable directory support"
-       default n
-       depends on BUSYBOX_CONFIG_DIFF
-       help
-         This option enables support for directory and subdirectory
-         comparison.
-
-config BUSYBOX_CONFIG_FEATURE_DIFF_MINIMAL
-       bool "Enable -d option to find smaller sets of changes"
-       default n
-       depends on BUSYBOX_CONFIG_DIFF
-       help
-         Enabling this option allows the use of -d to make diff
-         try hard to find the smallest possible set of changes.
+         This option enables support for df -i.
 
 config BUSYBOX_CONFIG_DIRNAME
        bool "dirname"
@@ -239,6 +207,19 @@ config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS
        help
          Support long options for the env applet.
 
+config BUSYBOX_CONFIG_EXPAND
+       bool "expand"
+       default n
+       help
+         By default, convert all tabs to spaces.
+
+config BUSYBOX_CONFIG_FEATURE_EXPAND_LONG_OPTIONS
+       bool "Enable long options"
+       default n
+       depends on BUSYBOX_CONFIG_EXPAND && BUSYBOX_CONFIG_GETOPT_LONG
+       help
+         Support long options for the expand applet.
+
 config BUSYBOX_CONFIG_EXPR
        bool "expr"
        default y
@@ -439,7 +420,7 @@ config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS
 
 config BUSYBOX_CONFIG_NICE
        bool "nice"
-       default n
+       default y
        help
          nice runs a program with modified scheduling priority.
 
@@ -474,6 +455,20 @@ config BUSYBOX_CONFIG_PWD
        help
          pwd is used to print the current directory.
 
+config BUSYBOX_CONFIG_READLINK
+       bool "readlink"
+       default n
+       help
+         This program reads a symbolic link and returns the name
+         of the file it points to
+
+config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW
+       bool "Enable canonicalization by following all symlinks (-f)"
+       default n
+       depends on BUSYBOX_CONFIG_READLINK
+       help
+         Enable the readlink option (-f).
+
 config BUSYBOX_CONFIG_REALPATH
        bool "realpath"
        default n
@@ -493,6 +488,14 @@ config BUSYBOX_CONFIG_RMDIR
        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_GETOPT_LONG
+       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
@@ -525,7 +528,7 @@ config BUSYBOX_CONFIG_SORT
          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
@@ -536,6 +539,21 @@ config BUSYBOX_CONFIG_FEATURE_SORT_BIG
          The SuSv3 sort standard is available at:
          http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
 
+config BUSYBOX_CONFIG_SPLIT
+       bool "split"
+       default n
+       help
+         split a file into pieces.
+
+config BUSYBOX_CONFIG_FEATURE_SPLIT_FANCY
+       bool "Fancy extensions"
+       default n
+       depends on BUSYBOX_CONFIG_SPLIT
+       help
+         Add support for features not required by SUSv3.
+         Supports additional suffixes 'b' for 512 bytes,
+         'g' for 1GiB for the -b option.
+
 config BUSYBOX_CONFIG_STAT
        bool "stat"
        default n
@@ -569,6 +587,12 @@ config BUSYBOX_CONFIG_SYNC
        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
@@ -592,7 +616,7 @@ config BUSYBOX_CONFIG_TEE
          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
@@ -665,6 +689,19 @@ config BUSYBOX_CONFIG_UNAME
        help
          uname is used to print system information.
 
+config BUSYBOX_CONFIG_UNEXPAND
+       bool "unexpand"
+       default n
+       help
+         By default, convert only leading sequences of blanks to tabs.
+
+config BUSYBOX_CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS
+       bool "Enable long options"
+       default n
+       depends on BUSYBOX_CONFIG_UNEXPAND && BUSYBOX_CONFIG_GETOPT_LONG
+       help
+         Support long options for the unexpand applet.
+
 config BUSYBOX_CONFIG_UNIQ
        bool "uniq"
        default y
@@ -689,14 +726,6 @@ config BUSYBOX_CONFIG_UUENCODE
        help
          uuencode is used to uuencode a file.
 
-config BUSYBOX_CONFIG_WATCH
-       bool "watch"
-       default n
-       select BUSYBOX_CONFIG_DATE
-       help
-         watch is used to execute a program periodically, showing
-         output to the screen.
-
 config BUSYBOX_CONFIG_WC
        bool "wc"
        default y
@@ -704,6 +733,13 @@ config BUSYBOX_CONFIG_WC
          wc is used to print the number of bytes, words, and lines,
          in specified files.
 
+config BUSYBOX_CONFIG_FEATURE_WC_LARGE
+       bool "Support very large files in wc"
+       default n
+       depends on BUSYBOX_CONFIG_WC
+       help
+         Use "unsigned long long" in wc for count variables
+
 config BUSYBOX_CONFIG_WHO
        bool "who"
        default n
@@ -744,9 +780,9 @@ config BUSYBOX_CONFIG_FEATURE_AUTOWIDTH
        depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET
        help
          This option allows utilities such as 'ls', 'more' and 'telnet'
-         to determine the width of the screen, which can allow them to 
+         to determine the width of the screen, which can allow them to
          display additional text or avoid wrapping text onto the next line.
-         If you leave this disabled, your utilities will be especially 
+         If you leave this disabled, your utilities will be especially
          primitive and will be unable to determine the current screen width.
 
 comment "Common options for df, du, ls"