aboutsummaryrefslogtreecommitdiff
path: root/archival/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-19 11:26:28 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-19 11:26:28 +0000
commit431a7c9c53b69a7416091721da673bcff7c91a02 (patch)
tree03cbe0e15af01d82b05138f0db41d44179262a3f /archival/Config.in
parenta37e7134f76b7661b86bb9cc926f28f81b1e1109 (diff)
downloadbusybox-w32-431a7c9c53b69a7416091721da673bcff7c91a02.tar.gz
busybox-w32-431a7c9c53b69a7416091721da673bcff7c91a02.tar.bz2
busybox-w32-431a7c9c53b69a7416091721da673bcff7c91a02.zip
tar: optional autodetection of gz/bz2 compressed tarballs.
+130 bytes. Closes bug 992.
Diffstat (limited to 'archival/Config.in')
-rw-r--r--archival/Config.in36
1 files changed, 22 insertions, 14 deletions
diff --git a/archival/Config.in b/archival/Config.in
index 160c54d64..6f803f4fe 100644
--- a/archival/Config.in
+++ b/archival/Config.in
@@ -166,6 +166,14 @@ config FEATURE_TAR_CREATE
166 If you enable this option you'll be able to create 166 If you enable this option you'll be able to create
167 tar archives using the `-c' option. 167 tar archives using the `-c' option.
168 168
169config FEATURE_TAR_GZIP
170 bool "Enable -z option"
171 default y
172 depends on TAR
173 help
174 If you enable this option tar will be able to call gzip,
175 when creating or extracting tar gziped archives.
176
169config FEATURE_TAR_BZIP2 177config FEATURE_TAR_BZIP2
170 bool "Enable -j option to handle .tar.bz2 files" 178 bool "Enable -j option to handle .tar.bz2 files"
171 default n 179 default n
@@ -182,29 +190,29 @@ config FEATURE_TAR_LZMA
182 If you enable this option you'll be able to extract 190 If you enable this option you'll be able to extract
183 archives compressed with lzma. 191 archives compressed with lzma.
184 192
185config FEATURE_TAR_FROM 193config FEATURE_TAR_COMPRESS
186 bool "Enable -X (exclude from) and -T (include from) options)" 194 bool "Enable -Z option"
187 default n 195 default n
188 depends on TAR 196 depends on TAR
189 help 197 help
190 If you enable this option you'll be able to specify 198 If you enable this option tar will be able to call uncompress,
191 a list of files to include or exclude from an archive. 199 when extracting .tar.Z archives.
192 200
193config FEATURE_TAR_GZIP 201config FEATURE_TAR_AUTODETECT
194 bool "Enable -z option" 202 bool "Let tar autodetect gz/bz2 compresses tarballs"
195 default y 203 default n
196 depends on TAR 204 depends on FEATURE_TAR_GZIP || FEATURE_TAR_BZIP2
197 help 205 help
198 If you enable this option tar will be able to call gzip, 206 With this option tar can automatically detect gzip/bzip2 compressed
199 when creating or extracting tar gziped archives. 207 tarballs. Currently it works only on seekable streams.
200 208
201config FEATURE_TAR_COMPRESS 209config FEATURE_TAR_FROM
202 bool "Enable -Z option" 210 bool "Enable -X (exclude from) and -T (include from) options)"
203 default n 211 default n
204 depends on TAR 212 depends on TAR
205 help 213 help
206 If you enable this option tar will be able to call uncompress, 214 If you enable this option you'll be able to specify
207 when extracting .tar.Z archives. 215 a list of files to include or exclude from an archive.
208 216
209config FEATURE_TAR_OLDGNU_COMPATIBILITY 217config FEATURE_TAR_OLDGNU_COMPATIBILITY
210 bool "Enable support for old tar header format" 218 bool "Enable support for old tar header format"