From: Russ Allbery Date: Mon, 19 Jul 2010 16:39:49 +0000 (-0700) Subject: Merge branch 'master' into bug555977-rra X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a9762da5353775966d89977b84ae4f17c6074854;hp=9e73c7928016ced0af13228de8e4c857ff899584;p=debian%2Fdebian-policy.git Merge branch 'master' into bug555977-rra --- diff --git a/debian/changelog b/debian/changelog index 1a310eb..bc99eb9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -52,6 +52,12 @@ debian-policy (3.9.1.0) UNRELEASED; urgency=low Seconded: Cyril Brulebois Seconded: Steve Langasek Closes: #186102 + * Policy: Require slave alternatives for manual pages + Wording: Russ Allbery + Seconded: Guillem Jover + Seconded: Jakub Wilk + Seconded: Emilio Pozuelo Monfort + Closes: #184064 * Set the version of the Perl Policy to match the version of the Policy package. * Explain the Perl module package naming policy more explicitly and diff --git a/policy.sgml b/policy.sgml index 9451405..c0415c1 100644 --- a/policy.sgml +++ b/policy.sgml @@ -882,7 +882,7 @@ numbers based on some date formats (sometimes used for development or "snapshot" releases) will not be ordered correctly by the package management software. For - example, dpkg will consider "96May01" to be + example, dpkg will consider "96May01" to be greater than "96Dec24".

@@ -8300,10 +8300,14 @@ done

These two files are managed through the dpkg - "alternatives" mechanism. Thus every package providing an - editor or pager must call the - update-alternatives script to register these - programs. + "alternatives" mechanism. Every package providing an editor or + pager must call the update-alternatives script to + register as an alternative for /usr/bin/editor + or /usr/bin/pager as appropriate. The alternative + should have a slave alternative + for /usr/share/man/man1/editor.1.gz + or /usr/share/man/man1/pager.1.gz pointing to the + corresponding manual page.

@@ -8648,7 +8652,9 @@ name ["syshostname"]: virtual package x-terminal-emulator. They should also register themselves as an alternative for /usr/bin/x-terminal-emulator, with a priority of - 20. + 20. That alternative should have a slave alternative + for /usr/share/man/man1/x-terminal-emulator.1.gz + pointing to the corresponding manual page.

@@ -8725,6 +8731,9 @@ name ["syshostname"]: configuration, add 10 points; otherwise add none. + That alternative should have a slave alternative + for /usr/share/man/man1/x-window-manager.1.gz + pointing to the corresponding manual page.

diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml index 42f787e..0bcb075 100644 --- a/upgrading-checklist.sgml +++ b/upgrading-checklist.sgml @@ -83,6 +83,12 @@ Not yet released. that libraries should be built with threading support and to be thread-safe if the library supports this. +11.4, 11.8.3, 11.8.4 + Packages providing alternatives for editor, + pager, x-terminal-emulator, or + x-window-manager should also provide a slave alternative + for the corresponding manual page. + 11.5 Cgi-bin executable files may be installed in subdirectories of /usr/lib/cgi-bin and web servers should serve out