HP-UX Reference (11i v1 05/09) - 4 File Formats (vol 8)
s
swpackage(4) swpackage(4)
(HP-UX Software Distributor)
If the filename specifies a directory, then all files below that directory are excluded.
Include files let you include file definitions from a separate file. The syntax is:
file < include_file
The include file must be separated from the
file keyword by a less than sign (<).
EXAMPLES
This example illustrates a typical PSF.
# PSF file which defines an example product.
depot
layout_version 1.0
# Vendor definition:
vendor
tag HP
title Hewlett-Packard Company
description < data/descr.hp
category
tag system_mgt
title Systems Management Applications
description These are the system management applications
revision 1.0
end
# Product definition:
product
tag SD
revision B.01.00
architecture HP-UX_B.11.23_IA/PA
vendor_tag HP
title HP Software Distributor
number B2001A
category_tag system_mgt
description < data/descr.sd
copyright < data/copyr.sd
readme < data/README.sd
machine_type *
os_name HP-UX
os_release ?.11.*
os_version ?
directory /
is_locatable false
# Create a product script which executes during the swremove
# analysis phase. (This particular script returns an ERROR,
# which prevents the removal of the SD product.)
checkremove scripts/checkremove.sd
# Subproduct definitions:
subproduct
tag Manager
title Management Utilities
contents commands agent data man
end
subproduct
tag Agent
title Agent component
contents agent data man
end
HP-UX 11i Version 1: September 2005 − 23 − Hewlett-Packard Company Section 4−−311