1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see docs/Kconfig-language.txt.
7 menu "Archival Utilities"
9 config BUSYBOX_FEATURE_SEAMLESS_XZ
10 bool "Make tar, rpm, modprobe etc understand .xz data"
13 config BUSYBOX_FEATURE_SEAMLESS_LZMA
14 bool "Make tar, rpm, modprobe etc understand .lzma data"
17 config BUSYBOX_FEATURE_SEAMLESS_BZ2
18 bool "Make tar, rpm, modprobe etc understand .bz2 data"
21 config BUSYBOX_FEATURE_SEAMLESS_GZ
22 bool "Make tar, rpm, modprobe etc understand .gz data"
25 config BUSYBOX_FEATURE_SEAMLESS_Z
26 bool "Make tar, rpm, modprobe etc understand .Z data"
27 default n # it is ancient
31 default n # needs to be improved to be able to replace binutils ar
33 ar is an archival utility program used to create, modify, and
34 extract contents from archives. In practice, it is used exclusively
35 for object module archives used by compilers.
37 Unless you have a specific application which requires ar, you should
38 probably say N here: most compilers come with their own ar utility.
40 config BUSYBOX_FEATURE_AR_LONG_FILENAMES
41 bool "Support long filenames (not needed for debs)"
45 By default the ar format can only store the first 15 characters
46 of the filename, this option removes that limitation.
47 It supports the GNU ar long filename method which moves multiple long
48 filenames into a the data section of a new ar entry.
50 config BUSYBOX_FEATURE_AR_CREATE
51 bool "Support archive creation"
55 This enables archive creation (-c and -r) with busybox ar.
56 config BUSYBOX_UNCOMPRESS
57 bool "uncompress (7.1 kb)"
60 uncompress is used to decompress archives created by compress.
61 Not much used anymore, replaced by gzip/gunzip.
65 select BUSYBOX_FEATURE_GZIP_DECOMPRESS
67 gunzip is used to decompress archives created by gzip.
68 You can use the '-t' option to test the integrity of
69 an archive, without decompressing it.
74 select BUSYBOX_FEATURE_GZIP_DECOMPRESS
78 config BUSYBOX_FEATURE_GUNZIP_LONG_OPTIONS
79 bool "Enable long options"
81 depends on (BUSYBOX_GUNZIP || BUSYBOX_ZCAT) && BUSYBOX_LONG_OPTS
82 config BUSYBOX_BUNZIP2
83 bool "bunzip2 (8.7 kb)"
85 select BUSYBOX_FEATURE_BZIP2_DECOMPRESS
87 bunzip2 is a compression utility using the Burrows-Wheeler block
88 sorting text compression algorithm, and Huffman coding. Compression
89 is generally considerably better than that achieved by more
90 conventional LZ77/LZ78-based compressors, and approaches the
91 performance of the PPM family of statistical compressors.
93 Unless you have a specific application which requires bunzip2, you
94 should probably say N here.
99 select BUSYBOX_FEATURE_BZIP2_DECOMPRESS
101 Alias to "bunzip2 -c".
102 config BUSYBOX_UNLZMA
103 bool "unlzma (7.5 kb)"
106 unlzma is a compression utility using the Lempel-Ziv-Markov chain
107 compression algorithm, and range coding. Compression
108 is generally considerably better than that achieved by the bzip2
112 bool "lzcat (7.5 kb)"
115 Alias to "unlzma -c".
121 Enable this option if you want commands like "lzma -d" to work.
122 IOW: you'll get lzma applet, but it will always require -d option.
127 unxz is a unlzma successor.
139 Enable this option if you want commands like "xz -d" to work.
140 IOW: you'll get xz applet, but it will always require -d option.
145 bzip2 is a compression utility using the Burrows-Wheeler block
146 sorting text compression algorithm, and Huffman coding. Compression
147 is generally considerably better than that achieved by more
148 conventional LZ77/LZ78-based compressors, and approaches the
149 performance of the PPM family of statistical compressors.
151 Unless you have a specific application which requires bzip2, you
152 should probably say N here.
154 config BUSYBOX_BZIP2_SMALL
155 int "Trade bytes for speed (0:fast, 9:small)"
156 default 8 # all "fast or small" options default to small
158 depends on BUSYBOX_BZIP2
160 Trade code size versus speed.
161 Approximate values with gcc-6.3.0 "bzip -9" compressing
163 value time (sec) code size (386)
164 9 (smallest) 70.11 7687
169 4-0 (fastest) 64.14 12083
171 config BUSYBOX_FEATURE_BZIP2_DECOMPRESS
172 bool "Enable decompression"
174 depends on BUSYBOX_BZIP2 || BUSYBOX_BUNZIP2 || BUSYBOX_BZCAT
176 Enable -d (--decompress) and -t (--test) options for bzip2.
177 This will be automatically selected if bunzip2 or bzcat is
183 cpio is an archival utility program used to create, modify, and
184 extract contents from archives.
185 cpio has 110 bytes of overheads for every stored file.
187 This implementation of cpio can extract cpio archives created in the
188 "newc" or "crc" format.
190 Unless you have a specific application which requires cpio, you
191 should probably say N here.
193 config BUSYBOX_FEATURE_CPIO_O
194 bool "Support archive creation"
196 depends on BUSYBOX_CPIO
198 This implementation of cpio can create cpio archives in the "newc"
201 config BUSYBOX_FEATURE_CPIO_P
202 bool "Support passthrough mode"
204 depends on BUSYBOX_FEATURE_CPIO_O
206 Passthrough mode. Rarely used.
208 config BUSYBOX_FEATURE_CPIO_IGNORE_DEVNO
209 bool "Support --ignore-devno like GNU cpio"
211 depends on BUSYBOX_FEATURE_CPIO_O && BUSYBOX_LONG_OPTS
213 Optionally ignore device numbers when creating archives.
215 config BUSYBOX_FEATURE_CPIO_RENUMBER_INODES
216 bool "Support --renumber-inodes like GNU cpio"
218 depends on BUSYBOX_FEATURE_CPIO_O && BUSYBOX_LONG_OPTS
220 Optionally renumber inodes when creating archives.
224 select BUSYBOX_FEATURE_SEAMLESS_GZ
226 dpkg is a medium-level tool to install, build, remove and manage
229 This implementation of dpkg has a number of limitations,
230 you should use the official dpkg if possible.
231 config BUSYBOX_DPKG_DEB
232 bool "dpkg-deb (30 kb)"
234 select BUSYBOX_FEATURE_SEAMLESS_GZ
236 dpkg-deb unpacks and provides information about Debian archives.
238 This implementation of dpkg-deb cannot pack archives.
240 Unless you have a specific application which requires dpkg-deb,
246 gzip is used to compress files.
247 It's probably the most widely used UNIX compression program.
249 config BUSYBOX_FEATURE_GZIP_LONG_OPTIONS
250 bool "Enable long options"
252 depends on BUSYBOX_GZIP && BUSYBOX_LONG_OPTS
254 config BUSYBOX_GZIP_FAST
255 int "Trade memory for speed (0:small,slow - 2:fast,big)"
258 depends on BUSYBOX_GZIP
260 Enable big memory options for gzip.
261 0: small buffers, small hash-tables
262 1: larger buffers, larger hash-tables
263 2: larger buffers, largest hash-tables
264 Larger models may give slightly better compression
266 config BUSYBOX_FEATURE_GZIP_LEVELS
267 bool "Enable compression levels"
269 depends on BUSYBOX_GZIP
271 Enable support for compression levels 4-9. The default level
272 is 6. If levels 1-3 are specified, 4 is used.
273 If this option is not selected, -N options are ignored and -6
276 config BUSYBOX_FEATURE_GZIP_DECOMPRESS
277 bool "Enable decompression"
279 depends on BUSYBOX_GZIP || BUSYBOX_GUNZIP || BUSYBOX_ZCAT
281 Enable -d (--decompress) and -t (--test) options for gzip.
282 This will be automatically selected if gunzip or zcat is
288 ipkg is a tool to install, build, remove and manage
295 Lzop compression/decompresion.
297 config BUSYBOX_UNLZOP
298 bool "unlzop (13 kb)"
299 default n # INCOMPAT: upstream lzop does not provide such tool
303 config BUSYBOX_LZOPCAT
304 bool "lzopcat (13 kb)"
305 default n # INCOMPAT: upstream lzop does not provide such tool
309 config BUSYBOX_LZOP_COMPR_HIGH
310 bool "lzop compression levels 7,8,9 (not very useful)"
312 depends on BUSYBOX_LZOP || BUSYBOX_UNLZOP || BUSYBOX_LZOPCAT
314 High levels (7,8,9) of lzop compression. These levels
315 are actually slower than gzip at equivalent compression ratios
316 and take up 3.2K of code.
321 Mini RPM applet - queries and extracts RPM packages.
322 config BUSYBOX_RPM2CPIO
323 bool "rpm2cpio (21 kb)"
326 Converts a RPM file into a CPIO archive.
331 tar is an archiving program. It's commonly used with gzip to
332 create compressed archives. It's probably the most widely used
333 UNIX archive program.
335 config BUSYBOX_FEATURE_TAR_LONG_OPTIONS
336 bool "Enable long options"
338 depends on BUSYBOX_TAR && BUSYBOX_LONG_OPTS
340 config BUSYBOX_FEATURE_TAR_CREATE
341 bool "Enable -c (archive creation)"
343 depends on BUSYBOX_TAR
345 config BUSYBOX_FEATURE_TAR_AUTODETECT
346 bool "Autodetect compressed tarballs"
348 depends on BUSYBOX_TAR && (BUSYBOX_FEATURE_SEAMLESS_Z || BUSYBOX_FEATURE_SEAMLESS_GZ || BUSYBOX_FEATURE_SEAMLESS_BZ2 || BUSYBOX_FEATURE_SEAMLESS_LZMA || BUSYBOX_FEATURE_SEAMLESS_XZ)
350 With this option tar can automatically detect compressed
351 tarballs. Currently it works only on files (not pipes etc).
353 config BUSYBOX_FEATURE_TAR_FROM
354 bool "Enable -X (exclude from) and -T (include from) options"
356 depends on BUSYBOX_TAR
358 If you enable this option you'll be able to specify
359 a list of files to include or exclude from an archive.
361 config BUSYBOX_FEATURE_TAR_OLDGNU_COMPATIBILITY
362 bool "Support old tar header format"
364 depends on BUSYBOX_TAR || BUSYBOX_DPKG
366 This option is required to unpack archives created in
367 the old GNU format; help to kill this old format by
368 repacking your ancient archives with the new format.
370 config BUSYBOX_FEATURE_TAR_OLDSUN_COMPATIBILITY
371 bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
373 depends on BUSYBOX_TAR || BUSYBOX_DPKG
375 This option is required to unpack archives created by some old
376 version of Sun's tar (it was calculating checksum using signed
377 arithmetic). It is said to be fixed in newer Sun tar, but "old"
378 tarballs still exist.
380 config BUSYBOX_FEATURE_TAR_GNU_EXTENSIONS
381 bool "Support GNU tar extensions (long filenames)"
383 depends on BUSYBOX_TAR || BUSYBOX_DPKG
385 config BUSYBOX_FEATURE_TAR_TO_COMMAND
386 bool "Support writing to an external program (--to-command)"
388 depends on BUSYBOX_TAR && BUSYBOX_FEATURE_TAR_LONG_OPTIONS
390 If you enable this option you'll be able to instruct tar to send
391 the contents of each extracted file to the standard input of an
394 config BUSYBOX_FEATURE_TAR_UNAME_GNAME
395 bool "Enable use of user and group names"
397 depends on BUSYBOX_TAR
399 Enable use of user and group names in tar. This affects contents
400 listings (-t) and preserving permissions when unpacking (-p).
403 config BUSYBOX_FEATURE_TAR_NOPRESERVE_TIME
404 bool "Enable -m (do not preserve time) GNU option"
406 depends on BUSYBOX_TAR
408 config BUSYBOX_FEATURE_TAR_SELINUX
409 bool "Support extracting SELinux labels"
411 depends on BUSYBOX_TAR && BUSYBOX_SELINUX
413 With this option busybox supports restoring SELinux labels
414 when extracting files from tar archives.
419 unzip will list or extract files from a ZIP archive,
420 commonly found on DOS/WIN systems. The default behavior
421 (with no options) is to extract the archive into the
424 config BUSYBOX_FEATURE_UNZIP_CDF
425 bool "Read and use Central Directory data"
427 depends on BUSYBOX_UNZIP
429 If you know that you only need to deal with simple
430 ZIP files without deleted/updated files, SFX archives etc,
431 you can reduce code size by unselecting this option.
432 To support less trivial ZIPs, say Y.
434 config BUSYBOX_FEATURE_UNZIP_BZIP2
435 bool "Support compression method 12 (bzip2)"
437 depends on BUSYBOX_FEATURE_UNZIP_CDF && BUSYBOX_DESKTOP
439 config BUSYBOX_FEATURE_UNZIP_LZMA
440 bool "Support compression method 14 (lzma)"
442 depends on BUSYBOX_FEATURE_UNZIP_CDF && BUSYBOX_DESKTOP
444 config BUSYBOX_FEATURE_UNZIP_XZ
445 bool "Support compression method 95 (xz)"
447 depends on BUSYBOX_FEATURE_UNZIP_CDF && BUSYBOX_DESKTOP
449 config BUSYBOX_FEATURE_LZMA_FAST
450 bool "Optimize lzma for speed"
452 depends on BUSYBOX_UNLZMA || BUSYBOX_LZCAT || BUSYBOX_LZMA || BUSYBOX_FEATURE_SEAMLESS_LZMA
454 This option reduces decompression time by about 25% at the cost of