diff options
author | Kim B. Heino <Kim.Heino@bluegiga.com> | 2010-03-08 09:19:51 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-15 23:55:26 +0100 |
commit | 820874ed3872877601ee95adc275bda215f2d320 (patch) | |
tree | 2424bbb8173bbeafd8401b0d5a52aecff77396ad | |
parent | 535584c750820dd6c36011697f9ef89fe0a0698c (diff) | |
download | busybox-w32-820874ed3872877601ee95adc275bda215f2d320.tar.gz busybox-w32-820874ed3872877601ee95adc275bda215f2d320.tar.bz2 busybox-w32-820874ed3872877601ee95adc275bda215f2d320.zip |
tar compability modes for dpkg
I've found couple of deb files which require old tar compability modes
to be unpacked. This patch allows me to enable them for dpkg without
enabling tar.
Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | archival/Config.in | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/archival/Config.in b/archival/Config.in index 9e2e88c01..c99896b47 100644 --- a/archival/Config.in +++ b/archival/Config.in | |||
@@ -214,8 +214,6 @@ config TAR | |||
214 | create compressed archives. It's probably the most widely used | 214 | create compressed archives. It's probably the most widely used |
215 | UNIX archive program. | 215 | UNIX archive program. |
216 | 216 | ||
217 | if TAR | ||
218 | |||
219 | config FEATURE_TAR_CREATE | 217 | config FEATURE_TAR_CREATE |
220 | bool "Enable archive creation" | 218 | bool "Enable archive creation" |
221 | default y | 219 | default y |
@@ -227,7 +225,7 @@ config FEATURE_TAR_CREATE | |||
227 | config FEATURE_TAR_AUTODETECT | 225 | config FEATURE_TAR_AUTODETECT |
228 | bool "Autodetect compressed tarballs" | 226 | bool "Autodetect compressed tarballs" |
229 | default n | 227 | default n |
230 | depends on FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA | 228 | depends on TAR && (FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA) |
231 | help | 229 | help |
232 | With this option tar can automatically detect compressed | 230 | With this option tar can automatically detect compressed |
233 | tarballs. Currently it works only on files (not pipes etc). | 231 | tarballs. Currently it works only on files (not pipes etc). |
@@ -243,7 +241,7 @@ config FEATURE_TAR_FROM | |||
243 | config FEATURE_TAR_OLDGNU_COMPATIBILITY | 241 | config FEATURE_TAR_OLDGNU_COMPATIBILITY |
244 | bool "Support for old tar header format" | 242 | bool "Support for old tar header format" |
245 | default N | 243 | default N |
246 | depends on TAR | 244 | depends on TAR || DPKG |
247 | help | 245 | help |
248 | This option is required to unpack archives created in | 246 | This option is required to unpack archives created in |
249 | the old GNU format; help to kill this old format by | 247 | the old GNU format; help to kill this old format by |
@@ -252,7 +250,7 @@ config FEATURE_TAR_OLDGNU_COMPATIBILITY | |||
252 | config FEATURE_TAR_OLDSUN_COMPATIBILITY | 250 | config FEATURE_TAR_OLDSUN_COMPATIBILITY |
253 | bool "Enable untarring of tarballs with checksums produced by buggy Sun tar" | 251 | bool "Enable untarring of tarballs with checksums produced by buggy Sun tar" |
254 | default N | 252 | default N |
255 | depends on TAR | 253 | depends on TAR || DPKG |
256 | help | 254 | help |
257 | This option is required to unpack archives created by some old | 255 | This option is required to unpack archives created by some old |
258 | version of Sun's tar (it was calculating checksum using signed | 256 | version of Sun's tar (it was calculating checksum using signed |
@@ -262,7 +260,7 @@ config FEATURE_TAR_OLDSUN_COMPATIBILITY | |||
262 | config FEATURE_TAR_GNU_EXTENSIONS | 260 | config FEATURE_TAR_GNU_EXTENSIONS |
263 | bool "Support for GNU tar extensions (long filenames)" | 261 | bool "Support for GNU tar extensions (long filenames)" |
264 | default y | 262 | default y |
265 | depends on TAR | 263 | depends on TAR || DPKG |
266 | help | 264 | help |
267 | With this option busybox supports GNU long filenames and | 265 | With this option busybox supports GNU long filenames and |
268 | linknames. | 266 | linknames. |
@@ -291,8 +289,6 @@ config FEATURE_TAR_NOPRESERVE_TIME | |||
291 | With this option busybox supports GNU tar -m | 289 | With this option busybox supports GNU tar -m |
292 | (do not preserve time) option. | 290 | (do not preserve time) option. |
293 | 291 | ||
294 | endif #tar | ||
295 | |||
296 | config UNCOMPRESS | 292 | config UNCOMPRESS |
297 | bool "uncompress" | 293 | bool "uncompress" |
298 | default n | 294 | default n |