busybox: update to 1.35.0
[openwrt/staging/nbd.git] / package / utils / busybox / config / archival / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see docs/Kconfig-language.txt.
5 #
6
7 menu "Archival Utilities"
8
9 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ
10 bool "Make tar, rpm, modprobe etc understand .xz data"
11 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_XZ
12
13 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA
14 bool "Make tar, rpm, modprobe etc understand .lzma data"
15 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_LZMA
16
17 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2
18 bool "Make tar, rpm, modprobe etc understand .bz2 data"
19 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_BZ2
20
21 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
22 bool "Make tar, rpm, modprobe etc understand .gz data"
23 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_GZ
24
25 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z
26 bool "Make tar, rpm, modprobe etc understand .Z data"
27 default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_Z # it is ancient
28
29 config BUSYBOX_CONFIG_AR
30 bool "ar (9.5 kb)"
31 default BUSYBOX_DEFAULT_AR # needs to be improved to be able to replace binutils ar
32 help
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.
36
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.
39
40 config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES
41 bool "Support long filenames (not needed for debs)"
42 default BUSYBOX_DEFAULT_FEATURE_AR_LONG_FILENAMES
43 depends on BUSYBOX_CONFIG_AR
44 help
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.
49
50 config BUSYBOX_CONFIG_FEATURE_AR_CREATE
51 bool "Support archive creation"
52 default BUSYBOX_DEFAULT_FEATURE_AR_CREATE
53 depends on BUSYBOX_CONFIG_AR
54 help
55 This enables archive creation (-c and -r) with busybox ar.
56 config BUSYBOX_CONFIG_UNCOMPRESS
57 bool "uncompress (7.1 kb)"
58 default BUSYBOX_DEFAULT_UNCOMPRESS # ancient
59 help
60 uncompress is used to decompress archives created by compress.
61 Not much used anymore, replaced by gzip/gunzip.
62 config BUSYBOX_CONFIG_GUNZIP
63 bool "gunzip (11 kb)"
64 default BUSYBOX_DEFAULT_GUNZIP
65 select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
66 help
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.
70
71 config BUSYBOX_CONFIG_ZCAT
72 bool "zcat (24 kb)"
73 default BUSYBOX_DEFAULT_ZCAT
74 select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
75 help
76 Alias to "gunzip -c".
77
78 config BUSYBOX_CONFIG_FEATURE_GUNZIP_LONG_OPTIONS
79 bool "Enable long options"
80 default BUSYBOX_DEFAULT_FEATURE_GUNZIP_LONG_OPTIONS
81 depends on (BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT) && BUSYBOX_CONFIG_LONG_OPTS
82 config BUSYBOX_CONFIG_BUNZIP2
83 bool "bunzip2 (8.7 kb)"
84 default BUSYBOX_DEFAULT_BUNZIP2
85 select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
86 help
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.
92
93 Unless you have a specific application which requires bunzip2, you
94 should probably say N here.
95
96 config BUSYBOX_CONFIG_BZCAT
97 bool "bzcat (8.7 kb)"
98 default BUSYBOX_DEFAULT_BZCAT
99 select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
100 help
101 Alias to "bunzip2 -c".
102 config BUSYBOX_CONFIG_UNLZMA
103 bool "unlzma (7.5 kb)"
104 default BUSYBOX_DEFAULT_UNLZMA
105 help
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
109 compressors.
110
111 config BUSYBOX_CONFIG_LZCAT
112 bool "lzcat (7.5 kb)"
113 default BUSYBOX_DEFAULT_LZCAT
114 help
115 Alias to "unlzma -c".
116
117 config BUSYBOX_CONFIG_LZMA
118 bool "lzma -d"
119 default BUSYBOX_DEFAULT_LZMA
120 help
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.
123 config BUSYBOX_CONFIG_UNXZ
124 bool "unxz (13 kb)"
125 default BUSYBOX_DEFAULT_UNXZ
126 help
127 unxz is a unlzma successor.
128
129 config BUSYBOX_CONFIG_XZCAT
130 bool "xzcat (13 kb)"
131 default BUSYBOX_DEFAULT_XZCAT
132 help
133 Alias to "unxz -c".
134
135 config BUSYBOX_CONFIG_XZ
136 bool "xz -d"
137 default BUSYBOX_DEFAULT_XZ
138 help
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.
141 config BUSYBOX_CONFIG_BZIP2
142 bool "bzip2 (16 kb)"
143 default BUSYBOX_DEFAULT_BZIP2
144 help
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.
150
151 Unless you have a specific application which requires bzip2, you
152 should probably say N here.
153
154 config BUSYBOX_CONFIG_BZIP2_SMALL
155 int "Trade bytes for speed (0:fast, 9:small)"
156 default BUSYBOX_DEFAULT_BZIP2_SMALL # all "fast or small" options default to small
157 range 0 9
158 depends on BUSYBOX_CONFIG_BZIP2
159 help
160 Trade code size versus speed.
161 Approximate values with gcc-6.3.0 "bzip -9" compressing
162 linux-4.15.tar were:
163 value time (sec) code size (386)
164 9 (smallest) 70.11 7687
165 8 67.93 8091
166 7 67.88 8405
167 6 67.78 8624
168 5 67.05 9427
169 4-0 (fastest) 64.14 12083
170
171 config BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
172 bool "Enable decompression"
173 default BUSYBOX_DEFAULT_FEATURE_BZIP2_DECOMPRESS
174 depends on BUSYBOX_CONFIG_BZIP2 || BUSYBOX_CONFIG_BUNZIP2 || BUSYBOX_CONFIG_BZCAT
175 help
176 Enable -d (--decompress) and -t (--test) options for bzip2.
177 This will be automatically selected if bunzip2 or bzcat is
178 enabled.
179 config BUSYBOX_CONFIG_CPIO
180 bool "cpio (15 kb)"
181 default BUSYBOX_DEFAULT_CPIO
182 help
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.
186
187 This implementation of cpio can extract cpio archives created in the
188 "newc" or "crc" format.
189
190 Unless you have a specific application which requires cpio, you
191 should probably say N here.
192
193 config BUSYBOX_CONFIG_FEATURE_CPIO_O
194 bool "Support archive creation"
195 default BUSYBOX_DEFAULT_FEATURE_CPIO_O
196 depends on BUSYBOX_CONFIG_CPIO
197 help
198 This implementation of cpio can create cpio archives in the "newc"
199 format only.
200
201 config BUSYBOX_CONFIG_FEATURE_CPIO_P
202 bool "Support passthrough mode"
203 default BUSYBOX_DEFAULT_FEATURE_CPIO_P
204 depends on BUSYBOX_CONFIG_FEATURE_CPIO_O
205 help
206 Passthrough mode. Rarely used.
207
208 config BUSYBOX_CONFIG_FEATURE_CPIO_IGNORE_DEVNO
209 bool "Support --ignore-devno like GNU cpio"
210 default BUSYBOX_DEFAULT_FEATURE_CPIO_IGNORE_DEVNO
211 depends on BUSYBOX_CONFIG_FEATURE_CPIO_O && BUSYBOX_CONFIG_LONG_OPTS
212 help
213 Optionally ignore device numbers when creating archives.
214
215 config BUSYBOX_CONFIG_FEATURE_CPIO_RENUMBER_INODES
216 bool "Support --renumber-inodes like GNU cpio"
217 default BUSYBOX_DEFAULT_FEATURE_CPIO_RENUMBER_INODES
218 depends on BUSYBOX_CONFIG_FEATURE_CPIO_O && BUSYBOX_CONFIG_LONG_OPTS
219 help
220 Optionally renumber inodes when creating archives.
221 config BUSYBOX_CONFIG_DPKG
222 bool "dpkg (43 kb)"
223 default BUSYBOX_DEFAULT_DPKG
224 select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
225 help
226 dpkg is a medium-level tool to install, build, remove and manage
227 Debian packages.
228
229 This implementation of dpkg has a number of limitations,
230 you should use the official dpkg if possible.
231 config BUSYBOX_CONFIG_DPKG_DEB
232 bool "dpkg-deb (30 kb)"
233 default BUSYBOX_DEFAULT_DPKG_DEB
234 select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
235 help
236 dpkg-deb unpacks and provides information about Debian archives.
237
238 This implementation of dpkg-deb cannot pack archives.
239
240 Unless you have a specific application which requires dpkg-deb,
241 say N here.
242 config BUSYBOX_CONFIG_GZIP
243 bool "gzip (17 kb)"
244 default BUSYBOX_DEFAULT_GZIP
245 help
246 gzip is used to compress files.
247 It's probably the most widely used UNIX compression program.
248
249 config BUSYBOX_CONFIG_FEATURE_GZIP_LONG_OPTIONS
250 bool "Enable long options"
251 default BUSYBOX_DEFAULT_FEATURE_GZIP_LONG_OPTIONS
252 depends on BUSYBOX_CONFIG_GZIP && BUSYBOX_CONFIG_LONG_OPTS
253
254 config BUSYBOX_CONFIG_GZIP_FAST
255 int "Trade memory for speed (0:small,slow - 2:fast,big)"
256 default BUSYBOX_DEFAULT_GZIP_FAST
257 range 0 2
258 depends on BUSYBOX_CONFIG_GZIP
259 help
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
265
266 config BUSYBOX_CONFIG_FEATURE_GZIP_LEVELS
267 bool "Enable compression levels"
268 default BUSYBOX_DEFAULT_FEATURE_GZIP_LEVELS
269 depends on BUSYBOX_CONFIG_GZIP
270 help
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
274 is used.
275
276 config BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
277 bool "Enable decompression"
278 default BUSYBOX_DEFAULT_FEATURE_GZIP_DECOMPRESS
279 depends on BUSYBOX_CONFIG_GZIP || BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT
280 help
281 Enable -d (--decompress) and -t (--test) options for gzip.
282 This will be automatically selected if gunzip or zcat is
283 enabled.
284 config BUSYBOX_CONFIG_LZOP
285 bool "lzop (12 kb)"
286 default BUSYBOX_DEFAULT_LZOP
287 help
288 Lzop compression/decompresion.
289
290 config BUSYBOX_CONFIG_UNLZOP
291 bool "unlzop (13 kb)"
292 default BUSYBOX_DEFAULT_UNLZOP # INCOMPAT: upstream lzop does not provide such tool
293 help
294 Lzop decompresion.
295
296 config BUSYBOX_CONFIG_LZOPCAT
297 bool "lzopcat (13 kb)"
298 default BUSYBOX_DEFAULT_LZOPCAT # INCOMPAT: upstream lzop does not provide such tool
299 help
300 Alias to "lzop -dc".
301
302 config BUSYBOX_CONFIG_LZOP_COMPR_HIGH
303 bool "lzop compression levels 7,8,9 (not very useful)"
304 default BUSYBOX_DEFAULT_LZOP_COMPR_HIGH
305 depends on BUSYBOX_CONFIG_LZOP || BUSYBOX_CONFIG_UNLZOP || BUSYBOX_CONFIG_LZOPCAT
306 help
307 High levels (7,8,9) of lzop compression. These levels
308 are actually slower than gzip at equivalent compression ratios
309 and take up 3.2K of code.
310 config BUSYBOX_CONFIG_RPM
311 bool "rpm (32 kb)"
312 default BUSYBOX_DEFAULT_RPM
313 help
314 Mini RPM applet - queries and extracts RPM packages.
315 config BUSYBOX_CONFIG_RPM2CPIO
316 bool "rpm2cpio (21 kb)"
317 default BUSYBOX_DEFAULT_RPM2CPIO
318 help
319 Converts a RPM file into a CPIO archive.
320 config BUSYBOX_CONFIG_TAR
321 bool "tar (39 kb)"
322 default BUSYBOX_DEFAULT_TAR
323 help
324 tar is an archiving program. It's commonly used with gzip to
325 create compressed archives. It's probably the most widely used
326 UNIX archive program.
327
328 config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
329 bool "Enable long options"
330 default BUSYBOX_DEFAULT_FEATURE_TAR_LONG_OPTIONS
331 depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_LONG_OPTS
332
333 config BUSYBOX_CONFIG_FEATURE_TAR_CREATE
334 bool "Enable -c (archive creation)"
335 default BUSYBOX_DEFAULT_FEATURE_TAR_CREATE
336 depends on BUSYBOX_CONFIG_TAR
337
338 config BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT
339 bool "Autodetect compressed tarballs"
340 default BUSYBOX_DEFAULT_FEATURE_TAR_AUTODETECT
341 depends on BUSYBOX_CONFIG_TAR && (BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z || BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ || BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2 || BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA || BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ)
342 help
343 With this option tar can automatically detect compressed
344 tarballs. Currently it works only on files (not pipes etc).
345
346 config BUSYBOX_CONFIG_FEATURE_TAR_FROM
347 bool "Enable -X (exclude from) and -T (include from) options"
348 default BUSYBOX_DEFAULT_FEATURE_TAR_FROM
349 depends on BUSYBOX_CONFIG_TAR
350 help
351 If you enable this option you'll be able to specify
352 a list of files to include or exclude from an archive.
353
354 config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
355 bool "Support old tar header format"
356 default BUSYBOX_DEFAULT_FEATURE_TAR_OLDGNU_COMPATIBILITY
357 depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
358 help
359 This option is required to unpack archives created in
360 the old GNU format; help to kill this old format by
361 repacking your ancient archives with the new format.
362
363 config BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY
364 bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
365 default BUSYBOX_DEFAULT_FEATURE_TAR_OLDSUN_COMPATIBILITY
366 depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
367 help
368 This option is required to unpack archives created by some old
369 version of Sun's tar (it was calculating checksum using signed
370 arithmetic). It is said to be fixed in newer Sun tar, but "old"
371 tarballs still exist.
372
373 config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS
374 bool "Support GNU tar extensions (long filenames)"
375 default BUSYBOX_DEFAULT_FEATURE_TAR_GNU_EXTENSIONS
376 depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
377
378 config BUSYBOX_CONFIG_FEATURE_TAR_TO_COMMAND
379 bool "Support writing to an external program (--to-command)"
380 default BUSYBOX_DEFAULT_FEATURE_TAR_TO_COMMAND
381 depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
382 help
383 If you enable this option you'll be able to instruct tar to send
384 the contents of each extracted file to the standard input of an
385 external program.
386
387 config BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME
388 bool "Enable use of user and group names"
389 default BUSYBOX_DEFAULT_FEATURE_TAR_UNAME_GNAME
390 depends on BUSYBOX_CONFIG_TAR
391 help
392 Enable use of user and group names in tar. This affects contents
393 listings (-t) and preserving permissions when unpacking (-p).
394 +200 bytes.
395
396 config BUSYBOX_CONFIG_FEATURE_TAR_NOPRESERVE_TIME
397 bool "Enable -m (do not preserve time) GNU option"
398 default BUSYBOX_DEFAULT_FEATURE_TAR_NOPRESERVE_TIME
399 depends on BUSYBOX_CONFIG_TAR
400
401 config BUSYBOX_CONFIG_FEATURE_TAR_SELINUX
402 bool "Support extracting SELinux labels"
403 default BUSYBOX_DEFAULT_FEATURE_TAR_SELINUX
404 depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_SELINUX
405 help
406 With this option busybox supports restoring SELinux labels
407 when extracting files from tar archives.
408 config BUSYBOX_CONFIG_UNZIP
409 bool "unzip (26 kb)"
410 default BUSYBOX_DEFAULT_UNZIP
411 help
412 unzip will list or extract files from a ZIP archive,
413 commonly found on DOS/WIN systems. The default behavior
414 (with no options) is to extract the archive into the
415 current directory.
416
417 config BUSYBOX_CONFIG_FEATURE_UNZIP_CDF
418 bool "Read and use Central Directory data"
419 default BUSYBOX_DEFAULT_FEATURE_UNZIP_CDF
420 depends on BUSYBOX_CONFIG_UNZIP
421 help
422 If you know that you only need to deal with simple
423 ZIP files without deleted/updated files, SFX archives etc,
424 you can reduce code size by unselecting this option.
425 To support less trivial ZIPs, say Y.
426
427 config BUSYBOX_CONFIG_FEATURE_UNZIP_BZIP2
428 bool "Support compression method 12 (bzip2)"
429 default BUSYBOX_DEFAULT_FEATURE_UNZIP_BZIP2
430 depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
431
432 config BUSYBOX_CONFIG_FEATURE_UNZIP_LZMA
433 bool "Support compression method 14 (lzma)"
434 default BUSYBOX_DEFAULT_FEATURE_UNZIP_LZMA
435 depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
436
437 config BUSYBOX_CONFIG_FEATURE_UNZIP_XZ
438 bool "Support compression method 95 (xz)"
439 default BUSYBOX_DEFAULT_FEATURE_UNZIP_XZ
440 depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
441
442 config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
443 bool "Optimize lzma for speed"
444 default BUSYBOX_DEFAULT_FEATURE_LZMA_FAST
445 depends on BUSYBOX_CONFIG_UNLZMA || BUSYBOX_CONFIG_LZCAT || BUSYBOX_CONFIG_LZMA || BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA
446 help
447 This option reduces decompression time by about 25% at the cost of
448 a 1K bigger binary.
449
450 endmenu