aboutsummaryrefslogtreecommitdiff
path: root/archival/dpkg.c
AgeCommit message (Collapse)Author
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
2001-04-11copy_file_chunk uses streams now.Glenn L McGrath
2001-04-11Move deb_extract() to libbb, dpkg now independent of dpkg-debGlenn L McGrath
2001-04-09Apply Vladimir's latest cleanup patch.Eric Andersen
-Erik
2001-04-08Reorganise status field to use 3 chars instead of one bit shifted long int.Glenn L McGrath
Generates status file properly now, not compatable with full dpkg yet.
2001-04-08Use create_path instead of mkdirGlenn L McGrath
2001-04-08It now correctly backs up the (still corrupt) status fileGlenn L McGrath
2001-04-08Some fixes, but still broken... (cont)Glenn L McGrath
Make better use of some libbb functions New remove dir code to avoid depending on the rm applet dont use copy_file() it doesnt fail elegantly Use getopt. Generate correct /var/lib/dpkg/info/ files Status file is broken, working on it now
2001-04-05It seems all the stdout munging was useless anyways, sinceEric Andersen
deb_extract and all its called functions do nothing with stdout anyways. Axe that stuff. -Erik