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 |
| 35 | bool "Make tar and gunzip understand .Z data" |
| 36 | default n |
| 37 | help |
| 38 | Make tar and gunzip understand .Z data. |
| 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 | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 42 | default y |
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 | |
Denis Vlasenko | 052ad9a | 2009-04-29 12:01:51 +0000 | [diff] [blame] | 190 | config LZOP |
| 191 | bool "lzop" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 192 | default y |
Denis Vlasenko | 052ad9a | 2009-04-29 12:01:51 +0000 | [diff] [blame] | 193 | help |
| 194 | Lzop compression/decompresion. |
| 195 | |
| 196 | config LZOP_COMPR_HIGH |
| 197 | bool "lzop complession levels 7,8,9 (not very useful)" |
| 198 | default n |
| 199 | depends on LZOP |
| 200 | help |
| 201 | High levels (7,8,9) of lzop compression. These levels |
| 202 | are actually slower than gzip at equivalent compression ratios |
| 203 | and take up 3.2K of code. |
| 204 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 205 | config RPM2CPIO |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 206 | bool "rpm2cpio" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 207 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 208 | help |
Glenn L McGrath | b72a735 | 2002-12-10 00:17:22 +0000 | [diff] [blame] | 209 | Converts an RPM file into a CPIO archive. |
| 210 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 211 | config RPM |
Glenn L McGrath | b72a735 | 2002-12-10 00:17:22 +0000 | [diff] [blame] | 212 | bool "rpm" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 213 | default y |
Glenn L McGrath | b72a735 | 2002-12-10 00:17:22 +0000 | [diff] [blame] | 214 | help |
Bernhard Reutner-Fischer | bfe1950 | 2007-01-04 15:44:49 +0000 | [diff] [blame] | 215 | Mini RPM applet - queries and extracts RPM packages. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 216 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 217 | config TAR |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 218 | bool "tar" |
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 |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 221 | tar is an archiving program. It's commonly used with gzip to |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 222 | create compressed archives. It's probably the most widely used |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 223 | UNIX archive program. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 224 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 225 | config FEATURE_TAR_CREATE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 226 | bool "Enable archive creation" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 227 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 228 | depends on TAR |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 229 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 230 | If you enable this option you'll be able to create |
| 231 | tar archives using the `-c' option. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 232 | |
Denis Vlasenko | 431a7c9 | 2008-02-19 11:26:28 +0000 | [diff] [blame] | 233 | config FEATURE_TAR_AUTODETECT |
Denys Vlasenko | bcbd37d | 2009-06-18 13:23:58 +0200 | [diff] [blame] | 234 | bool "Autodetect compressed tarballs" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 235 | default y |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 236 | 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] | 237 | help |
Denys Vlasenko | bcbd37d | 2009-06-18 13:23:58 +0200 | [diff] [blame] | 238 | With this option tar can automatically detect compressed |
Denis Vlasenko | bc06fb2 | 2008-07-17 18:26:45 +0000 | [diff] [blame] | 239 | tarballs. Currently it works only on files (not pipes etc). |
Denis Vlasenko | 431a7c9 | 2008-02-19 11:26:28 +0000 | [diff] [blame] | 240 | |
| 241 | config FEATURE_TAR_FROM |
| 242 | bool "Enable -X (exclude from) and -T (include from) options)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 243 | default y |
Denis Vlasenko | 431a7c9 | 2008-02-19 11:26:28 +0000 | [diff] [blame] | 244 | depends on TAR |
| 245 | help |
| 246 | If you enable this option you'll be able to specify |
| 247 | a list of files to include or exclude from an archive. |
| 248 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 249 | config FEATURE_TAR_OLDGNU_COMPATIBILITY |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 250 | bool "Support for old tar header format" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 251 | default y |
Kim B. Heino | 820874e | 2010-03-08 09:19:51 +0200 | [diff] [blame] | 252 | depends on TAR || DPKG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 253 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 254 | This option is required to unpack archives created in |
| 255 | the old GNU format; help to kill this old format by |
Glenn L McGrath | 21110a0 | 2003-01-28 01:45:48 +0000 | [diff] [blame] | 256 | repacking your ancient archives with the new format. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 257 | |
Denis Vlasenko | a80b4a0 | 2007-06-21 12:41:59 +0000 | [diff] [blame] | 258 | config FEATURE_TAR_OLDSUN_COMPATIBILITY |
| 259 | bool "Enable untarring of tarballs with checksums produced by buggy Sun tar" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 260 | default y |
Kim B. Heino | 820874e | 2010-03-08 09:19:51 +0200 | [diff] [blame] | 261 | depends on TAR || DPKG |
Denis Vlasenko | a80b4a0 | 2007-06-21 12:41:59 +0000 | [diff] [blame] | 262 | help |
| 263 | This option is required to unpack archives created by some old |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 264 | version of Sun's tar (it was calculating checksum using signed |
| 265 | arithmetic). It is said to be fixed in newer Sun tar, but "old" |
| 266 | tarballs still exist. |
Denis Vlasenko | a80b4a0 | 2007-06-21 12:41:59 +0000 | [diff] [blame] | 267 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 268 | config FEATURE_TAR_GNU_EXTENSIONS |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 269 | bool "Support for GNU tar extensions (long filenames)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 270 | default y |
Kim B. Heino | 820874e | 2010-03-08 09:19:51 +0200 | [diff] [blame] | 271 | depends on TAR || DPKG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 272 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 273 | With this option busybox supports GNU long filenames and |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 274 | linknames. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 275 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 276 | config FEATURE_TAR_LONG_OPTIONS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 277 | bool "Enable long options" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 278 | default y |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 279 | depends on TAR && LONG_OPTS |
Glenn L McGrath | ce91c8a | 2003-12-26 14:01:37 +0000 | [diff] [blame] | 280 | help |
Denis Vlasenko | e00e502 | 2008-02-14 20:37:54 +0000 | [diff] [blame] | 281 | Enable use of long options, increases size by about 400 Bytes |
| 282 | |
| 283 | config FEATURE_TAR_UNAME_GNAME |
| 284 | bool "Enable use of user and group names" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 285 | default y |
Denis Vlasenko | e7b43cf | 2008-02-19 23:42:22 +0000 | [diff] [blame] | 286 | depends on TAR |
Denis Vlasenko | e00e502 | 2008-02-14 20:37:54 +0000 | [diff] [blame] | 287 | help |
| 288 | Enables use of user and group names in tar. This affects contents |
| 289 | listings (-t) and preserving permissions when unpacking (-p). |
| 290 | +200 bytes. |
Glenn L McGrath | ce91c8a | 2003-12-26 14:01:37 +0000 | [diff] [blame] | 291 | |
Mikhail Gusarov | 0d47833 | 2010-01-19 20:22:30 +0600 | [diff] [blame] | 292 | config FEATURE_TAR_NOPRESERVE_TIME |
| 293 | bool "Enable -m (do not preserve time) option" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 294 | default y |
Mikhail Gusarov | 0d47833 | 2010-01-19 20:22:30 +0600 | [diff] [blame] | 295 | depends on TAR |
| 296 | help |
Denys Vlasenko | 6b01b71 | 2010-01-24 22:52:21 +0100 | [diff] [blame] | 297 | With this option busybox supports GNU tar -m |
| 298 | (do not preserve time) option. |
Mikhail Gusarov | 0d47833 | 2010-01-19 20:22:30 +0600 | [diff] [blame] | 299 | |
J. Tang | 77a2c51 | 2010-03-19 14:48:51 +0100 | [diff] [blame] | 300 | config FEATURE_TAR_SELINUX |
| 301 | bool "Support for extracting SELinux labels" |
| 302 | default n |
| 303 | depends on TAR && SELINUX |
| 304 | help |
| 305 | With this option busybox supports restoring SELinux labels |
| 306 | when extracting files from tar archives. |
| 307 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 308 | config UNCOMPRESS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 309 | bool "uncompress" |
| 310 | default n |
| 311 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 312 | uncompress is used to decompress archives created by compress. |
| 313 | Not much used anymore, replaced by gzip/gunzip. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 314 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 315 | config UNLZMA |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 316 | bool "unlzma" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 317 | default y |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 318 | help |
| 319 | unlzma is a compression utility using the Lempel-Ziv-Markov chain |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 320 | compression algorithm, and range coding. Compression |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 321 | is generally considerably better than that achieved by the bzip2 |
| 322 | compressors. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 323 | |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 324 | The BusyBox unlzma applet is limited to de-compression only. |
| 325 | On an x86 system, this applet adds about 4K. |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 326 | |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 327 | Unless you have a specific application which requires unlzma, you |
| 328 | should probably say N here. |
| 329 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 330 | config FEATURE_LZMA_FAST |
Denis Vlasenko | ffdcb41 | 2008-04-23 05:46:55 +0000 | [diff] [blame] | 331 | bool "Optimize unlzma for speed" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 332 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 333 | depends on UNLZMA |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 334 | help |
Denys Vlasenko | f2c184b | 2009-09-15 23:40:08 +0200 | [diff] [blame] | 335 | This option reduces decompression time by about 25% at the cost of |
| 336 | a 1K bigger binary. |
Rob Landley | c1d6990 | 2006-01-20 18:28:50 +0000 | [diff] [blame] | 337 | |
Denys Vlasenko | e04c867 | 2010-05-30 03:33:50 +0200 | [diff] [blame] | 338 | config LZMA |
Denys Vlasenko | ccb88a6 | 2010-05-27 02:22:54 +0200 | [diff] [blame] | 339 | bool "Provide lzma alias which supports only unpacking" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 340 | default y |
Denys Vlasenko | ccb88a6 | 2010-05-27 02:22:54 +0200 | [diff] [blame] | 341 | depends on UNLZMA |
| 342 | help |
| 343 | Enable this option if you want commands like "lzma -d" to work. |
| 344 | IOW: you'll get lzma applet, but it will always require -d option. |
| 345 | |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 346 | config UNXZ |
| 347 | bool "unxz" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 348 | default y |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 349 | help |
| 350 | unxz is a unlzma successor. |
| 351 | |
| 352 | config XZ |
| 353 | bool "Provide xz alias which supports only unpacking" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 354 | default y |
Denys Vlasenko | 602ce69 | 2010-05-30 03:35:18 +0200 | [diff] [blame] | 355 | depends on UNXZ |
| 356 | help |
| 357 | Enable this option if you want commands like "xz -d" to work. |
| 358 | IOW: you'll get xz applet, but it will always require -d option. |
| 359 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 360 | config UNZIP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 361 | bool "unzip" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 362 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 363 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 364 | unzip will list or extract files from a ZIP archive, |
| 365 | commonly found on DOS/WIN systems. The default behavior |
| 366 | (with no options) is to extract the archive into the |
| 367 | current directory. Use the `-d' option to extract to a |
| 368 | directory of your choice. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 369 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 370 | endmenu |