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 <[email protected]> diff -ur orig-1.16.0/archival/Config.in dpkgtar-1.16.0/archival/Config.in --- orig-1.16.0/archival/Config.in 2010-01-25 02:59:38.000000000 +0200 +++ dpkgtar-1.16.0/archival/Config.in 2010-03-08 09:00:12.229564646 +0200 @@ -207,8 +207,6 @@ create compressed archives. It's probably the most widely used UNIX archive program. -if TAR - config FEATURE_TAR_CREATE bool "Enable archive creation" default y @@ -220,7 +218,7 @@ config FEATURE_TAR_AUTODETECT bool "Autodetect compressed tarballs" default n - depends on FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA + depends on TAR && (FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA) help With this option tar can automatically detect compressed tarballs. Currently it works only on files (not pipes etc). @@ -236,7 +234,7 @@ config FEATURE_TAR_OLDGNU_COMPATIBILITY bool "Support for old tar header format" default N - depends on TAR + depends on TAR || DPKG help This option is required to unpack archives created in the old GNU format; help to kill this old format by @@ -245,7 +243,7 @@ config FEATURE_TAR_OLDSUN_COMPATIBILITY bool "Enable untarring of tarballs with checksums produced by buggy Sun tar" default N - depends on TAR + depends on TAR || DPKG help This option is required to unpack archives created by some old version of Sun's tar (it was calculating checksum using signed @@ -255,7 +253,7 @@ config FEATURE_TAR_GNU_EXTENSIONS bool "Support for GNU tar extensions (long filenames)" default y - depends on TAR + depends on TAR || DPKG help With this option busybox supports GNU long filenames and linknames. @@ -284,8 +282,6 @@ With this option busybox supports GNU tar -m (do not preserve time) option. -endif #tar - config UNCOMPRESS bool "uncompress" default n _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
