Changelog
ucf (3.0018) unstable; urgency=low
* Update the package priority, it is now standard, not optional.
* [d984e79]: Do not restore $@ until after sanity checks.
Bug fix: "Need exactly two arguments, got 3", thanks to Kurt Roeckx
(Closes: #520626).
ucf (3.0017) unstable; urgency=low
* [989de4e]: No longer use a non debconf method to prompt the user
Also, only run bash directly is the script has a terminal backend.
Failing that, if DISPLAY is set, try to start a terminal emulator.
If there is no tty and no DISPLAY, gibber and do nothing.
* [6e5ba1b]: Save and restore command line arguments after parsing
This way, when the script is called again under debconf, the command
line arguments are still around, and have not been eliminated during
parsing. And no, getopt was not to blame, ucf was nuking the
commandline itself.
Bug fix: "ucf was run from a maintainer script that uses debconf
[...]", thanks to Michael Prokop (Closes: #512832).
* [ea1c15d]: Stash any configuration file less than 25KB in size
Also, allow the three way merge options whenever there is a stashed
version of the file, whether or not the package maintainer has
explicitly asked for a three way capability. This way, are closer to
making three way capabilities the default, except for large
configuration files, where large is defined as 25 KB.
ucf (3.0016) unstable; urgency=low
* [bd1dfcb]: Substitute the ucf/show_diff DIFF variable contents to
protect sensitive data. The previous fix said "reset diff question
after use so contents are not written to disk". Unfortunately this is
not enough (or even needed): the sensitive data is not stored in the
value of ucf/show_diff, but in the DIFF variable associated with it.
Bug fix: "ucf stores diff (of private files) in debconf (world readable)"
Closes: Bug#511893 Author: Niko Tyni <email address hidden>
* [f5cbbdf]: Show the differences on the first try
Until 3.0012, ucf/show_diff was reset just before showing it to the
user. This would unset the 'seen' flag properly. However, moving the
db_reset call after db_input made the latter skip the note on the
first time if the 'seen' flag was already set. To make things worse,
Debconf::ConfModule::finish() sets the 'seen' flag for all the
questions it has handled before exiting, so the flag was always true
after debconf exited. Simply unsetting the flag before db_input fixes
this.
Bug fix: "skips differences on the first try", thanks to Niko Tyni
(Closes: #514071).
* [debiandir:dce60af]: Update the location of the copyright file
Since I have not elected to license this under later versions of the
GPL, the license link in the copyright fle must change.
* Updated lintian overrides to shut lintian up.
ucf (3.0015) unstable; urgency=low
* [e63973f]: Use which, not type -a -p
Although the 'type' command is used by /usr/bin/ucf, a 'type' built-in
command cannot be used by posh. It is safer to use '/bin/which'
contained in debianutils.
Bug fix: "Shell which cannot use the type command", thanks to Jonny
Closes: Bug#513755
-- Ubuntu Archive Auto-Sync <email address hidden> Wed, 29 Apr 2009 12:14:59 +0100