X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=policy.sgml;h=c5fd30586c505a1805f90e2d9b833ae2cf4a1c2e;hb=35b766c956f252a9092cfb7b04bcf1f05a4627d1;hp=a489febaa605ae786d987686b0d4f7ffe22bb27a;hpb=377b4940d9f2171988a2c0015539e6f638cc9550;p=debian%2Fdebian-policy.git diff --git a/policy.sgml b/policy.sgml index a489feb..c5fd305 100644 --- a/policy.sgml +++ b/policy.sgml @@ -6976,6 +6976,17 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1) multiarch.

+

+ The requirement for C and C++ headers files to be + accessible through the search path + /usr/include/ is amended, permitting files to + be accessible through the search path + /usr/include/triplet where + triplet is as above. + This is necessary for architecture-dependant headers + file to coexist in a multiarch setup. + +

Applications may also use a single subdirectory under /usr/lib/triplet. @@ -7044,10 +7055,13 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)

- The requirement for /usr/local/lib<qual> - to exist if /lib<qual> or - /usr/lib<qual> exists is removed. -

+ The requirement for /usr/local/lib<qual> + to exist if /lib<qual> or + /usr/lib<qual> exists (where + lib<qual> is a variant of + lib such as lib32 or + lib64) is removed. +

@@ -8452,7 +8466,17 @@ fi renamed. If a consensus cannot be reached, both programs must be renamed.

- +

+ Binary executables must not be statically linked with the GNU C + library, since this prevents the binary from benefiting from + fixes and improvements to the C library without being rebuilt + and complicates security updates. This requirement may be + relaxed for binary executables whose intended purpose is to + diagnose and fix the system in situations where the GNU C + library may not be usable (such as system recovery shells or + utilities like ldconfig) or for binary executables where the + security benefits of static linking outweigh the drawbacks. +

By default, when a package is being built, any binaries created should include debugging information, as well as