PatchReport 2.x is ready for download. The latest update
contains support for Casper Dik's fastpatch, and has the
ability to exclude certain patches based on patch ids.
PatchReport can be found at the following URL(s):
Following is a more detailed description:
PatchReport is a script to assist in the automation of patch
installation. PatchReport is written in perl, and does require the
addition of several perl modules, libnet, Data-Dumper, MD5, and
IO. Casper Dik's fastpatch program is also supported. Use of the
fastpatch program can dramatically reduce the time to install
patches! Its use is highly recommended.
PatchReport works on ALL Solaris based systems, including Solaris
PatchReport operates in two main modes. The first mode makes use of
the Recommended patch list available from
sunsolve.sun.com/pub/patches, the list of patches available to non
contract customers. PatchReport will retrieve the recommended patch
list, and compare it to the output of your 'showrev -p' output. If
invoked with the '-r' flag PatchReport will go and retrieve the needed
patches. A sample of the output will help to elucidate the process.
The second mode available to contract customers, will go and retrieve
the patchdiag.xref file available from sunsolve.sun.com with an active
support contract. In this mode, PatchReport will compare the installed
patches to the current patches and give a report of the patches that
can be added. If invoked with the '-r' switch PatchReport will down
load the patches, checking the CHECKSUMS file to make sure that the
md5 checksums match. If summoned with the '-i' flag PatchReport will
install the patches, skipping patches that failed the checksum
test. The other options follow:
[-A] [-a "ID/passwd"] [-cdghi]
[-E "/path/to/excluded_patches (one patch per line)"]
[-e "103594 104117 105408 105616"] [-F]
[ -f Arguments to fastpatch, i.e. -f nsI for -n -s -I ( see fastpatch documentation )]
[ -L "/path/to/file_with_list_of_patches (one patch per line)]
[-N "/path/to/recommended_list"] [-n]
[-p "/path/to/patches"] [-QqRr]
[-s "message"] [-X "/path/to/patchdiag.xref"]
[ -Z "/path/to/uncompress/patches"]
-A Prompt for account information
-a SunSolve "ID/passwd"
-c Prints patches which are current (UP)
-d Debugging option
-e Exclude patch IDs (e.g. 103594 sendmail patch for sparcs)
-F Force patch installation without any questions
-f Arguments to fastpatch, i.e. -f nsI for -n -s -I ( see fastpatch documentation )
Defaults for fast patch are the following:
-n Never call installpatch (by default, fastpatch will
fall back to installpatch when it can't find package
-s Save old files so the patch can be backed out.
(Works for new style patches)
-I Ignore backoutpatch failures
(instead, the system state is updated as if the patch
has been backed out)
-g Grace period for shutdown (in seconds)
-h Prints this message and exits
-i Install patches
-L "/path/to/file_with_list_of_patches (one patch per line)"
-n No contract support (use Recommended patch list)
-p "/path/to/patches" (default: /var/tmp/patches)
-Q "/path/to/fastpatch" -q Use Casper Dik's fastpatch program to install patches
-R Remove compressed patches and
directories after installation,
but not if uncompressing to a different directory ( -Z option ).
In that case just clean up the uncompressed directory and leave
compressed patch in place.
-r Retrieve patches
-s Shutdown with "Message"
-v Version number
-- Joe Shamblin email@example.com Systems Administrator Department of Computer Science 660-6582 Duke University
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:30 CDT