Add SWAP_LE?? and SWAP_BE?? macros, and make things use them. Converts values
[oweals/busybox.git] / archival / Config.in
index 7807da1f1587d469db867ad653cf94e982d720c7..22e7ec458a8bdd4ebb484568bdd5827267126133 100644 (file)
@@ -29,7 +29,7 @@ config CONFIG_AR
          probably say N here.
 
 config CONFIG_FEATURE_AR_LONG_FILENAMES
-       bool "  Enable support for long filenames (not need for debs)"
+       bool "Enable support for long filenames (not need for debs)"
        default n
        depends on CONFIG_AR
        help
@@ -46,11 +46,11 @@ config CONFIG_BUNZIP2
          sorting text compression algorithm, and Huffman coding.  Compression
          is generally considerably better than that achieved by more
          conventional LZ77/LZ78-based compressors, and approaches the
-         performance of the PPM family of statistical compressors.  
-         
+         performance of the PPM family of statistical compressors.
+
          The BusyBox bunzip2 applet is limited to de-compression only.
          On an x86 system, this applet adds about 11K.
-         
+
          Unless you have a specific application which requires bunzip2, you
          should probably say N here.
 
@@ -63,7 +63,7 @@ config CONFIG_CPIO
          cpio has 110 bytes of overheads for every stored file.
 
          This implementation of cpio can extract cpio archives created in the
-         "newc" or "crc" format, it cannot create or modify them. 
+         "newc" or "crc" format, it cannot create or modify them.
 
          Unless you have a specific application which requires cpio, you should
          probably say N here.
@@ -73,7 +73,7 @@ config CONFIG_DPKG
        default n
        help
          dpkg is a medium-level tool to install, build, remove and manage Debian packages.
-         
+
          This implementation of dpkg has a number of limitations, you should use the
          official dpkg if possible.
 
@@ -82,41 +82,21 @@ config CONFIG_DPKG_DEB
        default n
        help
          dpkg-deb packs, unpacks and provides information about Debian archives.
-         
+
          This implementation of dpkg-deb cannot pack archives.
-         
+
          Unless you have a specific application which requires dpkg-deb, you should
          probably say N here.
 
 config CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY
-       bool "  extract only (-x)"
+       bool "extract only (-x)"
        default n
        depends on CONFIG_DPKG_DEB
        help
          This reduces dpkg-deb to the equivalent of "ar -p <deb> data.tar.gz | tar -zx".
-         However it saves space as none of the extra dpkg-deb, ar or tar options are 
+         However it saves space as none of the extra dpkg-deb, ar or tar options are
          needed, they are linked to internally.
 
-config CONFIG_FEATURE_DEB_TAR_GZ
-       bool "  gzip debian packages (normal)"
-       default y if CONFIG_DPKG || CONFIG_DPKG_DEB
-       depends on CONFIG_DPKG || CONFIG_DPKG_DEB
-       help
-         This is the default compression method inside the debian ar file.
-         
-         If you want compatibility with standard .deb's you should say yes here.
-
-config CONFIG_FEATURE_DEB_TAR_BZ2
-       bool "  bzip2 debian packages"
-       default n
-       depends on CONFIG_DPKG || CONFIG_DPKG_DEB
-       help
-         This allows dpkg and dpkg-deb to extract deb's that are compressed internally
-         with bzip2 instead of gzip.
-         
-         You only want this if you are creating your own custom debian packages that
-         use an internal control.tar.bz2 or data.tar.bz2.
-
 config CONFIG_GUNZIP
        bool "gunzip"
        default n
@@ -126,7 +106,7 @@ config CONFIG_GUNZIP
          an archive, without decompressing it.
 
 config CONFIG_FEATURE_GUNZIP_UNCOMPRESS
-       bool "  Uncompress support"
+       bool "Uncompress support"
        default n
        depends on CONFIG_GUNZIP
        help
@@ -162,7 +142,7 @@ config CONFIG_TAR
          UNIX archive program.
 
 config CONFIG_FEATURE_TAR_CREATE
-       bool "  Enable archive creation"
+       bool "Enable archive creation"
        default y
        depends on CONFIG_TAR
        help
@@ -170,15 +150,23 @@ config CONFIG_FEATURE_TAR_CREATE
          tar archives using the `-c' option.
 
 config CONFIG_FEATURE_TAR_BZIP2
-       bool "  Enable -j option to handle .tar.bz2 files"
+       bool "Enable -j option to handle .tar.bz2 files"
        default n
        depends on CONFIG_TAR
        help
          If you enable this option you'll be able to extract
          archives compressed with bzip2.
 
+config CONFIG_FEATURE_TAR_LZMA
+       bool "Enable -a option to handle .tar.lzma files"
+       default n
+       depends on CONFIG_TAR
+       help
+         If you enable this option you'll be able to extract
+         archives compressed with lzma.
+
 config CONFIG_FEATURE_TAR_FROM
-       bool "  Enable -X (exclude from) and -T (include from) options)"
+       bool "Enable -X (exclude from) and -T (include from) options)"
        default n
        depends on CONFIG_TAR
        help
@@ -186,7 +174,7 @@ config CONFIG_FEATURE_TAR_FROM
          a list of files to include or exclude from an archive.
 
 config CONFIG_FEATURE_TAR_GZIP
-       bool "  Enable -z option"
+       bool "Enable -z option"
        default y
        depends on CONFIG_TAR
        help
@@ -194,15 +182,15 @@ config CONFIG_FEATURE_TAR_GZIP
          when creating or extracting tar gziped archives.
 
 config CONFIG_FEATURE_TAR_COMPRESS
-       bool "  Enable -Z option"
+       bool "Enable -Z option"
        default n
        depends on CONFIG_TAR
        help
          If you enable this option tar will be able to call uncompress,
          when extracting .tar.Z archives.
 
-config CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
-       bool "  Enable support for old tar header format"
+config CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
+       bool "Enable support for old tar header format"
        default N
        depends on CONFIG_TAR
        help
@@ -211,17 +199,17 @@ config CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
          repacking your ancient archives with the new format.
 
 config CONFIG_FEATURE_TAR_GNU_EXTENSIONS
-       bool "  Enable support for some GNU tar extensions"
+       bool "Enable support for some GNU tar extensions"
        default y
        depends on CONFIG_TAR
        help
-         With this option busybox supports GNU long filenames and 
+         With this option busybox supports GNU long filenames and
          linknames.
 
 config CONFIG_FEATURE_TAR_LONG_OPTIONS
-       bool "  Enable long options"
+       bool "Enable long options"
        default n
-       depends on CONFIG_TAR
+       depends on CONFIG_TAR && CONFIG_GETOPT_LONG
        help
                Enable use of long options, increases size by about 400 Bytes
 
@@ -232,6 +220,29 @@ config CONFIG_UNCOMPRESS
          uncompress is used to decompress archives created by compress.
          Not much used anymore, replaced by gzip/gunzip.
 
+config CONFIG_UNLZMA
+       bool "unlzma"
+       default n
+       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 CONFIG_FEATURE_LZMA_FAST
+       bool "Optimze unlzma for speed"
+       default n
+       depends on CONFIG_UNLZMA
+       help
+         This option reduce decompression time by about 33% at the cost of
+         a 2K bigger binary.
+
 config CONFIG_UNZIP
        bool "unzip"
        default n
@@ -246,10 +257,44 @@ comment "Common options for cpio and tar"
        depends on CONFIG_CPIO || CONFIG_TAR
 
 config CONFIG_FEATURE_UNARCHIVE_TAPE
-       bool "  Enable tape drive support"
+       bool "Enable tape drive support"
        default n
        depends on CONFIG_CPIO || CONFIG_TAR
        help
          I don't think this is needed anymore.
 
+comment "Common options for dpkg and dpkg_deb"
+       depends on CONFIG_DPKG || CONFIG_DPKG_DEB
+
+config CONFIG_FEATURE_DEB_TAR_GZ
+       bool "gzip debian packages (normal)"
+       default y if CONFIG_DPKG || CONFIG_DPKG_DEB
+       depends on CONFIG_DPKG || CONFIG_DPKG_DEB
+       help
+         This is the default compression method inside the debian ar file.
+
+         If you want compatibility with standard .deb's you should say yes here.
+
+config CONFIG_FEATURE_DEB_TAR_BZ2
+       bool "bzip2 debian packages"
+       default n
+       depends on CONFIG_DPKG || CONFIG_DPKG_DEB
+       help
+         This allows dpkg and dpkg-deb to extract deb's that are compressed internally
+         with bzip2 instead of gzip.
+
+         You only want this if you are creating your own custom debian packages that
+         use an internal control.tar.bz2 or data.tar.bz2.
+
+config CONFIG_FEATURE_DEB_TAR_LZMA
+       bool "lzma debian packages"
+       default n
+       depends on CONFIG_DPKG || CONFIG_DPKG_DEB
+       help
+         This allows dpkg and dpkg-deb to extract deb's that are compressed
+          internally with lzma instead of gzip.
+
+         You only want this if you are creating your own custom debian
+          packages that use an internal control.tar.lzma or data.tar.lzma.
+
 endmenu