1
0

Config.in 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Finding Utilities"
  6. config BUSYBOX_FIND
  7. bool "find"
  8. depends on !ADK_PACKAGE_FINDUTILS
  9. default y
  10. help
  11. find is used to search your system to find specified files.
  12. config BUSYBOX_FEATURE_FIND_EMPTY
  13. bool "Enable -empty option matching empty files and directories"
  14. default y
  15. depends on BUSYBOX_FIND
  16. help
  17. Support the 'find -empty' option for searching empty files
  18. and directories.
  19. config BUSYBOX_FEATURE_FIND_PRINT0
  20. bool "Enable -print0: NUL-terminated output"
  21. default y
  22. depends on BUSYBOX_FIND
  23. help
  24. Causes output names to be separated by a NUL character
  25. rather than a newline. This allows names that contain
  26. newlines and other whitespace to be more easily
  27. interpreted by other programs.
  28. config BUSYBOX_FEATURE_FIND_MTIME
  29. bool "Enable -mtime: modified time matching"
  30. default y
  31. depends on BUSYBOX_FIND
  32. help
  33. Allow searching based on the modification time of
  34. files, in days.
  35. config BUSYBOX_FEATURE_FIND_MMIN
  36. bool "Enable -mmin: modified time matching by minutes"
  37. default y
  38. depends on BUSYBOX_FIND
  39. help
  40. Allow searching based on the modification time of
  41. files, in minutes.
  42. config BUSYBOX_FEATURE_FIND_PERM
  43. bool "Enable -perm: permissions matching"
  44. default y
  45. depends on BUSYBOX_FIND
  46. help
  47. Enable searching based on file permissions.
  48. config BUSYBOX_FEATURE_FIND_TYPE
  49. bool "Enable -type: file type matching (file/dir/link/...)"
  50. default y
  51. depends on BUSYBOX_FIND
  52. help
  53. Enable searching based on file type (file,
  54. directory, socket, device, etc.).
  55. config BUSYBOX_FEATURE_FIND_XDEV
  56. bool "Enable -xdev: 'stay in filesystem'"
  57. default y
  58. depends on BUSYBOX_FIND
  59. help
  60. This option allows find to restrict searches to a single filesystem.
  61. config BUSYBOX_FEATURE_FIND_MAXDEPTH
  62. bool "Enable -maxdepth N"
  63. default y
  64. depends on BUSYBOX_FIND
  65. help
  66. This option enables -maxdepth N option.
  67. config BUSYBOX_FEATURE_FIND_NEWER
  68. bool "Enable -newer: compare file modification times"
  69. default y
  70. depends on BUSYBOX_FIND
  71. help
  72. Support the 'find -newer' option for finding any files which have
  73. a modified time that is more recent than the specified FILE.
  74. config BUSYBOX_FEATURE_FIND_INUM
  75. bool "Enable -inum: inode number matching"
  76. default y
  77. depends on BUSYBOX_FIND
  78. help
  79. Support the 'find -inum' option for searching by inode number.
  80. config BUSYBOX_FEATURE_FIND_EXEC
  81. bool "Enable -exec: execute commands"
  82. default y
  83. depends on BUSYBOX_FIND
  84. help
  85. Support the 'find -exec' option for executing commands based upon
  86. the files matched.
  87. config BUSYBOX_FEATURE_FIND_USER
  88. bool "Enable -user: username/uid matching"
  89. default y
  90. depends on BUSYBOX_FIND
  91. help
  92. Support the 'find -user' option for searching by username or uid.
  93. config BUSYBOX_FEATURE_FIND_GROUP
  94. bool "Enable -group: group/gid matching"
  95. default y
  96. depends on BUSYBOX_FIND
  97. help
  98. Support the 'find -group' option for searching by group name or gid.
  99. config BUSYBOX_FEATURE_FIND_NOT
  100. bool "Enable the 'not' (!) operator"
  101. default y
  102. depends on BUSYBOX_FIND
  103. help
  104. Support the '!' operator to invert the test results.
  105. If 'Enable full-blown desktop' is enabled, then will also support
  106. the non-POSIX notation '-not'.
  107. config BUSYBOX_FEATURE_FIND_DEPTH
  108. bool "Enable -depth"
  109. default y
  110. depends on BUSYBOX_FIND
  111. help
  112. Process each directory's contents before the directory itself.
  113. config BUSYBOX_FEATURE_FIND_PAREN
  114. bool "Enable parens in options"
  115. default y
  116. depends on BUSYBOX_FIND
  117. help
  118. Enable usage of parens '(' to specify logical order of arguments.
  119. config BUSYBOX_FEATURE_FIND_SIZE
  120. bool "Enable -size: file size matching"
  121. default y
  122. depends on BUSYBOX_FIND
  123. help
  124. Support the 'find -size' option for searching by file size.
  125. config BUSYBOX_FEATURE_FIND_PRUNE
  126. bool "Enable -prune: exclude subdirectories"
  127. default y
  128. depends on BUSYBOX_FIND
  129. help
  130. If the file is a directory, dont descend into it. Useful for
  131. exclusion .svn and CVS directories.
  132. config BUSYBOX_FEATURE_FIND_DELETE
  133. bool "Enable -delete: delete files/dirs"
  134. default y
  135. depends on BUSYBOX_FIND && BUSYBOX_FEATURE_FIND_DEPTH
  136. help
  137. Support the 'find -delete' option for deleting files and directories.
  138. WARNING: This option can do much harm if used wrong. Busybox will not
  139. try to protect the user from doing stupid things. Use with care.
  140. config BUSYBOX_FEATURE_FIND_PATH
  141. bool "Enable -path: match pathname with shell pattern"
  142. default y
  143. depends on BUSYBOX_FIND
  144. help
  145. The -path option matches whole pathname instead of just filename.
  146. config BUSYBOX_FEATURE_FIND_REGEX
  147. bool "Enable -regex: match pathname with regex"
  148. default y
  149. depends on BUSYBOX_FIND
  150. help
  151. The -regex option matches whole pathname against regular expression.
  152. config BUSYBOX_FEATURE_FIND_CONTEXT
  153. bool "Enable -context: security context matching"
  154. default n
  155. depends on BUSYBOX_FIND && BUSYBOX_SELINUX
  156. help
  157. Support the 'find -context' option for matching security context.
  158. config BUSYBOX_FEATURE_FIND_LINKS
  159. bool "Enable -links: link count matching"
  160. default n
  161. depends on BUSYBOX_FIND
  162. help
  163. Support the 'find -links' option for matching number of links.
  164. config BUSYBOX_GREP
  165. bool "grep"
  166. depends on !ADK_PACKAGE_GREP
  167. default y
  168. help
  169. grep is used to search files for a specified pattern.
  170. config BUSYBOX_FEATURE_GREP_EGREP_ALIAS
  171. bool "Enable extended regular expressions (egrep & grep -E)"
  172. default y
  173. depends on BUSYBOX_GREP
  174. help
  175. Enabled support for extended regular expressions. Extended
  176. regular expressions allow for alternation (foo|bar), grouping,
  177. and various repetition operators.
  178. config BUSYBOX_FEATURE_GREP_FGREP_ALIAS
  179. bool "Alias fgrep to grep -F"
  180. default y
  181. depends on BUSYBOX_GREP
  182. help
  183. fgrep sees the search pattern as a normal string rather than
  184. regular expressions.
  185. grep -F always works, this just creates the fgrep alias.
  186. config BUSYBOX_FEATURE_GREP_CONTEXT
  187. bool "Enable before and after context flags (-A, -B and -C)"
  188. default y
  189. depends on BUSYBOX_GREP
  190. help
  191. Print the specified number of leading (-B) and/or trailing (-A)
  192. context surrounding our matching lines.
  193. Print the specified number of context lines (-C).
  194. config BUSYBOX_XARGS
  195. bool "xargs"
  196. default y
  197. help
  198. xargs is used to execute a specified command for
  199. every item from standard input.
  200. config BUSYBOX_FEATURE_XARGS_SUPPORT_CONFIRMATION
  201. bool "Enable -p: prompt and confirmation"
  202. default n
  203. depends on BUSYBOX_XARGS
  204. help
  205. Support -p: prompt the user whether to run each command
  206. line and read a line from the terminal.
  207. config BUSYBOX_FEATURE_XARGS_SUPPORT_QUOTES
  208. bool "Enable single and double quotes and backslash"
  209. default n
  210. depends on BUSYBOX_XARGS
  211. help
  212. Support quoting in the input.
  213. config BUSYBOX_FEATURE_XARGS_SUPPORT_TERMOPT
  214. bool "Enable -x: exit if -s or -n is exceeded"
  215. default n
  216. depends on BUSYBOX_XARGS
  217. help
  218. Support -x: exit if the command size (see the -s or -n option)
  219. is exceeded.
  220. config BUSYBOX_FEATURE_XARGS_SUPPORT_ZERO_TERM
  221. bool "Enable -0: NUL-terminated input"
  222. default y
  223. depends on BUSYBOX_XARGS
  224. help
  225. Support -0: input items are terminated by a NUL character
  226. instead of whitespace, and the quotes and backslash
  227. are not special.
  228. endmenu