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