summaryrefslogtreecommitdiff
path: root/archival/dpkg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Larry Doolittle writes:Eric Andersen2004-04-141-18/+18
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-42/+42
|
* Patch from Ian Campbell, fix or'ed dependencies and handle virtualGlenn L McGrath2003-11-281-79/+237
| | | | dependencies.
* 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.
* Do not shadow the global name 'accept'Eric Andersen2003-09-151-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-46/+45
|
* Use libbb/get_line_from_file instead of getlineGlenn L McGrath2002-12-111-4/+2
|
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath2002-12-081-7/+7
| | | | (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
* Move compare_string_array to libbbGlenn L McGrath2002-12-021-13/+0
|
* Change if(x)free(x); to free(x);Aaron Lehmann2002-11-281-21/+7
|
* Use a switch instead of successive if (strcmp()) statments.Glenn L McGrath2002-11-061-31/+50
|
* Split deb_extract() into more generic functionsGlenn L McGrath2002-11-061-43/+76
|
* Support for bziped debs, i.e. use .tar.bz2 instead .tar.gz internallyGlenn L McGrath2002-11-051-16/+34
|
* Move data_extract_all_prefix to dpkg, its only used there.Glenn L McGrath2002-11-031-1/+15
|
* Update dpkg to use new unarchive codeGlenn L McGrath2002-10-191-6/+44
|
* Patch from Randolfe Averty to fixup package conflict checks, cleanup some ↵Glenn L McGrath2002-05-291-74/+124
| | | | | | memory leaks and reorganise dependency checking. Some further memory leaks fixed by me.
* * archival/dpkg.c (create_list): Use chomp.Matt Kraai2002-01-021-5/+1
| | | | * archival/tar.c (append_file_list_to_list): Likewise.
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-3/+3
|
* Fix some fegfaults and picket fenceGlenn L McGrath2001-12-051-4/+4
|
* Fail gracefully if package depends on a virtual package.Glenn L McGrath2001-12-051-2/+6
|
* Fix opt type in dpkg (closes: #118975).Matt Kraai2001-11-191-1/+1
|
* Fix create list segfaultGlenn L McGrath2001-11-031-1/+2
|
* Recovering from my previous commitGlenn L McGrath2001-10-251-189/+1365
|
* Modify applets to use libunarchiveGlenn L McGrath2001-10-251-1364/+189
|
* Abort if scripts return value != 0Glenn L McGrath2001-10-231-10/+3
|
* Process extra empty lines correctly.Matt Kraai2001-10-181-1/+5
|
* Remove xmalloc calls.Matt Kraai2001-10-181-30/+29
|
* Another part of Stafan's latest patch, when replacing a pre-existing package ↵Glenn L McGrath2001-10-061-0/+2
| | | | set its status correctly.
* status_package_num should refer to package not status.Glenn L McGrath2001-10-061-2/+3
| | | | Only initialise a new entry in the status hashtable if it really is a new entry.
* Fixes with help from Stefan, Typo in prerm script, and when reinstall a ↵Glenn L McGrath2001-10-041-4/+8
| | | | package the old packages status was getting overwritten.
* Extract control.tar.gz and data.tar.gz unconditionally, another one picked ↵Glenn L McGrath2001-10-031-2/+3
| | | | up by Stefan
* Fix return status, picked up by StefanGlenn L McGrath2001-09-291-1/+1
|
* The <package>.list file was prepending "./" to the files, fixed that.Glenn L McGrath2001-09-221-5/+6
| | | | Also fixed a very silly error by me when running postinst (remember to use the variable BEFORE its freed)
* Dont free everytime getline() is used, fix from Stefan SoucekGlenn L McGrath2001-09-221-2/+1
|
* Fix to make preinst run when required, from Stefan SoucekGlenn L McGrath2001-09-211-1/+12
|
* Implement dpkg -l option, from Stefan Soucek (slightly modified)Glenn L McGrath2001-09-211-4/+53
|
* Fix version comparision bugGlenn L McGrath2001-08-151-1/+1
|
* Cleanup (most) memory leaksGlenn L McGrath2001-07-191-32/+57
|
* Change read_package_field interface, and rewrite using low level functionsGlenn L McGrath2001-07-181-73/+54
| | | | Fixes for a few bugs that have crept into dpkg in the last few days
* Use the unofficial -C instead of -c to --configure a package, -c conflicts ↵Glenn L McGrath2001-07-181-2/+2
| | | | with another dpkg command
* More feedback to userGlenn L McGrath2001-07-181-1/+3
|
* Be more verbose when configureing package, minor changesGlenn L McGrath2001-07-181-9/+13
|
* Use xfopen to abort on error to prevent segfaulting later.Glenn L McGrath2001-07-181-3/+3
|
* Tolerate fields with no data, e.g. "Depends: "Glenn L McGrath2001-07-141-0/+10
|
* Total rewrite, uses hash tables for speed and low memory use.Glenn L McGrath2001-07-131-679/+1248
|
* Unpack the filename not the package nameGlenn L McGrath2001-07-111-2/+2
|
* Minor update to include file orderingEric Andersen2001-07-071-1/+1
|
* Fix up some warnings that show up on ppcEric Andersen2001-06-251-1/+1
|
* Rewrote mkdir (and touched lots of things in the process).Matt Kraai2001-06-211-1/+1
|
* Reorganise archive extraction codeGlenn L McGrath2001-06-131-12/+13
|