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