Upgrade busybox to 1.7.2
[openwrt-10.03/.git] / package / busybox / config / findutils / Config.in
index 9667bfba8110317f369d35e9779a039d5cda507f..3f89c336fa7a5bd5d5e2a72b7530dd33d5801678 100644 (file)
@@ -11,8 +11,18 @@ config BUSYBOX_CONFIG_FIND
        help
          find is used to search your system to find specified files.
 
+config BUSYBOX_CONFIG_FEATURE_FIND_PRINT0
+       bool "Enable -print0 option"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         Causes output names to be separated by a null character
+         rather than a newline.  This allows names that contain
+         newlines and other whitespace to be more easily
+         interpreted by other programs.
+
 config BUSYBOX_CONFIG_FEATURE_FIND_MTIME
-       bool "  Enable modified time matching (-mtime) option"
+       bool "Enable modified time matching (-mtime) option"
        default n
        depends on BUSYBOX_CONFIG_FIND
        help
@@ -20,7 +30,7 @@ config BUSYBOX_CONFIG_FEATURE_FIND_MTIME
          files, in days.
 
 config BUSYBOX_CONFIG_FEATURE_FIND_MMIN
-       bool "  Enable modified time matching (-min) option"
+       bool "Enable modified time matching (-mmin) option"
        default n
        depends on BUSYBOX_CONFIG_FIND
        help
@@ -28,14 +38,14 @@ config BUSYBOX_CONFIG_FEATURE_FIND_MMIN
          files, in minutes.
 
 config BUSYBOX_CONFIG_FEATURE_FIND_PERM
-       bool "  Enable permissions matching (-perm) option"
+       bool "Enable permissions matching (-perm) option"
        default y
        depends on BUSYBOX_CONFIG_FIND
        help
          Enable searching based on file permissions.
 
 config BUSYBOX_CONFIG_FEATURE_FIND_TYPE
-       bool "  Enable filetype matching (-type) option"
+       bool "Enable filetype matching (-type) option"
        default y
        depends on BUSYBOX_CONFIG_FIND
        help
@@ -43,15 +53,21 @@ config BUSYBOX_CONFIG_FEATURE_FIND_TYPE
          directory, socket, device, etc.).
 
 config BUSYBOX_CONFIG_FEATURE_FIND_XDEV
-       bool "  Enable stay in filesystem (-xdev) option"
+       bool "Enable stay in filesystem (-xdev) option"
        default y
        depends on BUSYBOX_CONFIG_FIND
        help
-         This option will allow find to restrict searches to a single
-         filesystem.
+         This option allows find to restrict searches to a single filesystem.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH
+       bool "Enable -maxdepth N option"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         This option enables -maxdepth N option.
 
 config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
-       bool "  Enable -newer option for comparing file mtimes"
+       bool "Enable -newer option for comparing file mtimes"
        default n
        depends on BUSYBOX_CONFIG_FIND
        help
@@ -59,20 +75,102 @@ config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
          a modified time that is more recent than the specified FILE.
 
 config BUSYBOX_CONFIG_FEATURE_FIND_INUM
-       bool "  Enable inode number matching (-inum) option"
+       bool "Enable inode number matching (-inum) option"
        default n
        depends on BUSYBOX_CONFIG_FIND
        help
          Support the 'find -inum' option for searching by inode number.
 
 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
-       bool "  Enable (-exec) option allowing execution of commands"
+       bool "Enable (-exec) option allowing execution of commands"
        default y
        depends on BUSYBOX_CONFIG_FIND
        help
          Support the 'find -exec' option for executing commands based upon
          the files matched.
 
+config BUSYBOX_CONFIG_FEATURE_FIND_USER
+       bool "Enable username/uid matching (-user) option"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         Support the 'find -user' option for searching by username or uid.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_GROUP
+       bool "Enable group/gid matching (-group) option"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         Support the 'find -group' option for searching by group name or gid.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_NOT
+       bool "Enable the 'not' (!) operator"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         Support the '!' operator to invert the test results.
+         If 'Enable full-blown desktop' is enabled, then will also support
+         the non-POSIX notation '-not'.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
+       bool "Enable the -depth option"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         Process each directory's contents before the directory itself.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_PAREN
+       bool "Enable parens in options"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         Enable usage of parens '(' to specify logical order of arguments.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_SIZE
+       bool "Enable (-size) option allowing matching for file size"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         Support the 'find -size' option for searching by file size.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_PRUNE
+       bool "Enable (-prune) option allowing to exclude subdirectories"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         If the file is a directory, dont descend into it. Useful for
+         exclusion .svn and CVS directories.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_DELETE
+       bool "Enable -delete option allowing to delete files"
+       default n
+       depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
+       help
+         Support the 'find -delete' option for deleting files and direcotries.
+         WARNING: This option can do much harm if used wrong. Busybox will not
+         try to protect the user from doing stupid things. Use with care.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_PATH
+       bool "Enable -path option allowing to match pathname patterns"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         The -path option matches whole pathname instead of just filename.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_REGEX
+       bool "Enable -regex: match pathname to regex"
+       default y
+       depends on BUSYBOX_CONFIG_FIND
+       help
+         The -regex option matches whole pathname against regular expression.
+
+config BUSYBOX_CONFIG_FEATURE_FIND_CONTEXT
+       bool "Enable (-context) option for matching security context"
+       default n
+       depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_SELINUX
+       help
+         Support the 'find -context' option for matching security context.
+
 config BUSYBOX_CONFIG_GREP
        bool "grep"
        default y
@@ -80,7 +178,7 @@ config BUSYBOX_CONFIG_GREP
          grep is used to search files for a specified pattern.
 
 config BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS
-       bool "  Support extended regular expressions (egrep & grep -E)"
+       bool "Support extended regular expressions (egrep & grep -E)"
        default y
        depends on BUSYBOX_CONFIG_GREP
        help
@@ -89,7 +187,7 @@ config BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS
          and various repetition operators.
 
 config BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS
-       bool "  Alias fgrep to grep -F"
+       bool "Alias fgrep to grep -F"
        default y
        depends on BUSYBOX_CONFIG_GREP
        help
@@ -98,7 +196,7 @@ config BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS
          grep -F is always builtin, this just creates the fgrep alias.
 
 config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
-       bool "  Enable before and after context flags (-A, -B and -C)"
+       bool "Enable before and after context flags (-A, -B and -C)"
        default y
        depends on BUSYBOX_CONFIG_GREP
        help
@@ -114,7 +212,7 @@ config BUSYBOX_CONFIG_XARGS
          every item from standard input.
 
 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
-       bool "  Enable prompt and confirmation option -p"
+       bool "Enable prompt and confirmation option -p"
        default y
        depends on BUSYBOX_CONFIG_XARGS
        help
@@ -122,7 +220,7 @@ config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
          line and read a line from the terminal.
 
 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
-       bool "  Enable support single and double quotes and backslash"
+       bool "Enable support single and double quotes and backslash"
        default y
        depends on BUSYBOX_CONFIG_XARGS
        help
@@ -130,7 +228,7 @@ config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
          and backslash for can use aruments with spaces.
 
 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
-       bool "  Enable support options -x"
+       bool "Enable support options -x"
        default y
        depends on BUSYBOX_CONFIG_XARGS
        help
@@ -138,7 +236,7 @@ config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
          is exceeded.
 
 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
-       bool "  Enable options -0"
+       bool "Enable null terminated option -0"
        default y
        depends on BUSYBOX_CONFIG_XARGS
        help