summaryrefslogtreecommitdiffstats
path: root/specs
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-06-17 04:20:06 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-06-17 04:20:06 (EDT)
commit0b7ac244c692ae02ba62cd3c8a201ec74b6f647a (patch)
treea5454974030e5fb89df8d9efc549ec5c0c10f5ce /specs
parentd3320ce0d6f415bbaf09689e3d06da794aefb487 (diff)
SPF 2.0: Add "Section" binary field
Diffstat (limited to 'specs')
-rw-r--r--specs/spf-2.0/fields.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/specs/spf-2.0/fields.mdwn b/specs/spf-2.0/fields.mdwn
index e50c2b4..361d2ea 100644
--- a/specs/spf-2.0/fields.mdwn
+++ b/specs/spf-2.0/fields.mdwn
@@ -58,6 +58,25 @@ The fields in the binary package metadata are:
least some of the provided files are only usable on systems of the named
platform(s).
+ * `Section` (optional, may be required in a future version of this Source
+ Package Format)
+
+ The name of the section in the package archive into which this package is to
+ be installed. Packages with a `Section` field must provide only files
+ 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 `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 `share` for packages containing only architecture-independent
+ data.
+
* `Essential` (optional)
A flag to indicate whether the package is essential for the functioning of a