aboutsummaryrefslogtreecommitdiff
path: root/archival/Config.src
blob: cbcd7217ceaae8bb76fd8653c300931f67ef2d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# For a description of the syntax of this configuration file,
# see docs/Kconfig-language.txt.
#

menu "Archival Utilities"

config FEATURE_SEAMLESS_XZ
	bool "Make tar, rpm, modprobe etc understand .xz data"
	default y

config FEATURE_SEAMLESS_LZMA
	bool "Make tar, rpm, modprobe etc understand .lzma data"
	default y

config FEATURE_SEAMLESS_BZ2
	bool "Make tar, rpm, modprobe etc understand .bz2 data"
	default y

config FEATURE_SEAMLESS_GZ
	bool "Make tar, rpm, modprobe etc understand .gz data"
	default y

config FEATURE_SEAMLESS_Z
	bool "Make tar, rpm, modprobe etc understand .Z data"
	default n  # it is ancient

INSERT

config FEATURE_LZMA_FAST
	bool "Optimize lzma for speed"
	default n
	depends on UNLZMA || LZCAT || LZMA || FEATURE_SEAMLESS_LZMA
	help
	This option reduces decompression time by about 25% at the cost of
	a 1K bigger binary.

config FEATURE_PATH_TRAVERSAL_PROTECTION
	bool "Prevent extraction of filenames with /../ path component"
	default n
	help
	busybox tar and unzip remove "PREFIX/../" (if it exists)
	from extracted names.
	This option enables this behavior for all other unpacking applets,
	such as cpio, ar, rpm.
	GNU cpio 2.15 has NO such sanity check.
# try other archivers and document their behavior?

endmenu