aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Important bugfixes from Ian Campbell.Glenn L McGrath2003-11-261-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.
* Fix for "Broken pipe" issue, vodz last_patch116_3Glenn L McGrath2003-11-251-1/+1
|
* When a size of 0 is passed to copyfd_size, dont do anything, it wasGlenn L McGrath2003-11-241-1/+4
| | | | reading untill eof which breaks tar
* Fix warningGlenn L McGrath2003-11-221-2/+6
|
* As we no longer use function pointers for read in common archiving codeGlenn L McGrath2003-11-2118-148/+55
| | | | | | | 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 readGlenn L McGrath2003-11-212-2/+2
|
* Fix warningGlenn L McGrath2003-11-211-0/+1
|
* Make use of libbb functions bb_xopen, bb_full_read, used #define'sGlenn L McGrath2003-11-211-20/+13
| | | | instead of static consts, avoid xmalloc.
* Remove unused functionGlenn L McGrath2003-11-203-32/+0
|
* Dont over-read fd, use function pointer for hash function.Glenn L McGrath2003-11-202-30/+44
|
* Fix tar-handles-nested-exclude testcaseGlenn L McGrath2003-11-202-0/+13
|
* Update status of tests which should passGlenn L McGrath2003-11-203-3/+0
|
* remove controversial testsGlenn L McGrath2003-11-202-15/+0
|
* Check at least one context is specifiedGlenn L McGrath2003-11-201-0/+3
|
* Check there are files to add the archive before removing a specifiedGlenn L McGrath2003-11-201-5/+4
| | | | tar file.
* Dont attempt to unlink directoriesGlenn L McGrath2003-11-201-1/+1
|
* Superficial changesGlenn L McGrath2003-11-201-19/+17
|
* Fix up the -s option, and make usage consitent with behaviour,Glenn L McGrath2003-11-201-7/+6
| | | | patch by Steven Scholz
* Include stdint.hGlenn L McGrath2003-11-201-0/+1
|
* woops, we needed that functionGlenn L McGrath2003-11-181-18/+35
|
* COMPRESS, not UNCOMPRESSGlenn L McGrath2003-11-181-1/+1
|
* Update usage for tar -ZGlenn L McGrath2003-11-181-1/+7
|
* Update md5sum, sha1sum options, patch by Steven ScholzGlenn L McGrath2003-11-181-10/+20
|
* tar -Z, uncompress supportGlenn L McGrath2003-11-185-11/+37
|
* Dont close original file handle, we may need it later.Glenn L McGrath2003-11-181-3/+4
|
* Make unlink old files default behaviour and add a new option -k toGlenn L McGrath2003-11-181-19/+23
| | | | prevent overwritting existing files
* Only use getopt and associated flags if checking is enabledGlenn L McGrath2003-11-181-44/+36
|
* Replaced by md5_sha1_sum.cGlenn L McGrath2003-11-181-492/+0
|
* Replaced by md5_sha1_sum.cGlenn L McGrath2003-11-181-1102/+0
|
* Dont free filename, its needed in the extracted files list.Glenn L McGrath2003-11-171-2/+1
|
* This was made obsolete by config-udeb-linux-i386Glenn L McGrath2003-11-171-415/+0
|
* Remove net-udeb flavour, we dotn use itGlenn L McGrath2003-11-173-1161/+0
|
* Use the PROG variable instead of 'busybox' in the release targetGlenn L McGrath2003-11-171-5/+5
|
* Fix a bug where cpio wouldnt work unless -u was specifiedGlenn L McGrath2003-11-151-10/+8
|
* Move from read_gz to the pipe()+fork() method.Glenn L McGrath2003-11-1516-284/+156
| | | | | | | | | 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 leaksGlenn L McGrath2003-11-151-0/+3
|
* Fix a "broken pipe" problem. vodz, last_patch_116-2Glenn L McGrath2003-11-141-5/+1
|
* Keep trying to find a good header, if we exit it will cause .tar.gzGlenn L McGrath2003-11-141-1/+1
| | | | files to compute incorrect crc and length for gzip
* Catch unsupported featuresGlenn L McGrath2003-11-141-7/+15
|
* NEW APPLET: pipe_progress, used by debian installerGlenn L McGrath2003-11-144-0/+64
|
* Fix build error with tar -jGlenn L McGrath2003-11-141-1/+1
|
* Remove some tar_gz stuff that get dragged inGlenn L McGrath2003-11-141-3/+4
|
* Remove debugging noise.Glenn L McGrath2003-11-141-1/+0
|
* Read in blocks rather than one char at a time, greatly improves speedGlenn L McGrath2003-11-141-4/+23
|
* Oskar Liljeblad writes:Eric Andersen2003-11-142-1/+3
| | | | Here's a fix for the hard-coded device name in fbset.
* Michael Smith writes:Eric Andersen2003-11-141-2/+2
| | | | | | | | | | | | | | | | | | | I noticed a problem with ifconfig in busybox 0.60.5. The matching code seems to exist in busybox CVS as well, so I'll paste in the patch that fixed it. I was running: # ifconfig wan0 1.2.3.4 pointopoint 1.2.3.5 netmask 255.255.255.255 I was seeing the inet addr and P-t-P addr both being set to 1.2.3.5 (the pointopoint address). wan0 Link encap:Point-Point Protocol inet addr:1.2.3.5 P-t-P:1.2.3.5 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 ... The patch below seems to fix it.
* Ulrich Marx writes:Eric Andersen2003-11-141-0/+2
| | | | | | | | | | | | | | | hello i had some trouble with the filedescriptor in udhcp. Two things happened on my device: 1.) broken or not connected cable (no dhcp-server) 2.) daemonizing (starting with option -b) i got a filedescriptor fd=0 from function raw_socket, after daemonizing (daemon call) the fd is closed. Client can't recieve data's anymore. i fixed this problem (like pidfile handling):
* Steven Seeger writes:Eric Andersen2003-11-141-1/+2
| | | | | | | | | | | | | | | | Hey guys. I've found a bug in modprobe where it generates bad strings and makes sytem calls with them. The following patch seems to have fixed the problem. It is rather inherited elsewhere, as there seems to be incorrect entries in the list which results in more dependencies than really exist for a given call to mod_process. But, this patch prevents the bad text from going to the screen. You will notice there are cases where lcmd goes unmodified before calling system. Please consider the following patch. Thanks. -Steve
* Vladimir N. Oleynik (vodz) writes:Eric Andersen2003-11-141-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
* Marc Kleine-Budde noticed a missing semicolonEric Andersen2003-11-141-1/+1
|