1 Policy checklist for upgrading your packages
2 ============================================
4 Author: Bill Allombert, Josip Rodin, Julian Gilbey, Russ Allbery, and Manoj Srivastava <srivasta@debian.org>
5 Date: 2009-10-13 11:05:42 CDT
11 The checklist below has been created to simplify the upgrading process
12 of old packages. Note that this list is not "official"; it simply
13 gives an indication of what has changed and whether you are likely to
14 need to make changes to your package in light of this. If you have
15 doubts about a certain topic, if you need more details, or if you
16 think some other package does not comply with policy, please refer to
17 the Policy Manual itself. All of the changes from version 3.0.0
18 onwards indicate which section of the Policy Manual discusses the
19 issue: [3.4] means section 3.4. The section numbering changed when
20 the packaging manual was incorporated into policy; the section numbers
21 used below refer to the current version.
23 Here is how the check list works: Check which policy version your
24 package was checked against last (indicated in the "Standards-Version"
25 field of the source package). Then move upwards until the top and
26 check which of the items on the list might concern your package. Note
27 which sections of policy discuss this, and then check out the Policy
28 Manual for details. If you are upgrading from Policy version < 2.5.0,
29 it may be easier to check through the whole of policy instead of
30 picking your way through this list.
39 + *4.9* : Add DEB\_*\_ARCH\_CPU and DEB\_*\_ARCH\_OS variables and
40 recommend them over GNU-style variables for that information.
41 + *5.6.8*: Source package Architecture fields may contain /all/ in
42 combination with other architectures. Clarify when /all/ and /any/
43 may be used in different versions of the field.
44 + *5.6.14* : The Debian archive software does not support uploading
45 to multiple distributions with one \*.changes file.
46 + *5.6.19* : The Binary field may span multiple lines.
47 + *10.2* : Remove the permission for shared library packages to
48 install libraries in a non-standard location and modify ld.so.conf.
49 Packages should either be installed in a standard library directory
50 or packages using them should be built with RPATH.
51 + *11.8.7* : Clarify installation directories for X programs and
52 remove the requirement to pre-depend on x11-common before installing
53 into /usr/include/X11 and /usr/lib/X11.
54 + *12.1* : Remove the requirement that all characters in a manual
55 page be representable in the legacy encoding for that language.
56 + *12.1* : Localized man pages should either be kept up-to-date with
57 the original version or warn that they're not up-to-date, either
58 with warning text or by showing missing or changed portions in the
60 + *12.2* : install-info is now handled via triggers so packages no
61 longer need to invoke it in maintainer scripts. Info documents
62 should now have directory sections and entries in the document.
63 Packages containing info documents should add a dependency to
64 support partial upgrades.
65 + *perl* : The requirement for Perl modules to have a versioned
66 Depend and Build-Depend on perl >= 5.6.0-16 has been removed.
73 + *2.4*: The list of archive sections has been significantly expanded. See
74 [http://lists.debian.org/debian-devel-announce/2009/03/msg00010.html]
75 for the list of new sections and rules for how to categorize
77 + *3.9.1*: All packages must use debconf or equivalent for user prompting,
78 though essential packages or their dependencies may also fall
79 back on other methods.
80 + *5.6.1*: The requirements for source package names are now explicitly
82 + *9.1*: Legacy XFree86 servers no longer get a special exception from the
83 FHS permitting /etc/X11/XF86Config-4.
84 + *9.1.3*: Removed obsolete dependency requirements for packages that use
86 + *11.8.5*: Speedo fonts are now deprecated. The X backend was disabled
88 + *12.5*: The GNU Free Documentation License version 1.3 is included in
89 common-licenses and should be referenced from there.
96 + *3.8*: Care should be taken when adding functionality to essential and
97 such additions create an obligation to support that functionality
98 in essential forever unless significant work is done.
99 + *4.4*: Changelog files must be encoded in UTF-8.
100 + *4.4*: Tighten some format requirements for changelog files from a should
102 + *4.4.1*: Remove alternative changelog formats. Debian only supports one
103 changelog format for the Debian Archive.
104 + *4.9.1*: New nocheck option for DEB\_BUILD\_OPTIONS indicating any build-time
105 test suite provided by the package should not be run.
106 + *5.1*: All control files must be encoded in UTF-8.
107 + *5.2*: debian/control allows comment lines starting with # with no
108 preceding whitespace.
109 + *9.3*: Init scripts ending in .sh are not handled specially. They are not
110 sourced and are not guaranteed to be run by /bin/sh regardless of
111 the #! line. This brings Policy in line with the long-standing
112 behavior of the init system in Debian.
113 + *9.3.2*: The start action of an init script must exit successfully and not
114 start the daemon again if it's already running.
115 + *9.3.2*: /var/run and /var/lock may be mounted as temporary filesystems, and
116 init scripts must therefore create any necessary subdirectories
118 + *10.4*: /bin/sh scripts may assume that local can take multiple variable
119 arguments and supports assignment.
120 + *11.6*: User mailboxes may be mode 600 and owned by the user rather than
121 mode 660, owned by user, and group mail.
128 + *2.4, 3.7*: The base section has been removed. contrib and non-free have been
129 removed from the section list; they are only categories. The base
130 system is now defined by priority.
131 + *4.9*: If dpkg-source -x doesn't provide the source that will be compiled,
132 a debian/rules patch target is recommended and should do whatever
134 + *4.9.1, 10.1*: Standardized the format of DEB\_BUILD\_OPTIONS. Specified permitted
135 characters for tags, required that tags be whitespace-separated,
136 allowed packages to assume non-conflicting tags, and required
137 unknown flags be ignored.
138 + *4.9.1*: Added parallel=n to the standardized DEB\_BUILD\_OPTIONS tags,
139 indicating that a package should be built using up to n parallel
140 processes if the package supports it
141 + *4.13*: Debian packages should not use convenience copies of code from other
142 packages unless the included package is explicitly intended to be
144 + *4.14*: If dpkg-source -x doesn't produce source ready for editing and
145 building with dpkg-buildpackage, packages should include a
146 debian/README.source file explaining how to generate the patched
147 source, add a new modification, and remove an existing
148 modification. This file may also be used to document packaging a
149 new upstream release and any other complexity of the Debian build
151 + *5.6.3*: The Uploaders field in debian/control may be wrapped.
152 + *5.6.12*: An empty Debian revision is equivalent to a Debian revision of 0 in
154 + *5.6.23*: New Homepage field for upstream web sites.
155 + *6.5, 6.6, 7*: The Breaks field declares that this package breaks another and
156 prevents installation of the breaking package unless the package
157 named in Breaks is deconfigured first. This field should not be
158 used until the dpkg in Debian stable supports it.
159 + *8.1, 8.2*: Clarify which files should go into a shared library package, into a
160 separate package, or into the -dev package. Suggest -tools instead
161 of -runtime for runtime support programs, since that naming is more
163 + *9.5*: Files in /etc/cron.{hourly,daily,weekly,monthly} must be
164 configuration files (upgraded from should). Mention the hourly
166 + *11.8.6*: Packages providing /etc/X11/Xresources files need not conflict with
167 xbase (<< 3.3.2.3a-2), which is long-obsolete.
168 + *12.1*: Manual pages in locale-specific directories should use either the
169 legacy encoding for that directory or UTF-8. Country names should
170 not be included in locale-specific manual page directories unless
171 indicating a significant difference in the language. All
172 characters in the manual page source should be representable in the
173 legacy encoding for a locale even if the man page is encoded in
175 + *12.5*: The Apache 2.0 license is now in common-licenses and should be
176 referenced rather than quoted in debian/copyright.
177 + *12.5*: Packages in contrib and non-free should state in the copyright file
178 that the package is not part of Debian GNU/Linux and briefly
180 + *debconf*: Underscore (_) is allowed in debconf template names.
187 + *5.6.12*: Package version numbers may contain tildes, which sort before
188 anything, even the end of a part.
189 + *10.4*: Scripts may assume that /bin/sh supports local (at a basic level)
190 and that its test builtin (if any) supports -a and -o binary
192 + *8.5*: The substitution variable ${binary:Version} should be used in place
193 of ${Source-Version} for dependencies between packages of the same
195 + *menu policy*: Substantial reorganization and renaming of sections in the Debian
196 menu structure. Packages with menu entries should be reviewed to
197 see if the menu section has been renamed or if one of the new
198 sections would be more appropriate.
199 + *5.6.1*: The Source field in a .changes file may contain a version number
201 + *5.6.17*: The acceptable values for the Urgency field are low, medium, high,
202 critical, or emergency.
203 + *8.6*: The shlibs file now allows an optional type field, indicating the
204 type of package for which the line is valid. The only currently
205 supported type is udeb, used with packages for the Debian
207 + *3.9.1*: Packages following the Debian Configuration management
208 specification must allow for translation of their messages by using
209 a gettext-based system such as po-debconf.
210 + *12.5*: GFDL 1.2, GPL 3, and LGPL 3 are now in common-licenses and should
211 be referenced rather than quoted in debian/copyright.
218 + *6.1*: Maintainer scripts must not be world writeable (up from a
226 + *11.5*: Revert the cgi-lib change.
233 + *10.2*: It is now possible to create shared libraries without
234 relocatable code (using -fPIC) in certain exceptional cases,
235 provided some procedures are followed, and for creating static
236 libraries with relocatable code (again, using -fPIC).
237 Discussion on debian-devel@lists.debian.org, getting a rough
238 consensus, and documenting it in README.Debian constitute most
240 + *11.8.7*: Packages should install any relevant files into the directories
241 /usr/include/X11/and /usr/lib/X11/, but if they do so, they
242 must pre-depend on x11-common (>= 1:7.0.0)
249 + *11.5*: Packages shipping web server CGI files are expected to install
250 them in /usr/lib/cgi-lib/ directories. This location change
251 perhaps should be documented in NEWS
252 + *11.5*: Web server packages should include a standard scriptAlias of
253 cgi-lib to /usr/lib/cgi-lib.
254 + *9.1.1*: The version of FHS mandated by policy has been upped to
255 2.3. There should be no changes required for most packages,
256 though new top level directories /media, /srv, etc may be of
258 + *5.1, 5.6.3*: All fields, apart from the Uploaders field, in the control file
259 are supposed to be a single logical line, which may be spread
260 over multiple physical lines (newline followed by space is
261 elided). However, any parser for the control file must allow
262 the Uploaders field to be spread over multiple physical lines
263 as well, to prepare for future changes.
264 + *10.4*: When scripts are installed into a directory in the system
265 PATH, the script name should not include an extension that
266 denotes the scripting language currently used to implement it.
268 + *9.3.3.2*: packages that invoke initscripts now must use invoke-rc.d to do
269 so since it also pays attention to run levels and other local
271 + *11.8.5.2, 11.8.7, etc*: We no longer use /usr/X11R6, since we have
272 migrated away to using Xorg paths. This means, for one thing, fonts
273 live in /usr/share/fonts/X11/ now, and /usr/X11R6 is gone.
281 + Recommend. doc-base, and not menu, for registering package documentation.
282 + *8.1*: Run time support programs should live in subdirectories of
283 /usr/lib/ or /usr/share, and preferably the shared lib is named
284 the same as the package name (to avoid name collisions).
285 + *11.5*: It is recommended that HTTP servers provide an alias /images to
286 allow packages to share image files with the web server
293 + *3.10.1*: Prompting the user should be done using debconf. Non debconf
294 user prompts are now deprecated.
301 + Restructuring causing shifts in section numbers and bumping of
302 the minor version number:
303 + Many packaging manual appendices that were integrated into policy
304 sections are now empty, and replaced with links to the Policy.
305 In particular, the appendices that included the list of control
306 fields were updated (new fields like Closes, Changed-By were added)
307 and the list of fields for each of control, .changes and .dsc files
308 is now in Policy, and they're marked mandatory, recommended or
309 optional based on the current practice and the behavior of the
310 deb-building tool-chain.
311 + Elimination of needlessly deep section levels, primarily in the
312 chapter Debian Archive, from which two new chapters were split out,
313 Binary packages and Source packages. What remained was reordered
314 properly, that is, some sect1s became sects etc.
315 + Several sections that were redundant, crufty or simply not designed
316 with any sort of vision, were rearranged according to the formula that
317 everything should be either in the same place or properly interlinked.
318 Some things remained split up between different chapters when they
319 talked about different aspects of files: their content, their syntax,
320 and their placement in the file system. In particular, see the new
321 sections about changelog files.
322 + *menu policy*: Added Games/Simulation and Apps/Education to menu
324 + *C.2.2*: Debian changelogs should be UTF-8 encoded.
325 + *10.2*: shared libraries must be linked against all libraries that they
326 use symbols from in the same way that binaries are.
327 + *7.6*: build-depends-indep need not be satisfied during clean
335 + *11.8.3*: packages providing the x-terminal-emulator virtual package
336 ought to ensure that they interpret the command line exactly
338 + *11.8.4*: Window managers compliant with the Window Manager Specification
339 Project may add 40 points for ranking in the alternatives
346 + *3.4.2*: The section describing the Description: package field once again has
347 full details of the long description format.
348 + *4.2*: Clarified that if a package has non-build-essential
349 build-dependencies, it should have them listed in the Build-Depends
350 and related fields (i.e. it's not merely optional).
351 + *9.3.2*: When asked to restart a service that isn't already running,
352 the init script should start the service.
353 + *12.6*: If the purpose of a package is to provide examples, then the
354 example files can be installed into `/usr/share/doc/package' (rather
355 than `/usr/share/doc/package/examples').
362 + *12.7*: It is no longer necessary to keep a log of changes to the upstream
363 sources in the copyright file. Instead, all such changes should be
364 documented in the changelog file.
365 + *7.6*: `Build-Depends', `Build-Conflicts', `Build-Depends-Indep',
366 and `Build-Conflicts-Indep' must also be satisfied when the clean
368 + *menu policy*: A new Apps/Science menu section is available
369 + *debconf policy*: debconf specification cleared up, various changes.
370 + *12.1*: It is no longer recommended to create symlinks from nonexistent
371 manual pages to undocumented(7). Missing manual pages for programs
379 + Packages no longer have to ask permission to call MAKEDEV in
380 postinst, merely notifying the user ought to be enough.
381 + *2.2.4*: cryptographic software may now be included in the main
383 + *3.9*: task packages are no longer permitted; tasks are now created by a
384 special Tasks: field in the control file.
385 + *11.8.4*: window managers that support netwm can now add 20 points when
386 they add themselves as an alternative for
387 /usr/bin/x-window-manager
388 + *10.1*: The default compilation options have now changed, one should
389 provide debugging symbols in all cases, and optionally step
390 back optimization to -O0, depending on the DEB\_BUILD\_OPTIONS
391 environment variable.
392 + *7.6, 4.8*: Added mention of build-arch, build-indep, etc, in describing
393 the relationships with `Build-Depends', `Build-Conflicts',
394 `Build-Depends-Indep', and `Build-Conflicts-Indep'. May need to
395 review the new rules.
396 + *8*: Changed rules on how, and when, to invoke ldconfig in maintainer
397 scripts. Long rationale.
399 *Added the last note in 3.5.6 upgrading checklist item regarding build rules, please see below*
406 + *2.5*: Emacs and TeX are no longer mandated by policy to be priority
408 + *11.5*: Programs that access docs need to do so via /usr/share/doc, and
409 not via /usr/doc/ as was the policy previously
410 + *12.3*: Putting documentation in /usr/doc versus /usr/share/doc is now
411 a ``serious'' policy violation.
412 + *11.5*: For web servers, one should not provide non-local access to the
413 /usr/share/doc hierarchy. If one can't provide access controls for
414 the [http://localhost/doc/] directory, then it is preferred that one
415 ask permission to expose that information during the install.
416 + *7*: There are new rules for build-indep/build-arch targets and
417 there is a new Build-Depend-Indep semantic.
424 + *12.1*: Manpages should not rely on header information to have
425 alternative manpage names available; it should only use
426 symlinks or .so pages to do this
427 + *Clarified note in 3.5.3.0 upgrading checklist regarding
428 examples and templates: this refers only to those examples used
429 by scripts; see section 10.7.3 for the whole story*
430 + Included a new section 10.9.1 describing the use of
431 dpkg-statoverride; this does not have the weight of policy
432 + Clarify Standards-Version: you don't need to rebuild your
433 packages just to change the Standards-Version!
434 + *10.2*: Plugins are no longer bound by all the rules of shared
436 + X Windows related things:
437 * *11.8.1*: Clarification of priority levels of X Window System related
439 * *11.8.3*: Rules for defining x-terminal-emulator improved
440 * *11.8.5*: X Font policy rewritten: you must read this if you provide
441 fonts for the X Window System
442 * *11.8.6*: Packages must not ship /usr/X11R6/lib/X11/app-defaults/
443 * *11.8.7*: X-related packages should usually use the regular FHS
444 locations; imake-using packages are exempted from this
445 * *11.8.8*: OpenMotif linked binaries have the same rules as
446 OSF/Motif-linked ones
453 + *11.6*: The system-wide mail directory is now /var/mail, no longer
454 /var/spool/mail. Any packages accessing the mail spool should
455 access it via /var/mail and include a suitable Depends field;
457 + *11.9; perl-policy*: The perl policy is now part of Debian policy
458 proper. Perl programs and modules should follow the current Perl
467 + *7.1*: Build-Depends arch syntax has been changed to be less
468 ambiguous. This should not affect any current packages
469 + *10.7.3*: Examples and templates files for use by scripts should now live
470 in /usr/share/<package> or /usr/lib/<package>, with
471 symbolic links from /usr/share/doc/<package>/examples as
479 + *11.8.6*: X app-defaults directory has moved from
480 /usr/X11R6/lib/X11/app-defaults to /etc/X11/app-defaults
487 + *8.1*: dpkg-shlibdeps now uses objdump, so shared libraries have to be
488 run through dpkg-shlibdeps as well as executables
495 + *11.8.5*: Font packages for the X Window System must now declare a
496 dependency on xutils (>= 4.0.2)
503 + Daemon startup scripts in /etc/init.d/ should not contain
504 modifiable parameters; these should be moved to a file in
505 /etc/default/; see *9.3.2] for details
506 + *12.3*: Files in /usr/share/doc must not be referenced by any
507 program. If such files are needed, they must be placed in
508 /usr/share/<package>/, and symbolic links created as required
509 in /usr/share/doc/<package>/
510 + Much of the packaging manual has now been imported into the
518 + *11.8.1*: A package of priority standard or higher may provide two
519 binaries, one compiled with support for the X Window System,
520 and the other without
527 + *10.1*: By default executables should not be built with the debugging
528 option -g. Instead, it is recommended to support building the
529 package with debugging information optionally. Details in
530 + *12.8*: Policy for packages where the upstream uses HTML changelog
531 files has been expanded. In short, a plain text changelog file
532 should always be generated for the upstream changes
533 + Please note that the new release of the X window system (3.2)
534 shall probably need sweeping changes in policy
535 + Policy for packages providing the following X-based features
537 - *11.8.2*: X server (virtual package xserver)
538 - *11.8.3*: X terminal emulator (virtual package x-terminal-emulator)
539 - *11.8.4*: X window manager (virtual package x-window-manager, and
540 /usr/bin/x-window-manager alternative, with priority
541 calculation guidelines)
542 - *12.8.5*: X fonts (this section has been written from scratch)
543 - *11.8.6*: X application defaults
544 + *11.8.7*: Policy for packages using the X Window System and FHS issues
545 has been clarified; see
546 + *11.7.3*: No package may contain or make hard links to conffiles
547 + *8*: Noted that newer dpkg versions do not require extreme care in
548 always creating the shared lib before the symlink, so the unpack
556 + *7.1*: Correction to semantics of architecture lists in Build-Depends
557 etc. Should not affect many packages
564 + /usr/doc/<package> has to be a symlink pointing to
565 /usr/share/doc/<package>, to be maintained by postinst
566 and prerm scripts. Details are in *defunct*
567 + *7.1, 7.6*: Introduced source dependencies (Build-Depends, etc.)
568 + *9.3.4*: /etc/rc.boot has been deprecated in favour of /etc/rcS.d.
569 (Packages should not be touching this directory, but should use
571 + *9.3.3*: update-rc.d is now the *only* allowable way of accessing the
572 /etc/rc?.d/*SK]??* links. Any scripts which manipulate them
573 directly must be changed to use update-rc.d instead. (This is
574 because the file-rc package handles this information in an
576 + *12.7*: Architecture-specific examples go in /usr/lib/<package>/examples
577 with symlinks from /usr/share/doc/<package>/examples/* or from
578 /usr/share/doc/<package>/examples itself
579 + *9.1.1*: Updated FHS to a 2.1 draft; this reverts /var/state to
581 + *9.7; mime-policy*: Added MIME sub-policy document
582 + *12.4*: VISUAL is allowed as a (higher priority) alternative to EDITOR
583 + *11.6*: Modified liblockfile description, which affects
584 mailbox-accessing programs. Please see the policy document for
586 + *12.7*: If a package provides a changelog in HTML format, a text-only
587 version should also be included. (Such a version may be prepared
588 using lynx -dump -nolist.)
589 + *3.2.1*: Description of how to handle version numbers based on dates
597 + *10.2*: Added the clarification that the .la files are essential for
598 the packages using libtool's libltdl library, in which case the .la
599 files must go in the run-time library package
606 + *9.1*: Debian formally moves from the FSSTND to the FHS. This is a
607 major change, and the implications of this move are probably
609 + *4.1*: Only 3 digits of the Standards version need be included in
610 control files, though all four digits are still permitted.
611 + *12.6*: The location of the GPL has changed to
612 /usr/share/common-licenses. This may require changing the
613 copyright files to point to the correct location of the GPL and
615 + *10.2*: Packages that use libtool to create shared libraries must
616 include the .la files in the -dev packages
617 + *10.8*: Use logrotate to rotate log files
618 + *now 11.8*: section 5.8 has been rewritten (Programs for the X Window
620 + *9.6; menu-policy*: There is now an associated menu policy, in a separate document,
621 that carries the full weight of Debian policy
622 + *11.3*: Programs which need to modify the files /var/run/utmp,
623 /var/log/wtmp and /var/log/lastlog must be installed setgid utmp
626 *Please note that section numbers below this point may not be up to date*
635 + Rearranged the manual to create a new Section 4, Files
636 + Section 3.3 ("Files") was moved to Section 4. The Sections
637 that were Section 4 and Section 5 were moved down to become
638 Section 5 and Section 6.
639 + What was Section 5.5 ("Log files") is now a subsection of the
640 new Section 4 ("Files"), becoming section 4.8, placed after
641 "Configuration files", moving the Section 4.8 ("Permissions
642 and owners") to Section 4.9. All subsections of the old
643 Section 5 after 5.5 were moved down to fill in the number
645 + Modified the section about changelog files to accommodate
646 upstream changelogs which were formatted as HTML/ These
647 upstream changelog files should now be accessible as
648 /usr/doc/package/changelog.html.gz
649 + Symlinks are permissible to link the real, or upstream,
650 changelog name to the Debian mandated name.
651 + Clarified that HTML documentation should be present in some
652 package, though not necessarily the main binary package.
653 + Corrected all references to the location of the copyright
654 files. The correct location is /usr/doc/package/copyright
655 + Ratified the architecture specification strings to cater to the
664 + Updated section 3.3.5 Symbolic links:
665 + symbolic links within a toplevel directory should be relative,
666 symbolic links between toplevel directories should be absolute
667 (cf., Policy Weekly Issue#6, topic 2)
669 + Updated section 4.9 Games:
670 + manpages for games should be installed in /usr/man/man6
671 (cf., Policy Weekly Issue#6, topic 3)
674 + Updated prefix of chapter 12, Shared Libraries:
675 ldconfig must be called in the postinst script if the package
676 installs shared libraries
677 (cf., Policy Weekly Issue #6, fixes:bug#20515)
685 + Updated section 3.3.4 Scripts:
686 + /bin/sh may be any POSIX compatible shell
687 + scripts including bashisms have to specify /bin/bash as
689 + scripts which create files in world-writable directories
690 (e.g., in /tmp) should use tempfile or mktemp for creating
693 + Updated section 3.3.5 Symbolic Links:
694 + symbolic links referencing compressed files must have the same
695 file extension as the referenced file
697 + Updated section 3.3.6 Device files:
698 + /dev/tty* serial devices should be used instead of /dev/cu*
700 + Updated section 3.4.2 Writing the scripts in /etc/init.d:
701 + all /etc/init.d scripts have to provide the following options:
702 start, stop, restart, force-reload
703 + the reload option is optional and must never stop and restart
706 + Updated section 3.5 Cron jobs:
707 + cron jobs that need to be executed more often than daily should
708 be installed into /etc/cron.d
710 + Updated section 3.7 Menus:
711 + removed section about how to register HTML docs to `menu'
712 (the corresponding section in 4.4, Web servers and applications,
713 has been removed in policy 2.2.0.0 already, so this one was
716 + New section 3.8 Keyboard configuration:
717 + details about how the backspace and delete keys should be
720 + New section 3.9 Environment variables:
721 + no program must depend on environment variables to get a
722 reasonable default configuration
724 + New section 4.6 News system configuration:
725 + /etc/news/organization and /etc/news/server should be supported
726 by all news servers and clients
728 + Updated section 4.7 Programs for the X Window System:
729 + programs requiring a non-free Motif library should be provided
730 as foo-smotif and foo-dmotif package
731 + if lesstif works reliably for such program, it should be linked
732 against lesstif and not against a non-free Motif library
734 + Updated section 4.9 Games:
735 + games for X Windows have to be installed in /usr/games, just as
743 + new section `4.2 Daemons' including rules for
744 /etc/services, /etc/protocols, /etc/rpc, and /etc/inetd.conf
746 + updated section about `Configuration files':
747 packages may not touch other packages' configuration files
749 + MUAs and MTAs have to use liblockfile
756 + added section 4.1 `Architecture specification strings':
759 where <arch> is one of the following:
760 i386, alpha, arm, m68k, powerpc, sparc.
762 + detailed rules for /usr/local
766 + editor/pager policy
772 + don't install shared libraries as executable
774 + app-defaults files may not be conffiles
776 2.1.3.2, 2.1.3.1, 2.1.3.0
777 --------------------------
781 + two programs with different functionality must not have the
786 + "Standard for Console Messages"
788 + Libraries should be compiled with `-D\_REENTRANT'
790 + Libraries should be stripped with "strip --strip-unneeded"
792 2.1.2.2, 2.1.2.1, 2.1.2.0
793 --------------------------
797 + Some changes WRT shared libraries
804 + No hard links in source packages
806 + Do not use dpkg-divert or update-alternatives without consultation
808 + Shared libraries must be installed stripped
815 + Upstream changelog must be installed too