aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/config/archival
diff options
context:
space:
mode:
authorMagnus Kroken <mkroken@gmail.com>2017-08-23 23:13:34 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-08-30 22:34:41 +0200
commit89f8a01daba938e77e94ef311233be49c23a7a55 (patch)
tree927ba3ca70a8549b446a565c8f20353b9866a86e /package/utils/busybox/config/archival
parent9adfeccd8415ed7e999855539a5fca9bfc9a3e4b (diff)
downloadupstream-89f8a01daba938e77e94ef311233be49c23a7a55.tar.gz
upstream-89f8a01daba938e77e94ef311233be49c23a7a55.tar.bz2
upstream-89f8a01daba938e77e94ef311233be49c23a7a55.zip
busybox: update to 1.27.2
Refresh patches, delete patches backported from upstream. This fixes ntpd sync issues (ntpd would not sync if the first provided peer address was unreachable). Signed-off-by: Magnus Kroken <mkroken@gmail.com> Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/utils/busybox/config/archival')
-rw-r--r--package/utils/busybox/config/archival/Config.in113
1 files changed, 67 insertions, 46 deletions
diff --git a/package/utils/busybox/config/archival/Config.in b/package/utils/busybox/config/archival/Config.in
index cf47e6591b..ccfb828a84 100644
--- a/package/utils/busybox/config/archival/Config.in
+++ b/package/utils/busybox/config/archival/Config.in
@@ -9,32 +9,22 @@ menu "Archival Utilities"
config BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ
bool "Make tar, rpm, modprobe etc understand .xz data"
default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_XZ
- 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 BUSYBOX_DEFAULT_FEATURE_SEAMLESS_LZMA
- help
- Make tar, rpm, modprobe etc understand .lzma data.
config BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2
bool "Make tar, rpm, modprobe etc understand .bz2 data"
default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_BZ2
- help
- Make tar, rpm, modprobe etc understand .bz2 data.
config BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
bool "Make tar, rpm, modprobe etc understand .gz data"
default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_GZ
- help
- Make tar, rpm, modprobe etc understand .gz data.
config BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z
bool "Make tar, rpm, modprobe etc understand .Z data"
default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_Z # it is ancient
- help
- Make tar, rpm, modprobe etc understand .Z data.
config BUSYBOX_CONFIG_AR
bool "ar"
@@ -50,7 +40,7 @@ config BUSYBOX_CONFIG_AR
probably say N here: most compilers come with their own ar utility.
config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES
- bool "Support for long filenames (not needed for debs)"
+ bool "Support long filenames (not needed for debs)"
default BUSYBOX_DEFAULT_FEATURE_AR_LONG_FILENAMES
depends on BUSYBOX_CONFIG_AR
help
@@ -74,6 +64,7 @@ config BUSYBOX_CONFIG_UNCOMPRESS
config BUSYBOX_CONFIG_GUNZIP
bool "gunzip"
default BUSYBOX_DEFAULT_GUNZIP
+ select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
help
gunzip is used to decompress archives created by gzip.
You can use the `-t' option to test the integrity of
@@ -82,6 +73,7 @@ config BUSYBOX_CONFIG_GUNZIP
config BUSYBOX_CONFIG_ZCAT
bool "zcat"
default BUSYBOX_DEFAULT_ZCAT
+ select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
help
Alias to "gunzip -c".
@@ -89,11 +81,10 @@ config BUSYBOX_CONFIG_FEATURE_GUNZIP_LONG_OPTIONS
bool "Enable long options"
default BUSYBOX_DEFAULT_FEATURE_GUNZIP_LONG_OPTIONS
depends on (BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT) && BUSYBOX_CONFIG_LONG_OPTS
- help
- Enable use of long options.
config BUSYBOX_CONFIG_BUNZIP2
bool "bunzip2"
default BUSYBOX_DEFAULT_BUNZIP2
+ select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
help
bunzip2 is a compression utility using the Burrows-Wheeler block
sorting text compression algorithm, and Huffman coding. Compression
@@ -107,6 +98,7 @@ config BUSYBOX_CONFIG_BUNZIP2
config BUSYBOX_CONFIG_BZCAT
bool "bzcat"
default BUSYBOX_DEFAULT_BZCAT
+ select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
help
Alias to "bunzip2 -c".
config BUSYBOX_CONFIG_UNLZMA
@@ -141,7 +133,7 @@ config BUSYBOX_CONFIG_LZMA
IOW: you'll get lzma applet, but it will always require -d option.
config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
- bool "Optimize unlzma for speed"
+ bool "Optimize for speed"
default BUSYBOX_DEFAULT_FEATURE_LZMA_FAST
depends on BUSYBOX_CONFIG_UNLZMA || BUSYBOX_CONFIG_LZCAT || BUSYBOX_CONFIG_LZMA
help
@@ -177,6 +169,15 @@ config BUSYBOX_CONFIG_BZIP2
Unless you have a specific application which requires bzip2, you
should probably say N here.
+
+config BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
+ bool "Enable decompression"
+ default BUSYBOX_DEFAULT_FEATURE_BZIP2_DECOMPRESS
+ depends on BUSYBOX_CONFIG_BZIP2 || BUSYBOX_CONFIG_BUNZIP2 || BUSYBOX_CONFIG_BZCAT
+ help
+ Enable -d (--decompress) and -t (--test) options for bzip2.
+ This will be automatically selected if bunzip2 or bzcat is
+ enabled.
config BUSYBOX_CONFIG_CPIO
bool "cpio"
default BUSYBOX_DEFAULT_CPIO
@@ -192,7 +193,7 @@ config BUSYBOX_CONFIG_CPIO
should probably say N here.
config BUSYBOX_CONFIG_FEATURE_CPIO_O
- bool "Support for archive creation"
+ bool "Support archive creation"
default BUSYBOX_DEFAULT_FEATURE_CPIO_O
depends on BUSYBOX_CONFIG_CPIO
help
@@ -200,7 +201,7 @@ config BUSYBOX_CONFIG_FEATURE_CPIO_O
format only.
config BUSYBOX_CONFIG_FEATURE_CPIO_P
- bool "Support for passthrough mode"
+ bool "Support passthrough mode"
default BUSYBOX_DEFAULT_FEATURE_CPIO_P
depends on BUSYBOX_CONFIG_FEATURE_CPIO_O
help
@@ -237,11 +238,9 @@ config BUSYBOX_CONFIG_FEATURE_GZIP_LONG_OPTIONS
bool "Enable long options"
default BUSYBOX_DEFAULT_FEATURE_GZIP_LONG_OPTIONS
depends on BUSYBOX_CONFIG_GZIP && BUSYBOX_CONFIG_LONG_OPTS
- help
- Enable use of long options, increases size by about 106 Bytes
config BUSYBOX_CONFIG_GZIP_FAST
- int "Trade memory for gzip speed (0:small,slow - 2:fast,big)"
+ int "Trade memory for speed (0:small,slow - 2:fast,big)"
default BUSYBOX_DEFAULT_GZIP_FAST
range 0 2
depends on BUSYBOX_CONFIG_GZIP
@@ -261,6 +260,15 @@ config BUSYBOX_CONFIG_FEATURE_GZIP_LEVELS
is 6. If levels 1-3 are specified, 4 is used.
If this option is not selected, -N options are ignored and -9
is used.
+
+config BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
+ bool "Enable decompression"
+ default BUSYBOX_DEFAULT_FEATURE_GZIP_DECOMPRESS
+ depends on BUSYBOX_CONFIG_GZIP || BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT
+ help
+ Enable -d (--decompress) and -t (--test) options for gzip.
+ This will be automatically selected if gunzip or zcat is
+ enabled.
config BUSYBOX_CONFIG_LZOP
bool "lzop"
default BUSYBOX_DEFAULT_LZOP
@@ -269,13 +277,13 @@ config BUSYBOX_CONFIG_LZOP
config BUSYBOX_CONFIG_UNLZOP
bool "unlzop"
- default BUSYBOX_DEFAULT_UNLZOP
+ default BUSYBOX_DEFAULT_UNLZOP # INCOMPAT: upstream lzop does not provide such tool
help
Lzop decompresion.
config BUSYBOX_CONFIG_LZOPCAT
bool "lzopcat"
- default BUSYBOX_DEFAULT_LZOPCAT
+ default BUSYBOX_DEFAULT_LZOPCAT # INCOMPAT: upstream lzop does not provide such tool
help
Alias to "unlzop -c".
@@ -305,13 +313,15 @@ config BUSYBOX_CONFIG_TAR
create compressed archives. It's probably the most widely used
UNIX archive program.
+config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
+ bool "Enable long options"
+ default BUSYBOX_DEFAULT_FEATURE_TAR_LONG_OPTIONS
+ depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_LONG_OPTS
+
config BUSYBOX_CONFIG_FEATURE_TAR_CREATE
- bool "Enable archive creation"
+ bool "Enable -c (archive creation)"
default BUSYBOX_DEFAULT_FEATURE_TAR_CREATE
depends on BUSYBOX_CONFIG_TAR
- help
- If you enable this option you'll be able to create
- tar archives using the `-c' option.
config BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT
bool "Autodetect compressed tarballs"
@@ -330,7 +340,7 @@ config BUSYBOX_CONFIG_FEATURE_TAR_FROM
a list of files to include or exclude from an archive.
config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
- bool "Support for old tar header format"
+ bool "Support old tar header format"
default BUSYBOX_DEFAULT_FEATURE_TAR_OLDGNU_COMPATIBILITY
depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
help
@@ -349,22 +359,12 @@ config BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY
tarballs still exist.
config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS
- bool "Support for GNU tar extensions (long filenames)"
+ bool "Support GNU tar extensions (long filenames)"
default BUSYBOX_DEFAULT_FEATURE_TAR_GNU_EXTENSIONS
depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
- help
- With this option busybox supports GNU long filenames and
- linknames.
-
-config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
- bool "Enable long options"
- default BUSYBOX_DEFAULT_FEATURE_TAR_LONG_OPTIONS
- depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_LONG_OPTS
- 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"
+ bool "Support writing to an external program (--to-command)"
default BUSYBOX_DEFAULT_FEATURE_TAR_TO_COMMAND
depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
help
@@ -377,20 +377,17 @@ config BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME
default BUSYBOX_DEFAULT_FEATURE_TAR_UNAME_GNAME
depends on BUSYBOX_CONFIG_TAR
help
- Enables use of user and group names in tar. This affects contents
+ Enable use of user and group names in tar. This affects contents
listings (-t) and preserving permissions when unpacking (-p).
+200 bytes.
config BUSYBOX_CONFIG_FEATURE_TAR_NOPRESERVE_TIME
- bool "Enable -m (do not preserve time) option"
+ bool "Enable -m (do not preserve time) GNU option"
default BUSYBOX_DEFAULT_FEATURE_TAR_NOPRESERVE_TIME
depends on BUSYBOX_CONFIG_TAR
- help
- With this option busybox supports GNU tar -m
- (do not preserve time) option.
config BUSYBOX_CONFIG_FEATURE_TAR_SELINUX
- bool "Support for extracting SELinux labels"
+ bool "Support extracting SELinux labels"
default BUSYBOX_DEFAULT_FEATURE_TAR_SELINUX
depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_SELINUX
help
@@ -403,7 +400,31 @@ config BUSYBOX_CONFIG_UNZIP
unzip will list or extract files from a ZIP archive,
commonly found on DOS/WIN systems. The default behavior
(with no options) is to extract the archive into the
- current directory. Use the `-d' option to extract to a
- directory of your choice.
+ current directory.
+
+config BUSYBOX_CONFIG_FEATURE_UNZIP_CDF
+ bool "Read and use Central Directory data"
+ default BUSYBOX_DEFAULT_FEATURE_UNZIP_CDF
+ depends on BUSYBOX_CONFIG_UNZIP
+ help
+ If you know that you only need to deal with simple
+ ZIP files without deleted/updated files, SFX archives etc,
+ you can reduce code size by unselecting this option.
+ To support less trivial ZIPs, say Y.
+
+config BUSYBOX_CONFIG_FEATURE_UNZIP_BZIP2
+ bool "Support compression method 12 (bzip2)"
+ default BUSYBOX_DEFAULT_FEATURE_UNZIP_BZIP2
+ depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
+
+config BUSYBOX_CONFIG_FEATURE_UNZIP_LZMA
+ bool "Support compression method 14 (lzma)"
+ default BUSYBOX_DEFAULT_FEATURE_UNZIP_LZMA
+ depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
+
+config BUSYBOX_CONFIG_FEATURE_UNZIP_XZ
+ bool "Support compression method 95 (xz)"
+ default BUSYBOX_DEFAULT_FEATURE_UNZIP_XZ
+ depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
endmenu