X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=upgrading-checklist.sgml;h=328d15b3213a7282244183f8a7e4c29230fa3791;hb=35b766c956f252a9092cfb7b04bcf1f05a4627d1;hp=4cce6d0a71a3713f0d4fb1a7028c45b97f723b1e;hpb=966dc650788767813442935e2c8c09475a03b1a5;p=debian%2Fdebian-policy.git diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml index 4cce6d0..328d15b 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,303 @@ picking your way through this list. The checklist - Version 3.9.1.0 + Version 3.9.6.0

-Not yet released. +Released xxx, 2014. + +

+9.1 + The FHS is relaxed to allow a subdirectory of /usr/lib + to hold a mixture of architecture-independent and architecture-dependent + files, though directories entirely composed of architecture-independent files + should be located in /usr/share. + +9.1 + The FHS requirement for /usr/local/lib64 to exist + if /lib64 or /usr/lib64 exists is removed. + +9.1 + An FHS exception has been granted for multiarch include files, + permitting header files to instead be installed to + /usr/include/triplet. + +10.1 + Binaries must not be statically linked with the GNU C library, + see policy for exceptions. + +perl + Perl packages should use the %Config hash to locate module + paths instead of hardcoding paths in @INC. + +perl + Perl binary modules and any modules installed into + $Config{vendorarch} must depend on the relevant + perlapi-* package. +

+ Version 3.9.5.0 +

+ +Released October, 2013. + +

+5.1 + Control data fields must not start with the hyphen character + (-), to avoid potential confusions when parsing clearsigned control + data files that were not properly unescaped. + +5.4, 5.6.24 + Checksums-Sha1 and Checksums-Sha256 are now + mandatory in .dsc files. + +5.6.25, 5.8.1 + The DM-Upload-Allowed field is obsolete. Permissions + are now granted via dak-commands files. +5.6.27 + New section documenting the Package-List field in Debian + source control files. + +5.6.28 + New section documenting the Package-Type field in source + package control files. + +5.6.29 + New section documenting the Dgit field in Debian + source control files. + +9.1.1.8 + The exception to the FHS for the /selinux was removed. + +10.7.3 + Packages should remove all obsolete configuration files without + local changes during upgrades. The dpkg-maintscript-helper + tool, available from the dpkg package since + Wheezy, can help with this. + +10.10 + The name of the files and directories installed by binary packages + must be encoded in UTF-8 and should be restricted to ASCII when possible. + In the system PATH, they must be restricted to ASCII. + +11.5.2 + Stop recommending to serve HTML documents from + /usr/share/doc/package. + +12.2 + Packages distributing Info documents should use + install-info's trigger, and do not need anymore + to depend on dpkg (>= 1.15.4) | install-info. + +debconf + The escape capability is now documented. + +virtual + mp3-decoder and mp3-encoder are removed. +

+ + 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 @@ -98,9 +391,20 @@ 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 - Recommend /etc/logrotate.d/package for - logrotate rules. + 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, @@ -120,7 +424,7 @@ Not yet released.

- Version 3.9.0.0 + Version 3.9.0.0

Released June, 2010. @@ -135,9 +439,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 @@ -201,9 +505,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 @@ -219,7 +523,7 @@ Released June, 2010.

- Version 3.8.4.0 + Version 3.8.4.0

Release Jan 2010. @@ -231,8 +535,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 @@ -240,14 +544,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 @@ -295,7 +600,7 @@ Released Aug 2009.

- Version 3.8.2.0 + Version 3.8.2.0

Released Jun 2009. @@ -335,7 +640,7 @@ Released Jun 2009.

- Version 3.8.1.0 + Version 3.8.1.0

Released Mar 2009. @@ -350,12 +655,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 @@ -365,8 +670,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 @@ -393,7 +698,7 @@ Released Mar 2009.

- Version 3.8.0.0 + Version 3.8.0.0

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

- Version 3.7.3.0 + Version 3.7.3.0

Released Dec 2007. @@ -514,7 +819,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. @@ -524,7 +829,7 @@ Released Oct 2006. should to a must)

- Version 3.7.2.0 + Version 3.7.2.0

Released Apr 2006. @@ -533,7 +838,7 @@ Released Apr 2006. 11.5 Revert the cgi-lib change.

- Version 3.7.1.0 + Version 3.7.1.0

Released Apr 2006. @@ -553,7 +858,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. @@ -594,7 +899,7 @@ Released Apr 2006. is gone.

- Version 3.6.2.0 + Version 3.6.2.0

Released 2005 @@ -614,7 +919,7 @@ Released 2005

- Version 3.6.1.0 + Version 3.6.1.0

Released Aug 2003. @@ -625,7 +930,7 @@ Released Aug 2003. user prompts are now deprecated.

- Version 3.6.0 + Version 3.6.0

Released Jul 2003. @@ -669,7 +974,7 @@ Released Jul 2003. target.

- Version 3.5.10 + Version 3.5.10

Released May 2003. @@ -684,7 +989,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. @@ -706,7 +1011,7 @@ Released Mar 2003. (rather than /usr/share/doc/package/examples).

- Version 3.5.8.0 + Version 3.5.8.0

Released Nov 2002. @@ -730,7 +1035,7 @@ Released Nov 2002. are still a bug.

- Version 3.5.7.0 + Version 3.5.7.0

Released Aug 2002. @@ -769,7 +1074,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. @@ -794,7 +1099,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. @@ -848,7 +1153,7 @@ Released May 2001.

- Version 3.5.4.0 + Version 3.5.4.0

Released Apr 2001.

@@ -856,7 +1161,6 @@ Released May 2001. The system-wide mail directory is now /var/mail, no longer /var/spool/mail. Any packages accessing the mail spool should access it via /var/mail and include a suitable Depends field; - details in 11.9; perl-policy The perl policy is now part of Debian policy @@ -865,7 +1169,7 @@ Released May 2001.

- Version 3.5.3.0 + Version 3.5.3.0

Released Apr 2001

@@ -881,7 +1185,7 @@ Released May 2001.

- Version 3.5.2.0 + Version 3.5.2.0

Released Feb 2001. @@ -893,7 +1197,7 @@ Released May 2001.

- Version 3.5.1.0 + Version 3.5.1.0

Released Feb 2001. @@ -904,7 +1208,7 @@ Released May 2001.

- Version 3.5.0.0 + Version 3.5.0.0

Released Jan 2001. @@ -915,7 +1219,7 @@ Released May 2001.

- Version 3.2.1.1 + Version 3.2.1.1

Released Jan 2001. @@ -937,7 +1241,7 @@ Released May 2001.

- Version 3.2.1.0 + Version 3.2.1.0

Released Aug 00. @@ -949,7 +1253,7 @@ Released May 2001.

- Version 3.2.0.0 + Version 3.2.0.0

Released Aug 00. @@ -957,7 +1261,7 @@ Released May 2001. 10.1 By default executables should not be built with the debugging option -g. Instead, it is recommended to support building the - package with debugging information optionally. Details in + package with debugging information optionally. 12.8 Policy for packages where the upstream uses HTML changelog @@ -1000,7 +1304,7 @@ Released May 2001.

- Version 3.1.1.0 + Version 3.1.1.0

Released Nov 1999. @@ -1011,7 +1315,7 @@ Released May 2001.

- Version 3.1.0.0 + Version 3.1.0.0

Released Oct 1999. @@ -1066,7 +1370,7 @@ Released May 2001.

- Version 3.0.1.0 + Version 3.0.1.0

Released Jul 1999. @@ -1078,7 +1382,7 @@ Released May 2001.

- Version 3.0.0.0 + Version 3.0.0.0

Released Jun 1999. @@ -1123,7 +1427,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. @@ -1162,7 +1466,7 @@ Policy Manual:

- Version 2.4.1.0 + Version 2.4.1.0

Released Apr 1998.

@@ -1189,7 +1493,7 @@ Policy Manual:

- Version 2.4.0.0 + Version 2.4.0.0

Released Jan 1998 @@ -1265,7 +1569,7 @@ Policy Manual:

- Version 2.3.0.1, 2.3.0.0 + Version 2.3.0.1, 2.3.0.0

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

- Version 2.2.0.0 + Version 2.2.0.0

Released July 1997. @@ -1309,7 +1613,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. @@ -1327,7 +1631,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. @@ -1335,7 +1639,7 @@ Policy Manual: Some changes WRT shared libraries

- Version 2.1.1.0 + Version 2.1.1.0

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

- Version 2.1.0.0 + Version 2.1.0.0

Released Aug 1996.