aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Do not use the _syscall5 macro -- use syscall(2) insteadandersen2003-12-041-11/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8047 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito, size optimisation, cleanup noise when in debuggingbug12003-11-303-237/+196
| | | | | | | | mode, adds support for MODLOAD keyword in devfsd.conf, provides a cleaned up version of example/devfsd.conf git-svn-id: svn://busybox.net/trunk/busybox@8018 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correct Matteo's email addressbug12003-11-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Ian Campbell, fix or'ed dependencies and handle virtualbug12003-11-281-79/+237
| | | | | | | dependencies. git-svn-id: svn://busybox.net/trunk/busybox@8009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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