make opkg the default package manager, disable busybox ipkg from building by default
[openwrt-10.03/.git] / package / busybox / config / archival / Config.in
index 8bb4886eb62cb9d5a56915689ee1040e62716c11..0cfbbcc3da3c0f52c022decfa41c4f3b669b930b 100644 (file)
@@ -29,7 +29,7 @@ config BUSYBOX_CONFIG_AR
          probably say N here.
 
 config BUSYBOX_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 BUSYBOX_CONFIG_AR
        help
@@ -47,13 +47,23 @@ config BUSYBOX_CONFIG_BUNZIP2
          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.
-       
-         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.
 
+config BUSYBOX_CONFIG_BZIP2
+       bool "bzip2"
+       default n
+       help
+         bzip2 is a compression utility using the Burrows-Wheeler block
+         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.
+
+         Unless you have a specific application which requires bzip2, you
+         should probably say N here.
+
 config BUSYBOX_CONFIG_CPIO
        bool "cpio"
        default n
@@ -73,7 +83,7 @@ config BUSYBOX_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,14 +92,14 @@ config BUSYBOX_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 BUSYBOX_CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY
-       bool "  extract only (-x)"
+       bool "extract only (-x)"
        default n
        depends on BUSYBOX_CONFIG_DPKG_DEB
        help
@@ -106,7 +116,7 @@ config BUSYBOX_CONFIG_GUNZIP
          an archive, without decompressing it.
 
 config BUSYBOX_CONFIG_FEATURE_GUNZIP_UNCOMPRESS
-       bool "  Uncompress support"
+       bool "Uncompress support"
        default y
        depends on BUSYBOX_CONFIG_GUNZIP
        help
@@ -121,6 +131,17 @@ config BUSYBOX_CONFIG_GZIP
          gzip is used to compress files.
          It's probably the most widely used UNIX compression program.
 
+config BUSYBOX_CONFIG_IPKG
+       bool "ipkg"
+       default n
+       select BUSYBOX_CONFIG_MD5SUM
+       select BUSYBOX_CONFIG_WGET
+       select BUSYBOX_CONFIG_DIFF
+       select BUSYBOX_CONFIG_TAR
+       select BUSYBOX_CONFIG_GUNZIP
+       help
+         ipkg is the itsy package management system.
+
 config BUSYBOX_CONFIG_RPM2CPIO
        bool "rpm2cpio"
        default n
@@ -131,7 +152,14 @@ config BUSYBOX_CONFIG_RPM
        bool "rpm"
        default n
        help
-         Mini RPM applet - queries and extracts
+         Mini RPM applet - queries and extracts RPM packages.
+
+config BUSYBOX_CONFIG_FEATURE_RPM_BZ2
+       bool "Enable handling of rpms with bzip2-compressed data inside"
+       default n
+       depends on BUSYBOX_CONFIG_RPM
+       help
+         Enable handling of rpms with bzip2-compressed data inside.
 
 config BUSYBOX_CONFIG_TAR
        bool "tar"
@@ -142,7 +170,7 @@ config BUSYBOX_CONFIG_TAR
          UNIX archive program.
 
 config BUSYBOX_CONFIG_FEATURE_TAR_CREATE
-       bool "  Enable archive creation"
+       bool "Enable archive creation"
        default y
        depends on BUSYBOX_CONFIG_TAR
        help
@@ -150,23 +178,31 @@ config BUSYBOX_CONFIG_FEATURE_TAR_CREATE
          tar archives using the `-c' option.
 
 config BUSYBOX_CONFIG_FEATURE_TAR_BZIP2
-       bool "  Enable -j option to handle .tar.bz2 files"
+       bool "Enable -j option to handle .tar.bz2 files"
        default y
        depends on BUSYBOX_CONFIG_TAR
        help
          If you enable this option you'll be able to extract
          archives compressed with bzip2.
 
-config BUSYBOX_CONFIG_FEATURE_TAR_FROM
-       bool "  Enable -X (exclude from) and -T (include from) options)"
+config BUSYBOX_CONFIG_FEATURE_TAR_LZMA
+       bool "Enable -a option to handle .tar.lzma files"
        default n
        depends on BUSYBOX_CONFIG_TAR
+       help
+         If you enable this option you'll be able to extract
+         archives compressed with lzma.
+
+config BUSYBOX_CONFIG_FEATURE_TAR_FROM
+       bool "Enable -X (exclude from) and -T (include from) options)"
+       default y
+       depends on BUSYBOX_CONFIG_TAR
        help
          If you enable this option you'll be able to specify
          a list of files to include or exclude from an archive.
 
 config BUSYBOX_CONFIG_FEATURE_TAR_GZIP
-       bool "  Enable -z option"
+       bool "Enable -z option"
        default y
        depends on BUSYBOX_CONFIG_TAR
        help
@@ -174,15 +210,15 @@ config BUSYBOX_CONFIG_FEATURE_TAR_GZIP
          when creating or extracting tar gziped archives.
 
 config BUSYBOX_CONFIG_FEATURE_TAR_COMPRESS
-       bool "  Enable -Z option"
+       bool "Enable -Z option"
        default n
        depends on BUSYBOX_CONFIG_TAR
        help
          If you enable this option tar will be able to call uncompress,
          when extracting .tar.Z archives.
 
-config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
-       bool "  Enable support for old tar header format"
+config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
+       bool "Enable support for old tar header format"
        default n
        depends on BUSYBOX_CONFIG_TAR
        help
@@ -190,8 +226,17 @@ config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY
          the old GNU format; help to kill this old format by
          repacking your ancient archives with the new format.
 
+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
+       help
+         This option is required to unpack archives created by some old
+         version of Sun's tar (it was calculating checksum using signed arithmetic).
+         It is said to be fixed in newer Sun tar, but "old" tarballs still exist.
+
 config BUSYBOX_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 BUSYBOX_CONFIG_TAR
        help
@@ -199,9 +244,9 @@ config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS
          linknames.
 
 config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
-       bool "  Enable long options"
+       bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_TAR
+       depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_GETOPT_LONG
        help
                Enable use of long options, increases size by about 400 Bytes
 
@@ -212,6 +257,29 @@ config BUSYBOX_CONFIG_UNCOMPRESS
          uncompress is used to decompress archives created by compress.
          Not much used anymore, replaced by gzip/gunzip.
 
+config BUSYBOX_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 BUSYBOX_CONFIG_FEATURE_LZMA_FAST
+       bool "Optimze unlzma for speed"
+       default n
+       depends on BUSYBOX_CONFIG_UNLZMA
+       help
+         This option reduces decompression time by about 33% at the cost of
+         a 2K bigger binary.
+
 config BUSYBOX_CONFIG_UNZIP
        bool "unzip"
        default n
@@ -226,7 +294,7 @@ comment "Common options for cpio and tar"
        depends on BUSYBOX_CONFIG_CPIO || BUSYBOX_CONFIG_TAR
 
 config BUSYBOX_CONFIG_FEATURE_UNARCHIVE_TAPE
-       bool "  Enable tape drive support"
+       bool "Enable tape drive support"
        default n
        depends on BUSYBOX_CONFIG_CPIO || BUSYBOX_CONFIG_TAR
        help
@@ -236,23 +304,34 @@ comment "Common options for dpkg and dpkg_deb"
        depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
 
 config BUSYBOX_CONFIG_FEATURE_DEB_TAR_GZ
-       bool "  gzip debian packages (normal)"
+       bool "gzip debian packages (normal)"
        default n if BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
        depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_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 BUSYBOX_CONFIG_FEATURE_DEB_TAR_BZ2
-       bool "  bzip2 debian packages"
+       bool "bzip2 debian packages"
        default n
        depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_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 BUSYBOX_CONFIG_FEATURE_DEB_TAR_LZMA
+       bool "lzma debian packages"
+       default n
+       depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_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