swpackage.4 (2010 09)

s
swpackage(4) swpackage(4)
The keyword is a filename character string. The value associated with a keyword is processed as an
attribute_value. It can be continued across multiple input lines or can reference a file containing the
value for the keyword.
Vendor-defined attributes are noted during packaging or when modified with
swmodify. These attri-
butes can be listed with
swlist.
As always, use caution in constructing your Product Specification File. If you misspell a standard key-
word, SD may mistake the keyword for a vendor-defined attribute.
VALUE TYPES
The value for each attribute must be of a specific type. The types are:
tag_string
Maximum length: 64 bytes
Examples: HP, SD
Tag strings contain a subset of
isascii() characters.
The first character is restricted to: "A-Z", "a-z", "0-9"
The
isspace() characters are not allowed; see ctype (3C).
Metacharacters not allowed:
.,:=
Shell metacharacters not allowed:
#;&(){}|<>
Shell quoting characters not allowed: "‘’\
Directory path character not allowed: /
one_line_string
Maximum length: 256 bytes
Examples: Hewlett-Packard Company
One-line strings support a subset of
isascii() characters only:
No
isspace() characters, except for space and tab, are allowed.
multi_line_string
Maximum length: 8192 bytes (1 Mb for readme)
Multi-line strings support all
isascii() characters. They represent one or more para-
graphs of text. They can be specified in-line, surrounded by double-quotes. They can
also be stored in a file, and specified using the ‘‘< filename’’ format.
revision_string
Maximum length: 64 bytes
Examples: 2.0, B.11.11
Revision strings contain zero or more dot-separated one_line_strings (above).
boolean Maximum length: 8 bytes
Examples: true, false
One of the values "true" or "false".
path_string
Maximum length: 255 bytes for tapes, 1024 bytes for depots
Examples: /usr, /mfg/sd/scripts/configure
An absolute or relative path to a file. Many attributes of this type are restricted to 255
bytes in length. This restriction is due to the tar command, which requires a file’s
basename be <= 100 bytes, and a file’s dirname to be <= 155 bytes. (Some implemen-
tations of tar enforce < and not <=.)
uname_string
Maximum length: 64 bytes
Examples: 9000/7*, 9000/8*, ia64*, HP-UX, ?.11.*
Uname strings containing a subset of
isascii() characters only.
No isspace() characters are allowed.
Shell pattern matching notation allowed: []*?!
Patterns can be "ORed" together using the separator: |
path_mapping_string
Maximum length: none
6 Hewlett-Packard Company 6 HP-UX 11i Version 3: September 2010