diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/Config.src (renamed from archival/Config.in) | 64 | ||||
-rw-r--r-- | archival/Kbuild.src (renamed from archival/Kbuild) | 0 | ||||
-rw-r--r-- | archival/bbunzip.c | 13 | ||||
-rw-r--r-- | archival/libunarchive/Kbuild.src (renamed from archival/libunarchive/Kbuild) | 0 |
4 files changed, 45 insertions, 32 deletions
diff --git a/archival/Config.in b/archival/Config.src index 4f762e860..de453bc21 100644 --- a/archival/Config.in +++ b/archival/Config.src | |||
@@ -7,25 +7,25 @@ menu "Archival Utilities" | |||
7 | 7 | ||
8 | config FEATURE_SEAMLESS_XZ | 8 | config FEATURE_SEAMLESS_XZ |
9 | bool "Make tar, rpm, modprobe etc understand .xz data" | 9 | bool "Make tar, rpm, modprobe etc understand .xz data" |
10 | default n | 10 | default y |
11 | help | 11 | help |
12 | Make tar, rpm, modprobe etc understand .xz data. | 12 | Make tar, rpm, modprobe etc understand .xz data. |
13 | 13 | ||
14 | config FEATURE_SEAMLESS_LZMA | 14 | config FEATURE_SEAMLESS_LZMA |
15 | bool "Make tar, rpm, modprobe etc understand .lzma data" | 15 | bool "Make tar, rpm, modprobe etc understand .lzma data" |
16 | default n | 16 | default y |
17 | help | 17 | help |
18 | Make tar, rpm, modprobe etc understand .lzma data. | 18 | Make tar, rpm, modprobe etc understand .lzma data. |
19 | 19 | ||
20 | config FEATURE_SEAMLESS_BZ2 | 20 | config FEATURE_SEAMLESS_BZ2 |
21 | bool "Make tar, rpm, modprobe etc understand .bz2 data" | 21 | bool "Make tar, rpm, modprobe etc understand .bz2 data" |
22 | default n | 22 | default y |
23 | help | 23 | help |
24 | Make tar, rpm, modprobe etc understand .bz2 data. | 24 | Make tar, rpm, modprobe etc understand .bz2 data. |
25 | 25 | ||
26 | config FEATURE_SEAMLESS_GZ | 26 | config FEATURE_SEAMLESS_GZ |
27 | bool "Make tar, rpm, modprobe etc understand .gz data" | 27 | bool "Make tar, rpm, modprobe etc understand .gz data" |
28 | default n | 28 | default y |
29 | help | 29 | help |
30 | Make tar, rpm, modprobe etc understand .gz data. | 30 | Make tar, rpm, modprobe etc understand .gz data. |
31 | 31 | ||
@@ -37,7 +37,7 @@ config FEATURE_SEAMLESS_Z | |||
37 | 37 | ||
38 | config AR | 38 | config AR |
39 | bool "ar" | 39 | bool "ar" |
40 | default n | 40 | default y |
41 | help | 41 | help |
42 | ar is an archival utility program used to create, modify, and | 42 | ar is an archival utility program used to create, modify, and |
43 | extract contents from archives. An archive is a single file holding | 43 | extract contents from archives. An archive is a single file holding |
@@ -60,7 +60,7 @@ config AR | |||
60 | 60 | ||
61 | config FEATURE_AR_LONG_FILENAMES | 61 | config FEATURE_AR_LONG_FILENAMES |
62 | bool "Support for long filenames (not needed for debs)" | 62 | bool "Support for long filenames (not needed for debs)" |
63 | default n | 63 | default y |
64 | depends on AR | 64 | depends on AR |
65 | help | 65 | help |
66 | By default the ar format can only store the first 15 characters | 66 | By default the ar format can only store the first 15 characters |
@@ -70,14 +70,14 @@ config FEATURE_AR_LONG_FILENAMES | |||
70 | 70 | ||
71 | config FEATURE_AR_CREATE | 71 | config FEATURE_AR_CREATE |
72 | bool "Support archive creation" | 72 | bool "Support archive creation" |
73 | default n | 73 | default y |
74 | depends on AR | 74 | depends on AR |
75 | help | 75 | help |
76 | This enables archive creation (-c and -r) with busybox ar. | 76 | This enables archive creation (-c and -r) with busybox ar. |
77 | 77 | ||
78 | config BUNZIP2 | 78 | config BUNZIP2 |
79 | bool "bunzip2" | 79 | bool "bunzip2" |
80 | default n | 80 | default y |
81 | help | 81 | help |
82 | bunzip2 is a compression utility using the Burrows-Wheeler block | 82 | bunzip2 is a compression utility using the Burrows-Wheeler block |
83 | sorting text compression algorithm, and Huffman coding. Compression | 83 | sorting text compression algorithm, and Huffman coding. Compression |
@@ -90,7 +90,7 @@ config BUNZIP2 | |||
90 | 90 | ||
91 | config BZIP2 | 91 | config BZIP2 |
92 | bool "bzip2" | 92 | bool "bzip2" |
93 | default n | 93 | default y |
94 | help | 94 | help |
95 | bzip2 is a compression utility using the Burrows-Wheeler block | 95 | bzip2 is a compression utility using the Burrows-Wheeler block |
96 | sorting text compression algorithm, and Huffman coding. Compression | 96 | sorting text compression algorithm, and Huffman coding. Compression |
@@ -103,7 +103,7 @@ config BZIP2 | |||
103 | 103 | ||
104 | config CPIO | 104 | config CPIO |
105 | bool "cpio" | 105 | bool "cpio" |
106 | default n | 106 | default y |
107 | help | 107 | help |
108 | cpio is an archival utility program used to create, modify, and | 108 | cpio is an archival utility program used to create, modify, and |
109 | extract contents from archives. | 109 | extract contents from archives. |
@@ -117,7 +117,7 @@ config CPIO | |||
117 | 117 | ||
118 | config FEATURE_CPIO_O | 118 | config FEATURE_CPIO_O |
119 | bool "Support for archive creation" | 119 | bool "Support for archive creation" |
120 | default n | 120 | default y |
121 | depends on CPIO | 121 | depends on CPIO |
122 | help | 122 | help |
123 | This implementation of cpio can create cpio archives in the "newc" | 123 | This implementation of cpio can create cpio archives in the "newc" |
@@ -125,7 +125,7 @@ config FEATURE_CPIO_O | |||
125 | 125 | ||
126 | config FEATURE_CPIO_P | 126 | config FEATURE_CPIO_P |
127 | bool "Support for passthrough mode" | 127 | bool "Support for passthrough mode" |
128 | default n | 128 | default y |
129 | depends on FEATURE_CPIO_O | 129 | depends on FEATURE_CPIO_O |
130 | help | 130 | help |
131 | Passthrough mode. Rarely used. | 131 | Passthrough mode. Rarely used. |
@@ -165,7 +165,7 @@ config FEATURE_DPKG_DEB_EXTRACT_ONLY | |||
165 | 165 | ||
166 | config GUNZIP | 166 | config GUNZIP |
167 | bool "gunzip" | 167 | bool "gunzip" |
168 | default n | 168 | default y |
169 | help | 169 | help |
170 | gunzip is used to decompress archives created by gzip. | 170 | gunzip is used to decompress archives created by gzip. |
171 | You can use the `-t' option to test the integrity of | 171 | You can use the `-t' option to test the integrity of |
@@ -173,21 +173,21 @@ config GUNZIP | |||
173 | 173 | ||
174 | config GZIP | 174 | config GZIP |
175 | bool "gzip" | 175 | bool "gzip" |
176 | default n | 176 | default y |
177 | help | 177 | help |
178 | gzip is used to compress files. | 178 | gzip is used to compress files. |
179 | It's probably the most widely used UNIX compression program. | 179 | It's probably the most widely used UNIX compression program. |
180 | 180 | ||
181 | config FEATURE_GZIP_LONG_OPTIONS | 181 | config FEATURE_GZIP_LONG_OPTIONS |
182 | bool "Enable long options" | 182 | bool "Enable long options" |
183 | default n | 183 | default y |
184 | depends on GZIP && LONG_OPTS | 184 | depends on GZIP && LONG_OPTS |
185 | help | 185 | help |
186 | Enable use of long options, increases size by about 106 Bytes | 186 | Enable use of long options, increases size by about 106 Bytes |
187 | 187 | ||
188 | config LZOP | 188 | config LZOP |
189 | bool "lzop" | 189 | bool "lzop" |
190 | default n | 190 | default y |
191 | help | 191 | help |
192 | Lzop compression/decompresion. | 192 | Lzop compression/decompresion. |
193 | 193 | ||
@@ -202,19 +202,19 @@ config LZOP_COMPR_HIGH | |||
202 | 202 | ||
203 | config RPM2CPIO | 203 | config RPM2CPIO |
204 | bool "rpm2cpio" | 204 | bool "rpm2cpio" |
205 | default n | 205 | default y |
206 | help | 206 | help |
207 | Converts an RPM file into a CPIO archive. | 207 | Converts an RPM file into a CPIO archive. |
208 | 208 | ||
209 | config RPM | 209 | config RPM |
210 | bool "rpm" | 210 | bool "rpm" |
211 | default n | 211 | default y |
212 | help | 212 | help |
213 | Mini RPM applet - queries and extracts RPM packages. | 213 | Mini RPM applet - queries and extracts RPM packages. |
214 | 214 | ||
215 | config TAR | 215 | config TAR |
216 | bool "tar" | 216 | bool "tar" |
217 | default n | 217 | default y |
218 | help | 218 | help |
219 | tar is an archiving program. It's commonly used with gzip to | 219 | tar is an archiving program. It's commonly used with gzip to |
220 | create compressed archives. It's probably the most widely used | 220 | create compressed archives. It's probably the most widely used |
@@ -230,7 +230,7 @@ config FEATURE_TAR_CREATE | |||
230 | 230 | ||
231 | config FEATURE_TAR_AUTODETECT | 231 | config FEATURE_TAR_AUTODETECT |
232 | bool "Autodetect compressed tarballs" | 232 | bool "Autodetect compressed tarballs" |
233 | default n | 233 | default y |
234 | depends on TAR && (FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA || FEATURE_SEAMLESS_XZ) | 234 | depends on TAR && (FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA || FEATURE_SEAMLESS_XZ) |
235 | help | 235 | help |
236 | With this option tar can automatically detect compressed | 236 | With this option tar can automatically detect compressed |
@@ -238,7 +238,7 @@ config FEATURE_TAR_AUTODETECT | |||
238 | 238 | ||
239 | config FEATURE_TAR_FROM | 239 | config FEATURE_TAR_FROM |
240 | bool "Enable -X (exclude from) and -T (include from) options)" | 240 | bool "Enable -X (exclude from) and -T (include from) options)" |
241 | default n | 241 | default y |
242 | depends on TAR | 242 | depends on TAR |
243 | help | 243 | help |
244 | If you enable this option you'll be able to specify | 244 | If you enable this option you'll be able to specify |
@@ -246,7 +246,7 @@ config FEATURE_TAR_FROM | |||
246 | 246 | ||
247 | config FEATURE_TAR_OLDGNU_COMPATIBILITY | 247 | config FEATURE_TAR_OLDGNU_COMPATIBILITY |
248 | bool "Support for old tar header format" | 248 | bool "Support for old tar header format" |
249 | default N | 249 | default y |
250 | depends on TAR || DPKG | 250 | depends on TAR || DPKG |
251 | help | 251 | help |
252 | This option is required to unpack archives created in | 252 | This option is required to unpack archives created in |
@@ -255,7 +255,7 @@ config FEATURE_TAR_OLDGNU_COMPATIBILITY | |||
255 | 255 | ||
256 | config FEATURE_TAR_OLDSUN_COMPATIBILITY | 256 | config FEATURE_TAR_OLDSUN_COMPATIBILITY |
257 | bool "Enable untarring of tarballs with checksums produced by buggy Sun tar" | 257 | bool "Enable untarring of tarballs with checksums produced by buggy Sun tar" |
258 | default N | 258 | default y |
259 | depends on TAR || DPKG | 259 | depends on TAR || DPKG |
260 | help | 260 | help |
261 | This option is required to unpack archives created by some old | 261 | This option is required to unpack archives created by some old |
@@ -273,14 +273,14 @@ config FEATURE_TAR_GNU_EXTENSIONS | |||
273 | 273 | ||
274 | config FEATURE_TAR_LONG_OPTIONS | 274 | config FEATURE_TAR_LONG_OPTIONS |
275 | bool "Enable long options" | 275 | bool "Enable long options" |
276 | default n | 276 | default y |
277 | depends on TAR && LONG_OPTS | 277 | depends on TAR && LONG_OPTS |
278 | help | 278 | help |
279 | Enable use of long options, increases size by about 400 Bytes | 279 | Enable use of long options, increases size by about 400 Bytes |
280 | 280 | ||
281 | config FEATURE_TAR_UNAME_GNAME | 281 | config FEATURE_TAR_UNAME_GNAME |
282 | bool "Enable use of user and group names" | 282 | bool "Enable use of user and group names" |
283 | default n | 283 | default y |
284 | depends on TAR | 284 | depends on TAR |
285 | help | 285 | help |
286 | Enables use of user and group names in tar. This affects contents | 286 | Enables use of user and group names in tar. This affects contents |
@@ -289,7 +289,7 @@ config FEATURE_TAR_UNAME_GNAME | |||
289 | 289 | ||
290 | config FEATURE_TAR_NOPRESERVE_TIME | 290 | config FEATURE_TAR_NOPRESERVE_TIME |
291 | bool "Enable -m (do not preserve time) option" | 291 | bool "Enable -m (do not preserve time) option" |
292 | default n | 292 | default y |
293 | depends on TAR | 293 | depends on TAR |
294 | help | 294 | help |
295 | With this option busybox supports GNU tar -m | 295 | With this option busybox supports GNU tar -m |
@@ -312,7 +312,7 @@ config UNCOMPRESS | |||
312 | 312 | ||
313 | config UNLZMA | 313 | config UNLZMA |
314 | bool "unlzma" | 314 | bool "unlzma" |
315 | default n | 315 | default y |
316 | help | 316 | help |
317 | unlzma is a compression utility using the Lempel-Ziv-Markov chain | 317 | unlzma is a compression utility using the Lempel-Ziv-Markov chain |
318 | compression algorithm, and range coding. Compression | 318 | compression algorithm, and range coding. Compression |
@@ -327,7 +327,7 @@ config UNLZMA | |||
327 | 327 | ||
328 | config FEATURE_LZMA_FAST | 328 | config FEATURE_LZMA_FAST |
329 | bool "Optimize unlzma for speed" | 329 | bool "Optimize unlzma for speed" |
330 | default n | 330 | default y |
331 | depends on UNLZMA | 331 | depends on UNLZMA |
332 | help | 332 | help |
333 | This option reduces decompression time by about 25% at the cost of | 333 | This option reduces decompression time by about 25% at the cost of |
@@ -335,7 +335,7 @@ config FEATURE_LZMA_FAST | |||
335 | 335 | ||
336 | config LZMA | 336 | config LZMA |
337 | bool "Provide lzma alias which supports only unpacking" | 337 | bool "Provide lzma alias which supports only unpacking" |
338 | default n | 338 | default y |
339 | depends on UNLZMA | 339 | depends on UNLZMA |
340 | help | 340 | help |
341 | Enable this option if you want commands like "lzma -d" to work. | 341 | Enable this option if you want commands like "lzma -d" to work. |
@@ -343,13 +343,13 @@ config LZMA | |||
343 | 343 | ||
344 | config UNXZ | 344 | config UNXZ |
345 | bool "unxz" | 345 | bool "unxz" |
346 | default n | 346 | default y |
347 | help | 347 | help |
348 | unxz is a unlzma successor. | 348 | unxz is a unlzma successor. |
349 | 349 | ||
350 | config XZ | 350 | config XZ |
351 | bool "Provide xz alias which supports only unpacking" | 351 | bool "Provide xz alias which supports only unpacking" |
352 | default n | 352 | default y |
353 | depends on UNXZ | 353 | depends on UNXZ |
354 | help | 354 | help |
355 | Enable this option if you want commands like "xz -d" to work. | 355 | Enable this option if you want commands like "xz -d" to work. |
@@ -357,7 +357,7 @@ config XZ | |||
357 | 357 | ||
358 | config UNZIP | 358 | config UNZIP |
359 | bool "unzip" | 359 | bool "unzip" |
360 | default n | 360 | default y |
361 | help | 361 | help |
362 | unzip will list or extract files from a ZIP archive, | 362 | unzip will list or extract files from a ZIP archive, |
363 | commonly found on DOS/WIN systems. The default behavior | 363 | commonly found on DOS/WIN systems. The default behavior |
diff --git a/archival/Kbuild b/archival/Kbuild.src index 3300ea90f..3300ea90f 100644 --- a/archival/Kbuild +++ b/archival/Kbuild.src | |||
diff --git a/archival/bbunzip.c b/archival/bbunzip.c index 08db2752c..b243afb2e 100644 --- a/archival/bbunzip.c +++ b/archival/bbunzip.c | |||
@@ -304,6 +304,19 @@ int gunzip_main(int argc UNUSED_PARAM, char **argv) | |||
304 | * | 304 | * |
305 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 305 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
306 | */ | 306 | */ |
307 | //usage:#define bunzip2_trivial_usage | ||
308 | //usage: "[OPTIONS] [FILE]..." | ||
309 | //usage:#define bunzip2_full_usage "\n\n" | ||
310 | //usage: "Decompress FILEs (or stdin)\n" | ||
311 | //usage: "\nOptions:" | ||
312 | //usage: "\n -c Write to stdout" | ||
313 | //usage: "\n -f Force" | ||
314 | //usage:#define bzcat_trivial_usage | ||
315 | //usage: "FILE" | ||
316 | //usage:#define bzcat_full_usage "\n\n" | ||
317 | //usage: "Decompress to stdout" | ||
318 | //applet:IF_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | ||
319 | //applet:IF_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP, bzcat)) | ||
307 | #if ENABLE_BUNZIP2 | 320 | #if ENABLE_BUNZIP2 |
308 | static | 321 | static |
309 | IF_DESKTOP(long long) int FAST_FUNC unpack_bunzip2(unpack_info_t *info UNUSED_PARAM) | 322 | IF_DESKTOP(long long) int FAST_FUNC unpack_bunzip2(unpack_info_t *info UNUSED_PARAM) |
diff --git a/archival/libunarchive/Kbuild b/archival/libunarchive/Kbuild.src index ed8e85793..ed8e85793 100644 --- a/archival/libunarchive/Kbuild +++ b/archival/libunarchive/Kbuild.src | |||