author | Yiteng Zhang <yiteng.zhang@oracle.com> |
Wed, 09 Mar 2016 11:27:23 -0800 | |
changeset 3321 | 52e8eec3014c |
parent 2493 | 5db1603f0c3f |
permissions | -rw-r--r-- |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
1 |
.. CDDL HEADER START |
9 | 2 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
3 |
.. The contents of this file are subject to the terms of the |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
4 |
Common Development and Distribution License (the "License"). |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
5 |
You may not use this file except in compliance with the License. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
6 |
|
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
7 |
.. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
8 |
or http://www.opensolaris.org/os/licensing. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
9 |
See the License for the specific language governing permissions |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
10 |
and limitations under the License. |
293 | 11 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
12 |
.. When distributing Covered Code, include this CDDL HEADER in each |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
13 |
file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
14 |
If applicable, add the following below this CDDL HEADER, with the |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
15 |
fields enclosed by brackets "[]" replaced with your own identifying |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
16 |
information: Portions Copyright [yyyy] [name of copyright owner] |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
17 |
|
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
18 |
.. CDDL HEADER END |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
19 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
20 |
|
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
21 |
.. Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
22 |
|
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
23 |
Tags and attributes |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
24 |
------------------- |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
25 |
|
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
26 |
Definitions |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
27 |
~~~~~~~~~~~ |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
28 |
|
293 | 29 |
Both packages and actions within a package can carry metadata, which |
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
30 |
we informally refer to as attributes and tags. Both attributes and |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
31 |
tags have a name and one or more values. |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
32 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
33 |
Attributes |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
34 |
settings that apply to an entire package. Introduction |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
35 |
of an attribute that causes different deliveries by the client could |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
36 |
cause a conflict with the versioning algebra, so we attempt to avoid |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
37 |
them. |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
38 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
39 |
Tags |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
40 |
settings that affect individual files within a package. |
293 | 41 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
42 |
Attribute and tag syntax and namespace |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
43 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
293 | 44 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
45 |
Syntax |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
46 |
`````` |
293 | 47 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
48 |
Naming |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
49 |
^^^^^^ |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
50 |
|
293 | 51 |
The syntax for attributes and tags is similar to that used for |
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
52 |
|pkg5| and |smf5| FMRIs. |
293 | 53 |
|
54 |
[org_prefix,][name][:locale] |
|
9 | 55 |
|
293 | 56 |
The organizational prefix is a forward-ordered or reverse-ordered |
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
57 |
domain name, followed by a comma. The name field is an identifier |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
58 |
which may have a prefix ending in a period to allocate the namespace. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
59 |
If the locale field is omitted, the default locale is "C", a 7-bit |
293 | 60 |
ASCII locale. |
61 |
||
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
62 |
Each of these fields is [A-Za-z][A-Za-z0-9\_-.]*. |
293 | 63 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
64 |
Manifests |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
65 |
^^^^^^^^^ |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
66 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
67 |
In package manifests, the syntax for an attribute is: |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
68 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
69 |
set name=<attribute name> value=<value> [value=<value2> ...] |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
70 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
71 |
In package manifests, tags are included in the action line |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
72 |
for the action they apply to: |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
73 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
74 |
<action> [...] <tag name>=<tag value> [<tag name>=<tag value2> ...] |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
75 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
76 |
Unprefixed attributes and tags |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
77 |
`````````````````````````````` |
293 | 78 |
|
79 |
All unprefixed attributes and tags are reserved for use by the |
|
80 |
framework. |
|
81 |
||
82 |
Generally, unprefixed tags are introduced in the definition of an |
|
83 |
action. |
|
84 |
||
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
85 |
Attributes and tags common to all packages |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
86 |
`````````````````````````````````````````` |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
87 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
88 |
Attributes and tags starting with "pkg." or "info." are for attributes |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
89 |
common to all packages, regardless of which particular OS platforms that |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
90 |
a specific package may target. "pkg" attributes are used by the |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
91 |
packaging system itself, while "info" attributes are purely informational, |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
92 |
possibly for use by other software. |
293 | 93 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
94 |
Common attributes |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
95 |
^^^^^^^^^^^^^^^^^ |
293 | 96 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
97 |
pkg.summary |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
98 |
A short, descriptive name for the package. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
99 |
pkg.summary:fr would be the descriptive name in French. |
293 | 100 |
Exact numerical version strings are discouraged in the |
101 |
descriptive name. |
|
102 |
||
103 |
Example: "Apache HTTPD Web Server 2.x" |
|
104 |
||
105 |
pkg.description |
|
106 |
A descriptive paragraph for the package. Exact numerical version |
|
107 |
strings can be embedded in the paragraph. |
|
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
108 |
|
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
109 |
pkg.detailed-url |
293 | 110 |
One or more URLs to pages or sites with further information about |
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
111 |
the package. pkg.detailed-url:fr would be the URL to a page with |
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
112 |
information in French. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
113 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
114 |
pkg.renamed |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
115 |
A value of "true" indicates the package has been renamed or split |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
116 |
into the packages listed in the depend actions. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
117 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
118 |
pkg.obsolete |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
119 |
A value of "true" indicates the package is obsolete and should be |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
120 |
removed on upgrade. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
121 |
|
2493
5db1603f0c3f
18609 support for a human-readable version string
Danek Duvall <danek.duvall@oracle.com>
parents:
2457
diff
changeset
|
122 |
pkg.human-version |
5db1603f0c3f
18609 support for a human-readable version string
Danek Duvall <danek.duvall@oracle.com>
parents:
2457
diff
changeset
|
123 |
For components whose upstream version isn't a dot-separated sequence |
5db1603f0c3f
18609 support for a human-readable version string
Danek Duvall <danek.duvall@oracle.com>
parents:
2457
diff
changeset
|
124 |
of nonnegative integers (OpenSSL's 0.9.8r, for example), this |
5db1603f0c3f
18609 support for a human-readable version string
Danek Duvall <danek.duvall@oracle.com>
parents:
2457
diff
changeset
|
125 |
attribute can be set to that string, and will be displayed when |
5db1603f0c3f
18609 support for a human-readable version string
Danek Duvall <danek.duvall@oracle.com>
parents:
2457
diff
changeset
|
126 |
appropriate. It cannot be used in an FMRI to install a particular |
5db1603f0c3f
18609 support for a human-readable version string
Danek Duvall <danek.duvall@oracle.com>
parents:
2457
diff
changeset
|
127 |
version; package authors must still convert the version into a |
5db1603f0c3f
18609 support for a human-readable version string
Danek Duvall <danek.duvall@oracle.com>
parents:
2457
diff
changeset
|
128 |
sequence of integers. |
5db1603f0c3f
18609 support for a human-readable version string
Danek Duvall <danek.duvall@oracle.com>
parents:
2457
diff
changeset
|
129 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
130 |
variant.* |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
131 |
See facets.txt |
293 | 132 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
133 |
Common tags |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
134 |
^^^^^^^^^^^ |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
135 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
136 |
disable_fmri |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
137 |
See "Actuators" section of |pkg5| |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
138 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
139 |
facet.* |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
140 |
See facets.txt |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
141 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
142 |
reboot-needed |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
143 |
See "Actuators" section of |pkg5| |
293 | 144 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
145 |
refresh_fmri |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
146 |
See "Actuators" section of |pkg5| |
293 | 147 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
148 |
restart_fmri |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
149 |
See "Actuators" section of |pkg5| |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
150 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
151 |
suspend_fmri |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
152 |
See "Actuators" section of |pkg5| |
293 | 153 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
154 |
variant.* |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
155 |
See facets.txt |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
156 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
157 |
Informational attributes |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
158 |
^^^^^^^^^^^^^^^^^^^^^^^^ |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
159 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
160 |
The following attributes are not necessary for correct package installation, |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
161 |
but having a shared convention lowers confusion between publishers and |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
162 |
users. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
163 |
|
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
164 |
info.classification |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
165 |
A list of labels classifying the package into the categories |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
166 |
shared among |pkg5| graphical clients. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
167 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
168 |
Values currently used for OpenSolaris are prefixed with |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
169 |
``org.opensolaris.category.2008:`` and must match one of the |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
170 |
categories listed in ``src/gui/data/opensolaris.org.sections`` |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
171 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
172 |
info.keyword |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
173 |
A list of additional terms that should cause this package to be |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
174 |
returned by a search. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
175 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
176 |
info.maintainer |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
177 |
A human readable string describing the entity providing the |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
178 |
package. For an individual, this string is expected to be their |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
179 |
name, or name and email. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
180 |
|
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
181 |
info.maintainer-url |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
182 |
A URL associated with the entity providing the package. |
9 | 183 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
184 |
info.upstream |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
185 |
A human readable string describing the entity that creates the |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
186 |
software. For an individual, this string is expected to be |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
187 |
their name, or name and email. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
188 |
|
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
189 |
info.upstream-url |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
190 |
A URL associated with the entity that creates the |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
191 |
software delivered within the package. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
192 |
|
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
193 |
info.source-url |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
194 |
A URL to the source code bundle, if appropriate, for the package. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
195 |
|
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
196 |
info.repository-url |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
197 |
A URL to the source code repository, if appropriate, for the |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
198 |
package. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
199 |
|
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
200 |
info.repository-changeset |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
201 |
A changeset ID for the version of the source code contained in |
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
202 |
info.repository-url. |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
203 |
|
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
204 |
Attributes common to all packages for an OS platform |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
205 |
```````````````````````````````````````````````````` |
30 | 206 |
|
293 | 207 |
Each OS platform is expected to define a string representing that |
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
208 |
platform. For example, the |OS_Name| platform is represented by |
293 | 209 |
the string "opensolaris". |
210 |
||
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
211 |
OpenSolaris attributes |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
212 |
^^^^^^^^^^^^^^^^^^^^^^ |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
213 |
|
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
214 |
org.opensolaris.arc-caseid |
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
215 |
One or more case identifiers (e.g., PSARC/2008/190) associated with |
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
216 |
the ARC case or cases associated with the component(s) delivered by |
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
217 |
the package. |
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
218 |
|
2291
70ca270c1458
17638 typo in smf dependency error message
Tim Foster <tim.s.foster@oracle.com>
parents:
1957
diff
changeset
|
219 |
org.opensolaris.smf.fmri |
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
220 |
One or more FMRI's representing SMF services delivered by this |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
221 |
package. Automatically generated by |pkgdepend1| for packages |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
222 |
containing SMF service manifests. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
223 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
224 |
opensolaris.zone |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
225 |
Obsolete - replaced by variant.opensolaris.zone. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
226 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
227 |
variant.opensolaris.zone |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
228 |
See facets.txt |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
229 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
230 |
OpenSolaris tags |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
231 |
^^^^^^^^^^^^^^^^ |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
232 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
233 |
opensolaris.zone |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
234 |
Obsolete - replaced by variant.opensolaris.zone. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
235 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
236 |
variant.opensolaris.zone |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
237 |
See facets.txt |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
238 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
239 |
Organization specific attributes |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
240 |
```````````````````````````````` |
30 | 241 |
|
293 | 242 |
Organizations wishing to provide a package with additional metadata |
243 |
or to amend an existing package's metadata (in a repository that |
|
244 |
they have control over) must use an organization-specific prefix. |
|
245 |
For example, a service organization might introduce |
|
2457
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
246 |
``service.example.com,support-level`` or |
75e0d8b7d44f
18630 cannot publish an action where the payload hash contains an equals
Danek Duvall <danek.duvall@oracle.com>
parents:
2291
diff
changeset
|
247 |
``com.example.service,support-level`` to describe a level of support |
293 | 248 |
for a package and its contents. |
249 |
||
1957
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
250 |
Attributes specific to certain types of actions |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
251 |
``````````````````````````````````````````````` |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
252 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
253 |
Each type of action also has specific attributes covered in the |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
254 |
documentation of those actions. These are generally documented |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
255 |
in the section of the |pkg5| manual page for that action. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
256 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
257 |
Attributes specific to certain types of file |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
258 |
```````````````````````````````````````````` |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
259 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
260 |
These would generally appear on file actions for files in a specific |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
261 |
format. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
262 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
263 |
elfarch, elfbits, elfhash |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
264 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
265 |
Data about ELF format binary files (may be renamed in the future |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
266 |
to info.file.elf.*). Automatically generated during package |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
267 |
publication. See the "File Actions" section of |pkg5|. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
268 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
269 |
info.file.font.name |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
270 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
271 |
The name of a font contained in a given file. There may be multiple |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
272 |
values per file for formats which collect multiple typefaces into a |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
273 |
single file, such as .ttc (TrueType Collections), or for font aliases. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
274 |
May also be provided in localized variants, such as a Chinese font |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
275 |
providing both info.file.font.name:en and info.file.font.name:zh for |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
276 |
the English and Chinese names for the font. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
277 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
278 |
info.file.font.xlfd |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
279 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
280 |
An X Logical Font Description (XLFD) for a font contained in a |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
281 |
given file. Should match an XLFD listed in fonts.dir or fonts.alias |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
282 |
for the file. There may be multiple values per file due to font |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
283 |
aliases. |
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
284 |
|
59237f3157c1
16011 doc/tags-and-attributes.txt is out of sync with attributes in use
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1923
diff
changeset
|
285 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
286 |
.. 3.3. Attributes best avoided |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
287 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
288 |
.. built-on release |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
289 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
290 |
.. One problem we may run into is packages that have been built on a |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
291 |
release newer than that on the image. These packages should be |
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
292 |
evaluated as unsuitable for the image, and not offered in the graph. |
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
293 |
There are a few ways to handle this case: |
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
294 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
295 |
.. 1. Separate repository. All packages offered by a repository were |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
296 |
built on a known system configuration. This change requires |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
297 |
negotiation between client and server for a built-on match |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
298 |
condition. It also means that multiple repositories are needed |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
299 |
for a long lifecycle distribution. |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
300 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
301 |
.. 2. Attributes. Each package comes with a built-on attribute. This |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
302 |
means that clients move from one built-on release to another |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
303 |
triggered by conditions set by the base package on the client. |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
304 |
Another drawback is that it becomes impossible to request a |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
305 |
specific package by an FMRI, without additional knowledge. |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
306 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
307 |
.. 3. Additional version specifier. We could extend |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
308 |
release,branch:timestamp to release,built,branch:timestamp--or |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
309 |
fold the built and branch version together. Since the built |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
310 |
portion must reserve major.minor.micro, that means we move to a |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
311 |
package FMRI that looks like |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
312 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
313 |
.. [email protected],5.11.0.1:timestamp |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
314 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
315 |
.. This choice looks awkward. We could instead treat the built |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
316 |
portion as having a default value on a particular client. Then |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
317 |
the common specifier would be |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
318 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
319 |
.. name@release[,build]-branch:timestamp |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
320 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
321 |
.. build would be the highest available valid release for the |
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
322 |
image. |
16
34fa0ef929b0
record JES requirements; build-binary ties are versions not flavours
"Stephen Hahn <sch@sun.com>"
parents:
9
diff
changeset
|
323 |
|
1923
8d42b7caa49d
16081 begin a developer guide for pkg(5)
Stephen Hahn <stephen.hahn@oracle.com>
parents:
293
diff
changeset
|
324 |
.. The meaning of the built-on version could be controversial. A |
30 | 325 |
simple approach would be to base it on base/minimal's release, |
326 |
rather than uname(1) output. |
|
327 |
||
293 | 328 |
|
329 |