diff options
author | Frank Lichtenheld <djpig@debian.org> | 2006-02-10 16:22:50 +0000 |
---|---|---|
committer | Frank Lichtenheld <djpig@debian.org> | 2006-02-10 16:22:50 +0000 |
commit | 854ad168370000ca46f4ba091c2d5bb05274b6ef (patch) | |
tree | 486038229fb28c385cb573792b2adf0638bf3dfa /debian | |
parent | f9fab0b1a4afd66af3d3d9a3d26119732050dcf4 (diff) | |
download | dpkg-854ad168370000ca46f4ba091c2d5bb05274b6ef.tar.gz |
Improve processing of disappearing conffiles (Ian Jackson).
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.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 1069813a2..435b0453a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -44,6 +44,8 @@ dpkg (1.13.14~) UNRELEASED; urgency=low variables. * On package configuration, differentiate between modified and deleted configuration files (Ian Jackson). Closes: #351361 + * Improve processing of disappearing conffiles (Ian Jackson). + This is part of the fix for #108587. * Let dpkg-source -x touch all patched files to have the same timestamp to mitigate time-skew problems (Denis Barbier). Closes: #105750 |