HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)

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 attributes
can be listed with
swlist.
As always, use caution in constructing your Product Specification File. If you misspell a standard keyword,
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 support a subset of
isascii() characters only:
Requires one or more characters from: "A-Z", "a-z", "0-9", including the first character.
The
isspace() characters are not allowed.
SDU 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 (1Mb 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(1) command, which requires a file’s
basename(1) be <= 100 bytes, and a file’s dirname(1) 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: |
446 Hewlett-Packard Company 6 HP-UX 11i Version 3: February 2007