HP-UX Software Assistant Reference (November, 2010)
2. Review the recommended actions and issues.
3. Download patches using the gateway system and make a depot on the local system:
# swa get -t target_depot -x download_cmd='/usr/local/bin/myGetScript.sh'
where myGetScript.sh could be
#! /usr/bin/sh
URL=”$1”
ssh user@gateway 'wget —O — \'$URL\' '
4. Continue with the patch installation procedure.
-x ftp_proxy=${proxy}
Usage: Advanced
Proxy host and port (with optional HTTP basic authentication username and password) for
accessing content using the FTP protocol. No proxy information is specified by default.
The following format is used:
service://[user:password@]proxy-server:port
For example: ftp_proxy=http://web-proxy.mycompany.com:8088
The FTP protocol is used for patch download. Integrity of the patches is checked using MD5
secure hashes in the catalog, for which the HTTPS protocol is recommended. See the
https_proxy option and the catalog_source option for details.
The use of ${proxy} for this option value is substituted with the value of the proxy option
(which is not set by default).
-x hp_id=
Usage: Advanced
Use this option to specify your ITRC User ID to gain access to the ITRC patch database.
-x hp_pw=
Usage: Advanced
Use this option in conjunction with hp_id to specify your ITRC password.
-x html_report=${user_dir}/report/swa_report.html
Usage: Basic
The file containing the HTML-formatted report that is generated by the swa report command.
This is a single file with internal hyperlinks. The HTML report may be printed to standard output
using the stdout_report_type option.
The use of ${user_dir} at the beginning of this option value is substituted with the value of
the user_dir option (which defaults to $HOME/.swa).
-x https_proxy=${proxy}
Usage: Advanced
Proxy host and port (with optional HTTP basic authentication username and password) for
accessing content using the HTTPS protocol. No proxy information is specified by default.
The following format is used:
service://[user:password@]proxy-server:port
For example: https_proxy=http://web-proxy.mycompany.com:8088
If username and password are specified as authentication credentials to your proxy server,
HTTP basic authentication is used, which is a clear-text protocol, (that is, your password may
be visible to others on your network). Also, credentials specified on the command-line are
visible to other local users, and access to credentials stored in extended option files are
determined by their permissions. If your proxy server requires another type of authentication,
see the -x download_cmd option.
29