diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/Kbuild.src | 3 | ||||
-rw-r--r-- | archival/liblzo_interface.h | 71 | ||||
-rw-r--r-- | archival/libunarchive/Kbuild.src | 2 | ||||
-rw-r--r-- | archival/libunarchive/liblzo.h (renamed from archival/liblzo.h) | 0 | ||||
-rw-r--r-- | archival/libunarchive/lzo1x_1.c (renamed from archival/lzo1x_1.c) | 0 | ||||
-rw-r--r-- | archival/libunarchive/lzo1x_1o.c (renamed from archival/lzo1x_1o.c) | 0 | ||||
-rw-r--r-- | archival/libunarchive/lzo1x_9x.c (renamed from archival/lzo1x_9x.c) | 0 | ||||
-rw-r--r-- | archival/libunarchive/lzo1x_c.c (renamed from archival/lzo1x_c.c) | 0 | ||||
-rw-r--r-- | archival/libunarchive/lzo1x_d.c (renamed from archival/lzo1x_d.c) | 0 |
9 files changed, 3 insertions, 73 deletions
diff --git a/archival/Kbuild.src b/archival/Kbuild.src index a0edb123d..e49d38538 100644 --- a/archival/Kbuild.src +++ b/archival/Kbuild.src | |||
@@ -19,8 +19,7 @@ lib-$(CONFIG_RPM) += rpm.o | |||
19 | lib-$(CONFIG_TAR) += tar.o | 19 | lib-$(CONFIG_TAR) += tar.o |
20 | lib-$(CONFIG_UNZIP) += unzip.o | 20 | lib-$(CONFIG_UNZIP) += unzip.o |
21 | 21 | ||
22 | lib-$(CONFIG_LZOP) += lzop.o lzo1x_1.o lzo1x_1o.o lzo1x_d.o bbunzip.o | 22 | lib-$(CONFIG_LZOP) += lzop.o bbunzip.o |
23 | lib-$(CONFIG_LZOP_COMPR_HIGH) += lzo1x_9x.o | ||
24 | lib-$(CONFIG_GZIP) += gzip.o bbunzip.o | 23 | lib-$(CONFIG_GZIP) += gzip.o bbunzip.o |
25 | lib-$(CONFIG_BZIP2) += bzip2.o bbunzip.o | 24 | lib-$(CONFIG_BZIP2) += bzip2.o bbunzip.o |
26 | 25 | ||
diff --git a/archival/liblzo_interface.h b/archival/liblzo_interface.h deleted file mode 100644 index 9a84c0b6b..000000000 --- a/archival/liblzo_interface.h +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of the LZO real-time data compression library. | ||
3 | |||
4 | Copyright (C) 1996..2008 Markus Franz Xaver Johannes Oberhumer | ||
5 | All Rights Reserved. | ||
6 | |||
7 | Markus F.X.J. Oberhumer <markus@oberhumer.com> | ||
8 | http://www.oberhumer.com/opensource/lzo/ | ||
9 | |||
10 | The LZO library is free software; you can redistribute it and/or | ||
11 | modify it under the terms of the GNU General Public License as | ||
12 | published by the Free Software Foundation; either version 2 of | ||
13 | the License, or (at your option) any later version. | ||
14 | |||
15 | The LZO library is distributed in the hope that it will be useful, | ||
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
18 | GNU General Public License for more details. | ||
19 | |||
20 | You should have received a copy of the GNU General Public License | ||
21 | along with the LZO library; see the file COPYING. | ||
22 | If not, write to the Free Software Foundation, Inc., | ||
23 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
24 | */ | ||
25 | |||
26 | #define LZO1X | ||
27 | #undef LZO1Y | ||
28 | |||
29 | #undef assert | ||
30 | /* | ||
31 | static void die_at(int line) | ||
32 | { | ||
33 | bb_error_msg_and_die("internal error at %d", line); | ||
34 | } | ||
35 | #define assert(v) if (!(v)) die_at(__LINE__) | ||
36 | */ | ||
37 | #define assert(v) ((void)0) | ||
38 | |||
39 | int lzo1x_1_compress(const uint8_t* src, unsigned src_len, | ||
40 | uint8_t* dst, unsigned* dst_len, | ||
41 | void* wrkmem); | ||
42 | int lzo1x_1_15_compress(const uint8_t* src, unsigned src_len, | ||
43 | uint8_t* dst, unsigned* dst_len, | ||
44 | void* wrkmem); | ||
45 | int lzo1x_999_compress_level(const uint8_t* in, unsigned in_len, | ||
46 | uint8_t* out, unsigned* out_len, | ||
47 | void* wrkmem, | ||
48 | int compression_level); | ||
49 | |||
50 | /* decompression */ | ||
51 | //int lzo1x_decompress(const uint8_t* src, unsigned src_len, | ||
52 | // uint8_t* dst, unsigned* dst_len, | ||
53 | // void* wrkmem /* NOT USED */); | ||
54 | /* safe decompression with overrun testing */ | ||
55 | int lzo1x_decompress_safe(const uint8_t* src, unsigned src_len, | ||
56 | uint8_t* dst, unsigned* dst_len, | ||
57 | void* wrkmem /* NOT USED */); | ||
58 | |||
59 | #define LZO_E_OK 0 | ||
60 | #define LZO_E_ERROR (-1) | ||
61 | #define LZO_E_OUT_OF_MEMORY (-2) /* [not used right now] */ | ||
62 | #define LZO_E_NOT_COMPRESSIBLE (-3) /* [not used right now] */ | ||
63 | #define LZO_E_INPUT_OVERRUN (-4) | ||
64 | #define LZO_E_OUTPUT_OVERRUN (-5) | ||
65 | #define LZO_E_LOOKBEHIND_OVERRUN (-6) | ||
66 | #define LZO_E_EOF_NOT_FOUND (-7) | ||
67 | #define LZO_E_INPUT_NOT_CONSUMED (-8) | ||
68 | #define LZO_E_NOT_YET_IMPLEMENTED (-9) /* [not used right now] */ | ||
69 | |||
70 | /* lzo-2.03/include/lzo/lzoconf.h */ | ||
71 | #define LZO_VERSION 0x2030 | ||
diff --git a/archival/libunarchive/Kbuild.src b/archival/libunarchive/Kbuild.src index e92b4aad2..b0bc4e5aa 100644 --- a/archival/libunarchive/Kbuild.src +++ b/archival/libunarchive/Kbuild.src | |||
@@ -48,6 +48,8 @@ lib-$(CONFIG_RPM) += open_transformer.o decompress_unzip.o | |||
48 | lib-$(CONFIG_TAR) += get_header_tar.o | 48 | lib-$(CONFIG_TAR) += get_header_tar.o |
49 | lib-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o | 49 | lib-$(CONFIG_UNCOMPRESS) += decompress_uncompress.o |
50 | lib-$(CONFIG_UNZIP) += decompress_unzip.o | 50 | lib-$(CONFIG_UNZIP) += decompress_unzip.o |
51 | lib-$(CONFIG_LZOP) += lzo1x_1.o lzo1x_1o.o lzo1x_d.o | ||
52 | lib-$(CONFIG_LZOP_COMPR_HIGH) += lzo1x_9x.o | ||
51 | lib-$(CONFIG_FEATURE_SEAMLESS_Z) += open_transformer.o decompress_uncompress.o | 53 | lib-$(CONFIG_FEATURE_SEAMLESS_Z) += open_transformer.o decompress_uncompress.o |
52 | lib-$(CONFIG_FEATURE_SEAMLESS_GZ) += open_transformer.o decompress_unzip.o get_header_tar_gz.o | 54 | lib-$(CONFIG_FEATURE_SEAMLESS_GZ) += open_transformer.o decompress_unzip.o get_header_tar_gz.o |
53 | lib-$(CONFIG_FEATURE_SEAMLESS_BZ2) += open_transformer.o decompress_bunzip2.o get_header_tar_bz2.o | 55 | lib-$(CONFIG_FEATURE_SEAMLESS_BZ2) += open_transformer.o decompress_bunzip2.o get_header_tar_bz2.o |
diff --git a/archival/liblzo.h b/archival/libunarchive/liblzo.h index 843997cb9..843997cb9 100644 --- a/archival/liblzo.h +++ b/archival/libunarchive/liblzo.h | |||
diff --git a/archival/lzo1x_1.c b/archival/libunarchive/lzo1x_1.c index a88839846..a88839846 100644 --- a/archival/lzo1x_1.c +++ b/archival/libunarchive/lzo1x_1.c | |||
diff --git a/archival/lzo1x_1o.c b/archival/libunarchive/lzo1x_1o.c index 3c61253e0..3c61253e0 100644 --- a/archival/lzo1x_1o.c +++ b/archival/libunarchive/lzo1x_1o.c | |||
diff --git a/archival/lzo1x_9x.c b/archival/libunarchive/lzo1x_9x.c index 483205155..483205155 100644 --- a/archival/lzo1x_9x.c +++ b/archival/libunarchive/lzo1x_9x.c | |||
diff --git a/archival/lzo1x_c.c b/archival/libunarchive/lzo1x_c.c index cc86f74b1..cc86f74b1 100644 --- a/archival/lzo1x_c.c +++ b/archival/libunarchive/lzo1x_c.c | |||
diff --git a/archival/lzo1x_d.c b/archival/libunarchive/lzo1x_d.c index 348a85510..348a85510 100644 --- a/archival/lzo1x_d.c +++ b/archival/libunarchive/lzo1x_d.c | |||