Rebased from upstream / out of band repository.
[librecmc/librecmc.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 scripts/kbuild/config-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"
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           On an x86 system, the ar applet adds about 1K.
38
39           Unless you have a specific application which requires ar, you should
40           probably say N here: most compilers come with their own ar utility.
41
42 config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES
43         bool "Support long filenames (not needed for debs)"
44         default BUSYBOX_DEFAULT_FEATURE_AR_LONG_FILENAMES
45         depends on BUSYBOX_CONFIG_AR
46         help
47           By default the ar format can only store the first 15 characters
48           of the filename, this option removes that limitation.
49           It supports the GNU ar long filename method which moves multiple long
50           filenames into a the data section of a new ar entry.
51
52 config BUSYBOX_CONFIG_FEATURE_AR_CREATE
53         bool "Support archive creation"
54         default BUSYBOX_DEFAULT_FEATURE_AR_CREATE
55         depends on BUSYBOX_CONFIG_AR
56         help
57           This enables archive creation (-c and -r) with busybox ar.
58 config BUSYBOX_CONFIG_UNCOMPRESS
59         bool "uncompress"
60         default BUSYBOX_DEFAULT_UNCOMPRESS  # ancient
61         help
62           uncompress is used to decompress archives created by compress.
63           Not much used anymore, replaced by gzip/gunzip.
64 config BUSYBOX_CONFIG_GUNZIP
65         bool "gunzip"
66         default BUSYBOX_DEFAULT_GUNZIP
67         select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
68         help
69           gunzip is used to decompress archives created by gzip.
70           You can use the `-t' option to test the integrity of
71           an archive, without decompressing it.
72
73 config BUSYBOX_CONFIG_ZCAT
74         bool "zcat"
75         default BUSYBOX_DEFAULT_ZCAT
76         select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
77         help
78           Alias to "gunzip -c".
79
80 config BUSYBOX_CONFIG_FEATURE_GUNZIP_LONG_OPTIONS
81         bool "Enable long options"
82         default BUSYBOX_DEFAULT_FEATURE_GUNZIP_LONG_OPTIONS
83         depends on (BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT) && BUSYBOX_CONFIG_LONG_OPTS
84 config BUSYBOX_CONFIG_BUNZIP2
85         bool "bunzip2"
86         default BUSYBOX_DEFAULT_BUNZIP2
87         select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
88         help
89           bunzip2 is a compression utility using the Burrows-Wheeler block
90           sorting text compression algorithm, and Huffman coding. Compression
91           is generally considerably better than that achieved by more
92           conventional LZ77/LZ78-based compressors, and approaches the
93           performance of the PPM family of statistical compressors.
94
95           Unless you have a specific application which requires bunzip2, you
96           should probably say N here.
97
98 config BUSYBOX_CONFIG_BZCAT
99         bool "bzcat"
100         default BUSYBOX_DEFAULT_BZCAT
101         select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
102         help
103           Alias to "bunzip2 -c".
104 config BUSYBOX_CONFIG_UNLZMA
105         bool "unlzma"
106         default BUSYBOX_DEFAULT_UNLZMA
107         help
108           unlzma is a compression utility using the Lempel-Ziv-Markov chain
109           compression algorithm, and range coding. Compression
110           is generally considerably better than that achieved by the bzip2
111           compressors.
112
113           The BusyBox unlzma applet is limited to decompression only.
114           On an x86 system, this applet adds about 4K.
115
116 config BUSYBOX_CONFIG_LZCAT
117         bool "lzcat"
118         default BUSYBOX_DEFAULT_LZCAT
119         help
120           unlzma is a compression utility using the Lempel-Ziv-Markov chain
121           compression algorithm, and range coding. Compression
122           is generally considerably better than that achieved by the bzip2
123           compressors.
124
125           The BusyBox unlzma applet is limited to decompression only.
126           On an x86 system, this applet adds about 4K.
127
128 config BUSYBOX_CONFIG_LZMA
129         bool "lzma -d"
130         default BUSYBOX_DEFAULT_LZMA
131         help
132           Enable this option if you want commands like "lzma -d" to work.
133           IOW: you'll get lzma applet, but it will always require -d option.
134
135 config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
136         bool "Optimize for speed"
137         default BUSYBOX_DEFAULT_FEATURE_LZMA_FAST
138         depends on BUSYBOX_CONFIG_UNLZMA || BUSYBOX_CONFIG_LZCAT || BUSYBOX_CONFIG_LZMA
139         help
140           This option reduces decompression time by about 25% at the cost of
141           a 1K bigger binary.
142 config BUSYBOX_CONFIG_UNXZ
143         bool "unxz"
144         default BUSYBOX_DEFAULT_UNXZ
145         help
146           unxz is a unlzma successor.
147
148 config BUSYBOX_CONFIG_XZCAT
149         bool "xzcat"
150         default BUSYBOX_DEFAULT_XZCAT
151         help
152           Alias to "unxz -c".
153
154 config BUSYBOX_CONFIG_XZ
155         bool "xz -d"
156         default BUSYBOX_DEFAULT_XZ
157         help
158           Enable this option if you want commands like "xz -d" to work.
159           IOW: you'll get xz applet, but it will always require -d option.
160 config BUSYBOX_CONFIG_BZIP2
161         bool "bzip2"
162         default BUSYBOX_DEFAULT_BZIP2
163         help
164           bzip2 is a compression utility using the Burrows-Wheeler block
165           sorting text compression algorithm, and Huffman coding. Compression
166           is generally considerably better than that achieved by more
167           conventional LZ77/LZ78-based compressors, and approaches the
168           performance of the PPM family of statistical compressors.
169
170           Unless you have a specific application which requires bzip2, you
171           should probably say N here.
172
173 config BUSYBOX_CONFIG_BZIP2_SMALL
174         int "Trade size for speed (0:fast 9:slow)"
175         default BUSYBOX_DEFAULT_BZIP2_SMALL
176         range 0 9
177         depends on BUSYBOX_CONFIG_BZIP2
178         help
179           0 is faster but larger
180           9 is smaller but slower
181
182 config BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
183         bool "Enable decompression"
184         default BUSYBOX_DEFAULT_FEATURE_BZIP2_DECOMPRESS
185         depends on BUSYBOX_CONFIG_BZIP2 || BUSYBOX_CONFIG_BUNZIP2 || BUSYBOX_CONFIG_BZCAT
186         help
187           Enable -d (--decompress) and -t (--test) options for bzip2.
188           This will be automatically selected if bunzip2 or bzcat is
189           enabled.
190 config BUSYBOX_CONFIG_CPIO
191         bool "cpio"
192         default BUSYBOX_DEFAULT_CPIO
193         help
194           cpio is an archival utility program used to create, modify, and
195           extract contents from archives.
196           cpio has 110 bytes of overheads for every stored file.
197
198           This implementation of cpio can extract cpio archives created in the
199           "newc" or "crc" format.
200
201           Unless you have a specific application which requires cpio, you
202           should probably say N here.
203
204 config BUSYBOX_CONFIG_FEATURE_CPIO_O
205         bool "Support archive creation"
206         default BUSYBOX_DEFAULT_FEATURE_CPIO_O
207         depends on BUSYBOX_CONFIG_CPIO
208         help
209           This implementation of cpio can create cpio archives in the "newc"
210           format only.
211
212 config BUSYBOX_CONFIG_FEATURE_CPIO_P
213         bool "Support passthrough mode"
214         default BUSYBOX_DEFAULT_FEATURE_CPIO_P
215         depends on BUSYBOX_CONFIG_FEATURE_CPIO_O
216         help
217           Passthrough mode. Rarely used.
218 config BUSYBOX_CONFIG_DPKG
219         bool "dpkg"
220         default BUSYBOX_DEFAULT_DPKG
221         select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
222         help
223           dpkg is a medium-level tool to install, build, remove and manage
224           Debian packages.
225
226           This implementation of dpkg has a number of limitations,
227           you should use the official dpkg if possible.
228 config BUSYBOX_CONFIG_DPKG_DEB
229         bool "dpkg_deb"
230         default BUSYBOX_DEFAULT_DPKG_DEB
231         select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
232         help
233           dpkg-deb unpacks and provides information about Debian archives.
234
235           This implementation of dpkg-deb cannot pack archives.
236
237           Unless you have a specific application which requires dpkg-deb,
238           say N here.
239 config BUSYBOX_CONFIG_GZIP
240         bool "gzip"
241         default BUSYBOX_DEFAULT_GZIP
242         help
243           gzip is used to compress files.
244           It's probably the most widely used UNIX compression program.
245
246 config BUSYBOX_CONFIG_FEATURE_GZIP_LONG_OPTIONS
247         bool "Enable long options"
248         default BUSYBOX_DEFAULT_FEATURE_GZIP_LONG_OPTIONS
249         depends on BUSYBOX_CONFIG_GZIP && BUSYBOX_CONFIG_LONG_OPTS
250
251 config BUSYBOX_CONFIG_GZIP_FAST
252         int "Trade memory for speed (0:small,slow - 2:fast,big)"
253         default BUSYBOX_DEFAULT_GZIP_FAST
254         range 0 2
255         depends on BUSYBOX_CONFIG_GZIP
256         help
257           Enable big memory options for gzip.
258           0: small buffers, small hash-tables
259           1: larger buffers, larger hash-tables
260           2: larger buffers, largest hash-tables
261           Larger models may give slightly better compression
262
263 config BUSYBOX_CONFIG_FEATURE_GZIP_LEVELS
264         bool "Enable compression levels"
265         default BUSYBOX_DEFAULT_FEATURE_GZIP_LEVELS
266         depends on BUSYBOX_CONFIG_GZIP
267         help
268           Enable support for compression levels 4-9. The default level
269           is 6. If levels 1-3 are specified, 4 is used.
270           If this option is not selected, -N options are ignored and -9
271           is used.
272
273 config BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
274         bool "Enable decompression"
275         default BUSYBOX_DEFAULT_FEATURE_GZIP_DECOMPRESS
276         depends on BUSYBOX_CONFIG_GZIP || BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT
277         help
278           Enable -d (--decompress) and -t (--test) options for gzip.
279           This will be automatically selected if gunzip or zcat is
280           enabled.
281 config BUSYBOX_CONFIG_LZOP
282         bool "lzop"
283         default BUSYBOX_DEFAULT_LZOP
284         help
285           Lzop compression/decompresion.
286
287 config BUSYBOX_CONFIG_UNLZOP
288         bool "unlzop"
289         default BUSYBOX_DEFAULT_UNLZOP  # INCOMPAT: upstream lzop does not provide such tool
290         help
291           Lzop decompresion.
292
293 config BUSYBOX_CONFIG_LZOPCAT
294         bool "lzopcat"
295         default BUSYBOX_DEFAULT_LZOPCAT  # INCOMPAT: upstream lzop does not provide such tool
296         help
297           Alias to "unlzop -c".
298
299 config BUSYBOX_CONFIG_LZOP_COMPR_HIGH
300         bool "lzop compression levels 7,8,9 (not very useful)"
301         default BUSYBOX_DEFAULT_LZOP_COMPR_HIGH
302         depends on BUSYBOX_CONFIG_LZOP || BUSYBOX_CONFIG_UNLZOP || BUSYBOX_CONFIG_LZOPCAT
303         help
304           High levels (7,8,9) of lzop compression. These levels
305           are actually slower than gzip at equivalent compression ratios
306           and take up 3.2K of code.
307 config BUSYBOX_CONFIG_RPM
308         bool "rpm"
309         default BUSYBOX_DEFAULT_RPM
310         help
311           Mini RPM applet - queries and extracts RPM packages.
312 config BUSYBOX_CONFIG_RPM2CPIO
313         bool "rpm2cpio"
314         default BUSYBOX_DEFAULT_RPM2CPIO
315         help
316           Converts a RPM file into a CPIO archive.
317 config BUSYBOX_CONFIG_TAR
318         bool "tar"
319         default BUSYBOX_DEFAULT_TAR
320         help
321           tar is an archiving program. It's commonly used with gzip to
322           create compressed archives. It's probably the most widely used
323           UNIX archive program.
324
325 config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
326         bool "Enable long options"
327         default BUSYBOX_DEFAULT_FEATURE_TAR_LONG_OPTIONS
328         depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_LONG_OPTS
329
330 config BUSYBOX_CONFIG_FEATURE_TAR_CREATE
331         bool "Enable -c (archive creation)"
332         default BUSYBOX_DEFAULT_FEATURE_TAR_CREATE
333         depends on BUSYBOX_CONFIG_TAR
334
335 config BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT
336         bool "Autodetect compressed tarballs"
337         default BUSYBOX_DEFAULT_FEATURE_TAR_AUTODETECT
338         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)
339         help
340           With this option tar can automatically detect compressed
341           tarballs. Currently it works only on files (not pipes etc).
342
343 config BUSYBOX_CONFIG_FEATURE_TAR_FROM
344         bool "Enable -X (exclude from) and -T (include from) options)"
345         default BUSYBOX_DEFAULT_FEATURE_TAR_FROM
346         depends on BUSYBOX_CONFIG_TAR
347         help
348           If you enable this option you'll be able to specify
349           a list of files to include or exclude from an archive.
350
351 config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
352         bool "Support old tar header format"
353         default BUSYBOX_DEFAULT_FEATURE_TAR_OLDGNU_COMPATIBILITY
354         depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
355         help
356           This option is required to unpack archives created in
357           the old GNU format; help to kill this old format by
358           repacking your ancient archives with the new format.
359
360 config BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY
361         bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
362         default BUSYBOX_DEFAULT_FEATURE_TAR_OLDSUN_COMPATIBILITY
363         depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
364         help
365           This option is required to unpack archives created by some old
366           version of Sun's tar (it was calculating checksum using signed
367           arithmetic). It is said to be fixed in newer Sun tar, but "old"
368           tarballs still exist.
369
370 config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS
371         bool "Support GNU tar extensions (long filenames)"
372         default BUSYBOX_DEFAULT_FEATURE_TAR_GNU_EXTENSIONS
373         depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
374
375 config BUSYBOX_CONFIG_FEATURE_TAR_TO_COMMAND
376         bool "Support writing to an external program (--to-command)"
377         default BUSYBOX_DEFAULT_FEATURE_TAR_TO_COMMAND
378         depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
379         help
380           If you enable this option you'll be able to instruct tar to send
381           the contents of each extracted file to the standard input of an
382           external program.
383
384 config BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME
385         bool "Enable use of user and group names"
386         default BUSYBOX_DEFAULT_FEATURE_TAR_UNAME_GNAME
387         depends on BUSYBOX_CONFIG_TAR
388         help
389           Enable use of user and group names in tar. This affects contents
390           listings (-t) and preserving permissions when unpacking (-p).
391           +200 bytes.
392
393 config BUSYBOX_CONFIG_FEATURE_TAR_NOPRESERVE_TIME
394         bool "Enable -m (do not preserve time) GNU option"
395         default BUSYBOX_DEFAULT_FEATURE_TAR_NOPRESERVE_TIME
396         depends on BUSYBOX_CONFIG_TAR
397
398 config BUSYBOX_CONFIG_FEATURE_TAR_SELINUX
399         bool "Support extracting SELinux labels"
400         default BUSYBOX_DEFAULT_FEATURE_TAR_SELINUX
401         depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_SELINUX
402         help
403           With this option busybox supports restoring SELinux labels
404           when extracting files from tar archives.
405 config BUSYBOX_CONFIG_UNZIP
406         bool "unzip"
407         default BUSYBOX_DEFAULT_UNZIP
408         help
409           unzip will list or extract files from a ZIP archive,
410           commonly found on DOS/WIN systems. The default behavior
411           (with no options) is to extract the archive into the
412           current directory.
413
414 config BUSYBOX_CONFIG_FEATURE_UNZIP_CDF
415         bool "Read and use Central Directory data"
416         default BUSYBOX_DEFAULT_FEATURE_UNZIP_CDF
417         depends on BUSYBOX_CONFIG_UNZIP
418         help
419           If you know that you only need to deal with simple
420           ZIP files without deleted/updated files, SFX archives etc,
421           you can reduce code size by unselecting this option.
422           To support less trivial ZIPs, say Y.
423
424 config BUSYBOX_CONFIG_FEATURE_UNZIP_BZIP2
425         bool "Support compression method 12 (bzip2)"
426         default BUSYBOX_DEFAULT_FEATURE_UNZIP_BZIP2
427         depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
428
429 config BUSYBOX_CONFIG_FEATURE_UNZIP_LZMA
430         bool "Support compression method 14 (lzma)"
431         default BUSYBOX_DEFAULT_FEATURE_UNZIP_LZMA
432         depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
433
434 config BUSYBOX_CONFIG_FEATURE_UNZIP_XZ
435         bool "Support compression method 95 (xz)"
436         default BUSYBOX_DEFAULT_FEATURE_UNZIP_XZ
437         depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
438
439 endmenu