From 09974bd81e37df5ab169ff3bbb468ccc8f8f370a Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Thu, 16 Jun 2005 05:42:26 +0000 Subject: [PATCH] Josip Author: srivasta Date: 2003/08/19 12:32:23 Josip: * Removed obsolete section on obsolete constructs and libraries, closes: #193748. Manoj: * Change reference to the debconf introduction from kitenet to a debian hosted server. closes: Bug#187297 * Added myspell-dictionary to the virtual packages list closes: Bug#203728 * Fix the restart action in the init.d/bind example; it now uses --oknodo so that the action does not fail when the service is not running. closes: Bug#187250 * invoke-rc.d and update-rc.d are now in the sysv-rc package instead of the sysvinit package. Fixed a reference in policy. closes: Bug#200440 * Note that postinst abort-remove is called if there is an error while removing the package. closes: Bug#188030 * [AMENDMENT 2003/08/03] Make Debconf the standard for prompting the user closes: Bug#176506 git-archimport-id: srivasta@debian.org--etch/debian-policy--devel--3.0--patch-250 --- debian/changelog | 10 +++++--- policy.sgml | 53 ++++++++++++---------------------------- upgrading-checklist.html | 4 +++ 3 files changed, 26 insertions(+), 41 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3a07ffb..20c9be2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,19 +1,23 @@ -debian-policy (3.6.1) unstable; urgency=low +debian-policy (3.6.1.0) unstable; urgency=low Josip: * Removed obsolete section on obsolete constructs and libraries, closes: #193748. Manoj: * Change reference to the debconf introduction from kitenet to a debian - hosted server. closes: Bug#184518 + hosted server. closes: Bug#187297 * Added myspell-dictionary to the virtual packages list closes: Bug#203728 * Fix the restart action in the init.d/bind example; it now uses --oknodo so that the action does not fail when the service is not running. closes: Bug#187250 * invoke-rc.d and update-rc.d are now in the sysv-rc package instead of the sysvinit package. Fixed a reference in policy. closes: Bug#200440 + * Note that postinst abort-remove is called if there is an error while + removing the package. closes: Bug#188030 + * [AMENDMENT 2003/08/03] Make Debconf the standard for prompting the + user closes: Bug#176506 - -- + -- Manoj Srivastava Tue, 19 Aug 2003 07:28:10 -0500 debian-policy (3.6.0) unstable; urgency=low diff --git a/policy.sgml b/policy.sgml index 404331f..bdce266 100644 --- a/policy.sgml +++ b/policy.sgml @@ -1234,42 +1234,17 @@ Prompting in maintainer scripts

Package maintainer scripts may prompt the user if - necessary. Prompting may be accomplished by hand - From the Jargon file: by hand 2. By extension, - writing code which does something in an explicit or - low-level way for which a presupplied library - (debconf, in this instance) routine ought - to have been available. - - (but this is deprecated), or by communicating through a program - which conforms to the Debian Configuration management - specification, version 2 or higher, such as - debconf -

- 6% of Debian packages [see ] currently use - debconf to prompt the user at - install time, and this number is growing daily. The - benefits of using debconf are briefly explained at - ; they include - preconfiguration, (mostly) noninteractive - installation, elimination of redundant prompting, - consistency of user interface, etc. -

- -

- With this increasing number of packages using - debconf, plus the existence of a - nascent second implementation of the Debian - configuration management system - (cdebconf), and the stabilization - of the protocol these things use, the time has - finally come to reflect the use of these things in - policy. -

- . + necessary. Prompting should be done by communicating + through a program, such as debconf, which + conforms to the Debian Configuration management + specification, version 2 or higher. Prompting the user by + other means, such as by hand + From the Jargon file: by hand 2. By extension, + writing code which does something in an explicit or + low-level way for which a presupplied library + (debconf, in this instance) routine ought + to have been available. + , is now deprecated.

@@ -3728,8 +3703,10 @@ Package: libc6 - No attempt is made to unwind after errors during - removal. + If there are problems during this process, we call + postinst + abort-remove. No other attempt is made to unwind + after errors during removal.

diff --git a/upgrading-checklist.html b/upgrading-checklist.html index c8b8112..a910a13 100644 --- a/upgrading-checklist.html +++ b/upgrading-checklist.html @@ -53,6 +53,10 @@ picking your way through this list.

The checklist

+3.6.1.0                    Aug 2003
+     + Prompting the user should be done using debconf. Non debconf
+       user prompts are now deprecated. [3.10.1]
+
 3.6.0                      Jul 2003
 
      - Restructuring causing shifts in section numbers and bumping of
-- 
2.39.5