Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 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 | |
Denys Vlasenko | d70e0e9 | 2010-06-08 12:15:11 +0200 | [diff] [blame] | 8 | INSERT |
| 9 | |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 10 | config FEATURE_SEAMLESS_XZ |
| 11 | bool "Make tar, rpm, modprobe etc understand .xz data" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 12 | default y |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 13 | help |
| 14 | Make tar, rpm, modprobe etc understand .xz data. |
| 15 | |
Denis Vlasenko | e9ad84d | 2008-08-05 13:10:34 +0000 | [diff] [blame] | 16 | config FEATURE_SEAMLESS_LZMA |
Denis Vlasenko | 540baf6 | 2008-08-05 13:16:18 +0000 | [diff] [blame] | 17 | bool "Make tar, rpm, modprobe etc understand .lzma data" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 18 | default y |
Denis Vlasenko | e9ad84d | 2008-08-05 13:10:34 +0000 | [diff] [blame] | 19 | help |
Denis Vlasenko | 540baf6 | 2008-08-05 13:16:18 +0000 | [diff] [blame] | 20 | Make tar, rpm, modprobe etc understand .lzma data. |
Denis Vlasenko | e9ad84d | 2008-08-05 13:10:34 +0000 | [diff] [blame] | 21 | |
| 22 | config FEATURE_SEAMLESS_BZ2 |
Denis Vlasenko | 540baf6 | 2008-08-05 13:16:18 +0000 | [diff] [blame] | 23 | bool "Make tar, rpm, modprobe etc understand .bz2 data" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 24 | default y |
Denis Vlasenko | e9ad84d | 2008-08-05 13:10:34 +0000 | [diff] [blame] | 25 | help |
Denis Vlasenko | 540baf6 | 2008-08-05 13:16:18 +0000 | [diff] [blame] | 26 | Make tar, rpm, modprobe etc understand .bz2 data. |
Denis Vlasenko | e9ad84d | 2008-08-05 13:10:34 +0000 | [diff] [blame] | 27 | |
| 28 | config FEATURE_SEAMLESS_GZ |
Denis Vlasenko | 540baf6 | 2008-08-05 13:16:18 +0000 | [diff] [blame] | 29 | bool "Make tar, rpm, modprobe etc understand .gz data" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 30 | default y |
Denis Vlasenko | e9ad84d | 2008-08-05 13:10:34 +0000 | [diff] [blame] | 31 | help |
Denis Vlasenko | 540baf6 | 2008-08-05 13:16:18 +0000 | [diff] [blame] | 32 | Make tar, rpm, modprobe etc understand .gz data. |
Denis Vlasenko | e9ad84d | 2008-08-05 13:10:34 +0000 | [diff] [blame] | 33 | |
| 34 | config FEATURE_SEAMLESS_Z |
Denys Vlasenko | 02c3c38 | 2012-03-06 16:32:06 +0100 | [diff] [blame] | 35 | bool "tar, rpm, modprobe etc understand .Z data" |
Denis Vlasenko | e9ad84d | 2008-08-05 13:10:34 +0000 | [diff] [blame] | 36 | default n |
| 37 | help |
Denys Vlasenko | 02c3c38 | 2012-03-06 16:32:06 +0100 | [diff] [blame] | 38 | Make tar, rpm, modprobe etc understand .Z data. |
Denis Vlasenko | e9ad84d | 2008-08-05 13:10:34 +0000 | [diff] [blame] | 39 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 40 | config AR |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 41 | bool "ar" |
Denys Vlasenko | 5d26df6 | 2010-07-16 15:31:38 +0200 | [diff] [blame] | 42 | default n # needs to be improved to be able to replace binutils ar |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 43 | help |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 44 | ar is an archival utility program used to create, modify, and |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 45 | extract contents from archives. An archive is a single file holding |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 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 |
Glenn L McGrath | 0337c46 | 2002-12-06 22:40:54 +0000 | [diff] [blame] | 50 | extraction. |
Eric Andersen | 6d3c7e7 | 2003-08-22 21:15:07 +0000 | [diff] [blame] | 51 | |
Glenn L McGrath | 0337c46 | 2002-12-06 22:40:54 +0000 | [diff] [blame] | 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. |
Eric Andersen | 6d3c7e7 | 2003-08-22 21:15:07 +0000 | [diff] [blame] | 58 | On an x86 system, the ar applet adds about 1K. |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 59 | |
| 60 | Unless you have a specific application which requires ar, you should |
| 61 | probably say N here. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 62 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 63 | config FEATURE_AR_LONG_FILENAMES |
Denys Vlasenko | bcbd37d | 2009-06-18 13:23:58 +0200 | [diff] [blame] | 64 | bool "Support for long filenames (not needed for debs)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 65 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 66 | depends on AR |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 67 | help |
Denys Vlasenko | bcbd37d | 2009-06-18 13:23:58 +0200 | [diff] [blame] | 68 | By default the ar format can only store the first 15 characters |
| 69 | of the filename, this option removes that limitation. |
Glenn L McGrath | 0337c46 | 2002-12-06 22:40:54 +0000 | [diff] [blame] | 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. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 72 | |
Alexander Shishkin | 535584c | 2010-03-15 15:38:09 +0100 | [diff] [blame] | 73 | config FEATURE_AR_CREATE |
| 74 | bool "Support archive creation" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 75 | default y |
Alexander Shishkin | 535584c | 2010-03-15 15:38:09 +0100 | [diff] [blame] | 76 | depends on AR |
| 77 | help |
| 78 | This enables archive creation (-c and -r) with busybox ar. |
| 79 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 80 | config BUNZIP2 |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 81 | bool "bunzip2" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 82 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 83 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 84 | bunzip2 is a compression utility using the Burrows-Wheeler block |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 85 | sorting text compression algorithm, and Huffman coding. Compression |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 86 | is generally considerably better than that achieved by more |
| 87 | conventional LZ77/LZ78-based compressors, and approaches the |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 88 | performance of the PPM family of statistical compressors. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 89 | |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 90 | Unless you have a specific application which requires bunzip2, you |
| 91 | should probably say N here. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 92 | |
Denis Vlasenko | 77f1ec1 | 2007-10-13 03:36:03 +0000 | [diff] [blame] | 93 | config BZIP2 |
| 94 | bool "bzip2" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 95 | default y |
Denis Vlasenko | 77f1ec1 | 2007-10-13 03:36:03 +0000 | [diff] [blame] | 96 | help |
| 97 | bzip2 is a compression utility using the Burrows-Wheeler block |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 98 | sorting text compression algorithm, and Huffman coding. Compression |
Denis Vlasenko | 77f1ec1 | 2007-10-13 03:36:03 +0000 | [diff] [blame] | 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 106 | config CPIO |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 107 | bool "cpio" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 108 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 109 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 110 | cpio is an archival utility program used to create, modify, and |
| 111 | extract contents from archives. |
Glenn L McGrath | 0337c46 | 2002-12-06 22:40:54 +0000 | [diff] [blame] | 112 | cpio has 110 bytes of overheads for every stored file. |
| 113 | |
| 114 | This implementation of cpio can extract cpio archives created in the |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 115 | "newc" or "crc" format, it cannot create or modify them. |
Glenn L McGrath | 0337c46 | 2002-12-06 22:40:54 +0000 | [diff] [blame] | 116 | |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 117 | Unless you have a specific application which requires cpio, you |
| 118 | should probably say N here. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 119 | |
Denis Vlasenko | 261f237 | 2008-04-05 00:07:46 +0000 | [diff] [blame] | 120 | config FEATURE_CPIO_O |
| 121 | bool "Support for archive creation" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 122 | default y |
Denis Vlasenko | 261f237 | 2008-04-05 00:07:46 +0000 | [diff] [blame] | 123 | depends on CPIO |
| 124 | help |
| 125 | This implementation of cpio can create cpio archives in the "newc" |
| 126 | format only. |
| 127 | |
Denis Vlasenko | 83518d1 | 2009-03-20 22:17:13 +0000 | [diff] [blame] | 128 | config FEATURE_CPIO_P |
| 129 | bool "Support for passthrough mode" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 130 | default y |
Denis Vlasenko | 83518d1 | 2009-03-20 22:17:13 +0000 | [diff] [blame] | 131 | depends on FEATURE_CPIO_O |
| 132 | help |
| 133 | Passthrough mode. Rarely used. |
| 134 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 135 | config DPKG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 136 | bool "dpkg" |
| 137 | default n |
Denis Vlasenko | 8854b35 | 2008-10-15 14:50:14 +0000 | [diff] [blame] | 138 | select FEATURE_SEAMLESS_GZ |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 139 | help |
Denis Vlasenko | 0381d42 | 2008-07-10 23:06:00 +0000 | [diff] [blame] | 140 | dpkg is a medium-level tool to install, build, remove and manage |
| 141 | Debian packages. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 142 | |
Denis Vlasenko | 0381d42 | 2008-07-10 23:06:00 +0000 | [diff] [blame] | 143 | This implementation of dpkg has a number of limitations, |
| 144 | you should use the official dpkg if possible. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 145 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 146 | config DPKG_DEB |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 147 | bool "dpkg_deb" |
| 148 | default n |
Denis Vlasenko | 8854b35 | 2008-10-15 14:50:14 +0000 | [diff] [blame] | 149 | select FEATURE_SEAMLESS_GZ |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 150 | help |
Denis Vlasenko | 8854b35 | 2008-10-15 14:50:14 +0000 | [diff] [blame] | 151 | dpkg-deb unpacks and provides information about Debian archives. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 152 | |
Glenn L McGrath | 0337c46 | 2002-12-06 22:40:54 +0000 | [diff] [blame] | 153 | This implementation of dpkg-deb cannot pack archives. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 154 | |
Denis Vlasenko | 0381d42 | 2008-07-10 23:06:00 +0000 | [diff] [blame] | 155 | Unless you have a specific application which requires dpkg-deb, |
| 156 | say N here. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 157 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 158 | config FEATURE_DPKG_DEB_EXTRACT_ONLY |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 159 | bool "Extract only (-x)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 160 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 161 | depends on DPKG_DEB |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 162 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 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. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 167 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 168 | config GUNZIP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 169 | bool "gunzip" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 170 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 171 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 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. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 175 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 176 | config GZIP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 177 | bool "gzip" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 178 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 179 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 180 | gzip is used to compress files. |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 181 | It's probably the most widely used UNIX compression program. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 182 | |
Matheus Izvekov | 839fd71 | 2010-01-06 08:54:49 +0100 | [diff] [blame] | 183 | config FEATURE_GZIP_LONG_OPTIONS |
| 184 | bool "Enable long options" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 185 | default y |
Matheus Izvekov | 839fd71 | 2010-01-06 08:54:49 +0100 | [diff] [blame] | 186 | depends on GZIP && LONG_OPTS |
| 187 | help |
| 188 | Enable use of long options, increases size by about 106 Bytes |
| 189 | |
Denys Vlasenko | 522041e | 2011-09-10 13:25:57 +0200 | [diff] [blame] | 190 | config 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 |
Ian Wienand | c2a06db | 2011-09-09 20:19:35 +0200 | [diff] [blame] | 201 | |
Denis Vlasenko | 052ad9a | 2009-04-29 12:01:51 +0000 | [diff] [blame] | 202 | config LZOP |
| 203 | bool "lzop" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 204 | default y |
Denis Vlasenko | 052ad9a | 2009-04-29 12:01:51 +0000 | [diff] [blame] | 205 | help |
| 206 | Lzop compression/decompresion. |
| 207 | |
| 208 | config LZOP_COMPR_HIGH |
Denys Vlasenko | 91234b9 | 2010-08-29 02:06:50 +0200 | [diff] [blame] | 209 | bool "lzop compression levels 7,8,9 (not very useful)" |
Denis Vlasenko | 052ad9a | 2009-04-29 12:01:51 +0000 | [diff] [blame] | 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 217 | config RPM2CPIO |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 218 | bool "rpm2cpio" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 219 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 220 | help |
Denys Vlasenko | 91234b9 | 2010-08-29 02:06:50 +0200 | [diff] [blame] | 221 | Converts a RPM file into a CPIO archive. |
Glenn L McGrath | b72a735 | 2002-12-10 00:17:22 +0000 | [diff] [blame] | 222 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 223 | config RPM |
Glenn L McGrath | b72a735 | 2002-12-10 00:17:22 +0000 | [diff] [blame] | 224 | bool "rpm" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 225 | default y |
Glenn L McGrath | b72a735 | 2002-12-10 00:17:22 +0000 | [diff] [blame] | 226 | help |
Bernhard Reutner-Fischer | bfe1950 | 2007-01-04 15:44:49 +0000 | [diff] [blame] | 227 | Mini RPM applet - queries and extracts RPM packages. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 228 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 229 | config TAR |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 230 | bool "tar" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 231 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 232 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 233 | tar is an archiving program. It's commonly used with gzip to |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 234 | create compressed archives. It's probably the most widely used |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 235 | UNIX archive program. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 236 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 237 | config FEATURE_TAR_CREATE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 238 | bool "Enable archive creation" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 239 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 240 | depends on TAR |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 241 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 242 | If you enable this option you'll be able to create |
| 243 | tar archives using the `-c' option. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 244 | |
Denis Vlasenko | 431a7c9 | 2008-02-19 11:26:28 +0000 | [diff] [blame] | 245 | config FEATURE_TAR_AUTODETECT |
Denys Vlasenko | bcbd37d | 2009-06-18 13:23:58 +0200 | [diff] [blame] | 246 | bool "Autodetect compressed tarballs" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 247 | default y |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 248 | depends on TAR && (FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA || FEATURE_SEAMLESS_XZ) |
Denis Vlasenko | 431a7c9 | 2008-02-19 11:26:28 +0000 | [diff] [blame] | 249 | help |
Denys Vlasenko | bcbd37d | 2009-06-18 13:23:58 +0200 | [diff] [blame] | 250 | With this option tar can automatically detect compressed |
Denis Vlasenko | bc06fb2 | 2008-07-17 18:26:45 +0000 | [diff] [blame] | 251 | tarballs. Currently it works only on files (not pipes etc). |
Denis Vlasenko | 431a7c9 | 2008-02-19 11:26:28 +0000 | [diff] [blame] | 252 | |
| 253 | config FEATURE_TAR_FROM |
| 254 | bool "Enable -X (exclude from) and -T (include from) options)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 255 | default y |
Denis Vlasenko | 431a7c9 | 2008-02-19 11:26:28 +0000 | [diff] [blame] | 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 261 | config FEATURE_TAR_OLDGNU_COMPATIBILITY |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 262 | bool "Support for old tar header format" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 263 | default y |
Kim B. Heino | 820874e | 2010-03-08 09:19:51 +0200 | [diff] [blame] | 264 | depends on TAR || DPKG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 265 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 266 | This option is required to unpack archives created in |
| 267 | the old GNU format; help to kill this old format by |
Glenn L McGrath | 21110a0 | 2003-01-28 01:45:48 +0000 | [diff] [blame] | 268 | repacking your ancient archives with the new format. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 269 | |
Denis Vlasenko | a80b4a0 | 2007-06-21 12:41:59 +0000 | [diff] [blame] | 270 | config FEATURE_TAR_OLDSUN_COMPATIBILITY |
| 271 | bool "Enable untarring of tarballs with checksums produced by buggy Sun tar" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 272 | default y |
Kim B. Heino | 820874e | 2010-03-08 09:19:51 +0200 | [diff] [blame] | 273 | depends on TAR || DPKG |
Denis Vlasenko | a80b4a0 | 2007-06-21 12:41:59 +0000 | [diff] [blame] | 274 | help |
| 275 | This option is required to unpack archives created by some old |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 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. |
Denis Vlasenko | a80b4a0 | 2007-06-21 12:41:59 +0000 | [diff] [blame] | 279 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 280 | config FEATURE_TAR_GNU_EXTENSIONS |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 281 | bool "Support for GNU tar extensions (long filenames)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 282 | default y |
Kim B. Heino | 820874e | 2010-03-08 09:19:51 +0200 | [diff] [blame] | 283 | depends on TAR || DPKG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 284 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 285 | With this option busybox supports GNU long filenames and |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 286 | linknames. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 287 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 288 | config FEATURE_TAR_LONG_OPTIONS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 289 | bool "Enable long options" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 290 | default y |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 291 | depends on TAR && LONG_OPTS |
Glenn L McGrath | ce91c8a | 2003-12-26 14:01:37 +0000 | [diff] [blame] | 292 | help |
Denis Vlasenko | e00e502 | 2008-02-14 20:37:54 +0000 | [diff] [blame] | 293 | Enable use of long options, increases size by about 400 Bytes |
| 294 | |
Ladislav Michl | 2b46fd4 | 2010-06-25 01:33:00 +0200 | [diff] [blame] | 295 | config 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 | |
Denis Vlasenko | e00e502 | 2008-02-14 20:37:54 +0000 | [diff] [blame] | 304 | config FEATURE_TAR_UNAME_GNAME |
| 305 | bool "Enable use of user and group names" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 306 | default y |
Denis Vlasenko | e7b43cf | 2008-02-19 23:42:22 +0000 | [diff] [blame] | 307 | depends on TAR |
Denis Vlasenko | e00e502 | 2008-02-14 20:37:54 +0000 | [diff] [blame] | 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. |
Glenn L McGrath | ce91c8a | 2003-12-26 14:01:37 +0000 | [diff] [blame] | 312 | |
Mikhail Gusarov | 0d47833 | 2010-01-19 20:22:30 +0600 | [diff] [blame] | 313 | config FEATURE_TAR_NOPRESERVE_TIME |
| 314 | bool "Enable -m (do not preserve time) option" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 315 | default y |
Mikhail Gusarov | 0d47833 | 2010-01-19 20:22:30 +0600 | [diff] [blame] | 316 | depends on TAR |
| 317 | help |
Denys Vlasenko | 6b01b71 | 2010-01-24 22:52:21 +0100 | [diff] [blame] | 318 | With this option busybox supports GNU tar -m |
| 319 | (do not preserve time) option. |
Mikhail Gusarov | 0d47833 | 2010-01-19 20:22:30 +0600 | [diff] [blame] | 320 | |
J. Tang | 77a2c51 | 2010-03-19 14:48:51 +0100 | [diff] [blame] | 321 | config 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 329 | config UNCOMPRESS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 330 | bool "uncompress" |
| 331 | default n |
| 332 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 333 | uncompress is used to decompress archives created by compress. |
| 334 | Not much used anymore, replaced by gzip/gunzip. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 335 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 336 | config UNLZMA |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 337 | bool "unlzma" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 338 | default y |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 339 | help |
| 340 | unlzma is a compression utility using the Lempel-Ziv-Markov chain |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 341 | compression algorithm, and range coding. Compression |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 342 | is generally considerably better than that achieved by the bzip2 |
| 343 | compressors. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 344 | |
Denys Vlasenko | 522041e | 2011-09-10 13:25:57 +0200 | [diff] [blame] | 345 | The BusyBox unlzma applet is limited to decompression only. |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 346 | On an x86 system, this applet adds about 4K. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 347 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 348 | config FEATURE_LZMA_FAST |
Denis Vlasenko | ffdcb41 | 2008-04-23 05:46:55 +0000 | [diff] [blame] | 349 | bool "Optimize unlzma for speed" |
Denys Vlasenko | 522041e | 2011-09-10 13:25:57 +0200 | [diff] [blame] | 350 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 351 | depends on UNLZMA |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 352 | help |
Denys Vlasenko | f2c184b | 2009-09-15 23:40:08 +0200 | [diff] [blame] | 353 | This option reduces decompression time by about 25% at the cost of |
| 354 | a 1K bigger binary. |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 355 | |
Denys Vlasenko | e04c867 | 2010-05-30 03:33:50 +0200 | [diff] [blame] | 356 | config LZMA |
Denys Vlasenko | ccb88a6 | 2010-05-27 02:22:54 +0200 | [diff] [blame] | 357 | bool "Provide lzma alias which supports only unpacking" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 358 | default y |
Denys Vlasenko | ccb88a6 | 2010-05-27 02:22:54 +0200 | [diff] [blame] | 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 | |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 364 | config UNXZ |
| 365 | bool "unxz" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 366 | default y |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 367 | help |
| 368 | unxz is a unlzma successor. |
| 369 | |
| 370 | config XZ |
| 371 | bool "Provide xz alias which supports only unpacking" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 372 | default y |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 378 | config UNZIP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 379 | bool "unzip" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 380 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 381 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 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. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 387 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 388 | endmenu |