summaryrefslogtreecommitdiff
path: root/src/filesdb.h
AgeCommit message (Collapse)AuthorFilesLines
2008-03-30Implement triggers supportIan Jackson1-0/+2
Closes: #17243, #68981, #215374, #217622, #248693, #308285
2008-03-25Move duplicate ensure_package_clientdata functions to src/filesdb.cGuillem Jover1-0/+2
2006-02-10Improve processing of disappearing conffiles (Ian Jackson).Frank Lichtenheld1-0/+1
This is part of the fix for #108587. * lib/dpkg-db.h (conffile): Add `obsolete' field. * lib/dump.c (w_conffiles): Write "obsolete" at the end of conffile entry if obsolete is set. * lib/fields.c (f_conffiles): Parse entries for obsolete conffiles correctly. * src/filesdb.h (filenamenode.flags): Add new flag for obsolete conffiles. * src/remove.c (removal_bulk_remove_configfiles): Handle obsolete conffiles. * src/archives.c (newconff_append): New function to append a filenamenode to a fileinlist. (addfiletolist): New function to add a filenamenode to a tarcontext. (tarobject): Use new addfiletolist function. Handle case where a new package takes over an obsolete conffile from another package. * src/archives.h: Add declaration of the addfiletolist function. * src/processarc.c (process_archive): Use new newconff_append function from archives.c. Detect obsoleted conffiles and mark them as such. * src/help.c (chmodsafe_unlink): Make it possible to differentiate between failed chmod and failed unlink by adding a new `failed' argument which will be set to the name of the failed command. (chmodsafe_unlink_statted): New function that can be called if we already have a stat result for the file/directory to be removed. (ensure_pathname_nonexisting): Give better error messages by utilizing the changes to chmodsafe_unlink. * src/main.h: Reflect changes in archives.c and help.c (add declarations for newconff_append and chmodsafe_unlink_statted and change the one of chmodsafe_unlink). (conffopt): Add new isold flag.
2006-01-18Import latest release as a temporary trunk which should beFrank Lichtenheld1-0/+1
later merged into a branch with the full history from CVS and arch
2005-03-11dpkg (1.13.1.0.1) experimental; urgency=lowScott James Remnant1-0/+148
* Bin-MU; recompile against Debian unstable, to make dselect actually installable. -- Scott James Remnant <scott@netsplit.com> Fri, 11 Mar 2005 09:00:14 +0000