aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* rpm2cpio: code shrinkDenys Vlasenko2009-08-281-11/+10
| | | | | | | | | | function old new delta skip_header 94 92 -2 rpm2cpio_main 177 174 -3 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-5) Total: -5 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rpm2cpio: handle unseekable input correctlyDenys Vlasenko2009-08-285-15/+18
| | | | | | | | | | | | | | function old new delta data_skip 14 20 +6 seek_by_jump 67 72 +5 data_align 81 84 +3 seek_by_read 20 19 -1 skip_header 99 94 -5 rpm2cpio_main 183 177 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/3 up/down: 14/-12) Total: 2 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rpm2cpio: handle bz2 too; code shrinkPascal Bellard2009-08-281-29/+48
| | | | | | | | | | | function old new delta skip_header 142 99 -43 rpm2cpio_main 321 183 -138 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-181) Total: -181 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dpkg: delete postrm script after it's run, not before. closes bug 449Denys Vlasenko2009-07-251-8/+13
| | | | | | | function old new delta purge_package 220 252 +32 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unzip: try lseek before resorting to readingStefani Seibold2009-07-251-1/+2
| | | | | | | function old new delta unzip_skip 16 43 +27 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove trailing whitespaceDenys Vlasenko2009-07-152-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: handle 256-base encoding in mtimeDenys Vlasenko2009-07-081-3/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* df: fix "df /"Denys Vlasenko2009-07-051-2/+2
| | | | | | | | | | | | | | | | | | | also, clean up mount checks in mkfs/fsck. function old new delta find_mount_point 243 261 +18 sha1_process_block64 497 510 +13 find_main 436 444 +8 display_speed 85 90 +5 df_main 795 793 -2 parse_command 1463 1460 -3 static.ignored_mounts 8 - -8 mkfs_minix_main 2962 2937 -25 fsck_minix_main 3065 2970 -95 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/4 up/down: 44/-133) Total: -89 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* updates for supporting Linux kernel build and initrd utilitiesDenys Vlasenko2009-06-261-4/+19
| | | | | | | | | cpio: --verbose, --quiet, --to-stdout test: make 64-bit math enable-able for hush too dnsdomainname: alias to hostname -d hostname: support --fqdn, --domain, --file Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSDenys Vlasenko2009-06-192-2/+2
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak Config texts and some broken English elsewhereDenys Vlasenko2009-06-181-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2009-06-091-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* only build common libarchive objs when neededMike Frysinger2009-05-281-1/+7
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* gzip: fix gzip with many files corrupting some files after firstDenys Vlasenko2009-05-181-38/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libunarchive: fix build failure with !FEATURE_TAR_UNAME_GNAMEMike Frysinger2009-05-051-5/+4
| | | | | | | | | | | | | | We can't use C if(...) with ENABLE_FEATURE_TAR_UNAME_GNAME because it relies on conditional members in the file_header_t structure: archival/libunarchive/data_extract_all.c: In function ‘data_extract_all’: archival/libunarchive/data_extract_all.c:123: error: ‘file_header_t’ has no member named ‘uname’ archival/libunarchive/data_extract_all.c:124: error: ‘file_header_t’ has no member named ‘uname’ archival/libunarchive/data_extract_all.c:127: error: ‘file_header_t’ has no member named ‘gname’ archival/libunarchive/data_extract_all.c:128: error: ‘file_header_t’ has no member named ‘gname’ make[1]: *** [archival/libunarchive/data_extract_all.o] Error 1 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* lzop: new applet. Busyboxed by Alain Knaff. +7700 bytes.Denis Vlasenko2009-04-2910-0/+2962
|
* unlzma: speedup, by Pascal Bellard (pascal.bellard AT ads-lu.com)Denis Vlasenko2009-04-252-98/+60
| | | | | | | | | | | | | | | | | | | LZMA_FAST off: 10% faster and: function old new delta rc_is_bit_1 - 92 +92 rc_do_normalize 45 81 +36 rc_update_bit_1 25 - -25 rc_update_bit_0 30 - -30 rc_is_bit_0_helper 38 - -38 rc_get_bit 60 17 -43 rc_read 48 - -48 unpack_lzma_stream 1768 1517 -251 ------------------------------------------------------------------------------ (add/remove: 1/4 grow/shrink: 1/2 up/down: 128/-435) Total: -307 bytes LZMA_FAST on: 14% faster and: unpack_lzma_stream 2301 2737 +436 rc_get_bit 106 - -106
* switch_root: improve behavior on error; improve help textDenis Vlasenko2009-04-212-2/+2
| | | | | *: make "can't execute '%s'" message uniform
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-2112-80/+80
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* tar: support for tar --numeric-owner. By Natanael Copa.Denis Vlasenko2009-04-212-14/+22
| | | | | | | | function old new delta tar_longopts 221 237 +16 data_extract_all 692 705 +13 tar_main 690 702 +12
* trailing whitespace removalDenis Vlasenko2009-04-011-1/+1
|
* cpio: more compat: -0 and -L optionsDenis Vlasenko2009-03-201-82/+92
| | | | | | function old new delta cpio_main 1417 1473 +56
* Compatibility fixes:Denis Vlasenko2009-03-202-16/+72
| | | | | | | | | grep: support -z find: support --mindepth together +45 bytes cpio: support -p (configurable, +230 bytes) libbb: tweaks for cpio
* tar: make FEATURE_TAR_AUTODETECT work with DESKTOP off too.Denis Vlasenko2009-03-131-2/+2
|
* unzip: fix thinko with le/be conv and size (closes bug 129)Denis Vlasenko2009-02-261-1/+1
| | | | | awk: make "struct global" hack more robust wrt alignment (closes bug 131)
* tar: stop changing net tarfile's mode, GNU tar doesn't do itDenis Vlasenko2009-01-201-2/+0
|
* header_verbose_list: show off_t size, not cast to (unsigned)Denis Vlasenko2008-12-123-4/+76
| | | | | | | | | get_header_tar: support GNU tar's "base256" encoding function old new delta get_header_tar 1536 1600 +64 header_verbose_list 242 257 +15
* optimize 16- and 32-bit movesDenis Vlasenko2008-12-081-3/+2
| | | | | | | | | | | | | | | | function old new delta udhcpd_main 1239 1257 +18 udhcp_add_simple_option 93 92 -1 buffer_read_le_u32 19 18 -1 unpack_gz_stream_with_info 526 520 -6 dnsd_main 1470 1463 -7 udhcp_run_script 1208 1186 -22 send_ACK 255 229 -26 arping_main 1661 1623 -38 send_offer 470 428 -42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/8 up/down: 18/-143) Total: -125 bytes
* dpkg: better and shorter code to compare versionsDenis Vlasenko2008-11-201-68/+59
| | | | | | | | | | | | | (taken from "official" dpkg). By Eugene T. Bordenkircher (eugebo AT gmail.com) function old new delta order - 48 +48 test_version 273 276 +3 version_compare_part 396 187 -209 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 51/-209) Total: -158 bytes
* gunzip: restore mtime. approx +80 bytes of codeDenis Vlasenko2008-11-015-23/+56
| | | | | | rpm: make code more robust lsmod: small code shrink
* cpio: emit TRAILER even when hard links were found.Denis Vlasenko2008-10-261-2/+3
| | | | | by Pascal Bellard (pascal.bellard AT ads-lu.com)
* tar: fix typo in commentDenis Vlasenko2008-10-251-1/+1
|
* tar: fix bug 3844: non-root tar does not preserve permsDenis Vlasenko2008-10-241-0/+4
|
* cpio: fix regression in prev commit (harmless)Denis Vlasenko2008-10-171-2/+4
|
* data_extract_all: do not complain if directory exists on mkdirDenis Vlasenko2008-10-173-2/+8
| | | | | | rpm/cpio: move "20653 blocks" printout from get_header_cpio to cpio_main - rpm doesn't want to have that
* rpm: fix incompatibilities which prevented rpm -i foo.src.rpmDenis Vlasenko2008-10-161-4/+11
| | | | | | function old new delta fileaction_setowngrp 57 89 +32
* build system: dpkg needs .gz handlingDenis Vlasenko2008-10-151-2/+3
|
* unzip: remove example of a file we now can handleDenis Vlasenko2008-10-091-0/+0
|
* - add dpkg -l <packagepattern> (Peter Korsgaard)Bernhard Reutner-Fischer2008-09-251-2/+6
|
* unzip: handle "central directory"Denis Vlasenko2008-09-211-47/+196
| | | | | | | | | | | | | needed for OpenOffice, gmail attachment .zips etc conditional on CONFIG_DESKTOP function old new delta unzip_main 1643 1939 +296 find_cds_offset - 173 +173 unzip_skip 11 16 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 474/0) Total: 474 bytes
* man: add handling of "man links", by Ivana Varekova <varekova AT redhat.com>Denis Vlasenko2008-08-051-6/+6
| | | | | | | | | | function old new delta run_pipe 102 354 +252 show_manpage - 126 +126 man_main 705 615 -90 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 378/-90) Total: 288 bytes
* *: refactor handling of archived files. "tar f file.tar.lzma" now works too.Denis Vlasenko2008-08-0512-193/+145
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta unpack_Z_stream - 1229 +1229 open_zipped - 176 +176 unpack_bz2_stream_prime - 60 +60 tar_main 642 677 +35 find_main 406 418 +12 sv_main 1222 1233 +11 decode_format_string 829 837 +8 cmp_main 641 649 +8 popstring 134 140 +6 filter_accept_list_reassign 120 125 +5 parse_and_put_prompt 800 804 +4 passwd_main 1053 1049 -4 make_new_name_gunzip 119 114 -5 rpm_main 1688 1670 -18 prepare 302 283 -19 xmalloc_open_zipped_read_close 135 61 -74 uncompress 1229 - -1229 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 8/5 up/down: 1554/-1349) Total: 205 bytes
* libbb: make xrealloc_vector zero out the realloc'ed tailDenis Vlasenko2008-08-041-2/+1
| | | | | | | | | | | | | | function old new delta xrealloc_vector_helper 51 76 +25 man_main 712 705 -7 act 250 234 -16 create_list 91 70 -21 getopt_main 695 664 -31 load_dep_bb 281 248 -33 fileAction 744 709 -35 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 25/-143) Total: -118 bytes
* unzip: move check for unsupported zip features to better placeDenis Vlasenko2008-07-261-15/+17
|
* unzip: give better error message when presented with unsupportedDenis Vlasenko2008-07-263-0/+6
| | | | | | zip file. Add zip documentation and an example of file we cant (yet) unpack.
* fix trivial build warningDenis Vlasenko2008-07-221-1/+1
|
* - wrap overlong lines (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2008-07-221-21/+25
| | | | - s/\. /. /g;# (me)
* libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko2008-07-213-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (by Valdimir) function old new delta config_open2 - 41 +41 config_read 507 542 +35 find_pair 169 187 +18 fopen_for_write - 14 +14 fopen_for_read - 14 +14 find_main 406 418 +12 xfopen_for_write - 10 +10 xfopen_for_read - 10 +10 popstring 134 140 +6 parse_inittab 396 401 +5 next_token 923 928 +5 pack_gzip 1659 1661 +2 bb__parsespent 117 119 +2 fallbackSort 1719 1717 -2 evalvar 1376 1374 -2 qrealloc 36 33 -3 ... ... ... ... singlemount 4579 4569 -10 process_stdin 443 433 -10 patch_main 1111 1101 -10 ifupdown_main 2175 2165 -10 file_action_grep 90 80 -10 uuidcache_init 649 637 -12 hush_main 797 785 -12 read_config 230 217 -13 dpkg_main 3835 3820 -15 read_line_input 3134 3110 -24 sysctl_main 232 203 -29 config_open 40 10 -30 WARN_BAD_LINE 44 - -44 login_main 1714 1575 -139 ------------------------------------------------------------------------------ (add/remove: 5/1 grow/shrink: 8/74 up/down: 174/-737) Total: -563 bytes
* tar: fix handling of tarballs with symlinks with size field != 0Denis Vlasenko2008-07-202-7/+14
|
* build system: fix indentation in config menuDenis Vlasenko2008-07-171-2/+6
|