blob: 60c3ed2d59cd57a592507c15ed23c66c5a75fc73 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Archival Utilities"
7
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config AR
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 bool "ar"
10 default n
11 help
Eric Andersen53601822002-12-05 21:12:42 +000012 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
Glenn L McGrath0337c462002-12-06 22:40:54 +000018 extraction.
Eric Andersen6d3c7e72003-08-22 21:15:07 +000019
Glenn L McGrath0337c462002-12-06 22:40:54 +000020 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.
Eric Andersen6d3c7e72003-08-22 21:15:07 +000026 On an x86 system, the ar applet adds about 1K.
Eric Andersen53601822002-12-05 21:12:42 +000027
28 Unless you have a specific application which requires ar, you should
29 probably say N here.
Eric Andersenc9f20d92002-12-05 08:41:41 +000030
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000031config FEATURE_AR_LONG_FILENAMES
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +000032 bool "Support for long filenames (not need for debs)"
Eric Andersenc9f20d92002-12-05 08:41:41 +000033 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000034 depends on AR
Eric Andersenc9f20d92002-12-05 08:41:41 +000035 help
Glenn L McGrath0337c462002-12-06 22:40:54 +000036 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.
Eric Andersenc9f20d92002-12-05 08:41:41 +000040
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000041config BUNZIP2
Eric Andersenc9f20d92002-12-05 08:41:41 +000042 bool "bunzip2"
43 default n
44 help
Eric Andersen88c916b2003-10-22 09:58:56 +000045 bunzip2 is a compression utility using the Burrows-Wheeler block
Eric Andersen53601822002-12-05 21:12:42 +000046 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
Eric Andersenc7bda1c2004-03-15 08:29:22 +000049 performance of the PPM family of statistical compressors.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +000050
Eric Andersen53601822002-12-05 21:12:42 +000051 Unless you have a specific application which requires bunzip2, you
52 should probably say N here.
Eric Andersenc9f20d92002-12-05 08:41:41 +000053
Denis Vlasenko77f1ec12007-10-13 03:36:03 +000054config 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000067config CPIO
Eric Andersenc9f20d92002-12-05 08:41:41 +000068 bool "cpio"
69 default n
70 help
Glenn L McGrath0337c462002-12-06 22:40:54 +000071 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
Eric Andersenc7bda1c2004-03-15 08:29:22 +000076 "newc" or "crc" format, it cannot create or modify them.
Glenn L McGrath0337c462002-12-06 22:40:54 +000077
78 Unless you have a specific application which requires cpio, you should
79 probably say N here.
Eric Andersenc9f20d92002-12-05 08:41:41 +000080
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000081config DPKG
Eric Andersenc9f20d92002-12-05 08:41:41 +000082 bool "dpkg"
83 default n
84 help
Glenn L McGrath0337c462002-12-06 22:40:54 +000085 dpkg is a medium-level tool to install, build, remove and manage Debian packages.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +000086
Glenn L McGrath0337c462002-12-06 22:40:54 +000087 This implementation of dpkg has a number of limitations, you should use the
88 official dpkg if possible.
Eric Andersenc9f20d92002-12-05 08:41:41 +000089
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000090config DPKG_DEB
Eric Andersenc9f20d92002-12-05 08:41:41 +000091 bool "dpkg_deb"
92 default n
93 help
Glenn L McGrath0337c462002-12-06 22:40:54 +000094 dpkg-deb packs, unpacks and provides information about Debian archives.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +000095
Glenn L McGrath0337c462002-12-06 22:40:54 +000096 This implementation of dpkg-deb cannot pack archives.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +000097
Glenn L McGrath0337c462002-12-06 22:40:54 +000098 Unless you have a specific application which requires dpkg-deb, you should
99 probably say N here.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000100
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000101config FEATURE_DPKG_DEB_EXTRACT_ONLY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000102 bool "Extract only (-x)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000103 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000104 depends on DPKG_DEB
Eric Andersenc9f20d92002-12-05 08:41:41 +0000105 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000106 This reduces dpkg-deb to the equivalent of "ar -p <deb> data.tar.gz | tar -zx".
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000107 However it saves space as none of the extra dpkg-deb, ar or tar options are
Glenn L McGrath0337c462002-12-06 22:40:54 +0000108 needed, they are linked to internally.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000109
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000110config GUNZIP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000111 bool "gunzip"
112 default n
113 help
Eric Andersene5642112003-07-14 19:37:08 +0000114 gunzip is used to decompress archives created by gzip.
115 You can use the `-t' option to test the integrity of
116 an archive, without decompressing it.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000117
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000118config FEATURE_GUNZIP_UNCOMPRESS
Rob Landley2ec922e2006-04-13 23:22:16 +0000119 bool "Uncompress support"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000120 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000121 depends on GUNZIP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000122 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000123 Enable if you want gunzip to have the ability to decompress
Eric Andersene5642112003-07-14 19:37:08 +0000124 archives created by the program compress (not much
125 used anymore).
Eric Andersenc9f20d92002-12-05 08:41:41 +0000126
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000127config GZIP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000128 bool "gzip"
129 default n
130 help
Eric Andersene5642112003-07-14 19:37:08 +0000131 gzip is used to compress files.
Eric Andersen88c916b2003-10-22 09:58:56 +0000132 It's probably the most widely used UNIX compression program.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000133
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000134config RPM2CPIO
Eric Andersenc9f20d92002-12-05 08:41:41 +0000135 bool "rpm2cpio"
136 default n
137 help
Glenn L McGrathb72a7352002-12-10 00:17:22 +0000138 Converts an RPM file into a CPIO archive.
139
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000140config RPM
Glenn L McGrathb72a7352002-12-10 00:17:22 +0000141 bool "rpm"
142 default n
143 help
Bernhard Reutner-Fischerbfe19502007-01-04 15:44:49 +0000144 Mini RPM applet - queries and extracts RPM packages.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000145
Denis Vlasenkoc14d39e2007-06-08 13:05:39 +0000146config FEATURE_RPM_BZ2
147 bool "Enable handling of rpms with bzip2-compressed data inside"
148 default n
149 depends on RPM
150 help
151 Enable handling of rpms with bzip2-compressed data inside.
152
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000153config TAR
Eric Andersenc9f20d92002-12-05 08:41:41 +0000154 bool "tar"
155 default n
156 help
Eric Andersene5642112003-07-14 19:37:08 +0000157 tar is an archiving program. It's commonly used with gzip to
Eric Andersen88c916b2003-10-22 09:58:56 +0000158 create compressed archives. It's probably the most widely used
Eric Andersene5642112003-07-14 19:37:08 +0000159 UNIX archive program.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000160
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000161config FEATURE_TAR_CREATE
Rob Landley2ec922e2006-04-13 23:22:16 +0000162 bool "Enable archive creation"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000163 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000164 depends on TAR
Eric Andersenc9f20d92002-12-05 08:41:41 +0000165 help
Eric Andersene5642112003-07-14 19:37:08 +0000166 If you enable this option you'll be able to create
167 tar archives using the `-c' option.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000168
Denis Vlasenko431a7c92008-02-19 11:26:28 +0000169config FEATURE_TAR_GZIP
170 bool "Enable -z option"
171 default y
172 depends on TAR
173 help
174 If you enable this option tar will be able to call gzip,
175 when creating or extracting tar gziped archives.
176
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000177config FEATURE_TAR_BZIP2
Rob Landley2ec922e2006-04-13 23:22:16 +0000178 bool "Enable -j option to handle .tar.bz2 files"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000179 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000180 depends on TAR
Eric Andersenc9f20d92002-12-05 08:41:41 +0000181 help
Eric Andersene5642112003-07-14 19:37:08 +0000182 If you enable this option you'll be able to extract
183 archives compressed with bzip2.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000184
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000185config FEATURE_TAR_LZMA
Rob Landley2ec922e2006-04-13 23:22:16 +0000186 bool "Enable -a option to handle .tar.lzma files"
Rob Landleyc1d69902006-01-20 18:28:50 +0000187 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000188 depends on TAR
Rob Landleyc1d69902006-01-20 18:28:50 +0000189 help
190 If you enable this option you'll be able to extract
191 archives compressed with lzma.
192
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000193config FEATURE_TAR_COMPRESS
Rob Landley2ec922e2006-04-13 23:22:16 +0000194 bool "Enable -Z option"
Glenn L McGrath56f16b42003-11-18 21:37:52 +0000195 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000196 depends on TAR
Glenn L McGrath56f16b42003-11-18 21:37:52 +0000197 help
198 If you enable this option tar will be able to call uncompress,
199 when extracting .tar.Z archives.
200
Denis Vlasenko431a7c92008-02-19 11:26:28 +0000201config FEATURE_TAR_AUTODETECT
202 bool "Let tar autodetect gz/bz2 compresses tarballs"
203 default n
204 depends on FEATURE_TAR_GZIP || FEATURE_TAR_BZIP2
205 help
206 With this option tar can automatically detect gzip/bzip2 compressed
207 tarballs. Currently it works only on seekable streams.
208
209config FEATURE_TAR_FROM
210 bool "Enable -X (exclude from) and -T (include from) options)"
211 default n
212 depends on TAR
213 help
214 If you enable this option you'll be able to specify
215 a list of files to include or exclude from an archive.
216
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000217config FEATURE_TAR_OLDGNU_COMPATIBILITY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000218 bool "Support for old tar header format"
Glenn L McGrath21110a02003-01-28 01:45:48 +0000219 default N
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000220 depends on TAR
Eric Andersenc9f20d92002-12-05 08:41:41 +0000221 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000222 This option is required to unpack archives created in
223 the old GNU format; help to kill this old format by
Glenn L McGrath21110a02003-01-28 01:45:48 +0000224 repacking your ancient archives with the new format.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000225
Denis Vlasenkoa80b4a02007-06-21 12:41:59 +0000226config FEATURE_TAR_OLDSUN_COMPATIBILITY
227 bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
228 default N
229 depends on TAR
230 help
231 This option is required to unpack archives created by some old
232 version of Sun's tar (it was calculating checksum using signed arithmetic).
233 It is said to be fixed in newer Sun tar, but "old" tarballs still exist.
234
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000235config FEATURE_TAR_GNU_EXTENSIONS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000236 bool "Support for GNU tar extensions (long filenames)"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000237 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000238 depends on TAR
Eric Andersenc9f20d92002-12-05 08:41:41 +0000239 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000240 With this option busybox supports GNU long filenames and
Eric Andersene5642112003-07-14 19:37:08 +0000241 linknames.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000242
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000243config FEATURE_TAR_LONG_OPTIONS
Rob Landley2ec922e2006-04-13 23:22:16 +0000244 bool "Enable long options"
Glenn L McGrathce91c8a2003-12-26 14:01:37 +0000245 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000246 depends on TAR && GETOPT_LONG
Glenn L McGrathce91c8a2003-12-26 14:01:37 +0000247 help
Denis Vlasenkoe00e5022008-02-14 20:37:54 +0000248 Enable use of long options, increases size by about 400 Bytes
249
250config FEATURE_TAR_UNAME_GNAME
251 bool "Enable use of user and group names"
252 default n
Denis Vlasenkoe7b43cf2008-02-19 23:42:22 +0000253 depends on TAR
Denis Vlasenkoe00e5022008-02-14 20:37:54 +0000254 help
255 Enables use of user and group names in tar. This affects contents
256 listings (-t) and preserving permissions when unpacking (-p).
257 +200 bytes.
Glenn L McGrathce91c8a2003-12-26 14:01:37 +0000258
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000259config UNCOMPRESS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000260 bool "uncompress"
261 default n
262 help
Eric Andersene5642112003-07-14 19:37:08 +0000263 uncompress is used to decompress archives created by compress.
264 Not much used anymore, replaced by gzip/gunzip.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000265
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000266config UNLZMA
Rob Landleyc1d69902006-01-20 18:28:50 +0000267 bool "unlzma"
268 default n
269 help
270 unlzma is a compression utility using the Lempel-Ziv-Markov chain
271 compression algorithm, and range coding. Compression
272 is generally considerably better than that achieved by the bzip2
273 compressors.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000274
Rob Landleyc1d69902006-01-20 18:28:50 +0000275 The BusyBox unlzma applet is limited to de-compression only.
276 On an x86 system, this applet adds about 4K.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000277
Rob Landleyc1d69902006-01-20 18:28:50 +0000278 Unless you have a specific application which requires unlzma, you
279 should probably say N here.
280
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000281config FEATURE_LZMA_FAST
Rob Landley2ec922e2006-04-13 23:22:16 +0000282 bool "Optimze unlzma for speed"
Rob Landleyc1d69902006-01-20 18:28:50 +0000283 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000284 depends on UNLZMA
Rob Landleyc1d69902006-01-20 18:28:50 +0000285 help
Bernhard Reutner-Fischer5929edc2006-06-07 20:30:01 +0000286 This option reduces decompression time by about 33% at the cost of
Rob Landleyc1d69902006-01-20 18:28:50 +0000287 a 2K bigger binary.
288
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000289config UNZIP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000290 bool "unzip"
291 default n
292 help
Eric Andersene5642112003-07-14 19:37:08 +0000293 unzip will list or extract files from a ZIP archive,
294 commonly found on DOS/WIN systems. The default behavior
295 (with no options) is to extract the archive into the
296 current directory. Use the `-d' option to extract to a
297 directory of your choice.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000298
Glenn L McGrath6530f0d2003-10-29 04:46:30 +0000299comment "Common options for cpio and tar"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000300 depends on CPIO || TAR
Glenn L McGrath6530f0d2003-10-29 04:46:30 +0000301
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000302config FEATURE_UNARCHIVE_TAPE
Rob Landley2ec922e2006-04-13 23:22:16 +0000303 bool "Enable tape drive support"
Glenn L McGrath6530f0d2003-10-29 04:46:30 +0000304 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000305 depends on CPIO || TAR
Glenn L McGrath6530f0d2003-10-29 04:46:30 +0000306 help
307 I don't think this is needed anymore.
308
Glenn L McGrathb03be7f2004-01-17 03:24:05 +0000309comment "Common options for dpkg and dpkg_deb"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000310 depends on DPKG || DPKG_DEB
Glenn L McGrathb03be7f2004-01-17 03:24:05 +0000311
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000312config FEATURE_DEB_TAR_GZ
Rob Landley2ec922e2006-04-13 23:22:16 +0000313 bool "gzip debian packages (normal)"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000314 default y if DPKG || DPKG_DEB
315 depends on DPKG || DPKG_DEB
Glenn L McGrathb03be7f2004-01-17 03:24:05 +0000316 help
317 This is the default compression method inside the debian ar file.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000318
Glenn L McGrathb03be7f2004-01-17 03:24:05 +0000319 If you want compatibility with standard .deb's you should say yes here.
320
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000321config FEATURE_DEB_TAR_BZ2
Rob Landley2ec922e2006-04-13 23:22:16 +0000322 bool "bzip2 debian packages"
Glenn L McGrathb03be7f2004-01-17 03:24:05 +0000323 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000324 depends on DPKG || DPKG_DEB
Glenn L McGrathb03be7f2004-01-17 03:24:05 +0000325 help
326 This allows dpkg and dpkg-deb to extract deb's that are compressed internally
327 with bzip2 instead of gzip.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000328
Glenn L McGrathb03be7f2004-01-17 03:24:05 +0000329 You only want this if you are creating your own custom debian packages that
330 use an internal control.tar.bz2 or data.tar.bz2.
331
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000332config FEATURE_DEB_TAR_LZMA
Rob Landley2ec922e2006-04-13 23:22:16 +0000333 bool "lzma debian packages"
Rob Landleyc1d69902006-01-20 18:28:50 +0000334 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000335 depends on DPKG || DPKG_DEB
Rob Landleyc1d69902006-01-20 18:28:50 +0000336 help
337 This allows dpkg and dpkg-deb to extract deb's that are compressed
Denis Vlasenkod031ffa2006-11-24 21:54:44 +0000338 internally with lzma instead of gzip.
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000339
Rob Landleyc1d69902006-01-20 18:28:50 +0000340 You only want this if you are creating your own custom debian
Denis Vlasenkod031ffa2006-11-24 21:54:44 +0000341 packages that use an internal control.tar.lzma or data.tar.lzma.
Rob Landleyc1d69902006-01-20 18:28:50 +0000342
Eric Andersenc9f20d92002-12-05 08:41:41 +0000343endmenu