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