Software Distributor Administrator Guide (September 2010)

10.4.2.1.1 Control Files
SD-UX supports execution of control files (also known as control scripts) at the product
and fileset level. Control scripts let you perform additional checks and operations. The
swinstall, swconfig, swverify, and swremove commands each execute one or
more vendor supplied scripts. All scripts are optional but many times are needed
correctly complete the task that you want your software package to perform. See
Chapter 11: “Using Control Scripts ” (page 269) for a complete discussion of control
scripts.
10.4.2.2 Selecting the PSF Layout Version
You can select the layout version in the depot definition in the PSF (see “Product
Specification File Semantics” (page 234)) or with the layout_version option for
swpackage, swmodify, swcopy, or swlist.
PSF syntax conforms to the layout_version=1.0 of the IEEE Standard 1387.2:
Software Administration (POSIX). Previous versions of SD supported the POSIX
layout_version=0.8 syntax, which continues to be supported.
Software depots cannot mix layout versions; they must be one or the other.
Differences between the two layout versions include the following:
The vendor specification is handled differently.
For the current standard (layout_version=1.0), each vendor class definition
is associated only with subsequent products or bundles that contain a vendor_tag
attribute that matches the tag attribute within the vendor class definition.
For the previous standard (layout_version=0.8) or if you do not specify a
layout_version, products or bundles are automatically associated with the last
vendor class you defined at the distribution level, or from a vendor that you define
within the product or bundle. Explicitly defined vendor_tag attributes (with or
without a value) take precedence.
The corequisites and prerequisites have singular titles for layout_version=0.8
(that is, corequisite and prerequisite). See “Dependency Specification” (page 244)
for more information.
Category objects and keywords are handled differently.
For layout_version=1.0 (current standard):
category_tag is a valid product attribute that replaces the category and
category_title attributes.
you can define category class objects.
For layout_version=0.8 (previous standard):
category and category_title are valid product attributes that replace the
category_tag attribute.
category class objects are not recognized.
230 Creating Software Packages