]> git.donarmstrong.com Git - debian/debian-policy.git/blob - upgrading-checklist.sgml
Do not require initial Debian maintainers be listed in copyright
[debian/debian-policy.git] / upgrading-checklist.sgml
1 <!doctype debiandoc system>
2
3 <debiandoc>
4   <book> 
5     <title> Policy checklist for upgrading your packages </title>
6       <author> Bill Allombert <email/ballombe@debian.org/ </author>
7       <author> Josip Rodin </author>
8       <author> Julian Gilbey </author>
9       <author> Russ Allbery </author>
10       <author> Manoj Srivastava <email/srivasta@debian.org/
11
12 <chapt> About the checklist
13 <p>
14 The checklist below has been created to simplify the upgrading process
15 of old packages.  Note that this list is not "official"; it simply
16 gives an indication of what has changed and whether you are likely to
17 need to make changes to your package in light of this.  If you have
18 doubts about a certain topic, if you need more details, or if you
19 think some other package does not comply with policy, please refer to
20 the Policy Manual itself.  All of the changes from version 3.0.0
21 onwards indicate which section of the Policy Manual discusses the
22 issue: [3.4] means section 3.4.  The section numbering changed when
23 the packaging manual was incorporated into policy; the section numbers
24 used below refer to the current version.
25 <p>
26 Here is how the check list works: Check which policy version your
27 package was checked against last (indicated in the "Standards-Version"
28 field of the source package).  Then move upwards until the top and
29 check which of the items on the list might concern your package.  Note
30 which sections of policy discuss this, and then check out the Policy
31 Manual for details.  If you are upgrading from Policy version &lt; 2.5.0,
32 it may be easier to check through the whole of policy instead of
33 picking your way through this list.
34
35 <chapt> The checklist
36
37 <sect> Version 3.9.3.0
38 <p>
39
40 Unreleased.
41
42 </p><p><taglist>
43 <tag>2.4</tag>
44   <item>New archive sections <em>education</em>, <em>introspection</em>,
45   and <em>metapackages</em> added.
46   </item>
47 <tag>5.6.8</tag>
48   <item>The <tt>Architecture</tt> field in <file>*.dsc</file> files may
49   now contain the value <tt>any all</tt> for source packages building both
50   architecture-independent and architecture-dependent packages.
51   </item>
52 <tag>9.10</tag>
53   <item>Packages using doc-base do not need to call install-docs anymore.
54   </item>
55 <tag>11.8</tag>
56   <item>The Policy rules around Motif libraries were just a special case
57   of normal rules for non-free dependencies and were largely obsolete, so
58   they have been removed.
59   </item>
60 <tag>12.5</tag>
61   <item><file>debian/copyright</file> is no longer required to list the
62   Debian maintainers involved in the creation of the package (although
63   note that the requirement to list copyright information is unchanged).
64   </item>
65 <tag>perl</tag>
66   <item>Packages may declare an interest in the <var>perl-major-upgrade</var> 
67   trigger to be notified of major upgrades of perl.
68   </item>
69 <tag>virtual</tag>
70   <item><tt>ttf-japanese-{mincho, gothic}</tt> is renamed to 
71         <tt>fonts-japanese-{mincho, gothic}</tt>.
72   </item>
73 </taglist></p>
74
75 <sect> Version 3.9.2.0
76 <p>
77
78 Released April, 2011.
79
80 </p><p><taglist>
81 <tag>*</tag>
82   <item>Multiple clarifications throughout Policy where "installed" was
83   used and the more precise terms "unpacked" or "configured" were
84   intended.
85   </item>
86 <tag>3.3</tag>
87   <item>The maintainer address must accept mail from Debian role accounts
88   and the BTS.  At least one human must be listed with their personal
89   email address in <tt>Uploaders</tt> if the maintainer is a shared email
90   address.  The duties of a maintainer are also clearer.
91   </item>
92 <tag>5</tag>
93   <item>All control fields are now classified as simple, folded, or
94   multiline, which governs whether their values must be a single line or
95   may be continued across multiple lines and whether line breaks are
96   significant.
97   </item>
98 <tag>5.1</tag>
99   <item>Parsers are allowed to accept paragraph separation lines
100   containing whitespace, but control files should use completely empty
101   lines.  Ordering of paragraphs is significant.  Field names must be
102   composed of printable ASCII characters except colon and must not begin
103   with #.
104   </item>
105 <tag>5.6.25</tag>
106   <item>The <tt>DM-Upload-Allowed</tt> field is now documented.
107   </item>
108 <tag>6.5</tag>
109   <item>The system state maintainer scripts can rely upon during each
110   possible invocation is now documented.  In several less-common cases,
111   this is stricter than Policy had previously documented.  Packages with
112   complex maintainer scripts should be reviewed in light of this new
113   documentation.
114   </item>
115 <tag>7.2</tag>
116   <item>The impact on system state when maintainer scripts that are part
117   of a circular dependency are run is now documented.  Circular
118   dependencies are now a should not.
119   </item>
120 <tag>7.2</tag>
121   <item>The system state when <prgn>postinst</prgn> and <prgn>prerm</prgn>
122   scripts are run is now documented, and the documentation of the special
123   case of dependency state for <prgn>postrm</prgn> scripts has been
124   improved.  <prgn>postrm</prgn> scripts are required to gracefully skip
125   actions if their dependencies are not available.
126   </item>
127 <tag>9.1.1</tag>
128   <item>GNU/Hurd systems are allowed <file>/hurd</file>
129   and <file>/servers</file> directories in the root filesystem.
130   </item>
131 <tag>9.1.1</tag>
132   <item>Packages installing to architecture-specific subdirectories of
133   <file>/usr/lib</file> must use the value returned by
134   <prgn>dpkg-architecture -qDEB_HOST_MULTIARCH</prgn>, not by
135   <prgn>dpkg-architecture -qDEB_HOST_GNU_TYPE</prgn>; this is a path change
136   on i386 architectures and a no-op for other architectures.
137   </item>
138 <tag>virtual</tag>
139   <item><tt>mailx</tt> is now a virtual package provided by packages that
140   install <prgn>/usr/bin/mailx</prgn> and implement at least the
141   POSIX-required interface.
142   </item>
143 </taglist></p>
144
145 <sect> Version 3.9.1.0
146 <p>
147
148 Released July, 2010.
149
150 </p><p><taglist>
151 <tag>3.2.1</tag>
152   <item>Date-based version components should be given as the four-digit
153   year, two-digit month, and then two-digit day, but may have embedded
154   punctuation.
155   </item>
156 <tag>3.9</tag>
157   <item>Maintainer scripts must pass <tt>--package</tt>
158   to <prgn>dpkg-divert</prgn> when creating or removing diversions and
159   must not use <tt>--local</tt>.
160   </item>
161 <tag>4.10</tag>
162   <item>Only <prgn>dpkg-gencontrol</prgn> supports variable substitution.
163   <prgn>dpkg-genchanges</prgn> (for <file>*.changes</file>)
164   and <prgn>dpkg-source</prgn> (for <file>*.dsc</file>) do not.
165   </item>
166 <tag>7.1</tag>
167   <item>Architecture restrictions and wildcards are also allowed in binary
168   package relationships provided that the binary package is not
169   architecture-independent.
170   </item>
171 <tag>7.4</tag>
172   <item><tt>Conflicts</tt> and <tt>Breaks</tt> should only be used when
173   there are file conflicts or one package breaks the other, not just
174   because two packages provide similar functionality but don't interfere.
175   </item>
176 <tag>8.1</tag>
177   <item>The SONAME of a library should change whenever the ABI of the
178   library changes in a way that isn't backward-compatible.  It should not
179   change if the library ABI changes are backward-compatible.  Discourage
180   bundling shared libraries together in one package.
181   </item>
182 <tag>8.4</tag>
183   <item>Ada Library Information (<file>*.ali</file>) files must be
184   installed read-only.
185   </item>
186 <tag>8.6.1, 8.6.2, 8.6.5</tag>
187   <item>Packages should normally not include a <file>shlibs.local</file>
188   file since we now have complete <file>shlibs</file> coverage.
189   </item>
190 <tag>8.6.3</tag>
191   <item>The SONAME of a library may instead be of the
192   form <tt><var>name</var>-<var>major-version</var>.so</tt>.
193   </item>
194 <tag>10.2</tag>
195   <item>Libtool <file>.la</file> files should not be installed for public
196   libraries.  If they're required (for <tt>libltdl</tt>, for instance),
197   the <tt>dependency_libs</tt> setting should be emptied.  Library
198   packages historically including <file>.la</file> files must continue to
199   include them (with <tt>dependency_libs</tt> emptied) until all libraries
200   that depend on that library have removed or emptied
201   their <file>.la</file> files.
202   </item>
203 <tag>10.2</tag>
204   <item>Libraries no longer need to be built with <tt>-D_REENTRANT</tt>,
205   which was an obsolete LinuxThreads requirement.  Instead, say explicitly
206   that libraries should be built with threading support and to be
207   thread-safe if the library supports this.
208   </item>
209 <tag>10.4</tag>
210   <item><file>/bin/sh</file> scripts may assume that <prgn>kill</prgn>
211   supports an argument of <tt>-<var>signal</var></tt>,
212   that <prgn>kill</prgn> and <prgn>trap</prgn> support the numeric signals
213   listed in the XSI extension, and that signal 13 (SIGPIPE) can be trapped
214   with <prgn>trap</prgn>.
215   </item>
216 <tag>10.8</tag>
217   <item>Use of <file>/etc/logrotate.d/<var>package</var></file> for
218   logrotate rules is now recommended.
219   </item>
220 <tag>10.9</tag>
221   <item>Control information files should be owned by <tt>root:root</tt>
222   and either mode 644 or mode 755.
223   </item>
224 <tag>11.4, 11.8.3, 11.8.4</tag>
225   <item>Packages providing alternatives for <prgn>editor</prgn>,
226   <prgn>pager</prgn>, <prgn>x-terminal-emulator</prgn>, or
227   <prgn>x-window-manager</prgn> should also provide a slave alternative
228   for the corresponding manual page.
229   </item>
230 <tag>11.5</tag>
231   <item>Cgi-bin executable files may be installed in subdirectories
232   of <file>/usr/lib/cgi-bin</file> and web servers should serve out
233   executables in those subdirectories.
234   </item>
235 <tag>12.5</tag>
236   <item>The GPL version 1 is now included in common-licenses and should be
237   referenced from there instead of included in the <file>copyright</file>
238   file.
239   </item>
240 </taglist></p>
241
242 <sect> Version 3.9.0.0
243 <p>
244
245 Released June, 2010.
246
247 </p><p><taglist>
248 <tag>4.4, 5.6.15</tag>
249   <item>The required format for the date in a changelog entry and in the
250   Date control field is now precisely specified.
251   </item>
252 <tag>5.1</tag>
253   <item>A control paragraph must not contain more than one instance of a
254   particular field name.
255   </item>
256 <tag>5.4, 5.5, 5.6.24</tag>
257   <item>The <tt>Checksums-Sha1</tt> and <tt>Checksums-Sha256</tt> fields
258   in <file>*.dsc</file> and <file>*.changes</file> files are now
259   documented and recommended.
260   </item>
261 <tag>5.5, 5.6.16</tag>
262   <item>The <tt>Format</tt> field of <file>.changes</file> files is now
263   1.8.  The <tt>Format</tt> field syntax for source
264   package <file>.dsc</file> files allows a subtype in parentheses, and it
265   is used for a different purpose than the <tt>Format</tt> field
266   for <file>.changes</file> files.
267   </item>
268 <tag>5.6.2</tag>
269   <item>The syntax of the <tt>Maintainer</tt> field is now must rather
270   than should.
271   </item>
272 <tag>5.6.3</tag>
273   <item>The comma separating entries in <tt>Uploaders</tt> is now must
274   rather than should.
275   </item>
276 <tag>5.6.8, 7.1, 11.1.1</tag>
277   <item>Architecture wildcards may be used in addition to specific
278   architectures in <file>debian/control</file> and <file>*.dsc</file>
279   Architecture fields, and in architecture restrictions in build
280   relationships.
281   </item>
282 <tag>6.3</tag>
283   <item>Maintainer scripts are no longer guaranteed to run with a
284   controlling terminal and must be able to fall back to noninteractive
285   behavior (debconf handles this).  Maintainer scripts may abort if there
286   is no controlling terminal and no reasonable default for a high-priority
287   question, but should avoid this if possible.
288   </item>
289 <tag>7.3, 7.6.1</tag>
290   <item><tt>Breaks</tt> should be used with <tt>Replaces</tt> for moving
291   files between packages.
292   </item>
293 <tag>7.4</tag>
294   <item><tt>Breaks</tt> should normally be used instead
295   of <tt>Conflicts</tt> for transient issues and moving files between
296   packages.  New documentation of when each should be used.
297   </item>
298 <tag>7.5</tag>
299   <item>Use <tt>Conflicts</tt> with <tt>Provides</tt> if only one provider
300   of a virtual facility can be installed at a time.
301   </item>
302 <tag>8.4</tag>
303   <item>All shared library development files are no longer required to be
304   in the <tt>-dev</tt> package, only be available when the <tt>-dev</tt>
305   package is installed.  This allows the <tt>-dev</tt> package to be split
306   as long as it depends on the additional packages.
307   </item>
308 <tag>9.2.2</tag>
309   <item>The UID range of user accounts is extended to 1000-59999.
310   </item>
311 <tag>9.3.2, 10.4</tag>
312   <item><file>init.d</file> scripts are a possible exception from the
313   normal requirement to use <tt>set -e</tt> in each shell script.
314   </item>
315 <tag>12.5</tag>
316   <item>The UCB BSD license was removed from the list of licenses that
317   should be referenced from <file>/usr/share/common-licenses/BSD</file>.
318   It should instead be included directly
319   in <file>debian/copyright</file>, although it will still be in
320   common-licenses for the time being.
321   </item>
322 <tag>debconf</tag>
323   <item><tt>SETTITLE</tt> is now documented (it has been supported for
324   some time).  <tt>SETTITLE</tt> is like <tt>TITLE</tt> but takes a
325   template instead of a string to allow translation.
326   </item>
327 <tag>perl</tag>
328   <item><package>perl-base</package> now
329   provides <package>perlapi-<var>abiname</var></package> instead of a
330   package based solely on the Perl version.  Perl packages must now depend
331   on <package>perlapi-$Config{debian_abi}</package>, falling back
332   on <tt>$Config{version}</tt> if <tt>$Config{debian_abi}</tt> is not set.
333   </item>
334 <tag>perl</tag>
335   <item>Packages using <file>Makefile.PL</file> should use
336   <tt>DESTDIR</tt> rather than <tt>PREFIX</tt> to install into the package
337   staging area.  <tt>PREFIX</tt> only worked due to a Debian-local patch.
338   </item>
339 </taglist></p>
340
341 <sect> Version 3.8.4.0
342 <p>
343
344 Release Jan 2010.
345
346 </p><p><taglist>
347 <tag>9.1.1</tag>
348   <item> An FHS exception has been granted for multiarch libraries.
349   Permitting files to instead be installed to <file>/lib/triplet</file> and
350   <file>/usr/lib/triplet</file> directories.
351   </item>
352 <tag>10.6</tag>
353   <item>Packages may not contain named pipes and should instead create
354   them in postinst and remove them in prerm or postrm.
355   </item>
356 <tag>9.1.1</tag>
357   <item><file>/sys</file> and <file>/selinux</file> directories are explicitly
358   allowed as an exception to the FHS.
359   </item>
360 </taglist></p>
361
362 <sect> Version 3.8.3.0
363 <p>
364 Released Aug 2009.
365
366 </p><p><taglist>
367 <tag>4.9</tag>
368   <item>DEB_*_ARCH_CPU and DEB_*_ARCH_OS variables are now documented and
369   recommended over GNU-style variables for that information.
370   </item>
371 <tag>5.6.8</tag>
372   <item>Source package Architecture fields may contain <em/all/ in
373   combination with other architectures.  Clarify when <em/all/ and <em/any/
374   may be used in different versions of the field.
375   </item>
376 <tag>5.6.14</tag>
377   <item>The Debian archive software does not support uploading
378   to multiple distributions with one <file>*.changes</file> file.
379   </item>
380 <tag>5.6.19</tag>
381   <item>The Binary field may span multiple lines.
382   </item>
383 <tag>10.2</tag>
384   <item>Shared library packages are no longer allowed to install libraries
385   in a non-standard location and modify <file/ld.so.conf/.  Packages
386   should either be installed in a standard library directory or packages
387   using them should be built with RPATH.
388   </item>
389 <tag>11.8.7</tag>
390   <item>Installation directories for X programs have been clarified.
391   Packages are no longer required to pre-depend on x11-common before
392   installing into <file>/usr/include/X11</file>
393   and <file>/usr/lib/X11</file>.
394   </item>
395 <tag>12.1</tag>
396   <item>Manual pages are no longer required to contain only characters
397   representable in the legacy encoding for that language.
398   </item>
399 <tag>12.1</tag>
400   <item>Localized man pages should either be kept up-to-date with
401   the original version or warn that they're not up-to-date, either
402   with warning text or by showing missing or changed portions in the
403   original language.
404   </item>
405 <tag>12.2</tag>
406   <item>install-info is now handled via triggers so packages no
407   longer need to invoke it in maintainer scripts.  Info documents
408   should now have directory sections and entries in the document.
409   Packages containing info documents should add a dependency to
410   support partial upgrades.
411   </item>
412 <tag>perl</tag>
413   <item>The requirement for Perl modules to have a versioned
414   Depend and Build-Depend on <tt>perl &gt;= 5.6.0-16</tt> has been removed.
415   </item>
416 </taglist></p>
417
418 <sect> Version 3.8.2.0
419 <p>
420
421 Released Jun 2009.
422
423 </p><p><taglist>
424 <tag>2.4</tag>
425   <item>The list of archive sections has been significantly expanded.  See
426   <url id="http://lists.debian.org/debian-devel-announce/2009/03/msg00010.html"
427   name="this debian-devel-announce message">
428   for the list of new sections and rules for how to categorize
429   packages.                                                
430   </item>
431 <tag>3.9.1</tag>
432   <item>All packages must use debconf or equivalent for user prompting,
433   though essential packages or their dependencies may also fall
434   back on other methods.                                   
435   </item>
436 <tag>5.6.1</tag>
437   <item>The requirements for source package names are now explicitly
438   spelled out.
439   </item>
440 <tag>9.1</tag>
441   <item>Legacy XFree86 servers no longer get a special exception from the
442   FHS permitting <file>/etc/X11/XF86Config-4</file>.
443   </item>
444 <tag>9.1.3</tag>
445   <item>Removed obsolete dependency requirements for packages that use
446   <file>/var/mail</file>.
447   </item>
448 <tag>11.8.5</tag>
449   <item>Speedo fonts are now deprecated.  The X backend was disabled
450   starting in lenny.                                       
451   </item>
452 <tag>12.5</tag>
453   <item>The GNU Free Documentation License version 1.3 is included in
454   common-licenses and should be referenced from there.     
455   </item>
456 </taglist></p>
457
458 <sect> Version 3.8.1.0
459 <p>
460
461 Released  Mar 2009.
462
463 </p><p><taglist>
464 <tag>3.8</tag>
465   <item>Care should be taken when adding functionality to essential and
466   such additions create an obligation to support that functionality
467   in essential forever unless significant work is done.    
468   </item>
469 <tag>4.4</tag>
470   <item>Changelog files must be encoded in UTF-8.                
471   </item>
472 <tag>4.4</tag>
473   <item>Some format requirements for changelog files are now "must"
474   instead of "should."
475   </item>
476 <tag>4.4.1</tag>
477   <item>Alternative changelog formats have been removed.  Debian only
478   supports one changelog format for the Debian Archive.
479   </item>
480 <tag>4.9.1</tag>
481   <item>New nocheck option for DEB_BUILD_OPTIONS indicating any build-time
482   test suite provided by the package should not be run.    
483   </item>
484 <tag>5.1</tag>
485   <item>All control files must be encoded in UTF-8.              
486   </item>
487 <tag>5.2</tag>
488   <item><file>debian/control</file> allows comment lines starting with #
489   with no preceding whitespace.
490   </item>
491 <tag>9.3</tag>
492   <item>Init scripts ending in .sh are not handled specially.  They are not
493   sourced and are not guaranteed to be run by <prgn>/bin/sh</prgn> regardless
494   of the #! line.  This brings Policy in line with the long-standing
495   behavior of the init system in Debian.
496   </item>
497 <tag>9.3.2</tag>
498   <item>The start action of an init script must exit successfully and not
499   start the daemon again if it's already running.          
500   </item>
501 <tag>9.3.2</tag>
502   <item><file>/var/run</file> and <file>/var/lock</file> may be mounted as
503   temporary filesystems, and init scripts must therefore create any necessary
504   subdirectories dynamically.                                             
505   </item>
506 <tag>10.4</tag>
507   <item> <file>/bin/sh</file> scripts may assume that local can take multiple
508    variable arguments and supports assignment.                       
509   </item>
510 <tag>11.6</tag>
511   <item>User mailboxes may be mode 600 and owned by the user rather than
512   mode 660, owned by user, and group mail.                 
513   </item>
514 </taglist></p>
515
516 <sect> Version 3.8.0.0
517 <p>
518
519 Released  Jun 2008.
520
521 </p><p><taglist>
522 <tag>2.4, 3.7</tag>
523 <item>The base section has been removed.  contrib and non-free have been
524   removed from the section list; they are only categories.  The base
525   system is now defined by priority.                       
526 <tag>4.9</tag>
527 <item>If <prgn>dpkg-source -x</prgn> doesn't provide the source that will be
528   compiled, a debian/rules patch target is recommended and should do whatever
529   else is necessary.
530 <tag>4.9.1, 10.1</tag>
531 <item>Standardized the format of DEB_BUILD_OPTIONS.  Specified permitted
532   characters for tags, required that tags be whitespace-separated,
533   allowed packages to assume non-conflicting tags, and required
534   unknown flags be ignored.                                
535 <tag>4.9.1</tag>
536 <item>Added parallel=n to the standardized DEB_BUILD_OPTIONS tags,
537   indicating that a package should be built using up to n parallel
538   processes if the package supports it                     
539 <tag>4.13</tag>
540 <item>Debian packages should not use convenience copies of code from other
541   packages unless the included package is explicitly intended to be
542   used that way.                                           
543 <tag>4.14</tag>
544 <item>If dpkg-source -x doesn't produce source ready for editing and
545   building with dpkg-buildpackage, packages should include a
546   <file>debian/README.source</file> file explaining how to generate
547   the patched source, add a new modification, and remove an existing
548   modification.  This file may also be used to document packaging a
549   new upstream release and any other complexity of the Debian build
550   process.                                                 
551 <tag>5.6.3</tag>
552 <item>The Uploaders field in debian/control may be wrapped.    
553 <tag>5.6.12</tag>
554 <item>An empty Debian revision is equivalent to a Debian revision of 0 in
555   a version number.                                        
556 <tag>5.6.23</tag>
557 <item>New Homepage field for upstream web sites.               
558 <tag>6.5, 6.6, 7</tag>
559 <item>The Breaks field declares that this package breaks another and
560   prevents installation of the breaking package unless the package
561   named in Breaks is deconfigured first.  This field should not be
562   used until the dpkg in Debian stable supports it.        
563 <tag>8.1, 8.2</tag>
564 <item>Clarify which files should go into a shared library package, into a
565   separate package, or into the -dev package.  Suggest -tools instead
566   of -runtime for runtime support programs, since that naming is more
567   common in Debian.                                        
568 <tag>9.5</tag>
569 <item>Files in <file>/etc/cron.{hourly,daily,weekly,monthly}</file> must be
570   configuration files (upgraded from should).  Mention the hourly
571   directory.                                               
572 <tag>11.8.6</tag>
573 <item>Packages providing <file>/etc/X11/Xresources</file> files need not
574   conflict with  <tt> xbase (&lt;&lt; 3.3.2.3a-2)</tt>, which is
575   long-obsolete.           
576 <tag>12.1</tag>
577 <item>Manual pages in locale-specific directories should use either the
578   legacy encoding for that directory or UTF-8.  Country names should
579   not be included in locale-specific manual page directories unless
580   indicating a significant difference in the language.  All
581   characters in the manual page source should be representable in the
582   legacy encoding for a locale even if the man page is encoded in
583   UTF-8.                                                   
584 <tag>12.5</tag>
585 <item>The Apache 2.0 license is now in common-licenses and should be
586   referenced rather than quoted in <file>debian/copyright</file>.
587 <tag>12.5</tag>
588 <item>Packages in contrib and non-free should state in the copyright file
589   that the package is not part of Debian GNU/Linux and briefly
590   explain why.                                             
591 <tag>debconf</tag>
592 <item>Underscore (_) is allowed in debconf template names.     
593 </taglist></p>
594
595 <sect> Version 3.7.3.0
596 <p>
597
598 Released  Dec 2007.
599
600 </p><p><taglist>
601 <tag>5.6.12</tag>
602 <item>Package version numbers may contain tildes, which sort before
603   anything, even the end of a part.                        
604 <tag>10.4</tag>
605 <item>Scripts may assume that <file>/bin/sh</file> supports local (at a basic
606   level) and that its test builtin (if any) supports -a and -o binary
607   logical operators.                                       
608 <tag>8.5</tag>
609 <item>The substitution variable ${binary:Version} should be used in place
610   of ${Source-Version} for dependencies between packages of the same
611   library.                                                 
612 <tag>menu policy</tag>
613 <item>Substantial reorganization and renaming of sections in the Debian
614   menu structure.  Packages with menu entries should be reviewed to
615   see if the menu section has been renamed or if one of the new
616   sections would be more appropriate.                      
617 <tag>5.6.1</tag>
618 <item>The Source field in a .changes file may contain a version number
619   in parentheses.                                          
620 <tag>5.6.17</tag>
621 <item>The acceptable values for the Urgency field are low, medium, high,
622   critical, or emergency.                                  
623 <tag>8.6</tag>
624 <item>The shlibs file now allows an optional type field, indicating the
625   type of package for which the line is valid.  The only currently
626   supported type is udeb, used with packages for the Debian
627   Installer.                                               
628 <tag>3.9.1</tag>
629 <item>Packages following the Debian Configuration management
630   specification must allow for translation of their messages by using
631   a gettext-based system such as po-debconf.               
632 <tag>12.5</tag>
633 <item>GFDL 1.2, GPL 3, and LGPL 3 are now in common-licenses and should
634   be referenced rather than quoted in debian/copyright.
635 </taglist></p>
636
637 <sect> Version 3.7.2.2
638 <p>
639
640 Released  Oct 2006.
641
642 </p><p><taglist>
643 <tag>6.1</tag> <item>Maintainer scripts must not be world writeable (up from a
644     should to a must)</item>   
645 </taglist></p>
646
647 <sect> Version 3.7.2.0
648 <p>
649
650 Released  Apr 2006.
651
652 </p><p><taglist>
653 <tag>11.5</tag> <item>Revert the cgi-lib change. </item>
654 </taglist></p>
655
656 <sect> Version 3.7.1.0
657 <p>
658
659 Released  Apr 2006.
660
661 </p><p><taglist>
662 <tag>10.2</tag>
663 <item>It is now possible to create shared libraries without
664   relocatable code (using -fPIC) in certain exceptional cases,
665   provided some procedures are followed, and for creating static
666   libraries with relocatable code (again, using -fPIC).
667   Discussion on debian-devel@lists.debian.org, getting a rough
668   consensus, and documenting it in README.Debian constitute most
669   of the process.                                          
670 <tag>11.8.7</tag>
671 <item>Packages should install any relevant files into the directories
672   <file>/usr/include/X11/</file> and <file>/usr/lib/X11/</file>, but if
673   they do so, they must pre-depend on <tt>x11-common (&gt;= 1:7.0.0)</tt>
674 </taglist></p>
675
676 <sect> Version 3.7.0.0
677 <p>
678
679 Released  Apr 2006.
680
681 </p><p><taglist>
682 <tag>11.5</tag>
683 <item>Packages shipping web server CGI files are expected to install
684   them in <file>/usr/lib/cgi-lib/</file> directories.  This location change
685   perhaps should be documented in NEWS                     
686 <tag>11.5</tag>
687 <item>Web server packages should include a standard scriptAlias of
688   cgi-lib to <file>/usr/lib/cgi-lib</file>.
689 <tag>9.1.1</tag>
690 <item>The version of FHS mandated by policy has been upped to
691   2.3. There should be no changes required for most packages,
692   though new top level directories <file>/media</file>, <file>/srv</file>,
693   etc.  may be of interest.
694 <tag>5.1, 5.6.3</tag>
695 <item>All fields, apart from the Uploaders field, in the control file
696   are supposed to be a single logical line, which may be spread
697   over multiple physical  lines (newline followed by space is
698   elided).  However, any parser for the control file must allow
699   the Uploaders field to be spread over multiple physical lines
700   as well, to prepare for future changes.
701 <tag>10.4</tag>
702 <item>When scripts are installed into a directory in the system
703   PATH, the script name should not include an extension that
704   denotes the scripting language currently used to implement it.
705
706 <tag>9.3.3.2</tag>
707 <item>packages that invoke initscripts now must use invoke-rc.d to do
708   so since it also pays attention to run levels and other local
709   constraints.
710 <tag>11.8.5.2, 11.8.7, etc</tag>
711 <item>We no longer use <file>/usr/X11R6</file>, since we have
712   migrated away to using Xorg paths. This means, for one thing, fonts
713   live in <file>/usr/share/fonts/X11/</file> now, and <file>/usr/X11R6</file>
714   is gone.
715 </taglist></p>
716
717 <sect> Version 3.6.2.0
718 <p>
719
720 Released  2005
721
722 </p><p><taglist>
723 <tag></tag>
724 <item>Recommend. doc-base, and not menu, for registering package documentation.
725 </item>
726 <tag>8.1</tag>
727 <item>Run time support programs should live in subdirectories of
728   <file>/usr/lib/</file> or <file>/usr/share</file>, and preferably the shared
729   lib is named the same as the package name (to avoid name collisions).
730 </item>
731 <tag>11.5</tag>
732 <item>It is recommended that HTTP servers provide an alias /images to
733   allow packages to share image files with the web server
734 </item>
735 </taglist></p>
736
737 <sect> Version 3.6.1.0
738 <p>
739
740 Released  Aug 2003.
741
742 </p><p><taglist>
743 <tag>3.10.1</tag>
744 <item>Prompting the user should be done using debconf. Non debconf
745   user prompts are now deprecated.
746 </taglist></p>
747
748 <sect> Version 3.6.0
749 <p>
750
751 Released  Jul 2003.
752
753 </p><p><taglist>
754 <tag></tag>
755 <item>Restructuring causing shifts in section numbers and bumping of
756   the minor version number:
757 <tag></tag>
758 <item>Many packaging manual appendices that were integrated into policy
759   sections are now empty, and replaced with links to the Policy.
760   In particular, the appendices that included the list of control
761   fields were updated (new fields like Closes, Changed-By were added)
762   and the list of fields for each of control, .changes and .dsc files
763   is now in Policy, and they're marked mandatory, recommended or
764   optional based on the current practice and the behavior of the
765   deb-building tool-chain.
766 <tag></tag>
767 <item>Elimination of needlessly deep section levels, primarily in the
768   chapter Debian Archive, from which two new chapters were split out,
769   Binary packages and Source packages. What remained was reordered
770   properly, that is, some sects became sects etc.
771 <tag></tag>
772 <item>Several sections that were redundant, crufty or simply not designed
773   with any sort of vision, were rearranged according to the formula that
774   everything should be either in the same place or properly interlinked.
775   Some things remained split up between different chapters when they
776   talked about different aspects of files: their content, their syntax,
777   and their placement in the file system. In particular, see the new
778   sections about changelog files.
779 <tag>menu policy</tag>
780 <item>Added Games/Simulation and Apps/Education to menu
781   sub-policy
782 <tag>C.2.2</tag>
783 <item>Debian changelogs should be UTF-8 encoded.
784 <tag>10.2</tag>
785 <item>shared libraries must be linked against all libraries that they
786   use symbols from in the same way that binaries are.
787 <tag>7.6</tag>
788 <item>build-depends-indep need not be satisfied during clean
789   target.
790 </taglist></p>
791
792 <sect> Version 3.5.10
793 <p>
794
795 Released  May 2003.
796
797 </p><p><taglist>
798 <tag>11.8.3</tag>
799 <item>packages providing the x-terminal-emulator virtual package
800   ought to ensure that they interpret the command line exactly
801   like xterm does.
802 <tag>11.8.4</tag>
803 <item>Window managers compliant with the Window Manager Specification
804   Project may add 40 points for ranking in the alternatives
805 </taglist></p>
806
807 <sect> Version 3.5.9.0
808 <p>
809
810 Released  Mar 2003.
811
812 </p><p><taglist>
813 <tag>3.4.2</tag>
814 <item>The section describing the Description: package field once again has
815   full details of the long description format.
816 <tag>4.2</tag>
817 <item>Clarified that if a package has non-build-essential
818   build-dependencies, it should have them listed in the Build-Depends
819   and related fields (i.e. it's not merely optional).
820 <tag>9.3.2</tag>
821 <item>When asked to restart a service that isn't already running,
822   the init script should start the service.
823 <tag>12.6</tag>
824 <item>If the purpose of a package is to provide examples, then the
825   example files can be installed into <file>/usr/share/doc/package</file>
826   (rather than <file>/usr/share/doc/package/examples</file>).
827 </taglist></p>
828
829 <sect> Version 3.5.8.0
830 <p>
831
832 Released  Nov 2002.
833
834 </p><p><taglist>
835 <tag>12.7</tag>
836 <item>It is no longer necessary to keep a log of changes to the upstream
837   sources in the copyright file. Instead, all such changes should be
838   documented in the changelog file.
839 <tag>7.6</tag>
840 <item><var/Build-Depends/, <var/Build-Conflicts/, <var/Build-Depends-Indep/,
841   and <var/Build-Conflicts-Indep/ must also be satisfied when the clean
842   target is called.
843 <tag>menu policy</tag>
844 <item>A new Apps/Science menu section is available
845 <tag>debconf policy</tag>
846 <item>debconf specification cleared up, various changes.
847 <tag>12.1</tag>
848 <item>It is no longer recommended to create symlinks from nonexistent
849   manual pages to undocumented(7). Missing manual pages for programs
850   are still a bug.
851 </taglist></p>
852
853 <sect> Version 3.5.7.0
854 <p>
855
856 Released  Aug 2002.
857
858 </p><p><taglist>
859 <tag></tag>
860 <item>Packages no longer have to ask permission to call MAKEDEV in
861   postinst, merely notifying the user ought to be enough.
862 <tag>2.2.4</tag>
863 <item>cryptographic software may now be included in the main
864   archive.
865 <tag>3.9</tag>
866 <item>task packages are no longer permitted; tasks are now created by a
867   special Tasks: field in the control file.
868 <tag>11.8.4</tag>
869 <item>window managers that support netwm can now add 20 points when
870   they add themselves as an alternative for
871  <file>/usr/bin/x-window-manager</file>
872 <tag>10.1</tag>
873 <item>The default compilation options have now changed, one should
874   provide debugging symbols in all cases, and optionally step
875   back optimization to -O0, depending on the DEB_BUILD_OPTIONS
876   environment variable.
877 <tag>7.6, 4.8</tag>
878 <item>Added mention of build-arch, build-indep, etc, in describing
879   the relationships with `Build-Depends', `Build-Conflicts',
880   `Build-Depends-Indep', and `Build-Conflicts-Indep'. May need to
881   review the new rules.
882 <tag>8</tag>
883 <item>Changed rules on how, and when, to invoke ldconfig in maintainer
884   scripts. Long rationale.
885 </taglist></p>
886
887 <p><em>
888 Added the last note in 3.5.6 upgrading checklist item regarding build
889 rules, please see below
890 </em></p>
891
892 <sect> Version 3.5.6.0
893 <p>
894
895 Released  Jul 2001.
896
897 </p><p><taglist>
898 <tag>2.5</tag>
899 <item>Emacs and TeX are no longer mandated by policy to be priority
900   standard packages
901 <tag>11.5</tag>
902 <item>Programs that access docs need to do so via <file>/usr/share/doc</file>,
903   and not via <file>/usr/doc/</file> as was the policy previously
904 <tag>12.3</tag>
905 <item>Putting documentation in <file>/usr/doc</file> versus
906  <file>/usr/share/doc</file> is now a ``serious'' policy violation.
907 <tag>11.5</tag>
908 <item>For web servers, one should not provide non-local access to the
909   <file>/usr/share/doc</file> hierarchy. If one can't provide access
910   controls for the http://localhost/doc/ directory, then it is preferred
911   that one ask permission to expose that information during the install.
912 <tag>7</tag>
913 <item>There are new rules for build-indep/build-arch targets and
914   there is a new Build-Depend-Indep semantic.
915 </taglist></p>
916
917 <sect> Version 3.5.5.0
918 <p>
919
920 Released  May 2001.
921
922 </p><p><taglist>
923 <tag>12.1</tag>
924 <item>Manpages should not rely on header information to have
925   alternative manpage names available; it should only use
926   symlinks or .so pages to do this
927 </item>
928 <tag></tag>
929 <item><em> Clarified note in 3.5.3.0 upgrading checklist regarding
930    examples and templates: this refers only to those examples used
931    by scripts; see section 10.7.3 for the whole story</em>
932 </item>
933 <tag></tag>
934 <item>Included a new section 10.9.1 describing the use of
935   dpkg-statoverride; this does not have the weight of policy
936 </item>
937 <tag></tag>
938 <item>Clarify Standards-Version: you don't need to rebuild your
939   packages just to change the Standards-Version!
940 </item>
941 <tag>10.2</tag>
942 <item>Plugins are no longer bound by all the rules of shared
943   libraries
944 </item>
945 <tag>X Windows related things:</tag>
946 <item><taglist>
947   <tag>11.8.1</tag>
948   <item>Clarification of priority levels of X Window System related
949       packages
950   </item>
951   <tag>11.8.3</tag>
952   <item>Rules for defining x-terminal-emulator improved </item>
953   <tag>11.8.5</tag>
954   <item>X Font policy rewritten: you must read this if you provide
955       fonts for the X Window System
956   </item>
957   <tag>11.8.6</tag>
958   <item>Packages must not ship <file>/usr/X11R6/lib/X11/app-defaults/</file>
959   </item>
960   <tag>11.8.7</tag>
961   <item>X-related packages should usually use the regular FHS
962       locations; imake-using packages are exempted from this
963   </item>
964   <tag>11.8.8</tag>
965   <item>OpenMotif linked binaries have the same rules as
966       OSF/Motif-linked ones
967   </item>
968   </taglist></item>
969 </taglist></p>
970
971 <sect> Version 3.5.4.0
972 <p> Released  Apr 2001.
973
974 </p><p><taglist>
975 <tag>11.6</tag>
976 <item>The system-wide mail directory is now /var/mail, no longer
977   /var/spool/mail.  Any packages accessing the mail spool should
978   access it via /var/mail and include a suitable Depends field;
979   details in
980 </item>
981 <tag>11.9; perl-policy</tag>
982 <item>The perl policy is now part of Debian policy
983   proper. Perl programs and modules should follow the current Perl
984   policy
985 </item>
986 </taglist></p>
987
988 <sect> Version 3.5.3.0
989 <p> Released Apr 2001
990
991 </p><p><taglist>
992 <tag>7.1</tag>
993 <item>Build-Depends arch syntax has been changed to be less
994   ambiguous. This should not affect any current packages
995 </item>
996 <tag>10.7.3</tag>
997 <item>Examples and templates files for use by scripts should now live
998   in <file>/usr/share/&lt;package&gt;</file> or
999   <file>/usr/lib/&lt;package&gt;</file>, with symbolic links from
1000   <file>/usr/share/doc/&lt;package&gt;/examples</file> as needed
1001 </item>
1002 </taglist></p>
1003
1004 <sect> Version 3.5.2.0
1005
1006 <p> Released Feb 2001.
1007
1008 </p><p><taglist>
1009 <tag>11.8.6</tag>
1010 <item>X app-defaults directory has moved from
1011   <file>/usr/X11R6/lib/X11/app-defaults</file> to
1012   <file>/etc/X11/app-defaults</file>
1013 </item>
1014 </taglist></p>
1015
1016 <sect> Version 3.5.1.0
1017
1018 <p> Released Feb 2001.
1019
1020 </p><p><taglist>
1021 <tag>8.1</tag>
1022 <item>dpkg-shlibdeps now uses objdump, so shared libraries have to be
1023   run through dpkg-shlibdeps as well as executables
1024 </item>
1025 </taglist></p>
1026
1027 <sect> Version 3.5.0.0
1028
1029 <p> Released Jan 2001.
1030
1031 </p><p><taglist>
1032 <tag>11.8.5</tag>
1033 <item>Font packages for the X Window System must now declare a
1034   dependency on xutils (>= 4.0.2)
1035 </item>
1036 </taglist></p>
1037
1038 <sect> Version 3.2.1.1
1039
1040 <p> Released Jan 2001.
1041
1042 </p><p><taglist>
1043 <tag>9.3.2</tag>
1044 <item>Daemon startup scripts in <file>/etc/init.d/</file> should not contain
1045   modifiable parameters; these should be moved to a file in
1046   <file>/etc/default/</file>
1047 </item>
1048 <tag>12.3</tag>
1049 <item>Files in <file>/usr/share/doc</file> must not be referenced by any
1050   program.  If such files are needed, they must be placed in
1051   <file>/usr/share/&lt;package&gt;/</file>, and symbolic links
1052   created as required in <file>/usr/share/doc/&lt;package&gt;/</file>
1053 </item>
1054 <tag></tag>
1055 <item>Much of the packaging manual has now been imported into the
1056   policy document
1057 </item>
1058 </taglist></p>
1059
1060 <sect> Version 3.2.1.0
1061
1062 <p> Released Aug 00.
1063
1064 </p><p><taglist>
1065 <tag>11.8.1</tag>
1066 <item>A package of priority standard or higher may provide two
1067   binaries, one compiled with support for the X Window System,
1068   and the other without
1069 </item>
1070 </taglist></p>
1071
1072 <sect> Version 3.2.0.0
1073
1074 <p> Released Aug 00.
1075
1076 </p><p><taglist>
1077 <tag>10.1</tag>
1078 <item>By default executables should not be built with the debugging
1079   option -g. Instead, it is recommended to support building the
1080   package with debugging information optionally.  Details in
1081 </item>
1082 <tag>12.8</tag>
1083 <item>Policy for packages where the upstream uses HTML changelog
1084   files has been expanded.  In short, a plain text changelog file
1085   should always be generated for the upstream changes
1086 </item>
1087 <tag></tag>
1088 <item>Please note that the new release of the X window system (3.2)
1089   shall probably need sweeping changes in policy
1090 </item>
1091 <tag></tag>
1092 <item>Policy for packages providing the following X-based features
1093   has been codified:
1094   <taglist>
1095   <tag>11.8.2</tag>
1096   <item>X server (virtual package xserver) </item>
1097   <tag>11.8.3</tag>
1098   <item>X terminal emulator (virtual package x-terminal-emulator) </item>
1099   <tag>11.8.4</tag>
1100   <item>X window manager (virtual package x-window-manager, and
1101       <file>/usr/bin/x-window-manager</file> alternative, with priority
1102       calculation guidelines)
1103   </item>
1104   <tag>12.8.5</tag>
1105   <item>X fonts (this section has been written from scratch) </item>
1106   <tag>11.8.6</tag>
1107   <item>X application defaults </item>
1108   </taglist>
1109 </item>
1110 <tag>11.8.7</tag>
1111 <item>Policy for packages using the X Window System and FHS issues
1112   has been clarified;
1113 </item>
1114 <tag>11.7.3</tag>
1115 <item>No package may contain or make hard links to conffiles </item>
1116 <tag>8</tag>
1117 <item>Noted that newer dpkg versions do not require extreme care in
1118   always creating the shared lib before the symlink, so the unpack
1119   order be correct
1120 </item>
1121 </taglist></p>
1122
1123 <sect> Version 3.1.1.0
1124
1125 <p> Released Nov 1999.
1126
1127 </p><p><taglist>
1128 <tag>7.1</tag>
1129 <item>Correction to semantics of architecture lists in Build-Depends
1130   etc.  Should not affect many packages
1131 </item>
1132 </taglist></p>
1133
1134 <sect> Version 3.1.0.0
1135
1136 <p> Released Oct 1999.
1137
1138 </p><p><taglist>
1139 <tag>defunct</tag>
1140 <item><file>/usr/doc/&lt;package&gt;</file> has to be a symlink pointing to
1141   <file>/usr/share/doc/&lt;package&gt;</file>, to be maintained by postinst
1142   and prerm scripts.
1143 </item>
1144 <tag>7.1, 7.6</tag>
1145 <item>Introduced source dependencies (Build-Depends, etc.) </item>
1146 <tag>9.3.4</tag>
1147 <item><file>/etc/rc.boot</file> has been deprecated in favour of
1148   <file>/etc/rcS.d</file>.  (Packages should not be touching this directory,
1149   but should use update-rc.d instead)
1150 </item>
1151 <tag>9.3.3</tag>
1152 <item>update-rc.d is now the <em>only</em> allowable way of accessing the
1153   <file>/etc/rc?.d/[SK]??*</file> links.  Any scripts which manipulate them
1154   directly must be changed to use update-rc.d instead.  (This is
1155   because the file-rc package handles this information in an
1156   incompatible way.)
1157 </item>
1158 <tag>12.7</tag>
1159 <item>Architecture-specific examples go in
1160   <file>/usr/lib/&lt;package&gt;/examples</file>
1161   with symlinks from <file>/usr/share/doc/&lt;package&gt;/examples/*</file>
1162   or from <file>/usr/share/doc/&lt;package&gt;/examples</file> itself
1163 </item>
1164 <tag>9.1.1</tag>
1165 <item>Updated FHS to a 2.1 draft; this reverts <file>/var/state</file> to
1166   <file>/var/lib</file>
1167 </item>
1168 <tag>9.7; mime-policy</tag>
1169 <item>Added MIME sub-policy document </item>
1170 <tag>12.4</tag>
1171 <item>VISUAL is allowed as a (higher priority) alternative to EDITOR
1172 </item>
1173 <tag>11.6</tag>
1174 <item>Modified liblockfile description, which affects
1175   mailbox-accessing programs.  Please see the policy document for
1176   details
1177 </item>
1178 <tag>12.7</tag>
1179 <item>If a package provides a changelog in HTML format, a text-only
1180   version should also be included.  (Such a version may be prepared
1181   using <prgn>lynx -dump -nolist</prgn>.)
1182 </item>
1183 <tag>3.2.1</tag>
1184 <item>Description of how to handle version numbers based on dates
1185   added
1186 </item>
1187 </taglist></p>
1188
1189 <sect> Version 3.0.1.0
1190
1191 <p> Released Jul 1999.
1192
1193 </p><p><taglist>
1194 <tag>10.2</tag>
1195 <item>Added the clarification that the .la files are essential for
1196   the packages using libtool's libltdl library, in which case the .la
1197   files must go in the run-time library package
1198 </item>
1199 </taglist></p>
1200
1201 <sect> Version 3.0.0.0
1202
1203 <p> Released Jun 1999.
1204
1205 </p><p><taglist>
1206 <tag>9.1</tag>
1207 <item>Debian formally moves from the FSSTND to the FHS. This is a
1208   major change, and the implications of this move are probably
1209   not all known.
1210 </item>
1211 <tag>4.1</tag>
1212 <item>Only 3 digits of the Standards version need be included in
1213   control files, though all four digits are still permitted.
1214 </item>
1215 <tag>12.6</tag>
1216 <item>The location of the GPL has changed to
1217   <file>/usr/share/common-licenses</file>. This may require changing the
1218   copyright files to point to the correct location of the GPL and
1219   other major licenses
1220 </item>
1221 <tag>10.2</tag>
1222 <item>Packages that use libtool to create shared libraries must
1223   include the .la files in the -dev packages
1224 </item>
1225 <tag>10.8</tag>
1226 <item>Use logrotate to rotate log files
1227 </item>
1228 <tag>now 11.8</tag>
1229 <item>section 5.8 has been rewritten (Programs for the X Window
1230   System)
1231 </item>
1232 <tag>9.6; menu-policy</tag>
1233 <item>There is now an associated menu policy, in a separate document,
1234   that carries the full weight of Debian policy
1235 </item>
1236 <tag>11.3</tag>
1237 <item>Programs which need to modify the files <file>/var/run/utmp</file>,
1238   <file>/var/log/wtmp</file> and <file>/var/log/lastlog</file> must be
1239   installed setgid utmp
1240 </item>
1241 </taglist></p>
1242 <p><em>
1243    Please note that section numbers below this point may not be up to date
1244 </em></p>
1245
1246 <sect> Version 2.5.0.0
1247
1248 <p> Released Oct 1998.
1249
1250 Policy Manual:
1251 </p><p><list>
1252 <item>Rearranged the manual to create a new Section 4, Files
1253   <list>
1254   <item>Section 3.3 ("Files") was moved to Section 4. The Sections
1255     that  were Section 4 and Section 5 were  moved down to become
1256     Section 5 and Section 6.
1257   </item>
1258   <item>What was Section 5.5 ("Log files") is now a subsection of the
1259     new Section 4 ("Files"), becoming section 4.8, placed after
1260     "Configuration files", moving the Section 4.8 ("Permissions
1261     and owners") to Section 4.9.  All subsections of the old
1262     Section 5 after 5.5  were moved down to fill in the number
1263     gap.
1264   </item>
1265   </list></item>
1266 <item>Modified the section about changelog files to accommodate
1267   upstream changelogs which were formatted as HTML. These
1268   upstream changelog files should now be accessible as
1269   <file>/usr/doc/package/changelog.html.gz</file>
1270 </item>
1271 <item>Symlinks are permissible to link the real, or upstream,
1272     changelog name to the Debian mandated name.
1273 </item>
1274 <item>Clarified that HTML documentation should be present in some
1275   package, though not necessarily the main binary package.
1276   </item>
1277 <item>Corrected all references to the location of the copyright
1278   files. The correct location is <file>/usr/doc/package/copyright</file>
1279   </item>
1280 <item>Ratified the architecture specification strings to cater to the
1281   HURD.
1282   </item>
1283 </list></p>
1284
1285 <sect> Version 2.4.1.0
1286
1287 <p> Released Apr 1998.
1288 </p>
1289 <sect1> Policy Manual:
1290 <p><taglist>
1291 <tag>Updated section 3.3.5 Symbolic links:</tag>
1292   <item>symbolic links within a toplevel directory should be relative,
1293     symbolic links between toplevel directories should be absolute
1294     (cf., Policy Weekly Issue#6, topic 2)
1295   </item>
1296
1297 <tag>Updated section 4.9 Games:</tag>
1298   <item>manpages for games should be installed in <file>/usr/man/man6</file>
1299     (cf., Policy Weekly Issue#6, topic 3)
1300   </item>
1301 </taglist></p>
1302
1303 <sect1> Packaging Manual:
1304 <p><list>
1305 <item>Updated prefix of chapter 12, Shared Libraries:
1306   ldconfig must be called in the postinst script if the package
1307   installs shared libraries
1308   (cf., Policy Weekly Issue #6, fixes:bug#20515)
1309 </item>
1310 </list></p>
1311
1312 <sect> Version 2.4.0.0
1313
1314 <p> Released Jan 1998
1315
1316 </p><p><taglist>
1317 <tag>Updated section 3.3.4 Scripts:</tag>
1318   <item><list>
1319   <item>/bin/sh may be any POSIX compatible shell
1320   <item>scripts including bashisms have to specify <file>/bin/bash</file>
1321     as interpreter
1322   <item>scripts which create files in world-writable directories
1323     (e.g., in <file>/tmp</file>) should use tempfile or mktemp for creating
1324     the directory
1325   </list></item>
1326
1327 <tag>Updated section 3.3.5 Symbolic Links:</tag>
1328   <item>symbolic links referencing compressed files must have the same
1329     file extension as the referenced file
1330   </item>
1331
1332 <tag>Updated section 3.3.6 Device files:</tag>
1333   <item><file>/dev/tty*</file> serial devices should be used instead of
1334   <file>/dev/cu*</file>
1335   </item>
1336
1337 <tag>Updated section 3.4.2 Writing the scripts in <file>/etc/init.d</file>:
1338   <item><list>
1339   <item>all <file>/etc/init.d</file> scripts have to provide the following
1340   options: start, stop, restart, force-reload
1341   <item>the reload option is optional and must never stop and restart
1342     the service
1343   </list></item>
1344
1345 <tag>Updated section 3.5 Cron jobs:
1346   <item>cron jobs that need to be executed more often than daily should
1347     be installed into <file>/etc/cron.d</file>
1348   </item>
1349
1350 <tag>Updated section 3.7 Menus:
1351   <item>removed section about how to register HTML docs to `menu'
1352     (the corresponding section in 4.4, Web servers and applications,
1353     has been removed in policy 2.2.0.0 already, so this one was
1354     obsolete)
1355   </item>
1356
1357 <tag>New section 3.8 Keyboard configuration:
1358   <item>details about how the backspace and delete keys should be
1359     handled
1360   </item>
1361
1362 <tag>New section 3.9 Environment variables:
1363   <item>no program must depend on environment variables to get a
1364     reasonable default configuration
1365   </item>
1366
1367 <tag>New section 4.6 News system configuration:
1368   <item><file>/etc/news/organization</file> and <file>/etc/news/server</file>
1369     should be supported by all news servers and clients
1370   </item>
1371
1372 <tag>Updated section 4.7 Programs for the X Window System:
1373   <item><list>
1374   <item>programs requiring a non-free Motif library should be provided
1375     as foo-smotif and foo-dmotif package
1376   </item>
1377   <item>if lesstif works reliably for such program, it should be linked
1378     against lesstif and not against a non-free Motif library
1379   </item>
1380   </list></item>
1381
1382 <tag>Updated section 4.9 Games:
1383   <item>games for X Windows have to be installed in <file>/usr/games</file>,
1384   just as non-X games
1385   </item>
1386 </taglist></p>
1387
1388 <sect> Version 2.3.0.1, 2.3.0.0
1389
1390 <p> Released Sep 1997.
1391
1392 <p><list>
1393 <item>new section `4.2 Daemons' including rules for
1394   <file>/etc/services</file>, <file>/etc/protocols</file>,
1395   <file>/etc/rpc</file>, and <file>/etc/inetd.conf</file>
1396 </item>
1397
1398 <item>updated section about `Configuration files':
1399   packages may not touch other packages' configuration files
1400 </item>
1401
1402 <item>MUAs and MTAs have to use liblockfile</item>
1403 </list></p>
1404
1405 <sect> Version 2.2.0.0
1406
1407 <p> Released July 1997.
1408
1409 <p><list>
1410 <item>added section 4.1 `Architecture specification strings':
1411   use
1412        &lt;arch&gt;-linux
1413   where &lt;arch&gt; is one of the following:
1414        i386, alpha, arm, m68k, powerpc, sparc.
1415 </item>
1416
1417 <item>detailed rules for <file>/usr/local</file></item>
1418
1419 <item>user ID's</item>
1420
1421 <item>editor/pager policy</item>
1422
1423 <item>cron jobs</item>
1424
1425 <item>device files</item>
1426
1427 <item>don't install shared libraries as executable</item>
1428
1429 <item>app-defaults files may not be conffiles</item>
1430 </list></p>
1431
1432 <sect> Version 2.1.3.2, 2.1.3.1, 2.1.3.0
1433
1434 <p> Released Mar 1997.
1435
1436 <p><list>
1437 <item>two programs with different functionality must not have the
1438   same name </item>
1439
1440 <item>"Webstandard 3.0"</item>
1441
1442 <item>"Standard for Console Messages"</item>
1443
1444 <item>Libraries should be compiled with `-D_REENTRANT'</item>
1445
1446 <item>Libraries should be stripped with <prgn>strip --strip-unneeded</prgn>
1447 </item>
1448 </list></p>
1449
1450 <sect> Version 2.1.2.2, 2.1.2.1, 2.1.2.0
1451
1452 <p> Released Nov 1996.
1453
1454 <p><list>
1455 <item>Some changes WRT shared libraries
1456 </list></p>
1457
1458 <sect> Version 2.1.1.0
1459
1460 <p> Released Sep 1996.
1461
1462 <p><list>
1463 <item>No hard links in source packages</item>
1464
1465 <item>Do not use <prgn>dpkg-divert</prgn> or <prgn>update-alternatives</prgn>
1466 without consultation </item>
1467
1468 <item>Shared libraries must be installed stripped </item>
1469 </list></p>
1470
1471 <sect> Version 2.1.0.0
1472
1473 <p> Released Aug 1996.
1474
1475 <p><list>
1476   <item>Upstream changelog must be installed too </item>
1477 </list></p>
1478 </book>
1479 </debiandoc>