summaryrefslogtreecommitdiff
path: root/archival/dpkg.c
AgeCommit message (Collapse)Author
2004-04-14Larry Doolittle writes:Eric Andersen
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
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-11-28Patch from Ian Campbell, fix or'ed dependencies and handle virtualGlenn L McGrath
dependencies.
2003-11-26Important bugfixes from Ian Campbell.Glenn L McGrath
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.
2003-09-15Do not shadow the global name 'accept'Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-11Use libbb/get_line_from_file instead of getlineGlenn L McGrath
2002-12-08Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath
(eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
2002-12-02Move compare_string_array to libbbGlenn L McGrath
2002-11-28Change if(x)free(x); to free(x);Aaron Lehmann
2002-11-06Use a switch instead of successive if (strcmp()) statments.Glenn L McGrath
2002-11-06Split deb_extract() into more generic functionsGlenn L McGrath
2002-11-05Support for bziped debs, i.e. use .tar.bz2 instead .tar.gz internallyGlenn L McGrath
2002-11-03Move data_extract_all_prefix to dpkg, its only used there.Glenn L McGrath
2002-10-19Update dpkg to use new unarchive codeGlenn L McGrath
2002-05-29Patch from Randolfe Averty to fixup package conflict checks, cleanup some ↵Glenn L McGrath
memory leaks and reorganise dependency checking. Some further memory leaks fixed by me.
2002-01-02* archival/dpkg.c (create_list): Use chomp.Matt Kraai
* archival/tar.c (append_file_list_to_list): Likewise.
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-05Fix some fegfaults and picket fenceGlenn L McGrath
2001-12-05Fail gracefully if package depends on a virtual package.Glenn L McGrath
2001-11-19Fix opt type in dpkg (closes: #118975).Matt Kraai
2001-11-03Fix create list segfaultGlenn L McGrath
2001-10-25Recovering from my previous commitGlenn L McGrath
2001-10-25Modify applets to use libunarchiveGlenn L McGrath
2001-10-23Abort if scripts return value != 0Glenn L McGrath
2001-10-18Process extra empty lines correctly.Matt Kraai
2001-10-18Remove xmalloc calls.Matt Kraai
2001-10-06Another part of Stafan's latest patch, when replacing a pre-existing package ↵Glenn L McGrath
set its status correctly.
2001-10-06status_package_num should refer to package not status.Glenn L McGrath
Only initialise a new entry in the status hashtable if it really is a new entry.
2001-10-04Fixes with help from Stefan, Typo in prerm script, and when reinstall a ↵Glenn L McGrath
package the old packages status was getting overwritten.
2001-10-03Extract control.tar.gz and data.tar.gz unconditionally, another one picked ↵Glenn L McGrath
up by Stefan
2001-09-29Fix return status, picked up by StefanGlenn L McGrath
2001-09-22The <package>.list file was prepending "./" to the files, fixed that.Glenn L McGrath
Also fixed a very silly error by me when running postinst (remember to use the variable BEFORE its freed)
2001-09-22Dont free everytime getline() is used, fix from Stefan SoucekGlenn L McGrath
2001-09-21Fix to make preinst run when required, from Stefan SoucekGlenn L McGrath
2001-09-21Implement dpkg -l option, from Stefan Soucek (slightly modified)Glenn L McGrath
2001-08-15Fix version comparision bugGlenn L McGrath
2001-07-19Cleanup (most) memory leaksGlenn L McGrath
2001-07-18Change read_package_field interface, and rewrite using low level functionsGlenn L McGrath
Fixes for a few bugs that have crept into dpkg in the last few days
2001-07-18Use the unofficial -C instead of -c to --configure a package, -c conflicts ↵Glenn L McGrath
with another dpkg command
2001-07-18More feedback to userGlenn L McGrath
2001-07-18Be more verbose when configureing package, minor changesGlenn L McGrath
2001-07-18Use xfopen to abort on error to prevent segfaulting later.Glenn L McGrath
2001-07-14Tolerate fields with no data, e.g. "Depends: "Glenn L McGrath
2001-07-13Total rewrite, uses hash tables for speed and low memory use.Glenn L McGrath
2001-07-11Unpack the filename not the package nameGlenn L McGrath
2001-07-07Minor update to include file orderingEric Andersen
2001-06-25Fix up some warnings that show up on ppcEric Andersen
2001-06-21Rewrote mkdir (and touched lots of things in the process).Matt Kraai
2001-06-13Reorganise archive extraction codeGlenn L McGrath