From 13265ad85c3d18f9d532cfddc8bcdf9056770f6c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 17 Jun 2020 15:17:34 -0400 Subject: SPF 2.0: Expand and reorder list of sections --- diff --git a/specs/spf-2.0/fields.mdwn b/specs/spf-2.0/fields.mdwn index 361d2ea..3652317 100644 --- a/specs/spf-2.0/fields.mdwn +++ b/specs/spf-2.0/fields.mdwn @@ -66,16 +66,30 @@ The fields in the binary package metadata are: related to the specified section. The value may be any one of the following: - - The string `bin` for packages containing only executable files, such as - utilities, binaries run by other programs, kernel images, or boot loaders; + - The string `dbg` for packages containing only debugging symbols; + - The string `dev` for packages containing only utilities used to build + other packages, such as distribution package build utilities, compilers, + and utilities that configure compiler and linker flags; + - The string `doc` for packages containing only manual pages and other + upstream documentation files; - The string `lib` for packages containing only shared libraries and object files; - - The string `dev` for packages containing only header files, unversioned - library symbolic links used when linking, and utilities and configuration - files to assist in compiling and linking other programs against libraries; - - The string `dbg` for packages containing only debugging symbols; and + - The string `libdev` for packages containing only header files, unversioned + library symbolic links used when linking, and configuration files and + architecture-independent utilities that configure compiler and linker + flags; + - The string `locale` for packages containing only locale files; - The string `share` for packages containing only architecture-independent - data. + data; and + - The string `utils` for packages containing only executable files, such as + utilities, binaries run by other programs, kernel images, or boot loaders. + + No packages may declare any relationships (via `Depends`, `Recommends`, + etc.) with packages in sections `dbg`, `doc`, or `locale`. Only binary + packages in section `dev` and source packages (via `Build-Depends`) may + declare relationships with packages in section `libdev`. These restrictions + allow feed lists for sections `dbg`, `doc`, `libdev`, and `locale` to be + excluded from systems that don't need the packages they contain. * `Essential` (optional) -- cgit v0.9.1