source: MondoRescue/branches/3.2/mindi-busybox/archival/Config.src@ 3232

Last change on this file since 3232 was 3232, checked in by Bruno Cornec, 10 years ago
  • Update mindi-busybox to 1.21.1
File size: 10.6 KB
Line 
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Archival Utilities"
7
8INSERT
9
10config FEATURE_SEAMLESS_XZ
11 bool "Make tar, rpm, modprobe etc understand .xz data"
12 default y
13 help
14 Make tar, rpm, modprobe etc understand .xz data.
15
16config FEATURE_SEAMLESS_LZMA
17 bool "Make tar, rpm, modprobe etc understand .lzma data"
18 default y
19 help
20 Make tar, rpm, modprobe etc understand .lzma data.
21
22config FEATURE_SEAMLESS_BZ2
23 bool "Make tar, rpm, modprobe etc understand .bz2 data"
24 default y
25 help
26 Make tar, rpm, modprobe etc understand .bz2 data.
27
28config FEATURE_SEAMLESS_GZ
29 bool "Make tar, rpm, modprobe etc understand .gz data"
30 default y
31 help
32 Make tar, rpm, modprobe etc understand .gz data.
33
34config FEATURE_SEAMLESS_Z
35 bool "tar, rpm, modprobe etc understand .Z data"
36 default n
37 help
38 Make tar, rpm, modprobe etc understand .Z data.
39
40config AR
41 bool "ar"
42 default n # needs to be improved to be able to replace binutils ar
43 help
44 ar is an archival utility program used to create, modify, and
45 extract contents from archives. An archive is a single file holding
46 a collection of other files in a structure that makes it possible to
47 retrieve the original individual files (called archive members).
48 The original files' contents, mode (permissions), timestamp, owner,
49 and group are preserved in the archive, and can be restored on
50 extraction.
51
52 The stored filename is limited to 15 characters. (for more information
53 see long filename support).
54 ar has 60 bytes of overheads for every stored file.
55
56 This implementation of ar can extract archives, it cannot create or
57 modify them.
58 On an x86 system, the ar applet adds about 1K.
59
60 Unless you have a specific application which requires ar, you should
61 probably say N here.
62
63config FEATURE_AR_LONG_FILENAMES
64 bool "Support for long filenames (not needed for debs)"
65 default y
66 depends on AR
67 help
68 By default the ar format can only store the first 15 characters
69 of the filename, this option removes that limitation.
70 It supports the GNU ar long filename method which moves multiple long
71 filenames into a the data section of a new ar entry.
72
73config FEATURE_AR_CREATE
74 bool "Support archive creation"
75 default y
76 depends on AR
77 help
78 This enables archive creation (-c and -r) with busybox ar.
79
80config BUNZIP2
81 bool "bunzip2"
82 default y
83 help
84 bunzip2 is a compression utility using the Burrows-Wheeler block
85 sorting text compression algorithm, and Huffman coding. Compression
86 is generally considerably better than that achieved by more
87 conventional LZ77/LZ78-based compressors, and approaches the
88 performance of the PPM family of statistical compressors.
89
90 Unless you have a specific application which requires bunzip2, you
91 should probably say N here.
92
93config BZIP2
94 bool "bzip2"
95 default y
96 help
97 bzip2 is a compression utility using the Burrows-Wheeler block
98 sorting text compression algorithm, and Huffman coding. Compression
99 is generally considerably better than that achieved by more
100 conventional LZ77/LZ78-based compressors, and approaches the
101 performance of the PPM family of statistical compressors.
102
103 Unless you have a specific application which requires bzip2, you
104 should probably say N here.
105
106config CPIO
107 bool "cpio"
108 default y
109 help
110 cpio is an archival utility program used to create, modify, and
111 extract contents from archives.
112 cpio has 110 bytes of overheads for every stored file.
113
114 This implementation of cpio can extract cpio archives created in the
115 "newc" or "crc" format, it cannot create or modify them.
116
117 Unless you have a specific application which requires cpio, you
118 should probably say N here.
119
120config FEATURE_CPIO_O
121 bool "Support for archive creation"
122 default y
123 depends on CPIO
124 help
125 This implementation of cpio can create cpio archives in the "newc"
126 format only.
127
128config FEATURE_CPIO_P
129 bool "Support for passthrough mode"
130 default y
131 depends on FEATURE_CPIO_O
132 help
133 Passthrough mode. Rarely used.
134
135config DPKG
136 bool "dpkg"
137 default n
138 select FEATURE_SEAMLESS_GZ
139 help
140 dpkg is a medium-level tool to install, build, remove and manage
141 Debian packages.
142
143 This implementation of dpkg has a number of limitations,
144 you should use the official dpkg if possible.
145
146config DPKG_DEB
147 bool "dpkg_deb"
148 default n
149 select FEATURE_SEAMLESS_GZ
150 help
151 dpkg-deb unpacks and provides information about Debian archives.
152
153 This implementation of dpkg-deb cannot pack archives.
154
155 Unless you have a specific application which requires dpkg-deb,
156 say N here.
157
158config FEATURE_DPKG_DEB_EXTRACT_ONLY
159 bool "Extract only (-x)"
160 default n
161 depends on DPKG_DEB
162 help
163 This reduces dpkg-deb to the equivalent of
164 "ar -p <deb> data.tar.gz | tar -zx". However it saves space as none
165 of the extra dpkg-deb, ar or tar options are needed, they are linked
166 to internally.
167
168config GUNZIP
169 bool "gunzip"
170 default y
171 help
172 gunzip is used to decompress archives created by gzip.
173 You can use the `-t' option to test the integrity of
174 an archive, without decompressing it.
175
176config GZIP
177 bool "gzip"
178 default y
179 help
180 gzip is used to compress files.
181 It's probably the most widely used UNIX compression program.
182
183config FEATURE_GZIP_LONG_OPTIONS
184 bool "Enable long options"
185 default y
186 depends on GZIP && LONG_OPTS
187 help
188 Enable use of long options, increases size by about 106 Bytes
189
190config GZIP_FAST
191 int "Trade memory for gzip speed (0:small,slow - 2:fast,big)"
192 default 0
193 range 0 2
194 depends on GZIP
195 help
196 Enable big memory options for gzip.
197 0: small buffers, small hash-tables
198 1: larger buffers, larger hash-tables
199 2: larger buffers, largest hash-tables
200 Larger models may give slightly better compression
201
202config LZOP
203 bool "lzop"
204 default y
205 help
206 Lzop compression/decompresion.
207
208config LZOP_COMPR_HIGH
209 bool "lzop compression levels 7,8,9 (not very useful)"
210 default n
211 depends on LZOP
212 help
213 High levels (7,8,9) of lzop compression. These levels
214 are actually slower than gzip at equivalent compression ratios
215 and take up 3.2K of code.
216
217config RPM2CPIO
218 bool "rpm2cpio"
219 default y
220 help
221 Converts a RPM file into a CPIO archive.
222
223config RPM
224 bool "rpm"
225 default y
226 help
227 Mini RPM applet - queries and extracts RPM packages.
228
229config TAR
230 bool "tar"
231 default y
232 help
233 tar is an archiving program. It's commonly used with gzip to
234 create compressed archives. It's probably the most widely used
235 UNIX archive program.
236
237config FEATURE_TAR_CREATE
238 bool "Enable archive creation"
239 default y
240 depends on TAR
241 help
242 If you enable this option you'll be able to create
243 tar archives using the `-c' option.
244
245config FEATURE_TAR_AUTODETECT
246 bool "Autodetect compressed tarballs"
247 default y
248 depends on TAR && (FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA || FEATURE_SEAMLESS_XZ)
249 help
250 With this option tar can automatically detect compressed
251 tarballs. Currently it works only on files (not pipes etc).
252
253config FEATURE_TAR_FROM
254 bool "Enable -X (exclude from) and -T (include from) options)"
255 default y
256 depends on TAR
257 help
258 If you enable this option you'll be able to specify
259 a list of files to include or exclude from an archive.
260
261config FEATURE_TAR_OLDGNU_COMPATIBILITY
262 bool "Support for old tar header format"
263 default y
264 depends on TAR || DPKG
265 help
266 This option is required to unpack archives created in
267 the old GNU format; help to kill this old format by
268 repacking your ancient archives with the new format.
269
270config FEATURE_TAR_OLDSUN_COMPATIBILITY
271 bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
272 default y
273 depends on TAR || DPKG
274 help
275 This option is required to unpack archives created by some old
276 version of Sun's tar (it was calculating checksum using signed
277 arithmetic). It is said to be fixed in newer Sun tar, but "old"
278 tarballs still exist.
279
280config FEATURE_TAR_GNU_EXTENSIONS
281 bool "Support for GNU tar extensions (long filenames)"
282 default y
283 depends on TAR || DPKG
284 help
285 With this option busybox supports GNU long filenames and
286 linknames.
287
288config FEATURE_TAR_LONG_OPTIONS
289 bool "Enable long options"
290 default y
291 depends on TAR && LONG_OPTS
292 help
293 Enable use of long options, increases size by about 400 Bytes
294
295config FEATURE_TAR_TO_COMMAND
296 bool "Support for writing to an external program"
297 default y
298 depends on TAR && FEATURE_TAR_LONG_OPTIONS
299 help
300 If you enable this option you'll be able to instruct tar to send
301 the contents of each extracted file to the standard input of an
302 external program.
303
304config FEATURE_TAR_UNAME_GNAME
305 bool "Enable use of user and group names"
306 default y
307 depends on TAR
308 help
309 Enables use of user and group names in tar. This affects contents
310 listings (-t) and preserving permissions when unpacking (-p).
311 +200 bytes.
312
313config FEATURE_TAR_NOPRESERVE_TIME
314 bool "Enable -m (do not preserve time) option"
315 default y
316 depends on TAR
317 help
318 With this option busybox supports GNU tar -m
319 (do not preserve time) option.
320
321config FEATURE_TAR_SELINUX
322 bool "Support for extracting SELinux labels"
323 default n
324 depends on TAR && SELINUX
325 help
326 With this option busybox supports restoring SELinux labels
327 when extracting files from tar archives.
328
329config UNCOMPRESS
330 bool "uncompress"
331 default n
332 help
333 uncompress is used to decompress archives created by compress.
334 Not much used anymore, replaced by gzip/gunzip.
335
336config UNLZMA
337 bool "unlzma"
338 default y
339 help
340 unlzma is a compression utility using the Lempel-Ziv-Markov chain
341 compression algorithm, and range coding. Compression
342 is generally considerably better than that achieved by the bzip2
343 compressors.
344
345 The BusyBox unlzma applet is limited to decompression only.
346 On an x86 system, this applet adds about 4K.
347
348config FEATURE_LZMA_FAST
349 bool "Optimize unlzma for speed"
350 default n
351 depends on UNLZMA
352 help
353 This option reduces decompression time by about 25% at the cost of
354 a 1K bigger binary.
355
356config LZMA
357 bool "Provide lzma alias which supports only unpacking"
358 default y
359 depends on UNLZMA
360 help
361 Enable this option if you want commands like "lzma -d" to work.
362 IOW: you'll get lzma applet, but it will always require -d option.
363
364config UNXZ
365 bool "unxz"
366 default y
367 help
368 unxz is a unlzma successor.
369
370config XZ
371 bool "Provide xz alias which supports only unpacking"
372 default y
373 depends on UNXZ
374 help
375 Enable this option if you want commands like "xz -d" to work.
376 IOW: you'll get xz applet, but it will always require -d option.
377
378config UNZIP
379 bool "unzip"
380 default y
381 help
382 unzip will list or extract files from a ZIP archive,
383 commonly found on DOS/WIN systems. The default behavior
384 (with no options) is to extract the archive into the
385 current directory. Use the `-d' option to extract to a
386 directory of your choice.
387
388endmenu
Note: See TracBrowser for help on using the repository browser.