summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-20 23:28:00 +0200
committerDenys Vlasenko2017-07-20 23:28:00 +0200
commit75d151e31d135ebab083307ded4e9b98970baa75 (patch)
tree2af1b57b1060f0384f6e2761a88e9c099aa5cfa0 /archival
parentad37abf4231275d0991d42f9003666f1efd4114b (diff)
downloadbusybox-75d151e31d135ebab083307ded4e9b98970baa75.zip
busybox-75d151e31d135ebab083307ded4e9b98970baa75.tar.gz
libarchive: FEATURE_LZMA_FAST should be visible if FEATURE_SEAMLESS_LZMA
While at it, tweak some config help texts. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r--archival/Config.src8
-rw-r--r--archival/ar.c2
-rw-r--r--archival/bbunzip.c19
-rw-r--r--archival/lzop.c2
4 files changed, 10 insertions, 21 deletions
diff --git a/archival/Config.src b/archival/Config.src
index 0c97f3d..4bb46f1 100644
--- a/archival/Config.src
+++ b/archival/Config.src
@@ -27,4 +27,12 @@ config FEATURE_SEAMLESS_Z
INSERT
+config FEATURE_LZMA_FAST
+ bool "Optimize lzma for speed"
+ default n
+ depends on UNLZMA || LZCAT || LZMA || FEATURE_SEAMLESS_LZMA
+ help
+ This option reduces decompression time by about 25% at the cost of
+ a 1K bigger binary.
+
endmenu
diff --git a/archival/ar.c b/archival/ar.c
index 969b6f2..8e4d81e 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -25,8 +25,6 @@
//config: extract contents from archives. In practice, it is used exclusively
//config: for object module archives used by compilers.
//config:
-//config: On an x86 system, the ar applet adds about 1K.
-//config:
//config: Unless you have a specific application which requires ar, you should
//config: probably say N here: most compilers come with their own ar utility.
//config:
diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index 94698d9..bf18a74 100644
--- a/archival/bbunzip.c
+++ b/archival/bbunzip.c
@@ -501,20 +501,11 @@ int bunzip2_main(int argc UNUSED_PARAM, char **argv)
//config: is generally considerably better than that achieved by the bzip2
//config: compressors.
//config:
-//config: The BusyBox unlzma applet is limited to decompression only.
-//config: On an x86 system, this applet adds about 4K.
-//config:
//config:config LZCAT
//config: bool "lzcat (8.5 kb)"
//config: default y
//config: help
-//config: unlzma is a compression utility using the Lempel-Ziv-Markov chain
-//config: compression algorithm, and range coding. Compression
-//config: is generally considerably better than that achieved by the bzip2
-//config: compressors.
-//config:
-//config: The BusyBox unlzma applet is limited to decompression only.
-//config: On an x86 system, this applet adds about 4K.
+//config: Alias to "unlzma -c".
//config:
//config:config LZMA
//config: bool "lzma -d"
@@ -522,14 +513,6 @@ int bunzip2_main(int argc UNUSED_PARAM, char **argv)
//config: help
//config: Enable this option if you want commands like "lzma -d" to work.
//config: IOW: you'll get lzma applet, but it will always require -d option.
-//config:
-//config:config FEATURE_LZMA_FAST
-//config: bool "Optimize for speed"
-//config: default n
-//config: depends on UNLZMA || LZCAT || LZMA
-//config: help
-//config: This option reduces decompression time by about 25% at the cost of
-//config: a 1K bigger binary.
//applet:IF_UNLZMA(APPLET(unlzma, BB_DIR_USR_BIN, BB_SUID_DROP))
// APPLET_ODDNAME:name main location suid_type help
diff --git a/archival/lzop.c b/archival/lzop.c
index f1608e2..967d4b7 100644
--- a/archival/lzop.c
+++ b/archival/lzop.c
@@ -41,7 +41,7 @@
//config: bool "lzopcat (13 kb)"
//config: default n # INCOMPAT: upstream lzop does not provide such tool
//config: help
-//config: Alias to "unlzop -c".
+//config: Alias to "lzop -dc".
//config:
//config:config LZOP_COMPR_HIGH
//config: bool "lzop compression levels 7,8,9 (not very useful)"