diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-14 11:38:18 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-14 11:38:18 +0100 |
commit | ac216873095a0d7c30737df5cdfa3bf6c261f079 (patch) | |
tree | 8856ed7093142ee40eff093dff147802d822f1ff /archival | |
parent | 36184a487d20d4ae168c2ae247dd064b1e9f4f64 (diff) |
archival/*: move "applet:" snippets into .c files, part 2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r-- | archival/bbunzip.c | 4 | ||||
-rw-r--r-- | archival/lzop.c | 4 | ||||
-rw-r--r-- | archival/unzip.c | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c index d34f56885..eb6f114ad 100644 --- a/archival/bbunzip.c +++ b/archival/bbunzip.c @@ -433,6 +433,8 @@ int bunzip2_main(int argc UNUSED_PARAM, char **argv) //usage: "Decompress to stdout" //applet:IF_UNLZMA(APPLET(unlzma, BB_DIR_USR_BIN, BB_SUID_DROP)) +//applet:IF_UNLZMA(APPLET_ODDNAME(lzcat, unlzma, BB_DIR_USR_BIN, BB_SUID_DROP, lzcat)) +//applet:IF_LZMA(APPLET_ODDNAME(lzma, unlzma, BB_DIR_USR_BIN, BB_SUID_DROP, lzma)) //kbuild:lib-$(CONFIG_UNLZMA) += bbunzip.o #if ENABLE_UNLZMA static @@ -460,6 +462,8 @@ int unlzma_main(int argc UNUSED_PARAM, char **argv) //applet:IF_UNXZ(APPLET(unxz, BB_DIR_USR_BIN, BB_SUID_DROP)) +//applet:IF_UNXZ(APPLET_ODDNAME(xzcat, unxz, BB_DIR_USR_BIN, BB_SUID_DROP, xzcat)) +//applet:IF_XZ(APPLET_ODDNAME(xz, unxz, BB_DIR_USR_BIN, BB_SUID_DROP, xz)) //kbuild:lib-$(CONFIG_UNXZ) += bbunzip.o #if ENABLE_UNXZ static diff --git a/archival/lzop.c b/archival/lzop.c index a7b42ac9d..9007d5311 100644 --- a/archival/lzop.c +++ b/archival/lzop.c @@ -25,7 +25,9 @@ "Minimalized" for busybox by Alain Knaff */ -//applet:IF_UNZIP(APPLET(unzip, BB_DIR_USR_BIN, BB_SUID_DROP)) +//applet:IF_LZOP(APPLET(lzop, BB_DIR_BIN, BB_SUID_DROP)) +//applet:IF_LZOP(APPLET_ODDNAME(lzopcat, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, lzopcat)) +//applet:IF_LZOP(APPLET_ODDNAME(unlzop, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, unlzop)) //kbuild:lib-$(CONFIG_LZOP) += lzop.o //usage:#define lzop_trivial_usage diff --git a/archival/unzip.c b/archival/unzip.c index 71f3fbb68..9825986bf 100644 --- a/archival/unzip.c +++ b/archival/unzip.c @@ -17,6 +17,7 @@ * Zip64 + other methods */ +//applet:IF_UNZIP(APPLET(unzip, BB_DIR_USR_BIN, BB_SUID_DROP)) //kbuild:lib-$(CONFIG_UNZIP) += unzip.o //usage:#define unzip_trivial_usage |