]> git.donarmstrong.com Git - debian/debian-policy.git/blob - upgrading-checklist.html
Fix path to changelog.Debian.gz in footnote on documentation symlinks.
[debian/debian-policy.git] / upgrading-checklist.html
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3                "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml"
5 lang="en" xml:lang="en">
6 <head>
7 <title>Policy checklist for upgrading your packages</title>
8 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
9 <meta name="generator" content="Org-mode"/>
10 <meta name="generated" content="2010-01-26 13:43:10 CET"/>
11 <meta name="author" content="Bill Allombert, Josip Rodin, Julian Gilbey, Russ Allbery, and Manoj Srivastava"/>
12 <meta name="description" content=""/>
13 <meta name="keywords" content=""/>
14
15 <style type="text/css">
16   html { font-family: Times, serif; font-size: 12pt; }
17   .title  { text-align: center; }
18   p.verse { margin-left: 3% }
19   pre {
20         border: 1pt solid #AEBDCC;
21         color: #000000;
22         background-color: LightSlateGray;
23         padding: 5pt;
24         font-family: "Courier New", courier, monospace;
25         font-size: 90%;
26         overflow:auto;
27   }
28   dt { font-weight: bold; }
29   div.figure { padding: 0.5em; }
30   div.figure p { text-align: center; }
31   .linenr { font-size:smaller }
32   .code-highlighted {background-color:#ffff00;}
33   .org-info-js_info-navigation { border-style:none; }
34   #org-info-js_console-label { font-size:10px; font-weight:bold;
35                                white-space:nowrap; }
36   .org-info-js_search-highlight {background-color:#ffff00; color:#000000;
37                                  font-weight:bold; }
38
39   body {
40    color: DarkSlateGrey;
41    background-color: gainsboro;
42    font-family: Palatino, "Palatino Linotype", "Hoefler Text", "Times New Roman", Times, Georgia, Utopia, serif;
43   }
44   .org-agenda-date          { color: #87cefa;    }
45   .org-agenda-structure     { color: #87cefa;    }
46   .org-scheduled            { color: #98fb98;    }
47   .org-scheduled-previously { color: #ff7f24;    }
48   .org-scheduled-today      { color: #98fb98;    }
49   .org-tag                  { font-weight: bold; }
50   .org-todo                 {
51     color: #ffc0cb;
52     font-weight: bold;
53   }
54  
55   a {
56     color: inherit;
57     background-color: inherit;
58     font: inherit;
59     text-decoration: inherit;
60   }
61   a:hover { text-decoration: underline; }
62   .todo  { font-weight:bold; }
63   .done { font-weight:bold; }
64   .TODO { color:red; }
65   .WAITING { color:orange; }
66   .DONE { color:green; }
67   .timestamp { color: grey }
68   .timestamp-kwd { color: CadetBlue }
69   .tag { background-color:lightblue; font-weight:normal }
70   .target { background-color: lavender; }
71 table {
72         border-collapse: collapse; /*separate; */
73         border: outset 3pt;
74         border-spacing: 0pt;
75         /* border-spacing: 5pt; */
76         }
77 table td             { vertical-align: top; border: 1px solid; }
78 table th             { vertical-align: top; border: 2px solid; }
79 </style>
80 <script ="text/javascript" language="JavaScript" src="/styles/org-info.js"></script>
81 <script type="text/javascript" language="JavaScript">
82 /* <![CDATA[ */
83 org_html_manager.set("LOCAL_TOC", 0);
84 org_html_manager.set("VIEW_BUTTONS", 1);
85 org_html_manager.set("VIEW", "info");
86 org_html_manager.set("TOC", 1);
87 org_html_manager.set("MOUSE_HINT", "underline"); // could be a background-color like #eeeeee
88 org_html_manager.setup ();
89 /* ]]> */
90 </script>
91
92 <script type="text/javascript">
93 <!--/*--><![CDATA[/*><!--*/
94  function CodeHighlightOn(elem, id)
95  {
96    var target = document.getElementById(id);
97    if(null != target) {
98      elem.cacheClassElem = elem.className;
99      elem.cacheClassTarget = target.className;
100      target.className = "code-highlighted";
101      elem.className   = "code-highlighted";
102    }
103  }
104  function CodeHighlightOff(elem, id)
105  {
106    var target = document.getElementById(id);
107    if(elem.cacheClassElem)
108      elem.className = elem.cacheClassElem;
109    if(elem.cacheClassTarget)
110      target.className = elem.cacheClassTarget;
111  }
112 /*]]>*///-->
113 </script>
114 </head>
115 <body>
116 <div id="content">
117 <div id="org-div-home-and-up" style="text-align:right;font-size:70%;white-space:nowrap;">
118  <a accesskey="h" href="http://www.debian.org/"> UP </a>
119  |
120  <a accesskey="H" href="http://wiki.debian.org/Teams/Policy"> HOME </a>
121 </div>
122
123 <h1 class="title">Policy checklist for upgrading your packages</h1>
124
125
126 <div id="outline-container-1" class="outline-3">
127 <h3 id="sec-1">About the checklist </h3>
128 <div class="outline-text-3" id="text-1">
129
130
131 <p>
132 The checklist below has been created to simplify the upgrading process
133 of old packages.  Note that this list is not "official"; it simply
134 gives an indication of what has changed and whether you are likely to
135 need to make changes to your package in light of this.  If you have
136 doubts about a certain topic, if you need more details, or if you
137 think some other package does not comply with policy, please refer to
138 the Policy Manual itself.  All of the changes from version 3.0.0
139 onwards indicate which section of the Policy Manual discusses the
140 issue: [3.4] means section 3.4.  The section numbering changed when
141 the packaging manual was incorporated into policy; the section numbers
142 used below refer to the current version.
143 </p>
144 <p>
145 Here is how the check list works: Check which policy version your
146 package was checked against last (indicated in the "Standards-Version"
147 field of the source package).  Then move upwards until the top and
148 check which of the items on the list might concern your package.  Note
149 which sections of policy discuss this, and then check out the Policy
150 Manual for details.  If you are upgrading from Policy version &lt; 2.5.0,
151 it may be easier to check through the whole of policy instead of
152 picking your way through this list.
153 </p>
154 </div>
155
156 </div>
157
158 <div id="outline-container-2" class="outline-3">
159 <h3 id="sec-2">The checklist </h3>
160 <div class="outline-text-3" id="text-2">
161
162
163
164 </div>
165
166 <div id="outline-container-2.1" class="outline-4">
167 <h4 id="sec-2.1"><a name="v3.8.4.0" id="v3.8.4.0"></a>3.8.4.0 </h4>
168 <div class="outline-text-4" id="text-2.1">
169
170
171 <p>
172 Released Jan 2010.
173 </p>
174 <ul>
175 <li>
176 <b>9.1.1</b> : An FHS exception has been granted for multiarch libraries.
177 Permitting files to instead be installed to <code>/lib/triplet</code> and
178 <code>/usr/lib/triplet</code> directories.
179 </li>
180 <li>
181 <b>10.6</b> : Explicitly state that packages may not contain named pipes and
182 should instead create them in postinst and remove them in prerm or postrm.
183 </li>
184 <li>
185 <b>9.1.1</b> : <code>/sys</code> and <code>/selinux</code> directories are explicitly allowed as an
186 exception to the FHS.
187
188 </li>
189 </ul>
190 </div>
191
192 </div>
193
194 <div id="outline-container-2.2" class="outline-4">
195 <h4 id="sec-2.2"><a name="v3.8.3.0" id="v3.8.3.0"></a>3.8.3.0 </h4>
196 <div class="outline-text-4" id="text-2.2">
197
198
199 <p>
200 Released Aug 2009.
201 </p>
202 <ul>
203 <li>
204 <b>4.9</b> : Add DEB_*_ARCH_CPU and DEB_*_ARCH_OS variables and
205 recommend them over GNU-style variables for that information.
206 </li>
207 <li>
208 <b>5.6.8</b>: Source package Architecture fields may contain <i>all</i> in
209 combination with other architectures.  Clarify when <i>all</i> and <i>any</i>
210 may be used in different versions of the field.
211 </li>
212 <li>
213 <b>5.6.14</b> : The Debian archive software does not support uploading
214 to multiple distributions with one <code>*.changes</code> file.
215 </li>
216 <li>
217 <b>5.6.19</b> : The Binary field may span multiple lines. 
218 </li>
219 <li>
220 <b>10.2</b> : Remove the permission for shared library packages to
221 install libraries in a non-standard location and modify ld.so.conf.
222 Packages should either be installed in a standard library directory
223 or packages using them should be built with RPATH.
224 </li>
225 <li>
226 <b>11.8.7</b> : Clarify installation directories for X programs and
227 remove the requirement to pre-depend on x11-common before installing
228 into <code>/usr/include/X11</code> and <code>/usr/lib/X11</code>.
229 </li>
230 <li>
231 <b>12.1</b> : Remove the requirement that all characters in a manual
232 page be representable in the legacy encoding for that language.
233 </li>
234 <li>
235 <b>12.1</b> : Localized man pages should either be kept up-to-date with
236 the original version or warn that they're not up-to-date, either
237 with warning text or by showing missing or changed portions in the
238 original language.
239 </li>
240 <li>
241 <b>12.2</b> : install-info is now handled via triggers so packages no
242 longer need to invoke it in maintainer scripts.  Info documents
243 should now have directory sections and entries in the document.
244 Packages containing info documents should add a dependency to
245 support partial upgrades.
246 </li>
247 <li>
248 <b>perl</b> : The requirement for Perl modules to have a versioned
249 Depend and Build-Depend on perl &gt;= 5.6.0-16 has been removed.
250
251 </li>
252 </ul>
253 </div>
254
255 </div>
256
257 <div id="outline-container-2.3" class="outline-4">
258 <h4 id="sec-2.3"><a name="v3.8.2.0" id="v3.8.2.0"></a>3.8.2.0 </h4>
259 <div class="outline-text-4" id="text-2.3">
260
261
262 <p>
263 Released Jun 2009.
264 </p>
265 <ul>
266 <li>
267 <b>2.4</b>: The list of archive sections has been significantly expanded.  See
268 <a href="http://lists.debian.org/debian-devel-announce/2009/03/msg00010.html">http://lists.debian.org/debian-devel-announce/2009/03/msg00010.html</a>
269 for the list of new sections and rules for how to categorize
270 packages.                                                 
271 </li>
272 <li>
273 <b>3.9.1</b>: All packages must use debconf or equivalent for user prompting,
274 though essential packages or their dependencies may also fall
275 back on other methods.                                    
276 </li>
277 <li>
278 <b>5.6.1</b>: The requirements for source package names are now explicitly
279 spelled out. 
280 </li>
281 <li>
282 <b>9.1</b>: Legacy XFree86 servers no longer get a special exception from the
283 FHS permitting <code>/etc/X11/XF86Config-4</code>. 
284 </li>
285 <li>
286 <b>9.1.3</b>: Removed obsolete dependency requirements for packages that use
287 <code>/var/mail</code>. 
288 </li>
289 <li>
290 <b>11.8.5</b>: Speedo fonts are now deprecated.  The X backend was disabled
291 starting in lenny.                                        
292 </li>
293 <li>
294 <b>12.5</b>: The GNU Free Documentation License version 1.3 is included in
295 common-licenses and should be referenced from there.      
296
297 </li>
298 </ul>
299 </div>
300
301 </div>
302
303 <div id="outline-container-2.4" class="outline-4">
304 <h4 id="sec-2.4"><a name="v3.8.1.0" id="v3.8.1.0"></a>3.8.1.0 </h4>
305 <div class="outline-text-4" id="text-2.4">
306
307
308 <p>
309 Released  Mar 2009.
310 </p>
311 <ul>
312 <li>
313 <b>3.8</b>: Care should be taken when adding functionality to essential and
314 such additions create an obligation to support that functionality
315 in essential forever unless significant work is done.     
316 </li>
317 <li>
318 <b>4.4</b>: Changelog files must be encoded in UTF-8.                 
319 </li>
320 <li>
321 <b>4.4</b>: Tighten some format requirements for changelog files from a should
322 to a must.                                                
323 </li>
324 <li>
325 <b>4.4.1</b>: Remove alternative changelog formats.  Debian only supports one
326 changelog format for the Debian Archive.                  
327 </li>
328 <li>
329 <b>4.9.1</b>: New nocheck option for DEB_BUILD_OPTIONS indicating any build-time
330 test suite provided by the package should not be run.     
331 </li>
332 <li>
333 <b>5.1</b>: All control files must be encoded in UTF-8.               
334 </li>
335 <li>
336 <b>5.2</b>: <code>debian/control</code> allows comment lines starting with # with no
337 preceding whitespace.                                     
338 </li>
339 <li>
340 <b>9.3</b>: Init scripts ending in .sh are not handled specially.  They are not
341 sourced and are not guaranteed to be run by <code>/bin/sh</code> regardless of
342 the #! line.  This brings Policy in line with the long-standing
343 behavior of the init system in Debian.                    
344 </li>
345 <li>
346 <b>9.3.2</b>: The start action of an init script must exit successfully and not
347 start the daemon again if it's already running.           
348 </li>
349 <li>
350 <b>9.3.2</b>: <code>/var/run</code> and <code>/var/lock</code> may be mounted as temporary filesystems,
351 and init scripts must therefore create any necessary subdirectories
352 dynamically.                                              
353 </li>
354 <li>
355 <b>10.4</b>: <code>/bin/sh</code> scripts may assume that local can take multiple variable
356 arguments and supports assignment.                        
357 </li>
358 <li>
359 <b>11.6</b>: User mailboxes may be mode 600 and owned by the user rather than
360 mode 660, owned by user, and group mail.                  
361
362 </li>
363 </ul>
364 </div>
365
366 </div>
367
368 <div id="outline-container-2.5" class="outline-4">
369 <h4 id="sec-2.5"><a name="v3.8.0.0" id="v3.8.0.0"></a>3.8.0.0 </h4>
370 <div class="outline-text-4" id="text-2.5">
371
372
373 <p>
374 Released  Jun 2008.
375 </p>
376 <ul>
377 <li>
378 <b>2.4, 3.7</b>: The base section has been removed.  contrib and non-free have been
379 removed from the section list; they are only categories.  The base
380 system is now defined by priority.                        
381 </li>
382 <li>
383 <b>4.9</b>: If dpkg-source -x doesn't provide the source that will be compiled,
384 a debian/rules patch target is recommended and should do whatever
385 else is necessary.                                        
386 </li>
387 <li>
388 <b>4.9.1, 10.1</b>: Standardized the format of DEB_BUILD_OPTIONS.  Specified permitted
389 characters for tags, required that tags be whitespace-separated,
390 allowed packages to assume non-conflicting tags, and required
391 unknown flags be ignored.                                 
392 </li>
393 <li>
394 <b>4.9.1</b>: Added parallel=n to the standardized DEB_BUILD_OPTIONS tags,
395 indicating that a package should be built using up to n parallel
396 processes if the package supports it                      
397 </li>
398 <li>
399 <b>4.13</b>: Debian packages should not use convenience copies of code from other
400 packages unless the included package is explicitly intended to be
401 used that way.                                            
402 </li>
403 <li>
404 <b>4.14</b>: If dpkg-source -x doesn't produce source ready for editing and
405 building with dpkg-buildpackage, packages should include a
406 <code>debian/README.source</code> file explaining how to generate the patched
407 source, add a new modification, and remove an existing
408 modification.  This file may also be used to document packaging a
409 new upstream release and any other complexity of the Debian build
410 process.                                                  
411 </li>
412 <li>
413 <b>5.6.3</b>: The Uploaders field in <code>debian/control</code> may be wrapped.     
414 </li>
415 <li>
416 <b>5.6.12</b>: An empty Debian revision is equivalent to a Debian revision of 0 in
417 a version number.                                         
418 </li>
419 <li>
420 <b>5.6.23</b>: New Homepage field for upstream web sites.                
421 </li>
422 <li>
423 <b>6.5, 6.6, 7</b>: The Breaks field declares that this package breaks another and
424 prevents installation of the breaking package unless the package
425 named in Breaks is deconfigured first.  This field should not be
426 used until the dpkg in Debian stable supports it.         
427 </li>
428 <li>
429 <b>8.1, 8.2</b>: Clarify which files should go into a shared library package, into a
430 separate package, or into the -dev package.  Suggest -tools instead
431 of -runtime for runtime support programs, since that naming is more
432 common in Debian.                                         
433 </li>
434 <li>
435 <b>9.5</b>: Files in <code>/etc/cron.{hourly,daily,weekly,monthly}</code> must be
436 configuration files (upgraded from should).  Mention the hourly
437 directory.                                                
438 </li>
439 <li>
440 <b>11.8.6</b>: Packages providing <code>/etc/X11/Xresources</code> files need not conflict
441 with xbase (&lt;&lt; 3.3.2.3a-2), which is long-obsolete.            
442 </li>
443 <li>
444 <b>12.1</b>: Manual pages in locale-specific directories should use either the
445 legacy encoding for that directory or UTF-8.  Country names should
446 not be included in locale-specific manual page directories unless
447 indicating a significant difference in the language.  All
448 characters in the manual page source should be representable in the
449 legacy encoding for a locale even if the man page is encoded in
450 UTF-8.                                                    
451 </li>
452 <li>
453 <b>12.5</b>: The Apache 2.0 license is now in common-licenses and should be
454 referenced rather than quoted in <code>debian/copyright</code>.        
455 </li>
456 <li>
457 <b>12.5</b>: Packages in contrib and non-free should state in the copyright file
458 that the package is not part of Debian GNU/Linux and briefly
459 explain why.                                              
460 </li>
461 <li>
462 <b>debconf</b>: Underscore (_) is allowed in debconf template names.      
463
464 </li>
465 </ul>
466 </div>
467
468 </div>
469
470 <div id="outline-container-2.6" class="outline-4">
471 <h4 id="sec-2.6"><a name="v3.7.3.0" id="v3.7.3.0"></a>3.7.3.0 </h4>
472 <div class="outline-text-4" id="text-2.6">
473
474
475 <p>
476 Released  Dec 2007.
477 </p>
478 <ul>
479 <li>
480 <b>5.6.12</b>: Package version numbers may contain tildes, which sort before
481 anything, even the end of a part.                         
482 </li>
483 <li>
484 <b>10.4</b>: Scripts may assume that <code>/bin/sh</code> supports local (at a basic level)
485 and that its test builtin (if any) supports -a and -o binary
486 logical operators.                                        
487 </li>
488 <li>
489 <b>8.5</b>: The substitution variable ${binary:Version} should be used in place
490 of ${Source-Version} for dependencies between packages of the same
491 library.                                                  
492 </li>
493 <li>
494 <b>menu policy</b>: Substantial reorganization and renaming of sections in the Debian
495 menu structure.  Packages with menu entries should be reviewed to
496 see if the menu section has been renamed or if one of the new
497 sections would be more appropriate.                       
498 </li>
499 <li>
500 <b>5.6.1</b>: The Source field in a .changes file may contain a version number
501 in parentheses.                                           
502 </li>
503 <li>
504 <b>5.6.17</b>: The acceptable values for the Urgency field are low, medium, high,
505 critical, or emergency.                                   
506 </li>
507 <li>
508 <b>8.6</b>: The shlibs file now allows an optional type field, indicating the
509 type of package for which the line is valid.  The only currently
510 supported type is udeb, used with packages for the Debian
511 Installer.                                                
512 </li>
513 <li>
514 <b>3.9.1</b>: Packages following the Debian Configuration management
515 specification must allow for translation of their messages by using
516 a gettext-based system such as po-debconf.                
517 </li>
518 <li>
519 <b>12.5</b>: GFDL 1.2, GPL 3, and LGPL 3 are now in common-licenses and should
520 be referenced rather than quoted in <code>debian/copyright</code>.
521
522 </li>
523 </ul>
524 </div>
525
526 </div>
527
528 <div id="outline-container-2.7" class="outline-4">
529 <h4 id="sec-2.7"><a name="v3.7.2.2" id="v3.7.2.2"></a>3.7.2.2 </h4>
530 <div class="outline-text-4" id="text-2.7">
531
532
533 <p>
534 Released  Oct 2006.
535 </p>
536 <ul>
537 <li>
538 <b>6.1</b>: Maintainer scripts must not be world writeable (up from a
539 should to a must)                                         
540
541 </li>
542 </ul>
543 </div>
544
545 </div>
546
547 <div id="outline-container-2.8" class="outline-4">
548 <h4 id="sec-2.8"><a name="v3.7.2.0" id="v3.7.2.0"></a>3.7.2.0 </h4>
549 <div class="outline-text-4" id="text-2.8">
550
551
552 <p>
553 Released  Apr 2006.
554 </p>
555 <ul>
556 <li>
557 <b>11.5</b>: Revert the cgi-lib change. 
558
559 </li>
560 </ul>
561 </div>
562
563 </div>
564
565 <div id="outline-container-2.9" class="outline-4">
566 <h4 id="sec-2.9"><a name="v3.7.1.0" id="v3.7.1.0"></a>3.7.1.0 </h4>
567 <div class="outline-text-4" id="text-2.9">
568
569
570 <p>
571 Released  Apr 2006.
572 </p>
573 <ul>
574 <li>
575 <b>10.2</b>: It is now possible to create shared libraries without
576 relocatable code (using -fPIC) in certain exceptional cases,
577 provided some procedures are followed, and for creating static
578 libraries with relocatable code (again, using -fPIC).
579 Discussion on debian-devel@lists.debian.org, getting a rough
580 consensus, and documenting it in README.Debian constitute most
581 of the process.                                           
582 </li>
583 <li>
584 <b>11.8.7</b>: Packages should install any relevant files into the directories
585 <code>/usr/include/X11/</code> and <code>/usr/lib/X11/</code>, but if they do so, they
586 must  pre-depend on x11-common (&gt;= 1:7.0.0)              
587
588 </li>
589 </ul>
590 </div>
591
592 </div>
593
594 <div id="outline-container-2.10" class="outline-4">
595 <h4 id="sec-2.10"><a name="v3.7.0.0" id="v3.7.0.0"></a>3.7.0.0 </h4>
596 <div class="outline-text-4" id="text-2.10">
597
598
599 <p>
600 Released  Apr 2006.
601 </p>
602 <ul>
603 <li>
604 <b>11.5</b>: Packages shipping web server CGI files are expected to install
605 them in <code>/usr/lib/cgi-lib/</code> directories.  This location change
606 perhaps should be documented in NEWS                      
607 </li>
608 <li>
609 <b>11.5</b>: Web server packages should include a standard scriptAlias of
610 cgi-lib to <code>/usr/lib/cgi-lib</code>.                              
611 </li>
612 <li>
613 <b>9.1.1</b>: The version of FHS mandated by policy has been upped to
614 2.3. There should be no changes required for most packages,
615 though new top level directories <code>/media</code>, <code>/srv</code>, etc may be of
616 interest.                                                 
617 </li>
618 <li>
619 <b>5.1, 5.6.3</b>: All fields, apart from the Uploaders field, in the control file
620 are supposed to be a single logical line, which may be spread
621 over multiple physical  lines (newline followed by space is
622 elided).  However, any parser for the control file must allow
623 the Uploaders field to be spread over multiple physical lines
624 as well, to prepare for future changes.                 
625 </li>
626 <li>
627 <b>10.4</b>: When scripts are installed into a directory in the system
628 PATH, the script name should not include an extension that
629 denotes the scripting language currently used to implement it.
630
631 </li>
632 <li>
633 <b>9.3.3.2</b>: packages that invoke initscripts now must use invoke-rc.d to do
634 so since it also pays attention to run levels and other local
635 constraints.                                                
636 </li>
637 <li>
638 <b>11.8.5.2, 11.8.7, etc</b>: We no longer use <code>/usr/X11R6</code>, since we have
639 migrated away to using Xorg paths. This means, for one thing, fonts
640 live in <code>/usr/share/fonts/X11/</code> now, and <code>/usr/X11R6</code> is gone.
641
642
643 </li>
644 </ul>
645 </div>
646
647 </div>
648
649 <div id="outline-container-2.11" class="outline-4">
650 <h4 id="sec-2.11"><a name="v3.6.2.0" id="v3.6.2.0"></a>3.6.2.0 </h4>
651 <div class="outline-text-4" id="text-2.11">
652
653
654 <p>
655 Released  2005
656 </p>
657 <ul>
658 <li>
659 Recommend. doc-base, and not menu, for registering package documentation.
660 </li>
661 <li>
662 <b>8.1</b>: Run time support programs should live in subdirectories of
663 <code>/usr/lib/</code> or <code>/usr/share</code>, and preferably the shared lib is named
664 the same as the package name (to avoid name collisions). 
665 </li>
666 <li>
667 <b>11.5</b>: It is recommended that HTTP servers provide an alias <code>/images</code> to
668 allow packages to share image files with the web server 
669
670 </li>
671 </ul>
672 </div>
673
674 </div>
675
676 <div id="outline-container-2.12" class="outline-4">
677 <h4 id="sec-2.12"><a name="v3.6.1.0" id="v3.6.1.0"></a>3.6.1.0 </h4>
678 <div class="outline-text-4" id="text-2.12">
679
680
681 <p>
682 Released  Aug 2003.
683 </p>
684 <ul>
685 <li>
686 <b>3.10.1</b>: Prompting the user should be done using debconf. Non debconf
687 user prompts are now deprecated. 
688
689 </li>
690 </ul>
691 </div>
692
693 </div>
694
695 <div id="outline-container-2.13" class="outline-4">
696 <h4 id="sec-2.13"><a name="v3.6.0.0" id="v3.6.0.0"></a>3.6.0 </h4>
697 <div class="outline-text-4" id="text-2.13">
698
699
700 <p>
701 Released  Jul 2003.
702 </p>
703 <ul>
704 <li>
705 Restructuring causing shifts in section numbers and bumping of
706 the minor version number:
707 </li>
708 <li>
709 Many packaging manual appendices that were integrated into policy
710 sections are now empty, and replaced with links to the Policy.
711 In particular, the appendices that included the list of control
712 fields were updated (new fields like Closes, Changed-By were added)
713 and the list of fields for each of control, .changes and .dsc files
714 is now in Policy, and they're marked mandatory, recommended or
715 optional based on the current practice and the behavior of the
716 deb-building tool-chain.
717 </li>
718 <li>
719 Elimination of needlessly deep section levels, primarily in the
720 chapter Debian Archive, from which two new chapters were split out,
721 Binary packages and Source packages. What remained was reordered
722 properly, that is, some sect1s became sects etc.
723 </li>
724 <li>
725 Several sections that were redundant, crufty or simply not designed
726 with any sort of vision, were rearranged according to the formula that
727 everything should be either in the same place or properly interlinked.
728 Some things remained split up between different chapters when they
729 talked about different aspects of files: their content, their syntax,
730 and their placement in the file system. In particular, see the new
731 sections about changelog files.
732 </li>
733 <li>
734 <b>menu policy</b>: Added Games/Simulation and Apps/Education to menu
735 sub-policy
736 </li>
737 <li>
738 <b>C.2.2</b>: Debian changelogs should be UTF-8 encoded. 
739 </li>
740 <li>
741 <b>10.2</b>: shared libraries must be linked against all libraries that they
742 use symbols from in the same way that binaries are. 
743 </li>
744 <li>
745 <b>7.6</b>: build-depends-indep need not be satisfied during clean
746 target. 
747
748 </li>
749 </ul>
750 </div>
751
752 </div>
753
754 <div id="outline-container-2.14" class="outline-4">
755 <h4 id="sec-2.14"><a name="v3.5.10.0" id="v3.5.10.0"></a>3.5.10 </h4>
756 <div class="outline-text-4" id="text-2.14">
757
758
759 <p>
760 Released  May 2003.
761 </p>
762 <ul>
763 <li>
764 <b>11.8.3</b>: packages providing the x-terminal-emulator virtual package
765 ought to ensure that they interpret the command line exactly
766 like xterm does. 
767 </li>
768 <li>
769 <b>11.8.4</b>: Window managers compliant with the Window Manager Specification
770 Project may add 40 points for ranking in the alternatives 
771
772 </li>
773 </ul>
774 </div>
775
776 </div>
777
778 <div id="outline-container-2.15" class="outline-4">
779 <h4 id="sec-2.15"><a name="v3.5.9.0" id="v3.5.9.0"></a>3.5.9.0 </h4>
780 <div class="outline-text-4" id="text-2.15">
781
782
783 <p>
784 Released  Mar 2003.
785 </p>
786 <ul>
787 <li>
788 <b>3.4.2</b>: The section describing the Description: package field once again has
789 full details of the long description format. 
790 </li>
791 <li>
792 <b>4.2</b>: Clarified that if a package has non-build-essential
793 build-dependencies, it should have them listed in the Build-Depends
794 and related fields (i.e. it's not merely optional). 
795 </li>
796 <li>
797 <b>9.3.2</b>: When asked to restart a service that isn't already running,
798 the init script should start the service. 
799 </li>
800 <li>
801 <b>12.6</b>: If the purpose of a package is to provide examples, then the
802 example files can be installed into <code>/usr/share/doc/package</code> (rather
803 than <code>/usr/share/doc/package/examples</code>).
804
805 </li>
806 </ul>
807 </div>
808
809 </div>
810
811 <div id="outline-container-2.16" class="outline-4">
812 <h4 id="sec-2.16"><a name="v3.5.8.0" id="v3.5.8.0"></a>3.5.8.0 </h4>
813 <div class="outline-text-4" id="text-2.16">
814
815
816 <p>
817 Released  Nov 2002.
818 </p>
819 <ul>
820 <li>
821 <b>12.7</b>: It is no longer necessary to keep a log of changes to the upstream
822 sources in the copyright file. Instead, all such changes should be
823 documented in the changelog file. 
824 </li>
825 <li>
826 <b>7.6</b>: <code>Build-Depends</code>, <code>Build-Conflicts</code>, <code>Build-Depends-Indep</code>,
827 and <code>Build-Conflicts-Indep</code> must also be satisfied when the clean
828 target is called.
829 </li>
830 <li>
831 <b>menu policy</b>: A new Apps/Science menu section is available 
832 </li>
833 <li>
834 <b>debconf policy</b>: debconf specification cleared up, various changes. 
835 </li>
836 <li>
837 <b>12.1</b>: It is no longer recommended to create symlinks from nonexistent
838 manual pages to undocumented(7). Missing manual pages for programs
839 are still a bug. 
840
841 </li>
842 </ul>
843 </div>
844
845 </div>
846
847 <div id="outline-container-2.17" class="outline-4">
848 <h4 id="sec-2.17"><a name="v3.5.7.0" id="v3.5.7.0"></a>3.5.7.0 </h4>
849 <div class="outline-text-4" id="text-2.17">
850
851
852 <p>
853 Released  Aug 2002.
854 </p>
855 <ul>
856 <li>
857 Packages no longer have to ask permission to call MAKEDEV in
858 postinst, merely notifying the user ought to be enough. 
859 </li>
860 <li>
861 <b>2.2.4</b>: cryptographic software may now be included in the main
862 archive. 
863 </li>
864 <li>
865 <b>3.9</b>: task packages are no longer permitted; tasks are now created by a
866 special Tasks: field in the control file. 
867 </li>
868 <li>
869 <b>11.8.4</b>: window managers that support netwm can now add 20 points when
870 they add themselves as an alternative for
871 <code>/usr/bin/x-window-manager</code>
872 </li>
873 <li>
874 <b>10.1</b>: The default compilation options have now changed, one should
875 provide debugging symbols in all cases, and optionally step
876 back optimization to -O0, depending on the DEB_BUILD_OPTIONS
877 environment variable. 
878 </li>
879 <li>
880 <b>7.6, 4.8</b>: Added mention of build-arch, build-indep, etc, in describing
881 the relationships with `Build-Depends', `Build-Conflicts',
882 `Build-Depends-Indep', and `Build-Conflicts-Indep'. May need to
883 review the new rules.  
884 </li>
885 <li>
886 <b>8</b>: Changed rules on how, and when, to invoke ldconfig in maintainer
887 scripts. Long rationale. 
888
889 <p>
890 <b>Added the last note in 3.5.6 upgrading checklist item regarding build rules, please see below</b>
891 </p>
892 </li>
893 </ul>
894 </div>
895
896 </div>
897
898 <div id="outline-container-2.18" class="outline-4">
899 <h4 id="sec-2.18"><a name="v3.5.6.0" id="v3.5.6.0"></a>3.5.6.0 </h4>
900 <div class="outline-text-4" id="text-2.18">
901
902
903 <p>
904 Released  Jul 2001.
905 </p>
906 <ul>
907 <li>
908 <b>2.5</b>: Emacs and TeX are no longer mandated by policy to be priority
909 standard packages 
910 </li>
911 <li>
912 <b>11.5</b>: Programs that access docs need to do so via <code>/usr/share/doc</code>, and
913 not via <code>/usr/doc/</code> as was the policy previously 
914 </li>
915 <li>
916 <b>12.3</b>: Putting documentation in <code>/usr/doc</code> versus <code>/usr/share/doc</code> is now
917 a ``serious'' policy violation. 
918 </li>
919 <li>
920 <b>11.5</b>: For web servers, one should not provide non-local access to the
921 <code>/usr/share/doc</code> hierarchy. If one can't provide access controls for
922 the <a href="http://localhost/doc/">http://localhost/doc/</a> directory, then it is preferred that one
923 ask permission to expose that information during the install. 
924 </li>
925 <li>
926 <b>7</b>: There are new rules for build-indep/build-arch targets and
927 there is a new Build-Depend-Indep semantic. 
928
929 </li>
930 </ul>
931 </div>
932
933 </div>
934
935 <div id="outline-container-2.19" class="outline-4">
936 <h4 id="sec-2.19"><a name="v3.5.5.0" id="v3.5.5.0"></a>3.5.5.0 </h4>
937 <div class="outline-text-4" id="text-2.19">
938
939
940 <p>
941 Released  May 2001.
942 </p>
943 <ul>
944 <li>
945 <b>12.1</b>: Manpages should not rely on header information to have
946 alternative manpage names available; it should only use
947 symlinks or .so pages to do this 
948 </li>
949 <li>
950 *Clarified note in 3.5.3.0 upgrading checklist regarding
951 examples and templates: this refers only to those examples used
952 by scripts; see section 10.7.3 for the whole story*
953 </li>
954 <li>
955 Included a new section 10.9.1 describing the use of
956 dpkg-statoverride; this does not have the weight of policy
957 </li>
958 <li>
959 Clarify Standards-Version: you don't need to rebuild your
960 packages just to change the Standards-Version!
961 </li>
962 <li>
963 <b>10.2</b>: Plugins are no longer bound by all the rules of shared
964 libraries 
965 </li>
966 <li>
967 X Windows related things:
968 <ul>
969 <li>
970 <b>11.8.1</b>: Clarification of priority levels of X Window System related
971 packages 
972 </li>
973 <li>
974 <b>11.8.3</b>: Rules for defining x-terminal-emulator improved
975 </li>
976 <li>
977 <b>11.8.5</b>: X Font policy rewritten: you must read this if you provide
978 fonts for the X Window System 
979 </li>
980 <li>
981 <b>11.8.6</b>: Packages must not ship <code>/usr/X11R6/lib/X11/app-defaults/</code>
982 </li>
983 <li>
984 <b>11.8.7</b>: X-related packages should usually use the regular FHS
985 locations; imake-using packages are exempted from this 
986 </li>
987 <li>
988 <b>11.8.8</b>: OpenMotif linked binaries have the same rules as
989 OSF/Motif-linked ones 
990
991 </li>
992 </ul>
993 </li>
994 </ul>
995 </div>
996
997 </div>
998
999 <div id="outline-container-2.20" class="outline-4">
1000 <h4 id="sec-2.20"><a name="v3.5.4.0" id="v3.5.4.0"></a>3.5.4.0 </h4>
1001 <div class="outline-text-4" id="text-2.20">
1002
1003
1004 <p>
1005 Released  Apr 2001.
1006 </p>
1007 <ul>
1008 <li>
1009 <b>11.6</b>: The system-wide mail directory is now <code>/var/mail</code>, no longer
1010 <code>/var/spool/mail</code>.  Any packages accessing the mail spool should
1011 access it via <code>/var/mail</code> and include a suitable Depends field;
1012 details in 
1013 </li>
1014 <li>
1015 <b>11.9; perl-policy</b>: The perl policy is now part of Debian policy
1016 proper. Perl programs and modules should follow the current Perl
1017 policy
1018
1019
1020 </li>
1021 </ul>
1022 </div>
1023
1024 </div>
1025
1026 <div id="outline-container-2.21" class="outline-4">
1027 <h4 id="sec-2.21"><a name="v3.5.3.0" id="v3.5.3.0"></a>3.5.3.0 </h4>
1028 <div class="outline-text-4" id="text-2.21">
1029
1030
1031 <p>
1032 Apr 2001
1033 </p>
1034 <ul>
1035 <li>
1036 <b>7.1</b>: Build-Depends arch syntax has been changed to be less
1037 ambiguous. This should not affect any current packages 
1038 </li>
1039 <li>
1040 <b>10.7.3</b>: Examples and templates files for use by scripts should now live
1041 in <code>/usr/share/&lt;package&gt;</code> or <code>/usr/lib/&lt;package&gt;</code>, with
1042 symbolic links from <code>/usr/share/doc/&lt;package&gt;/examples</code> as
1043 needed
1044
1045 </li>
1046 </ul>
1047 </div>
1048
1049 </div>
1050
1051 <div id="outline-container-2.22" class="outline-4">
1052 <h4 id="sec-2.22"><a name="v3.5.2.0" id="v3.5.2.0"></a>3.5.2.0 </h4>
1053 <div class="outline-text-4" id="text-2.22">
1054
1055
1056 <p>
1057 Released Feb 2001.
1058 </p>
1059 <ul>
1060 <li>
1061 <b>11.8.6</b>: X app-defaults directory has moved from
1062 <code>/usr/X11R6/lib/X11/app-defaults</code> to <code>/etc/X11/app-defaults</code>
1063
1064 </li>
1065 </ul>
1066 </div>
1067
1068 </div>
1069
1070 <div id="outline-container-2.23" class="outline-4">
1071 <h4 id="sec-2.23"><a name="v3.5.1.0" id="v3.5.1.0"></a>3.5.1.0 </h4>
1072 <div class="outline-text-4" id="text-2.23">
1073
1074
1075 <p>
1076 Released Feb 2001.
1077 </p>
1078 <ul>
1079 <li>
1080 <b>8.1</b>: dpkg-shlibdeps now uses objdump, so shared libraries have to be
1081 run through dpkg-shlibdeps as well as executables 
1082
1083 </li>
1084 </ul>
1085 </div>
1086
1087 </div>
1088
1089 <div id="outline-container-2.24" class="outline-4">
1090 <h4 id="sec-2.24"><a name="v3.5.0.0" id="v3.5.0.0"></a>3.5.0.0 </h4>
1091 <div class="outline-text-4" id="text-2.24">
1092
1093
1094 <p>
1095 Released Jan 2001.
1096 </p>
1097 <ul>
1098 <li>
1099 <b>11.8.5</b>: Font packages for the X Window System must now declare a
1100 dependency on xutils (&gt;= 4.0.2) 
1101
1102 </li>
1103 </ul>
1104 </div>
1105
1106 </div>
1107
1108 <div id="outline-container-2.25" class="outline-4">
1109 <h4 id="sec-2.25"><a name="v3.2.1.1" id="v3.2.1.1"></a>3.2.1.1 </h4>
1110 <div class="outline-text-4" id="text-2.25">
1111
1112
1113 <p>
1114 Released Jan 2001.
1115 </p>
1116 <ul>
1117 <li>
1118 <b>9.3.2</b>: Daemon startup scripts in <code>/etc/init.d/</code> should not contain
1119 modifiable parameters; these should be moved to a file in
1120 <code>/etc/default/</code>
1121 </li>
1122 <li>
1123 <b>12.3</b>: Files in <code>/usr/share/doc</code> must not be referenced by any
1124 program.  If such files are needed, they must be placed in
1125 <code>/usr/share/&lt;package&gt;/</code>, and symbolic links created as required
1126 in <code>/usr/share/doc/&lt;package&gt;/</code>
1127 </li>
1128 <li>
1129 Much of the packaging manual has now been imported into the
1130 policy document
1131
1132 </li>
1133 </ul>
1134 </div>
1135
1136 </div>
1137
1138 <div id="outline-container-2.26" class="outline-4">
1139 <h4 id="sec-2.26"><a name="v3.2.1.0" id="v3.2.1.0"></a>3.2.1.0 </h4>
1140 <div class="outline-text-4" id="text-2.26">
1141
1142
1143 <p>
1144 Released Aug 00.
1145 </p>
1146 <ul>
1147 <li>
1148 <b>11.8.1</b>: A package of priority standard or higher may provide two
1149 binaries, one compiled with support for the X Window System,
1150 and the other without 
1151
1152 </li>
1153 </ul>
1154 </div>
1155
1156 </div>
1157
1158 <div id="outline-container-2.27" class="outline-4">
1159 <h4 id="sec-2.27"><a name="v3.2.0.0" id="v3.2.0.0"></a>3.2.0.0 </h4>
1160 <div class="outline-text-4" id="text-2.27">
1161
1162
1163 <p>
1164 Released Aug 00.
1165 </p>
1166 <ul>
1167 <li>
1168 <b>10.1</b>: By default executables should not be built with the debugging
1169 option -g. Instead, it is recommended to support building the
1170 package with debugging information optionally.  Details in 
1171 </li>
1172 <li>
1173 <b>12.8</b>: Policy for packages where the upstream uses HTML changelog
1174 files has been expanded.  In short, a plain text changelog file
1175 should always be generated for the upstream changes 
1176 </li>
1177 <li>
1178 Please note that the new release of the X window system (3.2)
1179 shall probably need sweeping changes in policy
1180 </li>
1181 <li>
1182 Policy for packages providing the following X-based features
1183 has been codified:
1184 <ul>
1185 <li>
1186 <b>11.8.2</b>: X server (virtual package xserver) 
1187 </li>
1188 <li>
1189 <b>11.8.3</b>: X terminal emulator (virtual package x-terminal-emulator) 
1190 </li>
1191 <li>
1192 <b>11.8.4</b>: X window manager (virtual package x-window-manager, and
1193 <code>/usr/bin/x-window-manager</code> alternative, with priority
1194 calculation guidelines) 
1195 </li>
1196 <li>
1197 <b>12.8.5</b>: X fonts (this section has been written from scratch) 
1198 </li>
1199 <li>
1200 <b>11.8.6</b>: X application defaults 
1201 </li>
1202 </ul>
1203 </li>
1204 <li>
1205 <b>11.8.7</b>: Policy for packages using the X Window System and FHS issues
1206 has been clarified
1207 </li>
1208 <li>
1209 <b>11.7.3</b>: No package may contain or make hard links to conffiles 
1210 </li>
1211 <li>
1212 <b>8</b>: Noted that newer dpkg versions do not require extreme care in
1213 always creating the shared lib before the symlink, so the unpack
1214 order be correct 
1215
1216 </li>
1217 </ul>
1218 </div>
1219
1220 </div>
1221
1222 <div id="outline-container-2.28" class="outline-4">
1223 <h4 id="sec-2.28"><a name="v3.1.1.0" id="v3.1.1.0"></a>3.1.1.0 </h4>
1224 <div class="outline-text-4" id="text-2.28">
1225
1226
1227 <p>
1228 Released Nov 1999.
1229 </p>
1230 <ul>
1231 <li>
1232 <b>7.1</b>: Correction to semantics of architecture lists in Build-Depends
1233 etc.  Should not affect many packages 
1234
1235 </li>
1236 </ul>
1237 </div>
1238
1239 </div>
1240
1241 <div id="outline-container-2.29" class="outline-4">
1242 <h4 id="sec-2.29"><a name="v3.1.0.0" id="v3.1.0.0"></a>3.1.0.0 </h4>
1243 <div class="outline-text-4" id="text-2.29">
1244
1245
1246 <p>
1247 Released Oct 1999.
1248 </p>
1249 <ul>
1250 <li>
1251 <code>/usr/doc/&lt;package&gt;</code> has to be a symlink pointing to
1252 <code>/usr/share/doc/&lt;package&gt;</code>, to be maintained by postinst
1253 and prerm scripts.  Details are in <b>defunct</b>
1254 </li>
1255 <li>
1256 <b>7.1, 7.6</b>: Introduced source dependencies (Build-Depends, etc.) 
1257 </li>
1258 <li>
1259 <b>9.3.4</b>: <code>/etc/rc.boot</code> has been deprecated in favour of <code>/etc/rcS.d</code>.
1260 (Packages should not be touching this directory, but should use
1261 update-rc.d instead) 
1262 </li>
1263 <li>
1264 <b>9.3.3</b>: update-rc.d is now the <b>only</b> allowable way of accessing the
1265 <code>/etc/rc?.d/[SK]??*</code> links.  Any scripts which manipulate them
1266 directly must be changed to use update-rc.d instead.  (This is
1267 because the file-rc package handles this information in an
1268 incompatible way.) 
1269 </li>
1270 <li>
1271 <b>12.7</b>: Architecture-specific examples go in <code>/usr/lib/&lt;package&gt;/examples</code>
1272 with symlinks from <code>/usr/share/doc/&lt;package&gt;/examples/*</code> or from
1273 <code>/usr/share/doc/&lt;package&gt;/examples</code> itself 
1274 </li>
1275 <li>
1276 <b>9.1.1</b>: Updated FHS to a 2.1 draft; this reverts <code>/var/state</code> to
1277 <code>/var/lib</code>
1278 </li>
1279 <li>
1280 <b>9.7; mime-policy</b>: Added MIME sub-policy document 
1281 </li>
1282 <li>
1283 <b>12.4</b>: VISUAL is allowed as a (higher priority) alternative to EDITOR 
1284 </li>
1285 <li>
1286 <b>11.6</b>: Modified liblockfile description, which affects
1287 mailbox-accessing programs.  Please see the policy document for
1288 details 
1289 </li>
1290 <li>
1291 <b>12.7</b>: If a package provides a changelog in HTML format, a text-only
1292 version should also be included.  (Such a version may be prepared
1293 using lynx -dump -nolist.) 
1294 </li>
1295 <li>
1296 <b>3.2.1</b>: Description of how to handle version numbers based on dates
1297 added 
1298
1299 </li>
1300 </ul>
1301 </div>
1302
1303 </div>
1304
1305 <div id="outline-container-2.30" class="outline-4">
1306 <h4 id="sec-2.30"><a name="v3.0.1.0" id="v3.0.1.0"></a>3.0.1.0 </h4>
1307 <div class="outline-text-4" id="text-2.30">
1308
1309
1310 <p>
1311 Released Jul 1999.
1312 </p>
1313 <ul>
1314 <li>
1315 <b>10.2</b>: Added the clarification that the .la files are essential for
1316 the packages using libtool's libltdl library, in which case the .la
1317 files must go in the run-time library package
1318
1319 </li>
1320 </ul>
1321 </div>
1322
1323 </div>
1324
1325 <div id="outline-container-2.31" class="outline-4">
1326 <h4 id="sec-2.31"><a name="v3.0.0.0" id="v3.0.0.0"></a>3.0.0.0 </h4>
1327 <div class="outline-text-4" id="text-2.31">
1328
1329
1330 <p>
1331 Released Jun 1999.
1332 </p>
1333 <ul>
1334 <li>
1335 <b>9.1</b>: Debian formally moves from the FSSTND to the FHS. This is a
1336 major change, and the implications of this move are probably
1337 not all known. 
1338 </li>
1339 <li>
1340 <b>4.1</b>: Only 3 digits of the Standards version need be included in
1341 control files, though all four digits are still permitted. 
1342 </li>
1343 <li>
1344 <b>12.6</b>: The location of the GPL has changed to
1345 <code>/usr/share/common-licenses</code>. This may require changing the
1346 copyright files to point to the correct location of the GPL and
1347 other major licenses 
1348 </li>
1349 <li>
1350 <b>10.2</b>: Packages that use libtool to create shared libraries must
1351 include the .la files in the -dev packages 
1352 </li>
1353 <li>
1354 <b>10.8</b>: Use logrotate to rotate log files 
1355 </li>
1356 <li>
1357 <b>11.8</b>: section 5.8 (now 11.8) has been rewritten (Programs for the X Window
1358 System) 
1359 </li>
1360 <li>
1361 <b>9.6; menu-policy</b>: There is now an associated menu policy, in a separate document,
1362 that carries the full weight of Debian policy 
1363 </li>
1364 <li>
1365 <b>11.3</b>: Programs which need to modify the files <code>/var/run/utmp</code>,
1366 <code>/var/log/wtmp</code> and <code>/var/log/lastlog</code> must be installed setgid utmp 
1367
1368
1369 <p>
1370 <b>Please note that section numbers below this point may not be up to date</b>
1371 </p>
1372
1373 </li>
1374 </ul>
1375 </div>
1376
1377 </div>
1378
1379 <div id="outline-container-2.32" class="outline-4">
1380 <h4 id="sec-2.32"><a name="v2.5.0.0" id="v2.5.0.0"></a>2.5.0.0 </h4>
1381 <div class="outline-text-4" id="text-2.32">
1382
1383
1384 <p>
1385 Released Oct 1998.
1386 </p>
1387 <p>
1388 Policy Manual:
1389 </p><ul>
1390 <li>
1391 Rearranged the manual to create a new Section 4, Files
1392 <ul>
1393 <li>
1394 Section 3.3 ("Files") was moved to Section 4. The Sections
1395 that  were Section 4 and Section 5 were  moved down to become
1396 Section 5 and Section 6.
1397 </li>
1398 <li>
1399 What was Section 5.5 ("Log files") is now a subsection of the
1400 new Section 4 ("Files"), becoming section 4.8, placed after
1401 "Configuration files", moving the Section 4.8 ("Permissions
1402 and owners") to Section 4.9.  All subsections of the old
1403 Section 5 after 5.5  were moved down to fill in the number
1404 gap.
1405 </li>
1406 </ul>
1407 </li>
1408 <li>
1409 Modified the section about changelog files to accommodate
1410 upstream changelogs which were formatted as HTML. These
1411 upstream changelog files should now be accessible as
1412 <code>/usr/doc/package/changelog.html.gz</code>
1413 <ul>
1414 <li>
1415 Symlinks are permissible to link the real, or upstream,
1416 changelog name to the Debian mandated name.
1417 </li>
1418 </ul>
1419 </li>
1420 <li>
1421 Clarified that HTML documentation should be present in some
1422 package, though not necessarily the main binary package.
1423 </li>
1424 <li>
1425 Corrected all references to the location of the copyright
1426 files. The correct location is <code>/usr/doc/package/copyright</code>
1427 </li>
1428 <li>
1429 Ratified the architecture specification strings to cater to the
1430 HURD.
1431
1432 </li>
1433 </ul>
1434 </div>
1435
1436 </div>
1437
1438 <div id="outline-container-2.33" class="outline-4">
1439 <h4 id="sec-2.33"><a name="v2.4.1.0" id="v2.4.1.0"></a>2.4.1.0 </h4>
1440 <div class="outline-text-4" id="text-2.33">
1441
1442
1443 <p>
1444 Released Apr 1998.
1445 </p>
1446 <ul>
1447 <li id="sec-2.33.1">Policy Manual: <br/>
1448 <ul>
1449 <li>
1450 Updated section 3.3.5 Symbolic links:
1451 <ul>
1452 <li>
1453 symbolic links within a toplevel directory should be relative,
1454 symbolic links between toplevel directories should be absolute
1455 (cf., Policy Weekly Issue#6, topic 2)
1456
1457 </li>
1458 </ul>
1459 </li>
1460 <li>
1461 Updated section 4.9 Games:
1462 <ul>
1463 <li>
1464 manpages for games should be installed in <code>/usr/man/man6</code>
1465 (cf., Policy Weekly Issue#6, topic 3)
1466
1467 </li>
1468 </ul>
1469 </li>
1470 </ul>
1471 </li>
1472 <li id="sec-2.33.2">Packaging Manual: <br/>
1473 <ul>
1474 <li>
1475 Updated prefix of chapter 12, Shared Libraries:
1476 ldconfig must be called in the postinst script if the package
1477 installs shared libraries
1478 (cf., Policy Weekly Issue #6, fixes:bug#20515)
1479
1480 </li>
1481 </ul>
1482 </li>
1483 </ul>
1484 </div>
1485
1486 </div>
1487
1488 <div id="outline-container-2.34" class="outline-4">
1489 <h4 id="sec-2.34"><a name="v2.4.0.0" id="v2.4.0.0"></a>2.4.0.0 </h4>
1490 <div class="outline-text-4" id="text-2.34">
1491
1492
1493 <p>
1494 Released Jan 1998
1495 </p>
1496 <ul>
1497 <li>
1498 Updated section 3.3.4 Scripts:
1499 <ul>
1500 <li>
1501 <code>/bin/sh</code> may be any POSIX compatible shell
1502 </li>
1503 <li>
1504 scripts including bashisms have to specify <code>/bin/bash</code> as
1505 interpreter
1506 </li>
1507 <li>
1508 scripts which create files in world-writable directories
1509 (e.g., in <code>/tmp</code>) should use tempfile or mktemp for creating
1510 the directory
1511
1512 </li>
1513 </ul>
1514 </li>
1515 <li>
1516 Updated section 3.3.5 Symbolic Links:
1517 <ul>
1518 <li>
1519 symbolic links referencing compressed files must have the same
1520 file extension as the referenced file
1521
1522 </li>
1523 </ul>
1524 </li>
1525 <li>
1526 Updated section 3.3.6 Device files:
1527 <ul>
1528 <li>
1529 <code>/dev/tty*</code> serial devices should be used instead of <code>/dev/cu*</code>
1530
1531 </li>
1532 </ul>
1533 </li>
1534 <li>
1535 Updated section 3.4.2 Writing the scripts in <code>/etc/init.d</code>:
1536 <ul>
1537 <li>
1538 all <code>/etc/init.d</code> scripts have to provide the following options:
1539 start, stop, restart, force-reload
1540 </li>
1541 <li>
1542 the reload option is optional and must never stop and restart
1543 the service
1544
1545 </li>
1546 </ul>
1547 </li>
1548 <li>
1549 Updated section 3.5 Cron jobs:
1550 <ul>
1551 <li>
1552 cron jobs that need to be executed more often than daily should
1553 be installed into <code>/etc/cron.d</code>
1554
1555 </li>
1556 </ul>
1557 </li>
1558 <li>
1559 Updated section 3.7 Menus:
1560 <ul>
1561 <li>
1562 removed section about how to register HTML docs to `menu'
1563 (the corresponding section in 4.4, Web servers and applications,
1564 has been removed in policy 2.2.0.0 already, so this one was
1565 obsolete)
1566
1567 </li>
1568 </ul>
1569 </li>
1570 <li>
1571 New section 3.8 Keyboard configuration:
1572 <ul>
1573 <li>
1574 details about how the backspace and delete keys should be
1575 handled
1576
1577 </li>
1578 </ul>
1579 </li>
1580 <li>
1581 New section 3.9 Environment variables:
1582 <ul>
1583 <li>
1584 no program must depend on environment variables to get a
1585 reasonable default configuration
1586
1587 </li>
1588 </ul>
1589 </li>
1590 <li>
1591 New section 4.6 News system configuration:
1592 <ul>
1593 <li>
1594 <code>/etc/news/organization</code> and <code>/etc/news/server</code> should be supported
1595 by all news servers and clients
1596
1597 </li>
1598 </ul>
1599 </li>
1600 <li>
1601 Updated section 4.7 Programs for the X Window System:
1602 <ul>
1603 <li>
1604 programs requiring a non-free Motif library should be provided
1605 as foo-smotif and foo-dmotif package
1606 </li>
1607 <li>
1608 if lesstif works reliably for such program, it should be linked
1609 against lesstif and not against a non-free Motif library
1610
1611 </li>
1612 </ul>
1613 </li>
1614 <li>
1615 Updated section 4.9 Games:
1616 <ul>
1617 <li>
1618 games for X Windows have to be installed in <code>/usr/games</code>, just as
1619 non-X games
1620
1621 </li>
1622 </ul>
1623 </li>
1624 </ul>
1625 </div>
1626
1627 </div>
1628
1629 <div id="outline-container-2.35" class="outline-4">
1630 <h4 id="sec-2.35"><a name="v2.3.0" id="v2.3.0"></a>2.3.0.1, 2.3.0.0 </h4>
1631 <div class="outline-text-4" id="text-2.35">
1632
1633
1634 <p>
1635 Released Sep 1997.
1636 </p>
1637 <ul>
1638 <li>
1639 new section `4.2 Daemons' including rules for
1640 <code>/etc/services</code>, <code>/etc/protocols</code>, <code>/etc/rpc</code>, and <code>/etc/inetd.conf</code>
1641
1642 </li>
1643 <li>
1644 updated section about `Configuration files':
1645 packages may not touch other packages' configuration files
1646
1647 </li>
1648 <li>
1649 MUAs and MTAs have to use liblockfile
1650
1651 </li>
1652 </ul>
1653 </div>
1654
1655 </div>
1656
1657 <div id="outline-container-2.36" class="outline-4">
1658 <h4 id="sec-2.36"><a name="v2.2.0.0" id="v2.2.0.0"></a>2.2.0.0 </h4>
1659 <div class="outline-text-4" id="text-2.36">
1660
1661
1662 <p>
1663 Released July 1997.
1664 </p>
1665 <ul>
1666 <li>
1667 added section 4.1 `Architecture specification strings':
1668 use
1669 &lt;arch&gt;-linux
1670 where &lt;arch&gt; is one of the following:
1671 i386, alpha, arm, m68k, powerpc, sparc.
1672
1673 </li>
1674 <li>
1675 detailed rules for <code>/usr/local</code>
1676
1677 </li>
1678 <li>
1679 user ID's
1680
1681 </li>
1682 <li>
1683 editor/pager policy
1684
1685 </li>
1686 <li>
1687 cron jobs
1688
1689 </li>
1690 <li>
1691 device files
1692
1693 </li>
1694 <li>
1695 don't install shared libraries as executable
1696
1697 </li>
1698 <li>
1699 app-defaults files may not be conffiles
1700
1701 </li>
1702 </ul>
1703 </div>
1704
1705 </div>
1706
1707 <div id="outline-container-2.37" class="outline-4">
1708 <h4 id="sec-2.37"><a name="v2.1.3" id="v2.1.3"></a>2.1.3.2, 2.1.3.1, 2.1.3.0 </h4>
1709 <div class="outline-text-4" id="text-2.37">
1710
1711
1712 <p>
1713 Released Mar 1997.
1714 </p>
1715 <ul>
1716 <li>
1717 two programs with different functionality must not have the
1718 same name
1719
1720 </li>
1721 <li>
1722 "Webstandard 3.0"
1723
1724 </li>
1725 <li>
1726 "Standard for Console Messages"
1727
1728 </li>
1729 <li>
1730 Libraries should be compiled with `-D_REENTRANT'
1731
1732 </li>
1733 <li>
1734 Libraries should be stripped with "strip &ndash;strip-unneeded"
1735
1736 </li>
1737 </ul>
1738 </div>
1739
1740 </div>
1741
1742 <div id="outline-container-2.38" class="outline-4">
1743 <h4 id="sec-2.38"><a name="v2.1.2" id="v2.1.2"></a>2.1.2.2, 2.1.2.1, 2.1.2.0 </h4>
1744 <div class="outline-text-4" id="text-2.38">
1745
1746
1747 <p>
1748 Released Nov 1996.
1749 </p>
1750 <ul>
1751 <li>
1752 Some changes WRT shared libraries
1753
1754 </li>
1755 </ul>
1756 </div>
1757
1758 </div>
1759
1760 <div id="outline-container-2.39" class="outline-4">
1761 <h4 id="sec-2.39"><a name="v2.1.1" id="v2.1.1"></a>2.1.1.0 </h4>
1762 <div class="outline-text-4" id="text-2.39">
1763
1764
1765 <p>
1766 Released Sep 1996.
1767 </p>
1768 <ul>
1769 <li>
1770 No hard links in source packages
1771
1772 </li>
1773 <li>
1774 Do not use dpkg-divert or update-alternatives without consultation
1775
1776 </li>
1777 <li>
1778 Shared libraries must be installed stripped
1779
1780 </li>
1781 </ul>
1782 </div>
1783
1784 </div>
1785
1786 <div id="outline-container-2.40" class="outline-4">
1787 <h4 id="sec-2.40"><a name="v2.1.0.0" id="v2.1.0.0"></a>2.1.0.0 </h4>
1788 <div class="outline-text-4" id="text-2.40">
1789
1790
1791 <p>
1792 Released Aug 1996.
1793 </p>
1794 <ul>
1795 <li>
1796 Upstream changelog must be installed too
1797 </li>
1798 </ul>
1799 </div>
1800 </div>
1801 </div>
1802 <div id="postamble">
1803 <p class="author"> Author: Bill Allombert, Josip Rodin, Julian Gilbey, Russ Allbery, and Manoj Srivastava
1804 <a href="mailto:srivasta@debian.org">&lt;srivasta@debian.org&gt;</a>
1805 </p>
1806 <p class="date"> Date: 2010-01-26 13:43:10 CET</p>
1807 <p class="creator">HTML generated by org-mode 6.33f in emacs 23</p>
1808 </div>
1809 </div>
1810 </body>
1811 </html>