busybox: update to version 1.25.0
[openwrt/staging/rmilecki.git] / package / utils / busybox / config / archival / Config.in
index b178d0cb3e4d21af855a9229493d6ac9daaeba81..ff4c2cf6bd0e4727c013b13e36d1870574bd9099 100644 (file)
@@ -6,8 +6,6 @@
 
 menu "Archival Utilities"
 
 
 menu "Archival Utilities"
 
-
-
 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ
        bool "Make tar, rpm, modprobe etc understand .xz data"
        default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_XZ
 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ
        bool "Make tar, rpm, modprobe etc understand .xz data"
        default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_XZ
@@ -33,33 +31,23 @@ config BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
          Make tar, rpm, modprobe etc understand .gz data.
 
 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z
          Make tar, rpm, modprobe etc understand .gz data.
 
 config BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z
-       bool "Make tar and gunzip understand .Z data"
-       default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_Z
+       bool "tar, rpm, modprobe etc understand .Z data"
+       default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_Z  # it is ancient
        help
        help
-         Make tar and gunzip understand .Z data.
+         Make tar, rpm, modprobe etc understand .Z data.
 
 config BUSYBOX_CONFIG_AR
        bool "ar"
        default BUSYBOX_DEFAULT_AR  # needs to be improved to be able to replace binutils ar
        help
          ar is an archival utility program used to create, modify, and
 
 config BUSYBOX_CONFIG_AR
        bool "ar"
        default BUSYBOX_DEFAULT_AR  # needs to be improved to be able to replace binutils ar
        help
          ar is an archival utility program used to create, modify, and
-         extract contents from archives. An archive is a single file holding
-         a collection of other files in a structure that makes it possible to
-         retrieve the original individual files (called archive members).
-         The original files' contents, mode (permissions), timestamp, owner,
-         and group are preserved in the archive, and can be restored on
-         extraction.
-
-         The stored filename is limited to 15 characters. (for more information
-         see long filename support).
-         ar has 60 bytes of overheads for every stored file.
-
-         This implementation of ar can extract archives, it cannot create or
-         modify them.
+         extract contents from archives. In practice, it is used exclusively
+         for object module archives used by compilers.
+
          On an x86 system, the ar applet adds about 1K.
 
          Unless you have a specific application which requires ar, you should
          On an x86 system, the ar applet adds about 1K.
 
          Unless you have a specific application which requires ar, you should
-         probably say N here.
+         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)"
 
 config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES
        bool "Support for long filenames (not needed for debs)"
@@ -77,7 +65,26 @@ config BUSYBOX_CONFIG_FEATURE_AR_CREATE
        depends on BUSYBOX_CONFIG_AR
        help
          This enables archive creation (-c and -r) with busybox ar.
        depends on BUSYBOX_CONFIG_AR
        help
          This enables archive creation (-c and -r) with busybox ar.
+config BUSYBOX_CONFIG_UNCOMPRESS
+       bool "uncompress"
+       default BUSYBOX_DEFAULT_UNCOMPRESS  # ancient
+       help
+         uncompress is used to decompress archives created by compress.
+         Not much used anymore, replaced by gzip/gunzip.
+config BUSYBOX_CONFIG_GUNZIP
+       bool "gunzip"
+       default BUSYBOX_DEFAULT_GUNZIP
+       help
+         gunzip is used to decompress archives created by gzip.
+         You can use the `-t' option to test the integrity of
+         an archive, without decompressing it.
 
 
+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_LONG_OPTS
+       help
+         Enable use of long options.
 config BUSYBOX_CONFIG_BUNZIP2
        bool "bunzip2"
        default BUSYBOX_DEFAULT_BUNZIP2
 config BUSYBOX_CONFIG_BUNZIP2
        bool "bunzip2"
        default BUSYBOX_DEFAULT_BUNZIP2
@@ -90,7 +97,46 @@ config BUSYBOX_CONFIG_BUNZIP2
 
          Unless you have a specific application which requires bunzip2, you
          should probably say N here.
 
          Unless you have a specific application which requires bunzip2, you
          should probably say N here.
+config BUSYBOX_CONFIG_UNLZMA
+       bool "unlzma"
+       default BUSYBOX_DEFAULT_UNLZMA
+       help
+         unlzma is a compression utility using the Lempel-Ziv-Markov chain
+         compression algorithm, and range coding. Compression
+         is generally considerably better than that achieved by the bzip2
+         compressors.
 
 
+         The BusyBox unlzma applet is limited to decompression only.
+         On an x86 system, this applet adds about 4K.
+
+config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
+       bool "Optimize unlzma for speed"
+       default BUSYBOX_DEFAULT_FEATURE_LZMA_FAST
+       depends on BUSYBOX_CONFIG_UNLZMA
+       help
+         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 BUSYBOX_DEFAULT_LZMA
+       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 BUSYBOX_DEFAULT_UNXZ
+       help
+         unxz is a unlzma successor.
+
+config BUSYBOX_CONFIG_XZ
+       bool "Provide xz alias which supports only unpacking"
+       default BUSYBOX_DEFAULT_XZ
+       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_BZIP2
        bool "bzip2"
        default BUSYBOX_DEFAULT_BZIP2
 config BUSYBOX_CONFIG_BZIP2
        bool "bzip2"
        default BUSYBOX_DEFAULT_BZIP2
@@ -103,7 +149,6 @@ config BUSYBOX_CONFIG_BZIP2
 
          Unless you have a specific application which requires bzip2, you
          should probably say N here.
 
          Unless you have a specific application which requires bzip2, you
          should probably say N here.
-
 config BUSYBOX_CONFIG_CPIO
        bool "cpio"
        default BUSYBOX_DEFAULT_CPIO
 config BUSYBOX_CONFIG_CPIO
        bool "cpio"
        default BUSYBOX_DEFAULT_CPIO
@@ -132,7 +177,6 @@ config BUSYBOX_CONFIG_FEATURE_CPIO_P
        depends on BUSYBOX_CONFIG_FEATURE_CPIO_O
        help
          Passthrough mode. Rarely used.
        depends on BUSYBOX_CONFIG_FEATURE_CPIO_O
        help
          Passthrough mode. Rarely used.
-
 config BUSYBOX_CONFIG_DPKG
        bool "dpkg"
        default BUSYBOX_DEFAULT_DPKG
 config BUSYBOX_CONFIG_DPKG
        bool "dpkg"
        default BUSYBOX_DEFAULT_DPKG
@@ -143,7 +187,6 @@ config BUSYBOX_CONFIG_DPKG
 
          This implementation of dpkg has a number of limitations,
          you should use the official dpkg if possible.
 
          This implementation of dpkg has a number of limitations,
          you should use the official dpkg if possible.
-
 config BUSYBOX_CONFIG_DPKG_DEB
        bool "dpkg_deb"
        default BUSYBOX_DEFAULT_DPKG_DEB
 config BUSYBOX_CONFIG_DPKG_DEB
        bool "dpkg_deb"
        default BUSYBOX_DEFAULT_DPKG_DEB
@@ -165,15 +208,6 @@ config BUSYBOX_CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY
          "ar -p <deb> data.tar.gz | tar -zx". However it saves space as none
          of the extra dpkg-deb, ar or tar options are needed, they are linked
          to internally.
          "ar -p <deb> data.tar.gz | tar -zx". However it saves space as none
          of the extra dpkg-deb, ar or tar options are needed, they are linked
          to internally.
-
-config BUSYBOX_CONFIG_GUNZIP
-       bool "gunzip"
-       default BUSYBOX_DEFAULT_GUNZIP
-       help
-         gunzip is used to decompress archives created by gzip.
-         You can use the `-t' option to test the integrity of
-         an archive, without decompressing it.
-
 config BUSYBOX_CONFIG_GZIP
        bool "gzip"
        default BUSYBOX_DEFAULT_GZIP
 config BUSYBOX_CONFIG_GZIP
        bool "gzip"
        default BUSYBOX_DEFAULT_GZIP
@@ -188,6 +222,27 @@ config BUSYBOX_CONFIG_FEATURE_GZIP_LONG_OPTIONS
        help
          Enable use of long options, increases size by about 106 Bytes
 
        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)"
+       default BUSYBOX_DEFAULT_GZIP_FAST
+       range 0 2
+       depends on BUSYBOX_CONFIG_GZIP
+       help
+         Enable big memory options for gzip.
+         0: small buffers, small hash-tables
+         1: larger buffers, larger hash-tables
+         2: larger buffers, largest hash-tables
+         Larger models may give slightly better compression
+
+config BUSYBOX_CONFIG_FEATURE_GZIP_LEVELS
+       bool "Enable compression levels"
+       default BUSYBOX_DEFAULT_FEATURE_GZIP_LEVELS
+       depends on BUSYBOX_CONFIG_GZIP
+       help
+         Enable support for compression levels 4-9. The default level
+         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_LZOP
        bool "lzop"
        default BUSYBOX_DEFAULT_LZOP
 config BUSYBOX_CONFIG_LZOP
        bool "lzop"
        default BUSYBOX_DEFAULT_LZOP
@@ -202,19 +257,16 @@ config BUSYBOX_CONFIG_LZOP_COMPR_HIGH
          High levels (7,8,9) of lzop compression. These levels
          are actually slower than gzip at equivalent compression ratios
          and take up 3.2K of code.
          High levels (7,8,9) of lzop compression. These levels
          are actually slower than gzip at equivalent compression ratios
          and take up 3.2K of code.
-
-config BUSYBOX_CONFIG_RPM2CPIO
-       bool "rpm2cpio"
-       default BUSYBOX_DEFAULT_RPM2CPIO
-       help
-         Converts a RPM file into a CPIO archive.
-
 config BUSYBOX_CONFIG_RPM
        bool "rpm"
        default BUSYBOX_DEFAULT_RPM
        help
          Mini RPM applet - queries and extracts RPM packages.
 config BUSYBOX_CONFIG_RPM
        bool "rpm"
        default BUSYBOX_DEFAULT_RPM
        help
          Mini RPM applet - queries and extracts RPM packages.
-
+config BUSYBOX_CONFIG_RPM2CPIO
+       bool "rpm2cpio"
+       default BUSYBOX_DEFAULT_RPM2CPIO
+       help
+         Converts a RPM file into a CPIO archive.
 config BUSYBOX_CONFIG_TAR
        bool "tar"
        default BUSYBOX_DEFAULT_TAR
 config BUSYBOX_CONFIG_TAR
        bool "tar"
        default BUSYBOX_DEFAULT_TAR
@@ -314,59 +366,6 @@ config BUSYBOX_CONFIG_FEATURE_TAR_SELINUX
        help
          With this option busybox supports restoring SELinux labels
          when extracting files from tar archives.
        help
          With this option busybox supports restoring SELinux labels
          when extracting files from tar archives.
-
-config BUSYBOX_CONFIG_UNCOMPRESS
-       bool "uncompress"
-       default BUSYBOX_DEFAULT_UNCOMPRESS
-       help
-         uncompress is used to decompress archives created by compress.
-         Not much used anymore, replaced by gzip/gunzip.
-
-config BUSYBOX_CONFIG_UNLZMA
-       bool "unlzma"
-       default BUSYBOX_DEFAULT_UNLZMA
-       help
-         unlzma is a compression utility using the Lempel-Ziv-Markov chain
-         compression algorithm, and range coding. Compression
-         is generally considerably better than that achieved by the bzip2
-         compressors.
-
-         The BusyBox unlzma applet is limited to de-compression only.
-         On an x86 system, this applet adds about 4K.
-
-         Unless you have a specific application which requires unlzma, you
-         should probably say N here.
-
-config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
-       bool "Optimize unlzma for speed"
-       default BUSYBOX_DEFAULT_FEATURE_LZMA_FAST
-       depends on BUSYBOX_CONFIG_UNLZMA
-       help
-         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 BUSYBOX_DEFAULT_LZMA
-       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 BUSYBOX_DEFAULT_UNXZ
-       help
-         unxz is a unlzma successor.
-
-config BUSYBOX_CONFIG_XZ
-       bool "Provide xz alias which supports only unpacking"
-       default BUSYBOX_DEFAULT_XZ
-       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 BUSYBOX_DEFAULT_UNZIP
 config BUSYBOX_CONFIG_UNZIP
        bool "unzip"
        default BUSYBOX_DEFAULT_UNZIP