aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a bug, ignore the source path when installing to a directory.bug12003-11-271-45/+41
| | | | | | | | We may be installing symlinks, so use lstat/lchown. Make use of bb_getopt_ulflags and cp_mv_stat2, save 100 bytes. git-svn-id: svn://busybox.net/trunk/busybox@8006 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix tar hard linksbug12003-11-272-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8005 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Important bugfixes from Ian Campbell.bug12003-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. git-svn-id: svn://busybox.net/trunk/busybox@8004 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for "Broken pipe" issue, vodz last_patch116_3bug12003-11-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When a size of 0 is passed to copyfd_size, dont do anything, it wasbug12003-11-241-1/+4
| | | | | | | reading untill eof which breaks tar git-svn-id: svn://busybox.net/trunk/busybox@8001 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix warningbug12003-11-221-2/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7985 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As we no longer use function pointers for read in common archiving codebug12003-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. git-svn-id: svn://busybox.net/trunk/busybox@7984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use safe readbug12003-11-212-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7983 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix warningbug12003-11-211-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7982 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make use of libbb functions bb_xopen, bb_full_read, used #define'sbug12003-11-211-20/+13
| | | | | | | instead of static consts, avoid xmalloc. git-svn-id: svn://busybox.net/trunk/busybox@7981 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unused functionbug12003-11-203-32/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7975 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont over-read fd, use function pointer for hash function.bug12003-11-202-30/+44
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7974 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix tar-handles-nested-exclude testcasebug12003-11-202-0/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7961 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update status of tests which should passbug12003-11-203-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove controversial testsbug12003-11-202-15/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7959 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check at least one context is specifiedbug12003-11-201-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7958 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check there are files to add the archive before removing a specifiedbug12003-11-201-5/+4
| | | | | | | tar file. git-svn-id: svn://busybox.net/trunk/busybox@7957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont attempt to unlink directoriesbug12003-11-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7956 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Superficial changesbug12003-11-201-19/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7955 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up the -s option, and make usage consitent with behaviour,bug12003-11-201-7/+6
| | | | | | | patch by Steven Scholz git-svn-id: svn://busybox.net/trunk/busybox@7954 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Include stdint.hbug12003-11-201-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7953 69ca8d6d-28ef-0310-b511-8ec308f3f277
* woops, we needed that functionbug12003-11-181-18/+35
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* COMPRESS, not UNCOMPRESSbug12003-11-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7945 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update usage for tar -Zbug12003-11-181-1/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7944 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update md5sum, sha1sum options, patch by Steven Scholzbug12003-11-181-10/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7943 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar -Z, uncompress supportbug12003-11-185-11/+37
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7942 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont close original file handle, we may need it later.bug12003-11-181-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7941 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make unlink old files default behaviour and add a new option -k tobug12003-11-181-19/+23
| | | | | | | prevent overwritting existing files git-svn-id: svn://busybox.net/trunk/busybox@7940 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Only use getopt and associated flags if checking is enabledbug12003-11-181-44/+36
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7937 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Replaced by md5_sha1_sum.cbug12003-11-181-492/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7936 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Replaced by md5_sha1_sum.cbug12003-11-181-1102/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7935 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont free filename, its needed in the extracted files list.bug12003-11-171-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7931 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This was made obsolete by config-udeb-linux-i386bug12003-11-171-415/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7930 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove net-udeb flavour, we dotn use itbug12003-11-173-1161/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7929 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use the PROG variable instead of 'busybox' in the release targetbug12003-11-171-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7928 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a bug where cpio wouldnt work unless -u was specifiedbug12003-11-151-10/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7918 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move from read_gz to the pipe()+fork() method.bug12003-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. git-svn-id: svn://busybox.net/trunk/busybox@7917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix memory leaksbug12003-11-151-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7916 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a "broken pipe" problem. vodz, last_patch_116-2bug12003-11-141-5/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7915 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Keep trying to find a good header, if we exit it will cause .tar.gzbug12003-11-141-1/+1
| | | | | | | files to compute incorrect crc and length for gzip git-svn-id: svn://busybox.net/trunk/busybox@7914 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Catch unsupported featuresbug12003-11-141-7/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* NEW APPLET: pipe_progress, used by debian installerbug12003-11-144-0/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7912 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix build error with tar -jbug12003-11-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7910 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove some tar_gz stuff that get dragged inbug12003-11-141-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7909 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove debugging noise.bug12003-11-141-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7908 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Read in blocks rather than one char at a time, greatly improves speedbug12003-11-141-4/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7907 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oskar Liljeblad writes:andersen2003-11-142-1/+3
| | | | | | | Here's a fix for the hard-coded device name in fbset. git-svn-id: svn://busybox.net/trunk/busybox@7906 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Michael Smith writes: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. git-svn-id: svn://busybox.net/trunk/busybox@7904 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ulrich Marx writes: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): git-svn-id: svn://busybox.net/trunk/busybox@7903 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steven Seeger writes: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 git-svn-id: svn://busybox.net/trunk/busybox@7902 69ca8d6d-28ef-0310-b511-8ec308f3f277