gen_build_files.sh uses bashism, document it
[oweals/busybox.git] / archival / Config.in
index e0d43c0ee5eda4925a3a3bb90429ba45169d1d1c..deacc28222289afc1250fd009e0ee973461c52c9 100644 (file)
@@ -53,15 +53,22 @@ config AR
          probably say N here.
 
 config FEATURE_AR_LONG_FILENAMES
-       bool "Support for long filenames (not need for debs)"
+       bool "Support for long filenames (not needed for debs)"
        default n
        depends on AR
        help
-         By default the ar format can only store the first 15 characters of
-         the filename, this option removes that limitation.
+         By default the ar format can only store the first 15 characters
+         of the filename, this option removes that limitation.
          It supports the GNU ar long filename method which moves multiple long
          filenames into a the data section of a new ar entry.
 
+config FEATURE_AR_CREATE
+       bool "Support archive creation"
+       default n
+       depends on AR
+       help
+         This enables archive creation (-c and -r) with busybox ar.
+
 config BUNZIP2
        bool "bunzip2"
        default n
@@ -165,6 +172,28 @@ config GZIP
          gzip is used to compress files.
          It's probably the most widely used UNIX compression program.
 
+config FEATURE_GZIP_LONG_OPTIONS
+       bool "Enable long options"
+       default n
+       depends on GZIP && LONG_OPTS
+       help
+         Enable use of long options, increases size by about 106 Bytes
+
+config LZOP
+       bool "lzop"
+       default n
+       help
+         Lzop compression/decompresion.
+
+config LZOP_COMPR_HIGH
+       bool "lzop complession levels 7,8,9 (not very useful)"
+       default n
+       depends on LZOP
+       help
+         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 RPM2CPIO
        bool "rpm2cpio"
        default n
@@ -185,8 +214,6 @@ config TAR
          create compressed archives. It's probably the most widely used
          UNIX archive program.
 
-if TAR
-
 config FEATURE_TAR_CREATE
        bool "Enable archive creation"
        default y
@@ -196,11 +223,11 @@ config FEATURE_TAR_CREATE
          tar archives using the `-c' option.
 
 config FEATURE_TAR_AUTODETECT
-       bool "Autodetect gz/bz2 compressed tarballs"
+       bool "Autodetect compressed tarballs"
        default n
-       depends on FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA
+       depends on TAR && (FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA)
        help
-         With this option tar can automatically detect gzip/bzip2 compressed
+         With this option tar can automatically detect compressed
          tarballs. Currently it works only on files (not pipes etc).
 
 config FEATURE_TAR_FROM
@@ -214,7 +241,7 @@ config FEATURE_TAR_FROM
 config FEATURE_TAR_OLDGNU_COMPATIBILITY
        bool "Support for old tar header format"
        default N
-       depends on TAR
+       depends on TAR || DPKG
        help
          This option is required to unpack archives created in
          the old GNU format; help to kill this old format by
@@ -223,7 +250,7 @@ config FEATURE_TAR_OLDGNU_COMPATIBILITY
 config FEATURE_TAR_OLDSUN_COMPATIBILITY
        bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
        default N
-       depends on TAR
+       depends on TAR || DPKG
        help
          This option is required to unpack archives created by some old
          version of Sun's tar (it was calculating checksum using signed
@@ -233,7 +260,7 @@ config FEATURE_TAR_OLDSUN_COMPATIBILITY
 config FEATURE_TAR_GNU_EXTENSIONS
        bool "Support for GNU tar extensions (long filenames)"
        default y
-       depends on TAR
+       depends on TAR || DPKG
        help
          With this option busybox supports GNU long filenames and
          linknames.
@@ -241,7 +268,7 @@ config FEATURE_TAR_GNU_EXTENSIONS
 config FEATURE_TAR_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on TAR && GETOPT_LONG
+       depends on TAR && LONG_OPTS
        help
          Enable use of long options, increases size by about 400 Bytes
 
@@ -254,7 +281,21 @@ config FEATURE_TAR_UNAME_GNAME
          listings (-t) and preserving permissions when unpacking (-p).
          +200 bytes.
 
-endif #tar
+config FEATURE_TAR_NOPRESERVE_TIME
+       bool "Enable -m (do not preserve time) option"
+       default n
+       depends on TAR
+       help
+         With this option busybox supports GNU tar -m
+         (do not preserve time) option.
+
+config FEATURE_TAR_SELINUX
+       bool "Support for extracting SELinux labels"
+       default n
+       depends on TAR && SELINUX
+       help
+         With this option busybox supports restoring SELinux labels
+         when extracting files from tar archives.
 
 config UNCOMPRESS
        bool "uncompress"