HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
s
swpackage(4) swpackage(4)
• location applies only to installed software and refers to software installed to a location
other than the default product directory.
• fr and fa apply only to filesets.
• r , a , v , c
, and l apply only to bundles and products. They are applied to the left-
most bundle or product in a software specification.
• The <op> (relational operator) component can be of the form:
==, >=, <=, <,
>,or!=
which performs individual comparisons on dot-separated fields.
For example, r>=B.10.00 chooses all revisions greater than or equal to
B.10.00.
The system compares each dot-separated field to find matches. Shell patterns are not
allowed with these operators.
• The
= (equals) relational operator lets you specify selections with the shell wildcard and
pattern-matching notations:
[], *, ?, !
For example, the expression r=1[01].* returns any revision in version 10 or version
11.
• All version components are repeatable within a single specification (e.g. r>=B.12,
r<B.20). If multiple components are used, the selection must match all components.
• Fully qualified software specs include the r=, a=, and v= version com-
ponents even if they contain empty strings. For installed software, l= is also included.
• No space or tab characters are allowed in a software selection.
• The software instance_id can take the place of the version component. It has the form:
[instance_id]
within the context of an exported catalog, where instance_id is an integer that distin-
guishes versions of products and bundles with the same tag.
PRODUCT SPECIFICATION FILE SEMANTICS
The following sections describe the attributes which can be defined.
Distribution (Depot) Specification
The following is an example of a distribution specification:
distribution or depot
layout_version 1.0
tag APPLICATIONS_CD
copyright < data/copyright.cd
description < data/description.cd
number B2358-13601
title HP-UX Applications Software Disc
[<vendor specification> ]
...
[<bundle specification> ]
...
<product specification>
[<product specification> ]
...
end
distribution
or depot
Keyword that begins the distribution specification. Each keyword defines an attribute of the distribu-
tion depot or tape itself. All keywords are optional, even if a distribution specification is included in a
PSF.
448 Hewlett-Packard Company − 8 − HP-UX 11i Version 3: February 2007