Home

vxpref.cgi




Purpose

vxpref.cgi is a CGI script written in ksh to analyze the patchdiag.xref file from Sun.


Back to top

License


# CDDL HEADER START
#
# The contents of this file and the script are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END


Back to top

History


Version
Releasedate
         Description
0.0.5
06/13/05
corrected a bug in the handling of obsolete patches
0.0.3
04/04/05
made the local patch directory variable
0.0.2
03/07/05
initial public release



Back to top

Operating system


Solaris



Back to top

Language / type


Kornshell Script



Back to top

Prerequisites

a running webserver on Solaris (e.g. apache), ksh, awk, and wget



Back to top

Usage

Copy the the script vxpref.cgi to the cgi-bin directory of your web server.

Make sure, that awk and wget are configured and can be executed by the userid that is used for running the webserver.
Create the directory /export/install/tools (or change the variable PATCHDIAG_XREF_FILE_DIR in the script.

Create the directory /export/install/All_Patches (or change the variable LOCAL_PATCH_DIRECTORY in the script)
Note that this task is not really necessary anymore because the local patch directory is now configurable using the web interface.

Call vxpref.cgi using the URL http://<your_webserver_hostname>/cgi-bin/vxpref.cgi



Back to top

Examples


n/a


Back to top

Notes

Unfortunately I'm not allowed to execute CGI scripts on this webserver (and I don't know if it's running on Solaris anyway). Therefor you must download and install the script to see how it works.

Please note that the script does not work for the Solaris 10 patches due to to the new patch policy from Sun. I will update the script as soon as I have time.


Back to top

Download

Download vxpref.cgi


Back to top