HP-UX Software Assistant Reference (November, 2010)

The HTTPS protocol is used for catalog download, the HTTP protocol is used to download the
CRL, and the FTP protocol is used for patch download. The proxy= option controls the default
for all three proxies. See the https_proxy option, the http_proxy option, and the
ftp_proxy option for more details.
-x swcache=/var/opt/swa/cache
Usage: Basic
This is the directory where SWA stores downloaded patches before putting them into a depot.
The default location is only writable by root, so this value needs to be changed for a non-root
user to be able to download software. Opening up permissions on the default location is not
recommended.
-x user_dir=~/.swa
Usage: Basic
The directory where SWA stores catalog, inventory, analysis, ignore, and report files. The
default location is a subdirectory (.swa) of the user's home directory. This can be changed,
for example, to allow archival of previous interim artifacts in a date-specific directory or off-host.
Several other options default to a directory relative to this directory, so changing this option
allows all of those locations to stay in sync relative to a common root.
-x verbosity=3
Usage: Basic
Specifies the level of standard error verboseness:
0 Only ERROR messages and the starting and ending BANNER messages.
1 Adds WARNING messages.
2 Adds NOTE messages.
3 Adds INFO messages (informational messages preceded by the '*' character); this is the
default.
4 Adds verbose INFO messages.
5 Adds very verbose INFO messages.
Note: The -v option is equivalent to increasing verbosity by 1 (for example, from 3 to 4) and
the -q option is equivalent to decreasing verbosity by 1. The -v and -q options can be used
more than once.
EXTERNAL INFLUENCES
Environment Variables
For compatibility with other applications, several environment variables can be used to configure
how SWA connects to the Internet to retrieve catalogs, certificate revocation lists, and software.
These environment variables include ftp_proxy, http_proxy, and https_proxy.
These environment variables have the same effect as the corresponding extended options of the
same names. The Extended Options section describes the usage and meaning of each option and
the behavior if the same option is specified in multiple places.
The proxy extended option cannot be specified as an environment variable, but may be a useful
alternative if all protocols use the same proxy server at your site.
The TMPDIR environment variable is also honored for local operations, if set. If this value is not
set, the default of /var/opt/swa/tmp is used. This directory does not allow write operations for
non-privileged users, so TMPDIR must be set by non-root users if a temporary directory is required
for that operation. An example operation that uses this directory is unsharing of patch files. For
older-style patches which do not honor TMPDIR, SWA rewrites the shar file so that TMPDIR will
be honored before unpacking the patch.
21