HP-UX Software Assistant Reference (November, 2010)

swa-get(1M)
NAME
swa-get: swa -- Download software from HP to resolve issues and make a depot
SYNOPSIS
swa get [-p] -t target_depot
[-q [q[q]]] [-v[v]] [[-option] -?] [-x option=[value|-?]] [-X option_file]
DESCRIPTION
The swa get command uses the results file generated by the analyze step of swa report to
download the necessary software from HP. Write access to the swcache directory is required for
this step; see swa-report(1M). The downloaded software is then packaged in a depot. You must
be a privileged user for this step. While swa get can update an existing depot, it does not analyze
that depot for issues and the original contents of that depot are the responsibility of the system
administrator. Currently, only patches can be downloaded from HP (for example, Application
Release software is excluded), and some security issues require manual action (that is, cannot be
resolved by HP-supplied patches).
If a preexisting depot is being updated, swa get determines if the needed software is already in
the depot or in the swcache directory. The swa get command will not download patches that
already exist in either location.
Security Considerations
Software download (swa get) relies on the integrity of the analysis file to ensure the integrity of
patches before unpacking them. The analysis file gets MD5 checksum information directly from
the catalog. Therefore it is important that all transmissions of the catalog and/or analysis file are
integrity protected and that file permissions do not allow unnecessary modification.
Depot creation (swa get) relies on the integrity of the patches within the swcache directory.
Therefore, after unpacking the patches, it is important that all subsequent transmissions of the
patches are integrity protected and that file permissions do not allow unauthorized modification.
Deploying software using Software Distributor (using the swinstall command) has security
properties that are documented in the Software Distributor Administration Guide.
Options
swa get recognizes the following options:
-p Runs this command in preview mode.
-t target_depot The depot that software is copied into as specified by target_depot.
This is where patches from HP are copied into. Normally, the
target_depot should be empty and a new depot will be created. If
the depot already exists, you must specify the advanced option -x
allow_existing_depot=true and understand its implications. (See
also the -x allow_existing_depot option in Extended Options).
-q The verbosity level is decreased by one for each instance -q is specified.
(See also the -x verbosity option.)
-v The verbosity level is increased by one for each instance -v is specified.
(See also the -x verbosity option.)
-? Displays general usage.
-option -? Describes the legal values for this option. If option is -x, all possible
extended options are listed for the specified major mode (swa command).
If no major mode is given, all extended options are listed for all the major
modes.
16