X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=policy.sgml;h=8100da082bd123ab85cf97a6788b5cd656b99cb4;hb=39bb45940e6f767131ef4d844385db7da5d77f84;hp=fb9fd9f636ec0b126283ee1add6974f99c2f72b4;hpb=f8c2f1b9618cda05c0b3b8e6201a4d34f579bfc0;p=debian%2Fdebian-policy.git diff --git a/policy.sgml b/policy.sgml index fb9fd9f..8100da0 100644 --- a/policy.sgml +++ b/policy.sgml @@ -489,9 +489,9 @@ must not require or recommend a package outside of main for compilation or execution (thus, the - package must not declare a "Depends", "Recommends", or - "Build-Depends" relationship on a non-main - package), + package must not declare a "Pre-Depends", "Depends", + "Recommends", "Build-Depends", or "Build-Depends-Indep" + relationship on a non-main package), must not be so buggy that we refuse to support them, @@ -4628,7 +4628,7 @@ Depends: libc6 (>= 2.2.1), exim | mail-transport-agent Relationships may be restricted to a certain set of architectures. This is indicated in brackets after each individual package name and the optional version specification. - The brackets enclose a list of Debian architecture names + The brackets enclose a non-empty list of Debian architecture names in the format described in , separated by whitespace. Exclamation marks may be prepended to each of the names. (It is not permitted for some names to be @@ -6268,15 +6268,11 @@ install -m644 debian/shlibs.package debian/package/DEBIAN/

The following directories in the root filesystem are - additionally allowed: /sys - and /selinux. - - The /sys and /selinux - directories are mount points where - virtual filesystems are mounted which provide access - to kernel information. - -

+ additionally allowed: /sys and + /selinux. These directories + are used as mount points to mount virtual filesystems + to get access to kernel information. +

@@ -6428,16 +6424,10 @@ rmdir /usr/local/share/emacs 2>/dev/null || true

Packages must not include files or directories - under /run, or under the /var/run - or /var/lock paths that are replaced with - symlinks or bind mounts to /run for backwards - compatibility. -

- -

- Packages should use /run in preference - to /var/run and /run/lock in - preference to /var/lock. + under /run, or under the + older /var/run and /var/lock paths. + The latter paths will normally be symlinks or other + redirections to /run for backwards compatibility.

@@ -11379,7 +11369,7 @@ END-INFO-DIR-ENTRY dpkg-divert --package smailwrapper --remove --rename \ --divert /usr/sbin/smail.real /usr/sbin/smail fi - where 1.02-2 is the version at which the + where 1.0-2 is the version at which the diversion was first added to the package. The postrm should not remove the diversion on upgrades both because there's no reason to remove the diversion only to immediately re-add it and since the