Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
Shell pattern matching notation allowed: [ ] * ? !
Patterns can be “ORed” together using the separator: |
Examples: 9000/7*:*|9000/8*:*, HP-UX, ?.11.*
Product Specification File Semantics
The following sections describe how to specify a PSF and defines keywords.
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.
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 83) 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.
layout_version PSF syntax conforms to the layout_version=1.0 of the POSIX
1387.2 Software Administration standard. Previous versions of
SD-UX supported the POSIX layout_version=0.8 syntax,
which continues to be supported. (You can also select the layout
version with the layout_version option for swpackage,
swmodify, swcopy, or swlist.) See “Selecting the PSF Layout
Version ” (page 172) for more information.
tag The short name of the target depot (tape) being created/modified
by swpackage.
Creating a Product Specification File (PSF) 175