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