summaryrefslogtreecommitdiff
path: root/archival/dpkg.c
AgeCommit message (Collapse)Author
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
2001-05-24Fix up some signed char vs int issues that show up on powerpc.Eric Andersen
2001-05-17Remove unused function. If necessary, we can use remove_file instead.Matt Kraai
2001-04-26Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
2001-04-16Write full status fileGlenn L McGrath
2001-04-16dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵Glenn L McGrath
rename variable. deb_extract, untar and dpkg_deb modified to make the above possible