2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Archival Utilities"
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
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.
24 This implementation of ar can extract archives, it cannot create or
26 On an x86 system, the ar applet adds about 1K.
28 Unless you have a specific application which requires ar, you should
31 config FEATURE_AR_LONG_FILENAMES
32 bool "Support for long filenames (not need for debs)"
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.
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.
51 Unless you have a specific application which requires bunzip2, you
52 should probably say N here.
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.
64 Unless you have a specific application which requires bzip2, you
65 should probably say N here.
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.
75 This implementation of cpio can extract cpio archives created in the
76 "newc" or "crc" format, it cannot create or modify them.
78 Unless you have a specific application which requires cpio, you should
82 bool "Support for archive creation"
86 This implementation of cpio can create cpio archives in the "newc"
93 dpkg is a medium-level tool to install, build, remove and manage
96 This implementation of dpkg has a number of limitations,
97 you should use the official dpkg if possible.
103 dpkg-deb packs, unpacks and provides information about Debian archives.
105 This implementation of dpkg-deb cannot pack archives.
107 Unless you have a specific application which requires dpkg-deb,
110 config FEATURE_DPKG_DEB_EXTRACT_ONLY
111 bool "Extract only (-x)"
115 This reduces dpkg-deb to the equivalent of "ar -p <deb> data.tar.gz | tar -zx".
116 However it saves space as none of the extra dpkg-deb, ar or tar options are
117 needed, they are linked to internally.
123 gunzip is used to decompress archives created by gzip.
124 You can use the `-t' option to test the integrity of
125 an archive, without decompressing it.
127 config FEATURE_GUNZIP_UNCOMPRESS
128 bool "Uncompress support"
132 Enable if you want gunzip to have the ability to decompress
133 archives created by the program compress (not much
140 gzip is used to compress files.
141 It's probably the most widely used UNIX compression program.
147 Converts an RPM file into a CPIO archive.
153 Mini RPM applet - queries and extracts RPM packages.
155 config FEATURE_RPM_BZ2
156 bool "Enable handling of rpms with bzip2-compressed data inside"
160 Enable handling of rpms with bzip2-compressed data inside.
166 tar is an archiving program. It's commonly used with gzip to
167 create compressed archives. It's probably the most widely used
168 UNIX archive program.
170 config FEATURE_TAR_CREATE
171 bool "Enable archive creation"
175 If you enable this option you'll be able to create
176 tar archives using the `-c' option.
178 config FEATURE_TAR_GZIP
179 bool "Enable -z option"
183 If you enable this option tar will be able to call gzip,
184 when creating or extracting tar gziped archives.
186 config FEATURE_TAR_BZIP2
187 bool "Enable -j option to handle .tar.bz2 files"
191 If you enable this option you'll be able to extract
192 archives compressed with bzip2.
194 config FEATURE_TAR_LZMA
195 bool "Enable -a option to handle .tar.lzma files"
199 If you enable this option you'll be able to extract
200 archives compressed with lzma.
202 config FEATURE_TAR_COMPRESS
203 bool "Enable -Z option"
207 If you enable this option tar will be able to call uncompress,
208 when extracting .tar.Z archives.
210 config FEATURE_TAR_AUTODETECT
211 bool "Let tar autodetect gz/bz2 compresses tarballs"
213 depends on FEATURE_TAR_GZIP || FEATURE_TAR_BZIP2
215 With this option tar can automatically detect gzip/bzip2 compressed
216 tarballs. Currently it works only on seekable streams.
218 config FEATURE_TAR_FROM
219 bool "Enable -X (exclude from) and -T (include from) options)"
223 If you enable this option you'll be able to specify
224 a list of files to include or exclude from an archive.
226 config FEATURE_TAR_OLDGNU_COMPATIBILITY
227 bool "Support for old tar header format"
231 This option is required to unpack archives created in
232 the old GNU format; help to kill this old format by
233 repacking your ancient archives with the new format.
235 config FEATURE_TAR_OLDSUN_COMPATIBILITY
236 bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
240 This option is required to unpack archives created by some old
241 version of Sun's tar (it was calculating checksum using signed arithmetic).
242 It is said to be fixed in newer Sun tar, but "old" tarballs still exist.
244 config FEATURE_TAR_GNU_EXTENSIONS
245 bool "Support for GNU tar extensions (long filenames)"
249 With this option busybox supports GNU long filenames and
252 config FEATURE_TAR_LONG_OPTIONS
253 bool "Enable long options"
255 depends on TAR && GETOPT_LONG
257 Enable use of long options, increases size by about 400 Bytes
259 config FEATURE_TAR_UNAME_GNAME
260 bool "Enable use of user and group names"
264 Enables use of user and group names in tar. This affects contents
265 listings (-t) and preserving permissions when unpacking (-p).
272 uncompress is used to decompress archives created by compress.
273 Not much used anymore, replaced by gzip/gunzip.
279 unlzma is a compression utility using the Lempel-Ziv-Markov chain
280 compression algorithm, and range coding. Compression
281 is generally considerably better than that achieved by the bzip2
284 The BusyBox unlzma applet is limited to de-compression only.
285 On an x86 system, this applet adds about 4K.
287 Unless you have a specific application which requires unlzma, you
288 should probably say N here.
290 config FEATURE_LZMA_FAST
291 bool "Optimize unlzma for speed"
295 This option reduces decompression time by about 33% at the cost of
302 unzip will list or extract files from a ZIP archive,
303 commonly found on DOS/WIN systems. The default behavior
304 (with no options) is to extract the archive into the
305 current directory. Use the `-d' option to extract to a
306 directory of your choice.
308 comment "Common options for cpio and tar"
309 depends on CPIO || TAR
311 comment "Common options for dpkg and dpkg_deb"
312 depends on DPKG || DPKG_DEB
314 config FEATURE_DEB_TAR_GZ
315 bool "gzip debian packages (normal)"
316 default y if DPKG || DPKG_DEB
317 depends on DPKG || DPKG_DEB
319 This is the default compression method inside the debian ar file.
321 If you want compatibility with standard .deb's you should say yes here.
323 config FEATURE_DEB_TAR_BZ2
324 bool "bzip2 debian packages"
326 depends on DPKG || DPKG_DEB
328 This allows dpkg and dpkg-deb to extract deb's that are compressed internally
329 with bzip2 instead of gzip.
331 You only want this if you are creating your own custom debian packages that
332 use an internal control.tar.bz2 or data.tar.bz2.
334 config FEATURE_DEB_TAR_LZMA
335 bool "lzma debian packages"
337 depends on DPKG || DPKG_DEB
339 This allows dpkg and dpkg-deb to extract deb's that are compressed
340 internally with lzma instead of gzip.
342 You only want this if you are creating your own custom debian
343 packages that use an internal control.tar.lzma or data.tar.lzma.