ea167a46af97b9f27d8c5e48d893cad9aa4bf203
[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 config BUSYBOX_CONFIG_DPKG
208 bool "dpkg (43 kb)"
209 default BUSYBOX_DEFAULT_DPKG
210 select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
211 help
212 dpkg is a medium-level tool to install, build, remove and manage
213 Debian packages.
214
215 This implementation of dpkg has a number of limitations,
216 you should use the official dpkg if possible.
217 config BUSYBOX_CONFIG_DPKG_DEB
218 bool "dpkg-deb (30 kb)"
219 default BUSYBOX_DEFAULT_DPKG_DEB
220 select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
221 help
222 dpkg-deb unpacks and provides information about Debian archives.
223
224 This implementation of dpkg-deb cannot pack archives.
225
226 Unless you have a specific application which requires dpkg-deb,
227 say N here.
228 config BUSYBOX_CONFIG_GZIP
229 bool "gzip (17 kb)"
230 default BUSYBOX_DEFAULT_GZIP
231 help
232 gzip is used to compress files.
233 It's probably the most widely used UNIX compression program.
234
235 config BUSYBOX_CONFIG_FEATURE_GZIP_LONG_OPTIONS
236 bool "Enable long options"
237 default BUSYBOX_DEFAULT_FEATURE_GZIP_LONG_OPTIONS
238 depends on BUSYBOX_CONFIG_GZIP && BUSYBOX_CONFIG_LONG_OPTS
239
240 config BUSYBOX_CONFIG_GZIP_FAST
241 int "Trade memory for speed (0:small,slow - 2:fast,big)"
242 default BUSYBOX_DEFAULT_GZIP_FAST
243 range 0 2
244 depends on BUSYBOX_CONFIG_GZIP
245 help
246 Enable big memory options for gzip.
247 0: small buffers, small hash-tables
248 1: larger buffers, larger hash-tables
249 2: larger buffers, largest hash-tables
250 Larger models may give slightly better compression
251
252 config BUSYBOX_CONFIG_FEATURE_GZIP_LEVELS
253 bool "Enable compression levels"
254 default BUSYBOX_DEFAULT_FEATURE_GZIP_LEVELS
255 depends on BUSYBOX_CONFIG_GZIP
256 help
257 Enable support for compression levels 4-9. The default level
258 is 6. If levels 1-3 are specified, 4 is used.
259 If this option is not selected, -N options are ignored and -6
260 is used.
261
262 config BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
263 bool "Enable decompression"
264 default BUSYBOX_DEFAULT_FEATURE_GZIP_DECOMPRESS
265 depends on BUSYBOX_CONFIG_GZIP || BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT
266 help
267 Enable -d (--decompress) and -t (--test) options for gzip.
268 This will be automatically selected if gunzip or zcat is
269 enabled.
270 config BUSYBOX_CONFIG_LZOP
271 bool "lzop (12 kb)"
272 default BUSYBOX_DEFAULT_LZOP
273 help
274 Lzop compression/decompresion.
275
276 config BUSYBOX_CONFIG_UNLZOP
277 bool "unlzop (13 kb)"
278 default BUSYBOX_DEFAULT_UNLZOP # INCOMPAT: upstream lzop does not provide such tool
279 help
280 Lzop decompresion.
281
282 config BUSYBOX_CONFIG_LZOPCAT
283 bool "lzopcat (13 kb)"
284 default BUSYBOX_DEFAULT_LZOPCAT # INCOMPAT: upstream lzop does not provide such tool
285 help
286 Alias to "lzop -dc".
287
288 config BUSYBOX_CONFIG_LZOP_COMPR_HIGH
289 bool "lzop compression levels 7,8,9 (not very useful)"
290 default BUSYBOX_DEFAULT_LZOP_COMPR_HIGH
291 depends on BUSYBOX_CONFIG_LZOP || BUSYBOX_CONFIG_UNLZOP || BUSYBOX_CONFIG_LZOPCAT
292 help
293 High levels (7,8,9) of lzop compression. These levels
294 are actually slower than gzip at equivalent compression ratios
295 and take up 3.2K of code.
296 config BUSYBOX_CONFIG_RPM
297 bool "rpm (32 kb)"
298 default BUSYBOX_DEFAULT_RPM
299 help
300 Mini RPM applet - queries and extracts RPM packages.
301 config BUSYBOX_CONFIG_RPM2CPIO
302 bool "rpm2cpio (21 kb)"
303 default BUSYBOX_DEFAULT_RPM2CPIO
304 help
305 Converts a RPM file into a CPIO archive.
306 config BUSYBOX_CONFIG_TAR
307 bool "tar (39 kb)"
308 default BUSYBOX_DEFAULT_TAR
309 help
310 tar is an archiving program. It's commonly used with gzip to
311 create compressed archives. It's probably the most widely used
312 UNIX archive program.
313
314 config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
315 bool "Enable long options"
316 default BUSYBOX_DEFAULT_FEATURE_TAR_LONG_OPTIONS
317 depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_LONG_OPTS
318
319 config BUSYBOX_CONFIG_FEATURE_TAR_CREATE
320 bool "Enable -c (archive creation)"
321 default BUSYBOX_DEFAULT_FEATURE_TAR_CREATE
322 depends on BUSYBOX_CONFIG_TAR
323
324 config BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT
325 bool "Autodetect compressed tarballs"
326 default BUSYBOX_DEFAULT_FEATURE_TAR_AUTODETECT
327 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)
328 help
329 With this option tar can automatically detect compressed
330 tarballs. Currently it works only on files (not pipes etc).
331
332 config BUSYBOX_CONFIG_FEATURE_TAR_FROM
333 bool "Enable -X (exclude from) and -T (include from) options"
334 default BUSYBOX_DEFAULT_FEATURE_TAR_FROM
335 depends on BUSYBOX_CONFIG_TAR
336 help
337 If you enable this option you'll be able to specify
338 a list of files to include or exclude from an archive.
339
340 config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
341 bool "Support old tar header format"
342 default BUSYBOX_DEFAULT_FEATURE_TAR_OLDGNU_COMPATIBILITY
343 depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
344 help
345 This option is required to unpack archives created in
346 the old GNU format; help to kill this old format by
347 repacking your ancient archives with the new format.
348
349 config BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY
350 bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
351 default BUSYBOX_DEFAULT_FEATURE_TAR_OLDSUN_COMPATIBILITY
352 depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
353 help
354 This option is required to unpack archives created by some old
355 version of Sun's tar (it was calculating checksum using signed
356 arithmetic). It is said to be fixed in newer Sun tar, but "old"
357 tarballs still exist.
358
359 config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS
360 bool "Support GNU tar extensions (long filenames)"
361 default BUSYBOX_DEFAULT_FEATURE_TAR_GNU_EXTENSIONS
362 depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
363
364 config BUSYBOX_CONFIG_FEATURE_TAR_TO_COMMAND
365 bool "Support writing to an external program (--to-command)"
366 default BUSYBOX_DEFAULT_FEATURE_TAR_TO_COMMAND
367 depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
368 help
369 If you enable this option you'll be able to instruct tar to send
370 the contents of each extracted file to the standard input of an
371 external program.
372
373 config BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME
374 bool "Enable use of user and group names"
375 default BUSYBOX_DEFAULT_FEATURE_TAR_UNAME_GNAME
376 depends on BUSYBOX_CONFIG_TAR
377 help
378 Enable use of user and group names in tar. This affects contents
379 listings (-t) and preserving permissions when unpacking (-p).
380 +200 bytes.
381
382 config BUSYBOX_CONFIG_FEATURE_TAR_NOPRESERVE_TIME
383 bool "Enable -m (do not preserve time) GNU option"
384 default BUSYBOX_DEFAULT_FEATURE_TAR_NOPRESERVE_TIME
385 depends on BUSYBOX_CONFIG_TAR
386
387 config BUSYBOX_CONFIG_FEATURE_TAR_SELINUX
388 bool "Support extracting SELinux labels"
389 default BUSYBOX_DEFAULT_FEATURE_TAR_SELINUX
390 depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_SELINUX
391 help
392 With this option busybox supports restoring SELinux labels
393 when extracting files from tar archives.
394 config BUSYBOX_CONFIG_UNZIP
395 bool "unzip (26 kb)"
396 default BUSYBOX_DEFAULT_UNZIP
397 help
398 unzip will list or extract files from a ZIP archive,
399 commonly found on DOS/WIN systems. The default behavior
400 (with no options) is to extract the archive into the
401 current directory.
402
403 config BUSYBOX_CONFIG_FEATURE_UNZIP_CDF
404 bool "Read and use Central Directory data"
405 default BUSYBOX_DEFAULT_FEATURE_UNZIP_CDF
406 depends on BUSYBOX_CONFIG_UNZIP
407 help
408 If you know that you only need to deal with simple
409 ZIP files without deleted/updated files, SFX archives etc,
410 you can reduce code size by unselecting this option.
411 To support less trivial ZIPs, say Y.
412
413 config BUSYBOX_CONFIG_FEATURE_UNZIP_BZIP2
414 bool "Support compression method 12 (bzip2)"
415 default BUSYBOX_DEFAULT_FEATURE_UNZIP_BZIP2
416 depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
417
418 config BUSYBOX_CONFIG_FEATURE_UNZIP_LZMA
419 bool "Support compression method 14 (lzma)"
420 default BUSYBOX_DEFAULT_FEATURE_UNZIP_LZMA
421 depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
422
423 config BUSYBOX_CONFIG_FEATURE_UNZIP_XZ
424 bool "Support compression method 95 (xz)"
425 default BUSYBOX_DEFAULT_FEATURE_UNZIP_XZ
426 depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
427
428 config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
429 bool "Optimize lzma for speed"
430 default BUSYBOX_DEFAULT_FEATURE_LZMA_FAST
431 depends on BUSYBOX_CONFIG_UNLZMA || BUSYBOX_CONFIG_LZCAT || BUSYBOX_CONFIG_LZMA || BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA
432 help
433 This option reduces decompression time by about 25% at the cost of
434 a 1K bigger binary.
435
436 endmenu