X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=archival%2FConfig.in;h=02daae1a0b05124e6649e78ad17ca6bba7b0a897;hb=52ec4b98d507f9df867fbe16e318ec0ef144ed72;hp=7810c354d5649aef2a6fa0cd57cb15da0459c57d;hpb=c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4;p=oweals%2Fbusybox.git diff --git a/archival/Config.in b/archival/Config.in index 7810c354d..02daae1a0 100644 --- a/archival/Config.in +++ b/archival/Config.in @@ -5,7 +5,7 @@ menu "Archival Utilities" -config CONFIG_AR +config AR bool "ar" default n help @@ -28,17 +28,17 @@ config CONFIG_AR Unless you have a specific application which requires ar, you should probably say N here. -config CONFIG_FEATURE_AR_LONG_FILENAMES - bool " Enable support for long filenames (not need for debs)" +config FEATURE_AR_LONG_FILENAMES + bool "Support for long filenames (not need for debs)" default n - depends on CONFIG_AR + depends on AR help 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 CONFIG_BUNZIP2 +config BUNZIP2 bool "bunzip2" default n help @@ -48,13 +48,23 @@ config CONFIG_BUNZIP2 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 CONFIG_CPIO +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 CPIO bool "cpio" default n help @@ -68,16 +78,25 @@ config CONFIG_CPIO Unless you have a specific application which requires cpio, you should probably say N here. -config CONFIG_DPKG +config FEATURE_CPIO_O + bool "Support for archive creation" + default n + depends on CPIO + help + This implementation of cpio can create cpio archives in the "newc" + format only. + +config DPKG bool "dpkg" default n help - dpkg is a medium-level tool to install, build, remove and manage Debian packages. + 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. + This implementation of dpkg has a number of limitations, + you should use the official dpkg if possible. -config CONFIG_DPKG_DEB +config DPKG_DEB bool "dpkg_deb" default n help @@ -85,19 +104,19 @@ config CONFIG_DPKG_DEB This implementation of dpkg-deb cannot pack archives. - Unless you have a specific application which requires dpkg-deb, you should - probably say N here. + Unless you have a specific application which requires dpkg-deb, + say N here. -config CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY - bool " extract only (-x)" +config FEATURE_DPKG_DEB_EXTRACT_ONLY + bool "Extract only (-x)" default n - depends on CONFIG_DPKG_DEB + depends on DPKG_DEB help This reduces dpkg-deb to the equivalent of "ar -p 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 CONFIG_GUNZIP +config GUNZIP bool "gunzip" default n help @@ -105,35 +124,42 @@ config CONFIG_GUNZIP You can use the `-t' option to test the integrity of an archive, without decompressing it. -config CONFIG_FEATURE_GUNZIP_UNCOMPRESS - bool " Uncompress support" +config FEATURE_GUNZIP_UNCOMPRESS + bool "Uncompress support" default n - depends on CONFIG_GUNZIP + depends on GUNZIP help Enable if you want gunzip to have the ability to decompress archives created by the program compress (not much used anymore). -config CONFIG_GZIP +config GZIP bool "gzip" default n help gzip is used to compress files. It's probably the most widely used UNIX compression program. -config CONFIG_RPM2CPIO +config RPM2CPIO bool "rpm2cpio" default n help Converts an RPM file into a CPIO archive. -config CONFIG_RPM +config RPM bool "rpm" default n help - Mini RPM applet - queries and extracts + Mini RPM applet - queries and extracts RPM packages. + +config FEATURE_RPM_BZ2 + bool "Enable handling of rpms with bzip2-compressed data inside" + default n + depends on RPM + help + Enable handling of rpms with bzip2-compressed data inside. -config CONFIG_TAR +config TAR bool "tar" default n help @@ -141,86 +167,112 @@ config CONFIG_TAR create compressed archives. It's probably the most widely used UNIX archive program. -config CONFIG_FEATURE_TAR_CREATE - bool " Enable archive creation" +config FEATURE_TAR_CREATE + bool "Enable archive creation" default y - depends on CONFIG_TAR + depends on TAR help If you enable this option you'll be able to create tar archives using the `-c' option. -config CONFIG_FEATURE_TAR_BZIP2 - bool " Enable -j option to handle .tar.bz2 files" +config FEATURE_TAR_GZIP + bool "Enable -z option" + default y + depends on TAR + help + If you enable this option tar will be able to call gzip, + when creating or extracting tar gziped archives. + +config FEATURE_TAR_BZIP2 + bool "Enable -j option to handle .tar.bz2 files" default n - depends on CONFIG_TAR + depends on 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" +config FEATURE_TAR_LZMA + bool "Enable -a option to handle .tar.lzma files" default n - depends on CONFIG_TAR + depends on 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)" +config FEATURE_TAR_COMPRESS + bool "Enable -Z option" default n - depends on CONFIG_TAR + depends on TAR help - If you enable this option you'll be able to specify - a list of files to include or exclude from an archive. + If you enable this option tar will be able to call uncompress, + when extracting .tar.Z archives. -config CONFIG_FEATURE_TAR_GZIP - bool " Enable -z option" - default y - depends on CONFIG_TAR +config FEATURE_TAR_AUTODETECT + bool "Let tar autodetect gz/bz2 compresses tarballs" + default n + depends on FEATURE_TAR_GZIP || FEATURE_TAR_BZIP2 help - If you enable this option tar will be able to call gzip, - when creating or extracting tar gziped archives. + With this option tar can automatically detect gzip/bzip2 compressed + tarballs. Currently it works only on seekable streams. -config CONFIG_FEATURE_TAR_COMPRESS - bool " Enable -Z option" +config FEATURE_TAR_FROM + bool "Enable -X (exclude from) and -T (include from) options)" default n - depends on CONFIG_TAR + depends on TAR help - If you enable this option tar will be able to call uncompress, - when extracting .tar.Z archives. + If you enable this option you'll be able to specify + a list of files to include or exclude from an archive. -config CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY - bool " Enable support for old tar header format" +config FEATURE_TAR_OLDGNU_COMPATIBILITY + bool "Support for old tar header format" default N - depends on CONFIG_TAR + depends on TAR help This option is required to unpack archives created in the old GNU format; help to kill this old format by repacking your ancient archives with the new format. -config CONFIG_FEATURE_TAR_GNU_EXTENSIONS - bool " Enable support for some GNU tar extensions" +config FEATURE_TAR_OLDSUN_COMPATIBILITY + bool "Enable untarring of tarballs with checksums produced by buggy Sun tar" + default N + depends on 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 FEATURE_TAR_GNU_EXTENSIONS + bool "Support for GNU tar extensions (long filenames)" default y - depends on CONFIG_TAR + depends on TAR help With this option busybox supports GNU long filenames and linknames. -config CONFIG_FEATURE_TAR_LONG_OPTIONS - bool " Enable long options" +config FEATURE_TAR_LONG_OPTIONS + bool "Enable long options" + default n + depends on TAR && GETOPT_LONG + help + Enable use of long options, increases size by about 400 Bytes + +config FEATURE_TAR_UNAME_GNAME + bool "Enable use of user and group names" default n - depends on CONFIG_TAR + depends on TAR help - Enable use of long options, increases size by about 400 Bytes + Enables use of user and group names in tar. This affects contents + listings (-t) and preserving permissions when unpacking (-p). + +200 bytes. -config CONFIG_UNCOMPRESS +config UNCOMPRESS bool "uncompress" default n help uncompress is used to decompress archives created by compress. Not much used anymore, replaced by gzip/gunzip. -config CONFIG_UNLZMA +config UNLZMA bool "unlzma" default n help @@ -235,15 +287,15 @@ config CONFIG_UNLZMA 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" +config FEATURE_LZMA_FAST + bool "Optimize unlzma for speed" default n - depends on CONFIG_UNLZMA + depends on UNLZMA help - This option reduce decompression time by about 33% at the cost of + This option reduces decompression time by about 33% at the cost of a 2K bigger binary. -config CONFIG_UNZIP +config UNZIP bool "unzip" default n help @@ -254,31 +306,24 @@ config CONFIG_UNZIP directory of your choice. comment "Common options for cpio and tar" - depends on CONFIG_CPIO || CONFIG_TAR - -config CONFIG_FEATURE_UNARCHIVE_TAPE - bool " Enable tape drive support" - default n - depends on CONFIG_CPIO || CONFIG_TAR - help - I don't think this is needed anymore. + depends on CPIO || TAR comment "Common options for dpkg and dpkg_deb" - depends on CONFIG_DPKG || CONFIG_DPKG_DEB + depends on DPKG || 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 +config FEATURE_DEB_TAR_GZ + bool "gzip debian packages (normal)" + default y if DPKG || DPKG_DEB + depends on DPKG || 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" +config FEATURE_DEB_TAR_BZ2 + bool "bzip2 debian packages" default n - depends on CONFIG_DPKG || CONFIG_DPKG_DEB + depends on DPKG || DPKG_DEB help This allows dpkg and dpkg-deb to extract deb's that are compressed internally with bzip2 instead of gzip. @@ -286,15 +331,15 @@ config CONFIG_FEATURE_DEB_TAR_BZ2 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" +config FEATURE_DEB_TAR_LZMA + bool "lzma debian packages" default n - depends on CONFIG_DPKG || CONFIG_DPKG_DEB + depends on DPKG || DPKG_DEB help This allows dpkg and dpkg-deb to extract deb's that are compressed - internally with lzma instead of gzip. + 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. + packages that use an internal control.tar.lzma or data.tar.lzma. endmenu