Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename uncompress.c to decompress_uncompress.c | Eric Andersen | 2004-04-05 | 3 | -1279/+4 |
| | | | | rename unzip.c to decompress_unzip.c | ||||
* | Add missing include files | Eric Andersen | 2004-03-27 | 1 | -0/+1 |
| | |||||
* | s/fileno\(stdin\)/STDIN_FILENO/g | Eric Andersen | 2004-03-27 | 8 | -17/+17 |
| | | | | s/fileno\(stdout\)/STDOUT_FILENO/g | ||||
* | Remove trailing whitespace. Update copyright to include 2004. | Eric Andersen | 2004-03-15 | 24 | -129/+129 |
| | |||||
* | Fix option handling, -i or -t must be given, if both ignore the -t. | Glenn L McGrath | 2004-02-25 | 1 | -39/+44 |
| | | | | Use bb_getopt_ulflags. | ||||
* | Sometimes i get carried away with the use of function pointers, im sure | Glenn L McGrath | 2004-02-21 | 1 | -1/+1 |
| | | | | it seemed like a good idea at the time. | ||||
* | Fix up hard links | Glenn L McGrath | 2004-02-20 | 1 | -3/+5 |
| | |||||
* | A strict interpretation of the ustar format requires the type flag to be | Glenn L McGrath | 2004-02-20 | 1 | -11/+8 |
| | | | | | interpreted, we cannot depend on the file type being set in the mode field. | ||||
* | Add extra comments, freakout if a pax archive is encoutered. | Glenn L McGrath | 2004-02-19 | 1 | -9/+24 |
| | |||||
* | Remove debugging | Glenn L McGrath | 2004-02-17 | 1 | -2/+0 |
| | |||||
* | Dont strip trailing '/' until _after_ i test to set if its there ! | Glenn L McGrath | 2004-02-17 | 1 | -12/+17 |
| | |||||
* | s/u_int/uint/g | Eric Andersen | 2004-01-30 | 2 | -17/+17 |
| | |||||
* | Add the -h, --dereference option for archive creation. | Glenn L McGrath | 2004-01-25 | 1 | -5/+8 |
| | |||||
* | Patch from Arthur Othieno, clarify common options between dpkg and dpkg-deb | Glenn L McGrath | 2004-01-17 | 1 | -20/+23 |
| | |||||
* | Use bb_getopt_ulflags, save 100 bytes and strict argument checking. | Glenn L McGrath | 2004-01-07 | 1 | -44/+49 |
| | |||||
* | Use bb_getopt_ulflags, save 150 bytes. | Glenn L McGrath | 2004-01-05 | 1 | -28/+11 |
| | |||||
* | Use bb_getopt_ulflags, simplify some logic, saves some bytes. | Glenn L McGrath | 2004-01-05 | 1 | -40/+29 |
| | |||||
* | Fix usage with libraries, skip symbol table. | Glenn L McGrath | 2004-01-04 | 1 | -1/+1 |
| | |||||
* | Use bb_getopt_ulflags, saves some space, better argument checking. | Glenn L McGrath | 2004-01-04 | 1 | -70/+32 |
| | | | | Remove ar specific extraction code, always use common extraction code. | ||||
* | Isolate code better for unused options, config option to enable long | Glenn L McGrath | 2003-12-26 | 2 | -57/+138 |
| | | | | options, add some conditions to the tar tests in testsuite. | ||||
* | Fix a bug of mine where extracting files to stdout would extract to | Glenn L McGrath | 2003-12-22 | 1 | -1/+1 |
| | | | | much, modified patch from Bastian Blank | ||||
* | Don't hose up perms for files that happen to have symlinks | Eric Andersen | 2003-12-21 | 1 | -2/+4 |
| | | | | | in the tarball that point to them. -Erik | ||||
* | Fix a compile error when only using ar, patch by Paul van Gool | Glenn L McGrath | 2003-12-05 | 1 | -1/+1 |
| | |||||
* | Patch from Ian Campbell, fix or'ed dependencies and handle virtual | Glenn L McGrath | 2003-11-28 | 1 | -79/+237 |
| | | | | dependencies. | ||||
* | Fix tar hard links | Glenn L McGrath | 2003-11-27 | 2 | -5/+5 |
| | |||||
* | Important bugfixes from Ian Campbell. | Glenn L McGrath | 2003-11-26 | 1 | -26/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | init_archive_deb_data() We want to filter for data.tar.* in the AR file not the TAR file, else we get nothing. all_control_list() Make the 'extensions' array of control file names a global so it can be used in unpack_package as well. Name the global all_control_files. Don't hard code the length of all_control_files but instead used sizeof. unpack_package() Only unpack the control files we are interested in (from all_control_files). Extract the data.tar.gz into / rather than the current directory. dpkg_main() Configure packages in a second pass so all the packages being installed are unpacked before configuring. Some purely cosmetic changes: header update list of differences since two of them are no longer true. The .control file is no longer stored as a result of this patch -- it was redundant since the info is in status. New packages appear to be added to the end of the status file now rather than the start. remove_package() Make message printing optional, so we can avoid a redundant message when replacing/upgrading a package. When we do print stuff then include the version number. purge_package() Print "Purging xxx (yyy) ..." message like the other actions. configure_package() Add "..." to "Setting up" message to be consistent with other actions. | ||||
* | As we no longer use function pointers for read in common archiving code | Glenn L McGrath | 2003-11-21 | 11 | -114/+11 |
| | | | | | | | archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend. | ||||
* | Use safe read | Glenn L McGrath | 2003-11-21 | 2 | -2/+2 |
| | |||||
* | Remove unused function | Glenn L McGrath | 2003-11-20 | 2 | -31/+0 |
| | |||||
* | Fix tar-handles-nested-exclude testcase | Glenn L McGrath | 2003-11-20 | 2 | -0/+13 |
| | |||||
* | Check at least one context is specified | Glenn L McGrath | 2003-11-20 | 1 | -0/+3 |
| | |||||
* | Check there are files to add the archive before removing a specified | Glenn L McGrath | 2003-11-20 | 1 | -5/+4 |
| | | | | tar file. | ||||
* | Dont attempt to unlink directories | Glenn L McGrath | 2003-11-20 | 1 | -1/+1 |
| | |||||
* | tar -Z, uncompress support | Glenn L McGrath | 2003-11-18 | 5 | -11/+37 |
| | |||||
* | Dont close original file handle, we may need it later. | Glenn L McGrath | 2003-11-18 | 1 | -3/+4 |
| | |||||
* | Make unlink old files default behaviour and add a new option -k to | Glenn L McGrath | 2003-11-18 | 1 | -19/+23 |
| | | | | prevent overwritting existing files | ||||
* | Dont free filename, its needed in the extracted files list. | Glenn L McGrath | 2003-11-17 | 1 | -2/+1 |
| | |||||
* | Fix a bug where cpio wouldnt work unless -u was specified | Glenn L McGrath | 2003-11-15 | 1 | -10/+8 |
| | |||||
* | Move from read_gz to the pipe()+fork() method. | Glenn L McGrath | 2003-11-15 | 15 | -272/+150 |
| | | | | | | | | | open_transformer(), common code for pipe+fork. Function pointer for read() no longer needed. Allow inflate to be initialised with a specified buffer size to avoid over-reading. Reset static variables in inflate_get_next_window to fix a bug where only the first file in a .zip would be be extracted. | ||||
* | Fix memory leaks | Glenn L McGrath | 2003-11-15 | 1 | -0/+3 |
| | |||||
* | Keep trying to find a good header, if we exit it will cause .tar.gz | Glenn L McGrath | 2003-11-14 | 1 | -1/+1 |
| | | | | files to compute incorrect crc and length for gzip | ||||
* | Catch unsupported features | Glenn L McGrath | 2003-11-14 | 1 | -7/+15 |
| | |||||
* | Fix build error with tar -j | Glenn L McGrath | 2003-11-14 | 1 | -1/+1 |
| | |||||
* | Remove some tar_gz stuff that get dragged in | Glenn L McGrath | 2003-11-14 | 1 | -3/+4 |
| | |||||
* | Remove debugging noise. | Glenn L McGrath | 2003-11-14 | 1 | -1/+0 |
| | |||||
* | Read in blocks rather than one char at a time, greatly improves speed | Glenn L McGrath | 2003-11-14 | 1 | -4/+23 |
| | |||||
* | Vladimir N. Oleynik (vodz) writes: | Eric Andersen | 2003-11-14 | 1 | -4/+1 |
| | | | | | | | | | | | | Hi Glenn. I analysed BSS size gzip applet and found may be mistake: updcrc() checking if (crc_table_empty) but not resetted this var. This do make slow gzip applet ;-) --w vodz | ||||
* | This appears to be the correct fix to make CONFIG_FEATURE_DEB_TAR_BZ2 | Eric Andersen | 2003-11-07 | 1 | -3/+2 |
| | | | | | support compile. Glenn, you may want to verify this. -Erik | ||||
* | fix comment | Eric Andersen | 2003-11-07 | 1 | -1/+1 |
| | |||||
* | Fix tar -j support | Glenn L McGrath | 2003-11-05 | 3 | -23/+43 |
| | | | | | | | | | | | | | | Use the old fork() method of tar compression support, rather than read_bz2.... - (*uncompress)(int in, int out) seems like a more natural interface for compression code. - it might improve performance by seperating the work into one cpu bound and one io bound process. - There is extra code required to do read_[gz|bunzip] since (*uncompress)(int in, int out) will normally be used by the standalone compression applet. There have been problems with this method so if you see a "Short read" error let me know. |