busybox: Ensure that diff is available for ipkg upgrade requirements
[oweals/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_AR
9         bool "ar"
10         default n
11         help
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
18           extraction.
19
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.
23
24           This implementation of ar can extract archives, it cannot create or
25           modify them.
26           On an x86 system, the ar applet adds about 1K.
27
28           Unless you have a specific application which requires ar, you should
29           probably say N here.
30
31 config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES
32         bool "Enable support for long filenames (not need for debs)"
33         default n
34         depends on BUSYBOX_CONFIG_AR
35         help
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.
40
41 config BUSYBOX_CONFIG_BUNZIP2
42         bool "bunzip2"
43         default y
44         help
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.
50
51           The BusyBox bunzip2 applet is limited to de-compression only.
52           On an x86 system, this applet adds about 11K.
53
54           Unless you have a specific application which requires bunzip2, you
55           should probably say N here.
56
57 config BUSYBOX_CONFIG_CPIO
58         bool "cpio"
59         default n
60         help
61           cpio is an archival utility program used to create, modify, and extract
62           contents from archives.
63           cpio has 110 bytes of overheads for every stored file.
64
65           This implementation of cpio can extract cpio archives created in the
66           "newc" or "crc" format, it cannot create or modify them.
67
68           Unless you have a specific application which requires cpio, you should
69           probably say N here.
70
71 config BUSYBOX_CONFIG_DPKG
72         bool "dpkg"
73         default n
74         help
75           dpkg is a medium-level tool to install, build, remove and manage Debian packages.
76
77           This implementation of dpkg has a number of limitations, you should use the
78           official dpkg if possible.
79
80 config BUSYBOX_CONFIG_DPKG_DEB
81         bool "dpkg_deb"
82         default n
83         help
84           dpkg-deb packs, unpacks and provides information about Debian archives.
85
86           This implementation of dpkg-deb cannot pack archives.
87
88           Unless you have a specific application which requires dpkg-deb, you should
89           probably say N here.
90
91 config BUSYBOX_CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY
92         bool "extract only (-x)"
93         default n
94         depends on BUSYBOX_CONFIG_DPKG_DEB
95         help
96           This reduces dpkg-deb to the equivalent of "ar -p <deb> data.tar.gz | tar -zx".
97           However it saves space as none of the extra dpkg-deb, ar or tar options are
98           needed, they are linked to internally.
99
100 config BUSYBOX_CONFIG_GUNZIP
101         bool "gunzip"
102         default y
103         help
104           gunzip is used to decompress archives created by gzip.
105           You can use the `-t' option to test the integrity of
106           an archive, without decompressing it.
107
108 config BUSYBOX_CONFIG_FEATURE_GUNZIP_UNCOMPRESS
109         bool "Uncompress support"
110         default y
111         depends on BUSYBOX_CONFIG_GUNZIP
112         help
113           Enable if you want gunzip to have the ability to decompress
114           archives created by the program compress (not much
115           used anymore).
116
117 config BUSYBOX_CONFIG_GZIP
118         bool "gzip"
119         default y
120         help
121           gzip is used to compress files.
122           It's probably the most widely used UNIX compression program.
123
124 config BUSYBOX_CONFIG_IPKG
125         bool "ipkg"
126         default y
127         select BUSYBOX_CONFIG_MD5SUM
128         select BUSYBOX_CONFIG_WGET
129         select BUSYBOX_CONFIG_DIFF
130         help
131           ipkg is the itsy package management system.
132
133 config BUSYBOX_CONFIG_RPM2CPIO
134         bool "rpm2cpio"
135         default n
136         help
137           Converts an RPM file into a CPIO archive.
138
139 config BUSYBOX_CONFIG_RPM
140         bool "rpm"
141         default n
142         help
143           Mini RPM applet - queries and extracts RPM packages.
144
145 config BUSYBOX_CONFIG_TAR
146         bool "tar"
147         default y
148         help
149           tar is an archiving program. It's commonly used with gzip to
150           create compressed archives. It's probably the most widely used
151           UNIX archive program.
152
153 config BUSYBOX_CONFIG_FEATURE_TAR_CREATE
154         bool "Enable archive creation"
155         default y
156         depends on BUSYBOX_CONFIG_TAR
157         help
158           If you enable this option you'll be able to create
159           tar archives using the `-c' option.
160
161 config BUSYBOX_CONFIG_FEATURE_TAR_BZIP2
162         bool "Enable -j option to handle .tar.bz2 files"
163         default y
164         depends on BUSYBOX_CONFIG_TAR
165         help
166           If you enable this option you'll be able to extract
167           archives compressed with bzip2.
168
169 config BUSYBOX_CONFIG_FEATURE_TAR_LZMA
170         bool "Enable -a option to handle .tar.lzma files"
171         default n
172         depends on BUSYBOX_CONFIG_TAR
173         help
174           If you enable this option you'll be able to extract
175           archives compressed with lzma.
176
177 config BUSYBOX_CONFIG_FEATURE_TAR_FROM
178         bool "Enable -X (exclude from) and -T (include from) options)"
179         default y
180         depends on BUSYBOX_CONFIG_TAR
181         help
182           If you enable this option you'll be able to specify
183           a list of files to include or exclude from an archive.
184
185 config BUSYBOX_CONFIG_FEATURE_TAR_GZIP
186         bool "Enable -z option"
187         default y
188         depends on BUSYBOX_CONFIG_TAR
189         help
190           If you enable this option tar will be able to call gzip,
191           when creating or extracting tar gziped archives.
192
193 config BUSYBOX_CONFIG_FEATURE_TAR_COMPRESS
194         bool "Enable -Z option"
195         default n
196         depends on BUSYBOX_CONFIG_TAR
197         help
198           If you enable this option tar will be able to call uncompress,
199           when extracting .tar.Z archives.
200
201 config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
202         bool "Enable support for old tar header format"
203         default n
204         depends on BUSYBOX_CONFIG_TAR
205         help
206           This option is required to unpack archives created in
207           the old GNU format; help to kill this old format by
208           repacking your ancient archives with the new format.
209
210 config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS
211         bool "Enable support for some GNU tar extensions"
212         default y
213         depends on BUSYBOX_CONFIG_TAR
214         help
215           With this option busybox supports GNU long filenames and
216           linknames.
217
218 config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
219         bool "Enable long options"
220         default n
221         depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_GETOPT_LONG
222         help
223                 Enable use of long options, increases size by about 400 Bytes
224
225 config BUSYBOX_CONFIG_UNCOMPRESS
226         bool "uncompress"
227         default n
228         help
229           uncompress is used to decompress archives created by compress.
230           Not much used anymore, replaced by gzip/gunzip.
231
232 config BUSYBOX_CONFIG_UNLZMA
233         bool "unlzma"
234         default n
235         help
236           unlzma is a compression utility using the Lempel-Ziv-Markov chain
237           compression algorithm, and range coding.  Compression
238           is generally considerably better than that achieved by the bzip2
239           compressors.
240
241           The BusyBox unlzma applet is limited to de-compression only.
242           On an x86 system, this applet adds about 4K.
243
244           Unless you have a specific application which requires unlzma, you
245           should probably say N here.
246
247 config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
248         bool "Optimze unlzma for speed"
249         default n
250         depends on BUSYBOX_CONFIG_UNLZMA
251         help
252           This option reduces decompression time by about 33% at the cost of
253           a 2K bigger binary.
254
255 config BUSYBOX_CONFIG_UNZIP
256         bool "unzip"
257         default n
258         help
259           unzip will list or extract files from a ZIP archive,
260           commonly found on DOS/WIN systems. The default behavior
261           (with no options) is to extract the archive into the
262           current directory. Use the `-d' option to extract to a
263           directory of your choice.
264
265 comment "Common options for cpio and tar"
266         depends on BUSYBOX_CONFIG_CPIO || BUSYBOX_CONFIG_TAR
267
268 config BUSYBOX_CONFIG_FEATURE_UNARCHIVE_TAPE
269         bool "Enable tape drive support"
270         default n
271         depends on BUSYBOX_CONFIG_CPIO || BUSYBOX_CONFIG_TAR
272         help
273           I don't think this is needed anymore.
274
275 comment "Common options for dpkg and dpkg_deb"
276         depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
277
278 config BUSYBOX_CONFIG_FEATURE_DEB_TAR_GZ
279         bool "gzip debian packages (normal)"
280         default n if BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
281         depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
282         help
283           This is the default compression method inside the debian ar file.
284
285           If you want compatibility with standard .deb's you should say yes here.
286
287 config BUSYBOX_CONFIG_FEATURE_DEB_TAR_BZ2
288         bool "bzip2 debian packages"
289         default n
290         depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
291         help
292           This allows dpkg and dpkg-deb to extract deb's that are compressed internally
293           with bzip2 instead of gzip.
294
295           You only want this if you are creating your own custom debian packages that
296           use an internal control.tar.bz2 or data.tar.bz2.
297
298 config BUSYBOX_CONFIG_FEATURE_DEB_TAR_LZMA
299         bool "lzma debian packages"
300         default n
301         depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
302         help
303           This allows dpkg and dpkg-deb to extract deb's that are compressed
304           internally with lzma instead of gzip.
305
306           You only want this if you are creating your own custom debian
307           packages that use an internal control.tar.lzma or data.tar.lzma.
308
309 endmenu