lede/package/utils/busybox/config/findutils/Config.in
aakkll 47266d39f7
busybox: update to 1.35.0 (#8389)
* Revert "busybox: update to 1.33.2 bugfix release (#8386)"

This reverts commit a6f79ace50.

* busybox: fix compilation with GCC 10

When compiling busybox with GCC 10 and CONFIG_PKG_ASLR_PIE_ALL=y, there
are hundreds of errors like:

relocation R_MIPS16_26 against `xzalloc' cannot be used when making a
shared object; recompile with -fPIC

Simply solve this by no longer disabling PKG_ASLR_PIE, so that $(FPIC)
is properly added to the CFLAGS and LDFLAGS.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

* busybox: update to version 1.34.0

Update busybox to version 1.34.0

* Remove upstreamed patches (205, 530, 540)

* Remove one old patch that does not apply any more. (203)
  That was originally introduced in 2008 with 563d23459,
  but does not apply after busybox restructuring with
  https://git.busybox.net/busybox/commit/networking/udhcp/dhcpc.c?h=1_34_stable&id=e6007c4911c3ea26925f9473b9f156a692585f30
  and
  https://git.busybox.net/busybox/commit/networking/udhcp/dhcpc.c?h=1_34_stable&id=1c7253726fcbab09917f143f0b703efbd2df55c3

* Refresh config and patches.

* Backport upstream fixes for
   - MIPS compilation breakage and
   - process substitution regression

Config refresh:

Refresh commands, run after busybox is first built once:

cd utils/busybox/
cd config/
../convert_menuconfig.pl ../../../../build_dir/target-aarch64_cortex-a53_musl/busybox-default/busybox-1.34.0
cd ..
./convert_defaults.pl < ../../../build_dir/target-aarch64_cortex-a53_musl/busybox-default/busybox-1.34.0/.config > Config-defaults.in

Manual edits needed afterward:

* Config-defaults.in:  OpenWrt config symbol IPV6 logic applied to
  BUSYBOX_DEFAULT_FEATURE_IPV6
* Config-defaults.in:  OpenWrt configTARGET_bcm53xx logic applied to
  BUSYBOX_DEFAULT_TRUNCATE (commit 547f1ec)
* Config-defaults.in:  OpenWrt logic applied to
  BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD (commit dc92917)
  BUSYBOX_DEFAULT_UDHCPC_DEFAULT_INTERFACE (just "")
* config/editors/Config.in: Add USE_GLIBC dependency to
  BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commit f141090)
* config/shell/Config.in : change at "Options common to all shells"  the symbol
  SHELL_ASH  -->  BUSYBOX_CONFIG_SHELL_ASH
   (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html
     Apparently our script does not see the hidden option while
     prepending config options with "BUSYBOX_CONFIG_" which leads to a
     missed dependency when the options are later evaluated.)
* Edit Config.in files by adding quotes to sourced items in
  config/Config.in, config/networking/Config.in and config/util-linux/Config.in (commit 1da014f)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

* busybox: update to 1.34.1

Update busybox to version 1.34.1, which is a minor
maintenance release. It contains just the two post-1.34.0
upstream patches that we earlier backported plus a few fixes
to awk.

* Remove the two backported upstream patches that are
  now unnecessary.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

* busybox: fix compatibility with BUSYBOX_CONFIG_INSTALL_NO_USR

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

* busybox: update to 1.35.0

Update busybox to 1.35.0

* refresh patches

Config refresh:

Refresh commands, run after busybox is first built once:

cd package/utils/busybox/config/
../convert_menuconfig.pl ../../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.35.0
cd ..
./convert_defaults.pl ../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.35.0/.config > Config-defaults.in

Manual edits needed after config refresh:

* Config-defaults.in: OpenWrt config symbol IPV6 logic applied to
  BUSYBOX_DEFAULT_FEATURE_IPV6

* Config-defaults.in: OpenWrt configTARGET_bcm53xx logic applied to
  BUSYBOX_DEFAULT_TRUNCATE (commit 547f1ec)

* Config-defaults.in: OpenWrt logic applied to
  BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD (commit dc92917)

* config/editors/Config.in: Add USE_GLIBC dependency to
  BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commit f141090)

* config/shell/Config.in : change at "Options common to all shells" the symbol
  SHELL_ASH --> BUSYBOX_CONFIG_SHELL_ASH
  (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html
  Apparently our script does not see the hidden option while
  prepending config options with "BUSYBOX_CONFIG_" which leads to a
  missed dependency when the options are later evaluated.)

* Edit Config.in files by adding quotes to sourced items in
  config/Config.in, config/networking/Config.in and config/util-linux/Config.in (commit 1da014f)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Hannu Nyman <hannu.nyman@iki.fi>
Co-authored-by: Marius Dinu <m95d+git@psihoexpert.ro>
2022-01-14 12:15:24 +08:00

319 lines
10 KiB
Plaintext

# DO NOT EDIT. This file is generated from Config.src
#
# For a description of the syntax of this configuration file,
# see docs/Kconfig-language.txt.
#
menu "Finding Utilities"
config BUSYBOX_CONFIG_FIND
bool "find (14 kb)"
default BUSYBOX_DEFAULT_FIND
help
find is used to search your system to find specified files.
config BUSYBOX_CONFIG_FEATURE_FIND_PRINT0
bool "Enable -print0: NUL-terminated output"
default BUSYBOX_DEFAULT_FEATURE_FIND_PRINT0
depends on BUSYBOX_CONFIG_FIND
help
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_CONFIG_FEATURE_FIND_MTIME
bool "Enable -mtime: modification time matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_MTIME
depends on BUSYBOX_CONFIG_FIND
help
Allow searching based on the modification time of
files, in days.
config BUSYBOX_CONFIG_FEATURE_FIND_ATIME
bool "Enable -atime: access time matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_ATIME
depends on BUSYBOX_CONFIG_FEATURE_FIND_MTIME
help
Allow searching based on the access time of
files, in days.
config BUSYBOX_CONFIG_FEATURE_FIND_CTIME
bool "Enable -ctime: status change timestamp matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_CTIME
depends on BUSYBOX_CONFIG_FEATURE_FIND_MTIME
help
Allow searching based on the status change timestamp of
files, in days.
config BUSYBOX_CONFIG_FEATURE_FIND_MMIN
bool "Enable -mmin: modification time matching by minutes"
default BUSYBOX_DEFAULT_FEATURE_FIND_MMIN
depends on BUSYBOX_CONFIG_FIND
help
Allow searching based on the modification time of
files, in minutes.
config BUSYBOX_CONFIG_FEATURE_FIND_AMIN
bool "Enable -amin: access time matching by minutes"
default BUSYBOX_DEFAULT_FEATURE_FIND_AMIN
depends on BUSYBOX_CONFIG_FEATURE_FIND_MMIN
help
Allow searching based on the access time of
files, in minutes.
config BUSYBOX_CONFIG_FEATURE_FIND_CMIN
bool "Enable -cmin: status change timestamp matching by minutes"
default BUSYBOX_DEFAULT_FEATURE_FIND_CMIN
depends on BUSYBOX_CONFIG_FEATURE_FIND_MMIN
help
Allow searching based on the status change timestamp of
files, in minutes.
config BUSYBOX_CONFIG_FEATURE_FIND_PERM
bool "Enable -perm: permissions matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_PERM
depends on BUSYBOX_CONFIG_FIND
config BUSYBOX_CONFIG_FEATURE_FIND_TYPE
bool "Enable -type: file type matching (file/dir/link/...)"
default BUSYBOX_DEFAULT_FEATURE_FIND_TYPE
depends on BUSYBOX_CONFIG_FIND
help
Enable searching based on file type (file,
directory, socket, device, etc.).
config BUSYBOX_CONFIG_FEATURE_FIND_EXECUTABLE
bool "Enable -executable: file is executable"
default BUSYBOX_DEFAULT_FEATURE_FIND_EXECUTABLE
depends on BUSYBOX_CONFIG_FIND
config BUSYBOX_CONFIG_FEATURE_FIND_XDEV
bool "Enable -xdev: 'stay in filesystem'"
default BUSYBOX_DEFAULT_FEATURE_FIND_XDEV
depends on BUSYBOX_CONFIG_FIND
config BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH
bool "Enable -mindepth N and -maxdepth N"
default BUSYBOX_DEFAULT_FEATURE_FIND_MAXDEPTH
depends on BUSYBOX_CONFIG_FIND
config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
bool "Enable -newer: compare file modification times"
default BUSYBOX_DEFAULT_FEATURE_FIND_NEWER
depends on BUSYBOX_CONFIG_FIND
help
Support the 'find -newer' option for finding any files which have
modification time that is more recent than the specified FILE.
config BUSYBOX_CONFIG_FEATURE_FIND_INUM
bool "Enable -inum: inode number matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_INUM
depends on BUSYBOX_CONFIG_FIND
config BUSYBOX_CONFIG_FEATURE_FIND_SAMEFILE
bool "Enable -samefile: reference file matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_SAMEFILE
depends on BUSYBOX_CONFIG_FIND
help
Support the 'find -samefile' option for searching by a reference file.
config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
bool "Enable -exec: execute commands"
default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC
depends on BUSYBOX_CONFIG_FIND
help
Support the 'find -exec' option for executing commands based upon
the files matched.
config BUSYBOX_CONFIG_FEATURE_FIND_EXEC_PLUS
bool "Enable -exec ... {} +"
default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC_PLUS
depends on BUSYBOX_CONFIG_FEATURE_FIND_EXEC
help
Support the 'find -exec ... {} +' option for executing commands
for all matched files at once.
Without this option, -exec + is a synonym for -exec ;
(IOW: it works correctly, but without expected speedup)
config BUSYBOX_CONFIG_FEATURE_FIND_USER
bool "Enable -user: username/uid matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_USER
depends on BUSYBOX_CONFIG_FIND
config BUSYBOX_CONFIG_FEATURE_FIND_GROUP
bool "Enable -group: group/gid matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_GROUP
depends on BUSYBOX_CONFIG_FIND
config BUSYBOX_CONFIG_FEATURE_FIND_NOT
bool "Enable the 'not' (!) operator"
default BUSYBOX_DEFAULT_FEATURE_FIND_NOT
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 -depth"
default BUSYBOX_DEFAULT_FEATURE_FIND_DEPTH
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 BUSYBOX_DEFAULT_FEATURE_FIND_PAREN
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: file size matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_SIZE
depends on BUSYBOX_CONFIG_FIND
config BUSYBOX_CONFIG_FEATURE_FIND_PRUNE
bool "Enable -prune: exclude subdirectories"
default BUSYBOX_DEFAULT_FEATURE_FIND_PRUNE
depends on BUSYBOX_CONFIG_FIND
help
If the file is a directory, don't descend into it. Useful for
exclusion .svn and CVS directories.
config BUSYBOX_CONFIG_FEATURE_FIND_QUIT
bool "Enable -quit: exit"
default BUSYBOX_DEFAULT_FEATURE_FIND_QUIT
depends on BUSYBOX_CONFIG_FIND
help
If this action is reached, 'find' exits.
config BUSYBOX_CONFIG_FEATURE_FIND_DELETE
bool "Enable -delete: delete files/dirs"
default BUSYBOX_DEFAULT_FEATURE_FIND_DELETE
depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
help
Support the 'find -delete' option for deleting files and directories.
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_EMPTY
bool "Enable -empty: match empty files or directories"
default BUSYBOX_DEFAULT_FEATURE_FIND_EMPTY
depends on BUSYBOX_CONFIG_FIND
help
Support the 'find -empty' option to find empty regular files
or directories.
config BUSYBOX_CONFIG_FEATURE_FIND_PATH
bool "Enable -path: match pathname with shell pattern"
default BUSYBOX_DEFAULT_FEATURE_FIND_PATH
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 with regex"
default BUSYBOX_DEFAULT_FEATURE_FIND_REGEX
depends on BUSYBOX_CONFIG_FIND
help
The -regex option matches whole pathname against regular expression.
config BUSYBOX_CONFIG_FEATURE_FIND_CONTEXT
bool "Enable -context: security context matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_CONTEXT
depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_SELINUX
help
Support the 'find -context' option for matching security context.
config BUSYBOX_CONFIG_FEATURE_FIND_LINKS
bool "Enable -links: link count matching"
default BUSYBOX_DEFAULT_FEATURE_FIND_LINKS
depends on BUSYBOX_CONFIG_FIND
help
Support the 'find -links' option for matching number of links.
config BUSYBOX_CONFIG_GREP
bool "grep (8.6 kb)"
default BUSYBOX_DEFAULT_GREP
help
grep is used to search files for a specified pattern.
config BUSYBOX_CONFIG_EGREP
bool "egrep (7.8 kb)"
default BUSYBOX_DEFAULT_EGREP
help
Alias to "grep -E".
config BUSYBOX_CONFIG_FGREP
bool "fgrep (7.8 kb)"
default BUSYBOX_DEFAULT_FGREP
help
Alias to "grep -F".
config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
bool "Enable before and after context flags (-A, -B and -C)"
default BUSYBOX_DEFAULT_FEATURE_GREP_CONTEXT
depends on BUSYBOX_CONFIG_GREP || BUSYBOX_CONFIG_EGREP || BUSYBOX_CONFIG_FGREP
help
Print the specified number of leading (-B) and/or trailing (-A)
context surrounding our matching lines.
Print the specified number of context lines (-C).
config BUSYBOX_CONFIG_XARGS
bool "xargs (7.2 kb)"
default BUSYBOX_DEFAULT_XARGS
help
xargs is used to execute a specified command for
every item from standard input.
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
bool "Enable -p: prompt and confirmation"
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_CONFIRMATION
depends on BUSYBOX_CONFIG_XARGS
help
Support -p: prompt the user whether to run each command
line and read a line from the terminal.
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
bool "Enable single and double quotes and backslash"
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_QUOTES
depends on BUSYBOX_CONFIG_XARGS
help
Support quoting in the input.
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
bool "Enable -x: exit if -s or -n is exceeded"
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_TERMOPT
depends on BUSYBOX_CONFIG_XARGS
help
Support -x: exit if the command size (see the -s or -n option)
is exceeded.
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
bool "Enable -0: NUL-terminated input"
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ZERO_TERM
depends on BUSYBOX_CONFIG_XARGS
help
Support -0: input items are terminated by a NUL character
instead of whitespace, and the quotes and backslash
are not special.
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR
bool "Enable -I STR: string to replace"
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_REPL_STR
depends on BUSYBOX_CONFIG_XARGS
help
Support -I STR and -i[STR] options.
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL
bool "Enable -P N: processes to run in parallel"
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_PARALLEL
depends on BUSYBOX_CONFIG_XARGS
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE
bool "Enable -a FILE: use FILE instead of stdin"
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ARGS_FILE
depends on BUSYBOX_CONFIG_XARGS
endmenu