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