Software Distributor Administration Guide (March 2009)

Table Of Contents
Patterns can be “ORed” together using the
separator: |
Examples: 9000/7*:*|9000/8*:*, HP-UX,
?.11.*
10.4.2.4 Product Specification File Semantics
The following sections describe how to specify a PSF and defines keywords.
10.4.2.4.1 Vendor-Defined Attributes
You can create your own software attributes when packaging software.
Vendor-defined attributes are noted during packaging or when modified with
swmodify. You can list these attributes with swlist.
When SD-UX encounters a keyword in a PSF that is not one of the standard keywords,
the keyword and its associated values are preserved by being transferred to the INDEX
or INFO files created by swpackage.
Nonstandard keywords are defined as 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.
CAUTION: If you misspell a standard keyword, SD-UX may mistake the keyword
for a vendor-defined attribute, which may lead to packaging errors.
10.4.2.4.2 Distribution (Depot) Specification
Distribution attributes let you list information about the media that will hold the depot
(either tapes or CD/directory.) See “Depot Management Commands and Concepts”
(page 111) for more information about depots. Here is a PSF for a distribution:
distribution
layout_version 1.0
tag APPLICATIONS_CD
copyright < data/copyright.cd
description <data/description.cd
number B1234-56789
title HP-UX Applications Software Disk
# Optional vendor specification can be included.
# AT LEAST ONE PRODUCT SPECIFICATION MUST BE INCLUDED.
# Other product specifications are optional.
end
The distribution keyword is always required. All other attributes are optional.
distribution or depot
Keyword that begins the distribution specification.
Each keyword defines an attribute of the distribution
depot or tape itself. All keywords are optional, even
if a distribution specification is included in a PSF.
230 Creating Software Packages