upgrade busybox to v1.11.1 and add current upstream fixes
[openwrt.git] / package / busybox / config / archival / Config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Archival Utilities"
7
8 config BUSYBOX_CONFIG_AR
9         bool "ar"
10         default n
11         help
12           ar is an archival utility program used to create, modify, and
13           extract contents from archives.  An archive is a single file holding
14           a collection of other files in a structure that makes it possible to
15           retrieve the original individual files (called archive members).
16           The original files' contents, mode (permissions), timestamp, owner,
17           and group are preserved in the archive, and can be restored on
18           extraction.
19
20           The stored filename is limited to 15 characters. (for more information
21           see long filename support).
22           ar has 60 bytes of overheads for every stored file.
23
24           This implementation of ar can extract archives, it cannot create or
25           modify them.
26           On an x86 system, the ar applet adds about 1K.
27
28           Unless you have a specific application which requires ar, you should
29           probably say N here.
30
31 config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES
32         bool "Support for long filenames (not need for debs)"
33         default n
34         depends on BUSYBOX_CONFIG_AR
35         help
36           By default the ar format can only store the first 15 characters of the
37           filename, this option removes that limitation.
38           It supports the GNU ar long filename method which moves multiple long
39           filenames into a the data section of a new ar entry.
40
41 config BUSYBOX_CONFIG_BUNZIP2
42         bool "bunzip2"
43         default y
44         help
45           bunzip2 is a compression utility using the Burrows-Wheeler block
46           sorting text compression algorithm, and Huffman coding.  Compression
47           is generally considerably better than that achieved by more
48           conventional LZ77/LZ78-based compressors, and approaches the
49           performance of the PPM family of statistical compressors.
50
51           Unless you have a specific application which requires bunzip2, you
52           should probably say N here.
53
54 config BUSYBOX_CONFIG_BZIP2
55         bool "bzip2"
56         default n
57         help
58           bzip2 is a compression utility using the Burrows-Wheeler block
59           sorting text compression algorithm, and Huffman coding.  Compression
60           is generally considerably better than that achieved by more
61           conventional LZ77/LZ78-based compressors, and approaches the
62           performance of the PPM family of statistical compressors.
63
64           Unless you have a specific application which requires bzip2, you
65           should probably say N here.
66
67 config BUSYBOX_CONFIG_CPIO
68         bool "cpio"
69         default n
70         help
71           cpio is an archival utility program used to create, modify, and extract
72           contents from archives.
73           cpio has 110 bytes of overheads for every stored file.
74
75           This implementation of cpio can extract cpio archives created in the
76           "newc" or "crc" format, it cannot create or modify them.
77
78           Unless you have a specific application which requires cpio, you should
79           probably say N here.
80
81 config BUSYBOX_CONFIG_FEATURE_CPIO_O
82         bool "Support for archive creation"
83         default n
84         depends on BUSYBOX_CONFIG_CPIO
85         help
86           This implementation of cpio can create cpio archives in the "newc"
87           format only.
88
89 config BUSYBOX_CONFIG_DPKG
90         bool "dpkg"
91         default n
92         help
93           dpkg is a medium-level tool to install, build, remove and manage Debian packages.
94
95           This implementation of dpkg has a number of limitations, you should use the
96           official dpkg if possible.
97
98 config BUSYBOX_CONFIG_DPKG_DEB
99         bool "dpkg_deb"
100         default n
101         help
102           dpkg-deb packs, unpacks and provides information about Debian archives.
103
104           This implementation of dpkg-deb cannot pack archives.
105
106           Unless you have a specific application which requires dpkg-deb, you should
107           probably say N here.
108
109 config BUSYBOX_CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY
110         bool "Extract only (-x)"
111         default n
112         depends on BUSYBOX_CONFIG_DPKG_DEB
113         help
114           This reduces dpkg-deb to the equivalent of "ar -p <deb> data.tar.gz | tar -zx".
115           However it saves space as none of the extra dpkg-deb, ar or tar options are
116           needed, they are linked to internally.
117
118 config BUSYBOX_CONFIG_GUNZIP
119         bool "gunzip"
120         default y
121         help
122           gunzip is used to decompress archives created by gzip.
123           You can use the `-t' option to test the integrity of
124           an archive, without decompressing it.
125
126 config BUSYBOX_CONFIG_FEATURE_GUNZIP_UNCOMPRESS
127         bool "Uncompress support"
128         default y
129         depends on BUSYBOX_CONFIG_GUNZIP
130         help
131           Enable if you want gunzip to have the ability to decompress
132           archives created by the program compress (not much
133           used anymore).
134
135 config BUSYBOX_CONFIG_GZIP
136         bool "gzip"
137         default y
138         help
139           gzip is used to compress files.
140           It's probably the most widely used UNIX compression program.
141
142 config BUSYBOX_CONFIG_IPKG
143         bool "ipkg"
144         default n
145         select BUSYBOX_CONFIG_MD5SUM
146         select BUSYBOX_CONFIG_WGET
147         select BUSYBOX_CONFIG_DIFF
148         help
149           ipkg is the itsy package management system.
150
151 config BUSYBOX_CONFIG_RPM2CPIO
152         bool "rpm2cpio"
153         default n
154         help
155           Converts an RPM file into a CPIO archive.
156
157 config BUSYBOX_CONFIG_RPM
158         bool "rpm"
159         default n
160         help
161           Mini RPM applet - queries and extracts RPM packages.
162
163 config BUSYBOX_CONFIG_FEATURE_RPM_BZ2
164         bool "Enable handling of rpms with bzip2-compressed data inside"
165         default n
166         depends on BUSYBOX_CONFIG_RPM
167         help
168           Enable handling of rpms with bzip2-compressed data inside.
169
170 config BUSYBOX_CONFIG_TAR
171         bool "tar"
172         default y
173         help
174           tar is an archiving program. It's commonly used with gzip to
175           create compressed archives. It's probably the most widely used
176           UNIX archive program.
177
178 config BUSYBOX_CONFIG_FEATURE_TAR_CREATE
179         bool "Enable archive creation"
180         default y
181         depends on BUSYBOX_CONFIG_TAR
182         help
183           If you enable this option you'll be able to create
184           tar archives using the `-c' option.
185
186 config BUSYBOX_CONFIG_FEATURE_TAR_GZIP
187         bool "Enable -z option"
188         default y
189         depends on BUSYBOX_CONFIG_TAR
190         help
191           If you enable this option tar will be able to call gzip,
192           when creating or extracting tar gziped archives.
193
194 config BUSYBOX_CONFIG_FEATURE_TAR_BZIP2
195         bool "Enable -j option to handle .tar.bz2 files"
196         default y
197         depends on BUSYBOX_CONFIG_TAR
198         help
199           If you enable this option you'll be able to extract
200           archives compressed with bzip2.
201
202 config BUSYBOX_CONFIG_FEATURE_TAR_LZMA
203         bool "Enable -a option to handle .tar.lzma files"
204         default n
205         depends on BUSYBOX_CONFIG_TAR
206         help
207           If you enable this option you'll be able to extract
208           archives compressed with lzma.
209
210 config BUSYBOX_CONFIG_FEATURE_TAR_COMPRESS
211         bool "Enable -Z option"
212         default n
213         depends on BUSYBOX_CONFIG_TAR
214         help
215           If you enable this option tar will be able to call uncompress,
216           when extracting .tar.Z archives.
217
218 config BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT
219         bool "Let tar autodetect gz/bz2 compresses tarballs"
220         default n
221         depends on BUSYBOX_CONFIG_FEATURE_TAR_GZIP || BUSYBOX_CONFIG_FEATURE_TAR_BZIP2
222         help
223           With this option tar can automatically detect gzip/bzip2 compressed
224           tarballs. Currently it works only on seekable streams.
225
226 config BUSYBOX_CONFIG_FEATURE_TAR_FROM
227         bool "Enable -X (exclude from) and -T (include from) options)"
228         default y
229         depends on BUSYBOX_CONFIG_TAR
230         help
231           If you enable this option you'll be able to specify
232           a list of files to include or exclude from an archive.
233
234 config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
235         bool "Support for old tar header format"
236         default n
237         depends on BUSYBOX_CONFIG_TAR
238         help
239           This option is required to unpack archives created in
240           the old GNU format; help to kill this old format by
241           repacking your ancient archives with the new format.
242
243 config BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY
244         bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
245         default n
246         depends on BUSYBOX_CONFIG_TAR
247         help
248           This option is required to unpack archives created by some old
249           version of Sun's tar (it was calculating checksum using signed arithmetic).
250           It is said to be fixed in newer Sun tar, but "old" tarballs still exist.
251
252 config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS
253         bool "Support for GNU tar extensions (long filenames)"
254         default y
255         depends on BUSYBOX_CONFIG_TAR
256         help
257           With this option busybox supports GNU long filenames and
258           linknames.
259
260 config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
261         bool "Enable long options"
262         default n
263         depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_GETOPT_LONG
264         help
265           Enable use of long options, increases size by about 400 Bytes
266
267 config BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME
268         bool "Enable use of user and group names"
269         default n
270         depends on BUSYBOX_CONFIG_TAR
271         help
272           Enables use of user and group names in tar. This affects contents
273           listings (-t) and preserving permissions when unpacking (-p).
274           +200 bytes.
275
276 config BUSYBOX_CONFIG_UNCOMPRESS
277         bool "uncompress"
278         default n
279         help
280           uncompress is used to decompress archives created by compress.
281           Not much used anymore, replaced by gzip/gunzip.
282
283 config BUSYBOX_CONFIG_UNLZMA
284         bool "unlzma"
285         default n
286         help
287           unlzma is a compression utility using the Lempel-Ziv-Markov chain
288           compression algorithm, and range coding.  Compression
289           is generally considerably better than that achieved by the bzip2
290           compressors.
291
292           The BusyBox unlzma applet is limited to de-compression only.
293           On an x86 system, this applet adds about 4K.
294
295           Unless you have a specific application which requires unlzma, you
296           should probably say N here.
297
298 config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
299         bool "Optimize unlzma for speed"
300         default n
301         depends on BUSYBOX_CONFIG_UNLZMA
302         help
303           This option reduces decompression time by about 33% at the cost of
304           a 2K bigger binary.
305
306 config BUSYBOX_CONFIG_UNZIP
307         bool "unzip"
308         default n
309         help
310           unzip will list or extract files from a ZIP archive,
311           commonly found on DOS/WIN systems. The default behavior
312           (with no options) is to extract the archive into the
313           current directory. Use the `-d' option to extract to a
314           directory of your choice.
315
316 comment "Common options for cpio and tar"
317         depends on BUSYBOX_CONFIG_CPIO || BUSYBOX_CONFIG_TAR
318
319 comment "Common options for dpkg and dpkg_deb"
320         depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
321
322 config BUSYBOX_CONFIG_FEATURE_DEB_TAR_GZ
323         bool "gzip debian packages (normal)"
324         default n if BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
325         depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
326         help
327           This is the default compression method inside the debian ar file.
328
329           If you want compatibility with standard .deb's you should say yes here.
330
331 config BUSYBOX_CONFIG_FEATURE_DEB_TAR_BZ2
332         bool "bzip2 debian packages"
333         default n
334         depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
335         help
336           This allows dpkg and dpkg-deb to extract deb's that are compressed internally
337           with bzip2 instead of gzip.
338
339           You only want this if you are creating your own custom debian packages that
340           use an internal control.tar.bz2 or data.tar.bz2.
341
342 config BUSYBOX_CONFIG_FEATURE_DEB_TAR_LZMA
343         bool "lzma debian packages"
344         default n
345         depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
346         help
347           This allows dpkg and dpkg-deb to extract deb's that are compressed
348           internally with lzma instead of gzip.
349
350           You only want this if you are creating your own custom debian
351           packages that use an internal control.tar.lzma or data.tar.lzma.
352
353 endmenu