X-Git-Url: https://git.donarmstrong.com/?p=debian%2Fdebian-policy.git;a=blobdiff_plain;f=upgrading-checklist.sgml;h=ebb17fca571c2bcf0f09d7a3d71932b93ff4225a;hp=2138b5ccec240182956e357fbe1ca9407fa47abb;hb=3fe146fc7e83712d950f70816f7c1005e0a77eec;hpb=6086cf0dd11029fa58e563f90531a493ec088a2b diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml index 2138b5c..ebb17fc 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,40 +34,343 @@ picking your way through this list. The checklist - Version 3.9.2.0 + Version 3.9.7.0

-Unreleased. +Released xxx, 2015.

+10.5 + Symbolic links must not traverse above the root directory. + +9.2.2 + 32bit UIDs in the range 65536-4294967293 are reserved for dynamically + allocated user accounts. + +5.1 + Empty field values in control files are only permitted in the + debian/control file of a source package. + +4.9 + debian/rules: required targets must not attempt + network access. + +12.3 + recommend to ship additional documentation for package + pkg in a separate package pkg-doc and install it + into /usr/share/doc/pkg. +

+ + Version 3.9.6.0 +

+ +Released September, 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. + +4.4 + It is clarified that signature appearing in debian/changelog should be + the details of the person who prepared this release of the package. + +11.5 + The default web document root is now /var/www/html + +virtual + java1-runtime and java2-runtime are removed, + javaN-runtime and javaN-runtime-headless are added + for all N between 5 and 9. + +virtual + Added httpd-wsgi for WSGI capable HTTP servers. + +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 - Clarify the duties of a maintainer, require that the maintainer - address accept mail from Debian role accounts and the BTS, and require - at least one human with their personal email address - in Uploaders if the maintainer is a shared email address. + 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 - Document the DM-Upload-Allowed field. + 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. -virtual - mailx added as a virtual package provided by packages - that install /usr/bin/mailx and implement at least the - POSIX-required interface. - 9.1.1 Packages installing to architecture-specific subdirectories of - /url/lib must use the value returned by + /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 + Version 3.9.1.0

Released July, 2010. @@ -139,8 +442,8 @@ Released July, 2010. 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 @@ -164,7 +467,7 @@ Released July, 2010.

- Version 3.9.0.0 + Version 3.9.0.0

Released June, 2010. @@ -179,9 +482,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 @@ -245,9 +548,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 @@ -263,7 +566,7 @@ Released June, 2010.

- Version 3.8.4.0 + Version 3.8.4.0

Release Jan 2010. @@ -275,8 +578,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 @@ -284,14 +587,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 @@ -339,7 +643,7 @@ Released Aug 2009.

- Version 3.8.2.0 + Version 3.8.2.0

Released Jun 2009. @@ -379,7 +683,7 @@ Released Jun 2009.

- Version 3.8.1.0 + Version 3.8.1.0

Released Mar 2009. @@ -394,12 +698,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 @@ -409,8 +713,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 @@ -437,7 +741,7 @@ Released Mar 2009.

- Version 3.8.0.0 + Version 3.8.0.0

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

- Version 3.7.3.0 + Version 3.7.3.0

Released Dec 2007. @@ -558,7 +862,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. @@ -568,7 +872,7 @@ Released Oct 2006. should to a must)

- Version 3.7.2.0 + Version 3.7.2.0

Released Apr 2006. @@ -577,7 +881,7 @@ Released Apr 2006. 11.5 Revert the cgi-lib change.

- Version 3.7.1.0 + Version 3.7.1.0

Released Apr 2006. @@ -597,7 +901,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. @@ -638,7 +942,7 @@ Released Apr 2006. is gone.

- Version 3.6.2.0 + Version 3.6.2.0

Released 2005 @@ -658,7 +962,7 @@ Released 2005

- Version 3.6.1.0 + Version 3.6.1.0

Released Aug 2003. @@ -669,7 +973,7 @@ Released Aug 2003. user prompts are now deprecated.

- Version 3.6.0 + Version 3.6.0

Released Jul 2003. @@ -713,7 +1017,7 @@ Released Jul 2003. target.

- Version 3.5.10 + Version 3.5.10

Released May 2003. @@ -728,7 +1032,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. @@ -750,7 +1054,7 @@ Released Mar 2003. (rather than /usr/share/doc/package/examples).

- Version 3.5.8.0 + Version 3.5.8.0

Released Nov 2002. @@ -774,7 +1078,7 @@ Released Nov 2002. are still a bug.

- Version 3.5.7.0 + Version 3.5.7.0

Released Aug 2002. @@ -813,7 +1117,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. @@ -838,7 +1142,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. @@ -892,7 +1196,7 @@ Released May 2001.

- Version 3.5.4.0 + Version 3.5.4.0

Released Apr 2001.

@@ -900,7 +1204,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 @@ -909,7 +1212,7 @@ Released May 2001.

- Version 3.5.3.0 + Version 3.5.3.0

Released Apr 2001

@@ -925,7 +1228,7 @@ Released May 2001.

- Version 3.5.2.0 + Version 3.5.2.0

Released Feb 2001. @@ -937,7 +1240,7 @@ Released May 2001.

- Version 3.5.1.0 + Version 3.5.1.0

Released Feb 2001. @@ -948,7 +1251,7 @@ Released May 2001.

- Version 3.5.0.0 + Version 3.5.0.0

Released Jan 2001. @@ -959,7 +1262,7 @@ Released May 2001.

- Version 3.2.1.1 + Version 3.2.1.1

Released Jan 2001. @@ -981,7 +1284,7 @@ Released May 2001.

- Version 3.2.1.0 + Version 3.2.1.0

Released Aug 00. @@ -993,7 +1296,7 @@ Released May 2001.

- Version 3.2.0.0 + Version 3.2.0.0

Released Aug 00. @@ -1001,7 +1304,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 @@ -1044,7 +1347,7 @@ Released May 2001.

- Version 3.1.1.0 + Version 3.1.1.0

Released Nov 1999. @@ -1055,7 +1358,7 @@ Released May 2001.

- Version 3.1.0.0 + Version 3.1.0.0

Released Oct 1999. @@ -1110,7 +1413,7 @@ Released May 2001.

- Version 3.0.1.0 + Version 3.0.1.0

Released Jul 1999. @@ -1122,7 +1425,7 @@ Released May 2001.

- Version 3.0.0.0 + Version 3.0.0.0

Released Jun 1999. @@ -1167,7 +1470,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. @@ -1206,7 +1509,7 @@ Policy Manual:

- Version 2.4.1.0 + Version 2.4.1.0

Released Apr 1998.

@@ -1233,7 +1536,7 @@ Policy Manual:

- Version 2.4.0.0 + Version 2.4.0.0

Released Jan 1998 @@ -1309,7 +1612,7 @@ Policy Manual:

- Version 2.3.0.1, 2.3.0.0 + Version 2.3.0.1, 2.3.0.0

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

- Version 2.2.0.0 + Version 2.2.0.0

Released July 1997. @@ -1353,7 +1656,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. @@ -1371,7 +1674,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. @@ -1379,7 +1682,7 @@ Policy Manual: Some changes WRT shared libraries

- Version 2.1.1.0 + Version 2.1.1.0

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

- Version 2.1.0.0 + Version 2.1.0.0

Released Aug 1996.