HP-UX Reference (11i v1 05/09) - 4 File Formats (vol 8)
s
swpackage(4) swpackage(4)
(HP-UX Software Distributor)
layout_version
Defines the semantics to use when parsing the PSF. To ensure IEEE Standard 1387.2 semantics,
define a layout_version
of 1.0, as the first attribute.
tag Defines the identifier (short name) for the distribution depot or tape.
copyright
Defines the copyright information for the distribution depot or tape; the value is either the text itself
(within double-quotes) or a pointer to the filename containing the text.
description
Defines the multi-paragraph description of the distribution depot or tape; the value is either the text
itself (within double-quotes) or a pointer to the filename containing the text.
distribution
If a distribution specification is included in the PSF,
swpackage requires only the keyword plus one
or more contained product definitions. The
depot keyword can also be used in place of distribu-
tion
.
number
Defines the part or manufacturing number of the distribution depot (e.g. CD-ROM) or tape.
title
Defines the full name (one-line description) of the distribution depot or tape.
end Ends the distribution specification. This keyword is optional.
Vendor Specification
The layout_version defined for the PSF file determines how vendor specifications are associated with
products and bundles. If a
layout_version
is not defined or is defined as 1.0, vendor specifications
will be associated with all subsequent products and bundles that define a matching
vendor_tag attri-
bute.
If a
layout_version
of 0.8 is specified, all subsequent products and bundles will automatically be
assigned a
vendor_tag from the last vendor object defined at the distribution level, if any, or from a
vendor object defined within a product or bundle, unless a vendor_tag is explicitly defined.
Note that the vendor specification is not the same as vendor-defined attributes described in the "Vendor-
Defined Attributes" section.
The following is an example of a vendor specification:
vendor
tag HP
description < data/description.hp
title Hewlett-Packard Company
end
Each keyword defines an attribute of a vendor object. If a vendor specification is included in the PSF,
swpackage requires the vendor and tag keywords.
vendor
Keyword that begins the vendor specification.
tag Defines the identifier (short name) for the vendor.
title
Defines the full name (one-line description) for the vendor.
description
Defines the multi-paragraph description of the vendor; the value is either the text itself (within
double-quotes) or a pointer to the filename containing the text.
end Ends the vendor specification. This keyword is optional.
Category Specification
The following is an example of a category specification.
category
tag
title
HP-UX 11i Version 1: September 2005 − 9 − Hewlett-Packard Company Section 4−−297