diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-08-15 20:28:05 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-08-15 20:28:05 +0000 |
commit | 2c57634be3dfb83d76cc63e6fddb486fc725ecb7 (patch) | |
tree | 610afdd6036831458db468e283b1710083c3aa6d /package/busybox/config/archival | |
parent | 26f323dcf5afee0a88f1545aba04556aec6b9ae1 (diff) | |
download | upstream-2c57634be3dfb83d76cc63e6fddb486fc725ecb7.tar.gz upstream-2c57634be3dfb83d76cc63e6fddb486fc725ecb7.tar.bz2 upstream-2c57634be3dfb83d76cc63e6fddb486fc725ecb7.zip |
package/busybox: add missing bits from 1.17.1 update (mostly config stuff), rename upstream patches so they're applied first
SVN-Revision: 22665
Diffstat (limited to 'package/busybox/config/archival')
-rw-r--r-- | package/busybox/config/archival/Config.in | 62 |
1 files changed, 55 insertions, 7 deletions
diff --git a/package/busybox/config/archival/Config.in b/package/busybox/config/archival/Config.in index 403a631dd1..1424c8673c 100644 --- a/package/busybox/config/archival/Config.in +++ b/package/busybox/config/archival/Config.in @@ -5,6 +5,12 @@ menu "Archival Utilities" +config BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ + bool "Make tar, rpm, modprobe etc understand .xz data" + default n + help + Make tar, rpm, modprobe etc understand .xz data. + config BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA bool "Make tar, rpm, modprobe etc understand .lzma data" default n @@ -62,6 +68,13 @@ config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES It supports the GNU ar long filename method which moves multiple long filenames into a the data section of a new ar entry. +config BUSYBOX_CONFIG_FEATURE_AR_CREATE + bool "Support archive creation" + default n + depends on BUSYBOX_CONFIG_AR + help + This enables archive creation (-c and -r) with busybox ar. + config BUSYBOX_CONFIG_BUNZIP2 bool "bunzip2" default y @@ -207,8 +220,6 @@ config BUSYBOX_CONFIG_TAR create compressed archives. It's probably the most widely used UNIX archive program. -if BUSYBOX_CONFIG_TAR - config BUSYBOX_CONFIG_FEATURE_TAR_CREATE bool "Enable archive creation" default y @@ -220,7 +231,7 @@ config BUSYBOX_CONFIG_FEATURE_TAR_CREATE config BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT bool "Autodetect compressed tarballs" default n - depends on BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z || BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ || BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2 || BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA + depends on BUSYBOX_CONFIG_TAR && (BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z || BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ || BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2 || BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA || BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ) help With this option tar can automatically detect compressed tarballs. Currently it works only on files (not pipes etc). @@ -236,7 +247,7 @@ config BUSYBOX_CONFIG_FEATURE_TAR_FROM config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY bool "Support for old tar header format" default n - depends on BUSYBOX_CONFIG_TAR + depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG help This option is required to unpack archives created in the old GNU format; help to kill this old format by @@ -245,7 +256,7 @@ config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY config BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY bool "Enable untarring of tarballs with checksums produced by buggy Sun tar" default n - depends on BUSYBOX_CONFIG_TAR + depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_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 +266,7 @@ config BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS bool "Support for GNU tar extensions (long filenames)" default y - depends on BUSYBOX_CONFIG_TAR + depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG help With this option busybox supports GNU long filenames and linknames. @@ -267,6 +278,15 @@ config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS help Enable use of long options, increases size by about 400 Bytes +config BUSYBOX_CONFIG_FEATURE_TAR_TO_COMMAND + bool "Support for writing to an external program" + default n + depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS + help + If you enable this option you'll be able to instruct tar to send + the contents of each extracted file to the standard input of an + external program. + config BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME bool "Enable use of user and group names" default n @@ -284,7 +304,13 @@ config BUSYBOX_CONFIG_FEATURE_TAR_NOPRESERVE_TIME With this option busybox supports GNU tar -m (do not preserve time) option. -endif #tar +config BUSYBOX_CONFIG_FEATURE_TAR_SELINUX + bool "Support for extracting SELinux labels" + default n + depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_SELINUX + help + With this option busybox supports restoring SELinux labels + when extracting files from tar archives. config BUSYBOX_CONFIG_UNCOMPRESS bool "uncompress" @@ -316,6 +342,28 @@ config BUSYBOX_CONFIG_FEATURE_LZMA_FAST This option reduces decompression time by about 25% at the cost of a 1K bigger binary. +config BUSYBOX_CONFIG_LZMA + bool "Provide lzma alias which supports only unpacking" + default n + depends on BUSYBOX_CONFIG_UNLZMA + help + Enable this option if you want commands like "lzma -d" to work. + IOW: you'll get lzma applet, but it will always require -d option. + +config BUSYBOX_CONFIG_UNXZ + bool "unxz" + default n + help + unxz is a unlzma successor. + +config BUSYBOX_CONFIG_XZ + bool "Provide xz alias which supports only unpacking" + default n + depends on BUSYBOX_CONFIG_UNXZ + help + Enable this option if you want commands like "xz -d" to work. + IOW: you'll get xz applet, but it will always require -d option. + config BUSYBOX_CONFIG_UNZIP bool "unzip" default n |