swpackage.4 (2010 09)

s
swpackage(4) swpackage(4)
Attribute Table (continued)
Keyword Type Size Example
fileset
* tag tag_string 64 commands
ancestor repeatable list product.oldfileset
of product.fileset oldproduct.fileset
architecture one_line_string 64 HP-UX_B.11.11_32/64
HP-UX_B.11.23_IA/PA
category_tag tag_string 64 patch_normal
corequisites software_spec SD.man,r>=2.0
description multi_line_string 8192 < data/descr.cmd
dynamic_module one_line_string 256 ipf pfil
exrequisite software_spec SD.man,r>=2.0
is_kernel boolean 9 false
is_locatable boolean 9 false
is_patch boolean 9 false
is_reboot boolean 9 false
is_sparse boolean 9 false
machine_type uname_string 64 9000/[78]??
ia64*
os_name uname_string 64 HP-UX
os_release uname_string 64 ?.11.*
os_version uname_string 64 ?
prerequisites software_spec SD.agent,r>=2.0
* revision revision_string 64 2.42
supersedes software_spec 8192 product.fileset,
fr=revision
title one_line_string 256 SD Commands
control_files
directory path_mapping_string ./commands = /usr/sbin
file_permis_ permission_string -u 0222 -o root -g sys
sions permission_string -u 0222 -o root -g sys
file file_specification -m 04555 bin/swinstall
(or) *
end
Control File Attributes
Control files can be defined within filesets and/or products.
Keyword Type Size Example
checkinstall path_string 1024 ./scripts/checkinstall
checkremove path_string 1024 ./scripts/checkremove
configure path_string 1024 ./scripts/configure
control_file path_string 1024 ./scripts/subscripts
postinstall path_string 1024 ./scripts/postinstall
postremove path_string 1024 ./scripts/postremove
preinstall path_string 1024 ./scripts/preinstall
preremove path_string 1024 ./scripts/preremove
request path_string 1024 ./scripts/request
unconfigure path_string 1024 ./scripts/unconfigure
unpreinstall path_string 1024 ./scripts/unpreinstall
unpostinstall path_string 1024 ./scripts/unpostinstall
verify path_string 1024 ./scripts/verify
Vendor-Defined Attributes
You can create your own software attributes when packaging software. Keywords in a product
specification file that are not recognized by SD are preserved, along with their associated values, by being
transferred to the resulting INDEX or INFO files created by swpackageor swcopy. (Refer to swpack-
age(4) for more information on INDEX and INFO files.)
HP-UX 11i Version 3: September 2010 5 Hewlett-Packard Company 5