X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=upgrading-checklist.sgml;h=90dace524de5dc49e7e22b8eefe7d9133495ae72;hb=bce4b938b4e603a7bceeaf2ad31d007d0a9dcb43;hp=0bcb07548f15d0191571b606c2a1abc72395457e;hpb=6830d97089b49f99e79c6bb9be1d4c8566fa887b;p=debian%2Fdebian-policy.git diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml index 0bcb075..90dace5 100644 --- a/upgrading-checklist.sgml +++ b/upgrading-checklist.sgml @@ -6,7 +6,7 @@ Bill Allombert Josip Rodin Julian Gilbey - Russ Allbery + Russ Allbery Manoj Srivastava About the checklist @@ -34,10 +34,221 @@ picking your way through this list. The checklist - Version 3.9.1.0 + Version 3.9.5.0

-Not yet released. +Unreleased. + +

+5.4, 5.6.24 + Checksums-Sha1 and Checksums-Sha256 are now + mandatory in .dsc files. + +

+ + Version 3.9.4.0 +

+ +Released August, 2012. + +

+2.4 + New tasks archive section. + +4.9 + build-arch and build-indep are now mandatory + targets in debian/rules. + +5.6.26 + New section documenting the Vcs-* fields, which are + already in widespread use. Note the mechanism for specifying the Git + branch used for packaging in the Vcs-Git field. + +7.1 + The deprecated relations < and > now must not be used. + +7.8 + New Built-Using field, which must be used to document the + source packages for any binaries that are incorporated into this package + at build time. This is used to ensure that the archive meets license + requirements for providing source for all binaries. + +8.6 + Policy for dependencies between shared libraries and other + packages has been largely rewritten to document the symbols + system and more clearly document handling of shared library ABI + changes. symbols files are now recommended + over shlibs files in most situations. All maintainers of + shared library packages should review the entirety of this section. + +9.1.1 + Packages must not assume the /run directory exists or + is usable without a dependency on initscripts (>= 2.88dsf-13.3) + until the stable release of Debian supports /run. + +9.7 + Packages including MIME configuration can now rely on triggers and + do not need to call update-mime. +9.11 + New section documenting general requirements for alternate init + systems and specific requirements for integrating with upstart. + +12.5 + All copyright files must be encoded in UTF-8. + +

+ + Version 3.9.3.0 +

+ +Released February, 2012. + +

+2.4 + New archive sections education, introspection, + and metapackages added. + +5.6.8 + The Architecture field in *.dsc files may + now contain the value any all for source packages building both + architecture-independent and architecture-dependent packages. + +7.1 + If a dependency is restricted to particular architectures, the + list of architectures must be non-empty. + +9.1.1 + /run is allowed as an exception to the FHS and + replaces /var/run. /run/lock + replaces /var/lock. The FHS requirements for the older + directories apply to these directories as well. Backward compatibility + links will be maintained and packages need not switch to + referencing /run directly yet. Files in /run + should be stored in a temporary file system. + +9.1.4 + New section spelling out the requirements for packages that use + files in /run, /var/run, + or /var/lock. This generalizes information previously only + in 9.3.2. + +9.5 + Cron job file names must not contain . or + or + they will be ignored by cron. They should replace those characters + with _. If a package provides multiple cron job files in the + same directory, they should each start with the package name (possibly + modified as above), -, and then some suitable suffix. + +9.10 + Packages using doc-base do not need to call install-docs anymore. + +10.7.4 + Packages that declare the same conffile may see left-over + configuration files from each other even if they conflict. + +11.8 + The Policy rules around Motif libraries were just a special case + of normal rules for non-free dependencies and were largely obsolete, so + they have been removed. + +12.5 + debian/copyright is no longer required to list the + Debian maintainers involved in the creation of the package (although + note that the requirement to list copyright information is unchanged). + +copyright-format + Version 1.0 of the "Machine-readable debian/copyright + file" specification is included. + +mime + This separate document has been retired and and its (short) + contents merged into Policy section 9.7. There are no changes to the + requirements. + +perl + Packages may declare an interest in the perl-major-upgrade + trigger to be notified of major upgrades of perl. + +virtual + ttf-japanese-{mincho, gothic} is renamed to + fonts-japanese-{mincho, gothic}. + +

+ + Version 3.9.2.0 +

+ +Released April, 2011. + +

+* + Multiple clarifications throughout Policy where "installed" was + used and the more precise terms "unpacked" or "configured" were + intended. + +3.3 + The maintainer address must accept mail from Debian role accounts + and the BTS. At least one human must be listed with their personal + email address in Uploaders if the maintainer is a shared email + address. The duties of a maintainer are also clearer. + +5 + All control fields are now classified as simple, folded, or + multiline, which governs whether their values must be a single line or + may be continued across multiple lines and whether line breaks are + significant. + +5.1 + Parsers are allowed to accept paragraph separation lines + containing whitespace, but control files should use completely empty + lines. Ordering of paragraphs is significant. Field names must be + composed of printable ASCII characters except colon and must not begin + with #. + +5.6.25 + The DM-Upload-Allowed field is now documented. + +6.5 + The system state maintainer scripts can rely upon during each + possible invocation is now documented. In several less-common cases, + this is stricter than Policy had previously documented. Packages with + complex maintainer scripts should be reviewed in light of this new + documentation. + +7.2 + The impact on system state when maintainer scripts that are part + of a circular dependency are run is now documented. Circular + dependencies are now a should not. + +7.2 + The system state when postinst and prerm + scripts are run is now documented, and the documentation of the special + case of dependency state for postrm scripts has been + improved. postrm scripts are required to gracefully skip + actions if their dependencies are not available. + +9.1.1 + GNU/Hurd systems are allowed /hurd + and /servers directories in the root filesystem. + +9.1.1 + Packages installing to architecture-specific subdirectories of + /usr/lib must use the value returned by + dpkg-architecture -qDEB_HOST_MULTIARCH, not by + dpkg-architecture -qDEB_HOST_GNU_TYPE; this is a path change + on i386 architectures and a no-op for other architectures. + +virtual + mailx is now a virtual package provided by packages that + install /usr/bin/mailx and implement at least the + POSIX-required interface. + +

+ + Version 3.9.1.0 +

+ +Released July, 2010.

3.2.1 @@ -50,6 +261,11 @@ Not yet released. to dpkg-divert when creating or removing diversions and must not use --local. +4.10 + Only dpkg-gencontrol supports variable substitution. + dpkg-genchanges (for *.changes) + and dpkg-source (for *.dsc) do not. + 7.1 Architecture restrictions and wildcards are also allowed in binary package relationships provided that the binary package is not @@ -60,6 +276,16 @@ Not yet released. there are file conflicts or one package breaks the other, not just because two packages provide similar functionality but don't interfere. +8.1 + The SONAME of a library should change whenever the ABI of the + library changes in a way that isn't backward-compatible. It should not + change if the library ABI changes are backward-compatible. Discourage + bundling shared libraries together in one package. + +8.4 + Ada Library Information (*.ali) files must be + installed read-only. + 8.6.1, 8.6.2, 8.6.5 Packages should normally not include a shlibs.local file since we now have complete shlibs coverage. @@ -83,6 +309,21 @@ Not yet released. that libraries should be built with threading support and to be thread-safe if the library supports this. +10.4 + /bin/sh scripts may assume that kill + supports an argument of -signal, + that kill and trap support the numeric signals + listed in the XSI extension, and that signal 13 (SIGPIPE) can be trapped + with trap. + +10.8 + Use of /etc/logrotate.d/package for + logrotate rules is now recommended. + +10.9 + Control information files should be owned by root:root + and either mode 644 or mode 755. + 11.4, 11.8.3, 11.8.4 Packages providing alternatives for editor, pager, x-terminal-emulator, or @@ -101,7 +342,7 @@ Not yet released.

- Version 3.9.0.0 + Version 3.9.0.0

Released June, 2010. @@ -116,9 +357,9 @@ Released June, 2010. particular field name. 5.4, 5.5, 5.6.24 - Document and recommend the Checksums-Sha1 - and Checksums-Sha256 fields in *.dsc - and *.changes files. + The Checksums-Sha1 and Checksums-Sha256 fields + in *.dsc and *.changes files are now + documented and recommended. 5.5, 5.6.16 The Format field of .changes files is now @@ -182,9 +423,9 @@ Released June, 2010. common-licenses for the time being. debconf - Add SETTITLE (which has been supported for some time). - Like TITLE but takes a template instead of a string to allow - translation. + SETTITLE is now documented (it has been supported for + some time). SETTITLE is like TITLE but takes a + template instead of a string to allow translation. perl perl-base now @@ -200,7 +441,7 @@ Released June, 2010.

- Version 3.8.4.0 + Version 3.8.4.0

Release Jan 2010. @@ -212,8 +453,8 @@ Release Jan 2010. /usr/lib/triplet directories. 10.6 - Explicitly state that packages may not contain named pipes and - should instead create them in postinst and remove them in prerm or postrm. + Packages may not contain named pipes and should instead create + them in postinst and remove them in prerm or postrm. 9.1.1 /sys and /selinux directories are explicitly @@ -221,14 +462,14 @@ Release Jan 2010.

- Version 3.8.3.0 + Version 3.8.3.0

Released Aug 2009.

4.9 - Add DEB_*_ARCH_CPU and DEB_*_ARCH_OS variables and - recommend them over GNU-style variables for that information. + DEB_*_ARCH_CPU and DEB_*_ARCH_OS variables are now documented and + recommended over GNU-style variables for that information. 5.6.8 Source package Architecture fields may contain The Binary field may span multiple lines. 10.2 - Remove the permission for shared library packages to - install libraries in a non-standard location and modify Shared library packages are no longer allowed to install libraries + in a non-standard location and modify 11.8.7 - Clarify installation directories for X programs and - remove the requirement to pre-depend on x11-common before installing - into /usr/include/X11 and /usr/lib/X11. + Installation directories for X programs have been clarified. + Packages are no longer required to pre-depend on x11-common before + installing into /usr/include/X11 + and /usr/lib/X11. 12.1 - Remove the requirement that all characters in a manual - page be representable in the legacy encoding for that language. + Manual pages are no longer required to contain only characters + representable in the legacy encoding for that language. 12.1 Localized man pages should either be kept up-to-date with @@ -276,7 +518,7 @@ Released Aug 2009.

- Version 3.8.2.0 + Version 3.8.2.0

Released Jun 2009. @@ -316,7 +558,7 @@ Released Jun 2009.

- Version 3.8.1.0 + Version 3.8.1.0

Released Mar 2009. @@ -331,12 +573,12 @@ Released Mar 2009. Changelog files must be encoded in UTF-8. 4.4 - Tighten some format requirements for changelog files from a should - to a must. + Some format requirements for changelog files are now "must" + instead of "should." 4.4.1 - Remove alternative changelog formats. Debian only supports one - changelog format for the Debian Archive. + Alternative changelog formats have been removed. Debian only + supports one changelog format for the Debian Archive. 4.9.1 New nocheck option for DEB_BUILD_OPTIONS indicating any build-time @@ -346,8 +588,8 @@ Released Mar 2009. All control files must be encoded in UTF-8. 5.2 - debian/control allows comment lines starting with # with no - preceding whitespace. + debian/control allows comment lines starting with # + with no preceding whitespace. 9.3 Init scripts ending in .sh are not handled specially. They are not @@ -374,7 +616,7 @@ Released Mar 2009.

- Version 3.8.0.0 + Version 3.8.0.0

Released Jun 2008. @@ -453,7 +695,7 @@ Released Jun 2008. Underscore (_) is allowed in debconf template names.

- Version 3.7.3.0 + Version 3.7.3.0

Released Dec 2007. @@ -495,7 +737,7 @@ Released Dec 2007. be referenced rather than quoted in debian/copyright.

- Version 3.7.2.2 + Version 3.7.2.2

Released Oct 2006. @@ -505,7 +747,7 @@ Released Oct 2006. should to a must)

- Version 3.7.2.0 + Version 3.7.2.0

Released Apr 2006. @@ -514,7 +756,7 @@ Released Apr 2006. 11.5 Revert the cgi-lib change.

- Version 3.7.1.0 + Version 3.7.1.0

Released Apr 2006. @@ -534,7 +776,7 @@ Released Apr 2006. they do so, they must pre-depend on x11-common (>= 1:7.0.0)

- Version 3.7.0.0 + Version 3.7.0.0

Released Apr 2006. @@ -575,7 +817,7 @@ Released Apr 2006. is gone.

- Version 3.6.2.0 + Version 3.6.2.0

Released 2005 @@ -595,7 +837,7 @@ Released 2005

- Version 3.6.1.0 + Version 3.6.1.0

Released Aug 2003. @@ -606,7 +848,7 @@ Released Aug 2003. user prompts are now deprecated.

- Version 3.6.0 + Version 3.6.0

Released Jul 2003. @@ -650,7 +892,7 @@ Released Jul 2003. target.

- Version 3.5.10 + Version 3.5.10

Released May 2003. @@ -665,7 +907,7 @@ Released May 2003. Project may add 40 points for ranking in the alternatives

- Version 3.5.9.0 + Version 3.5.9.0

Released Mar 2003. @@ -687,7 +929,7 @@ Released Mar 2003. (rather than /usr/share/doc/package/examples).

- Version 3.5.8.0 + Version 3.5.8.0

Released Nov 2002. @@ -711,7 +953,7 @@ Released Nov 2002. are still a bug.

- Version 3.5.7.0 + Version 3.5.7.0

Released Aug 2002. @@ -750,7 +992,7 @@ Added the last note in 3.5.6 upgrading checklist item regarding build rules, please see below

- Version 3.5.6.0 + Version 3.5.6.0

Released Jul 2001. @@ -775,7 +1017,7 @@ Released Jul 2001. there is a new Build-Depend-Indep semantic.

- Version 3.5.5.0 + Version 3.5.5.0

Released May 2001. @@ -829,7 +1071,7 @@ Released May 2001.

- Version 3.5.4.0 + Version 3.5.4.0

Released Apr 2001.

@@ -846,7 +1088,7 @@ Released May 2001.

- Version 3.5.3.0 + Version 3.5.3.0

Released Apr 2001

@@ -862,7 +1104,7 @@ Released May 2001.

- Version 3.5.2.0 + Version 3.5.2.0

Released Feb 2001. @@ -874,7 +1116,7 @@ Released May 2001.

- Version 3.5.1.0 + Version 3.5.1.0

Released Feb 2001. @@ -885,7 +1127,7 @@ Released May 2001.

- Version 3.5.0.0 + Version 3.5.0.0

Released Jan 2001. @@ -896,7 +1138,7 @@ Released May 2001.

- Version 3.2.1.1 + Version 3.2.1.1

Released Jan 2001. @@ -918,7 +1160,7 @@ Released May 2001.

- Version 3.2.1.0 + Version 3.2.1.0

Released Aug 00. @@ -930,7 +1172,7 @@ Released May 2001.

- Version 3.2.0.0 + Version 3.2.0.0

Released Aug 00. @@ -981,7 +1223,7 @@ Released May 2001.

- Version 3.1.1.0 + Version 3.1.1.0

Released Nov 1999. @@ -992,7 +1234,7 @@ Released May 2001.

- Version 3.1.0.0 + Version 3.1.0.0

Released Oct 1999. @@ -1047,7 +1289,7 @@ Released May 2001.

- Version 3.0.1.0 + Version 3.0.1.0

Released Jul 1999. @@ -1059,7 +1301,7 @@ Released May 2001.

- Version 3.0.0.0 + Version 3.0.0.0

Released Jun 1999. @@ -1104,7 +1346,7 @@ Released May 2001. Please note that section numbers below this point may not be up to date

- Version 2.5.0.0 + Version 2.5.0.0

Released Oct 1998. @@ -1143,7 +1385,7 @@ Policy Manual:

- Version 2.4.1.0 + Version 2.4.1.0

Released Apr 1998.

@@ -1170,7 +1412,7 @@ Policy Manual:

- Version 2.4.0.0 + Version 2.4.0.0

Released Jan 1998 @@ -1246,7 +1488,7 @@ Policy Manual:

- Version 2.3.0.1, 2.3.0.0 + Version 2.3.0.1, 2.3.0.0

Released Sep 1997. @@ -1263,7 +1505,7 @@ Policy Manual: MUAs and MTAs have to use liblockfile

- Version 2.2.0.0 + Version 2.2.0.0

Released July 1997. @@ -1290,7 +1532,7 @@ Policy Manual: app-defaults files may not be conffiles

- Version 2.1.3.2, 2.1.3.1, 2.1.3.0 + Version 2.1.3.2, 2.1.3.1, 2.1.3.0

Released Mar 1997. @@ -1308,7 +1550,7 @@ Policy Manual:

- Version 2.1.2.2, 2.1.2.1, 2.1.2.0 + Version 2.1.2.2, 2.1.2.1, 2.1.2.0

Released Nov 1996. @@ -1316,7 +1558,7 @@ Policy Manual: Some changes WRT shared libraries

- Version 2.1.1.0 + Version 2.1.1.0

Released Sep 1996. @@ -1329,7 +1571,7 @@ without consultation Shared libraries must be installed stripped

- Version 2.1.0.0 + Version 2.1.0.0

Released Aug 1996.