[csw-devel] SF.net SVN: gar:[2592] csw/mgar/pkg/pca/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sun Dec 14 22:38:42 CET 2008


Revision: 2592
          http://gar.svn.sourceforge.net/gar/?rev=2592&view=rev
Author:   dmichelsen
Date:     2008-12-14 21:38:42 +0000 (Sun, 14 Dec 2008)

Log Message:
-----------
pca: Add pca.conf from William Bonnet, review of parameters for latest version pending

Modified Paths:
--------------
    csw/mgar/pkg/pca/trunk/Makefile
    csw/mgar/pkg/pca/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/pca/trunk/files/pca.conf

Modified: csw/mgar/pkg/pca/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pca/trunk/Makefile	2008-12-14 20:35:35 UTC (rev 2591)
+++ csw/mgar/pkg/pca/trunk/Makefile	2008-12-14 21:38:42 UTC (rev 2592)
@@ -16,6 +16,7 @@
 MASTER_SITES = http://www.par.univie.ac.at/solaris/pca/download/
 DISTFILES  = $(GARNAME)-$(GARVERSION)
 DISTFILES += $(call admfiles,CSWpca)
+DISTFILES += pca.conf
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d{8}-\d{2})

Modified: csw/mgar/pkg/pca/trunk/checksums
===================================================================
--- csw/mgar/pkg/pca/trunk/checksums	2008-12-14 20:35:35 UTC (rev 2591)
+++ csw/mgar/pkg/pca/trunk/checksums	2008-12-14 21:38:42 UTC (rev 2592)
@@ -1,2 +1,3 @@
 85ce7fa0c108b5e6f1fd1b84e1216ca6  download/pca-20081024-01
 12fc8ec8fe4164566632328a76e025f7  download/CSWpca.gspec
+12de68ff8f67b4bb8b095e5646402208  download/pca.conf

Added: csw/mgar/pkg/pca/trunk/files/pca.conf
===================================================================
--- csw/mgar/pkg/pca/trunk/files/pca.conf	                        (rev 0)
+++ csw/mgar/pkg/pca/trunk/files/pca.conf	2008-12-14 21:38:42 UTC (rev 2592)
@@ -0,0 +1,396 @@
+# -----------------------------------------------------------------------------
+#
+# PCA - Patch Check Advanced
+#
+# The template for this configuration file is associated to version 5.3
+# if you currently use a newer version, please check if you need to update
+# this file.
+#
+#
+#
+# The behaviour of pca can be configured by setting any option either in this  
+# configuration file, or as an environment variable with the PCA_ prefix or on
+# the command line. 
+#
+# See man page for pca for a complete list of allowed options
+#
+# At first, this configuration file is read from the following locations :
+#
+#    /opt/csw/bin/pca.conf
+#    /opt/csw/etc/pca.conf
+#    /etc/pca.conf
+#    $HOME/.pca 
+#    pca.conf in the current directory
+#
+# in this order. Options are set by specifying option=value in the file. 
+#
+#    Example: To set the path of the wget command, use wget=/opt/csw/bin/wget 
+#             To enable debug output, use debug=1.
+#
+# The values defined in this configuration file can be supereded at runtime.
+#
+# After reading the values from the first configuration file, all environment 
+# variables matching PCA_OPTION are read. 
+#
+#    Example: To set the patch download directory, set PCA_PATCHDIR to 
+#             /some/dir/. 
+#             To set the noheader option, set PCA_NOHEADER to 1.
+#
+# At last, the command line options are read. Example: To set the location of 
+# the patch xref file, use -X /tmp or --xrefdir=/tmp. To set the option for 
+# safe patch installation, use -s or --safe.
+#
+#
+#
+# The following value is set by default in the Blastwave package
+#
+#    wget=/opt/csw/bin/wget
+#
+
+
+
+# -----------------------------------------------------------------------------
+#
+# Variable : user
+#
+#   Login name for Sun Online Account authentication.
+#
+# user=USER
+
+# -----------------------------------------------------------------------------
+#
+# Variable : passwd
+#
+#   Password for Sun Online Account authentication.
+#
+# passwd=PASS
+
+
+
+
+# -----------------------------------------------------------------------------
+#
+# Variable : list
+#
+#   List patches. See OPERANDS on how to specify which patches are listed.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line) 
+#   this option is not activated. Uncomment the line to activate it.
+#
+# list=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : listhtml
+#
+#   Like -l, but generates output in HTML format, including links to patch READMEs and downloads.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# listhtml=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : download
+#
+#   Download patches. See OPERANDS on how to specify which patches are 
+#   downloaded. Patches are placed in the current directory or in patchdir, 
+#   if set.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# download=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : install
+#
+#   Download and install patches. See OPERANDS on how to specify which patches 
+#   are installed. Requires pca to be run as root.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# install=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : pretend
+#
+#   Like -i, but only pretend to install patches. Can be used to find out if 
+#   any of the patches require a reboot.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# pretend=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : readme
+#
+#   Display patch READMEs. See OPERANDS on how to specify which READMEs are 
+#   displayed. The patch README is extracted from a previously downloaded patch
+#   file or downloaded directly from Sun.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# readme=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : getxref
+#
+#   Download most recent patch cross-reference file. If the file does not exist
+#   or is older than 24 hours, pca tries to download it on its own before 
+#   anything else.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# getxref=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : xfredir
+#
+#   Set location of the cross-reference file. The default is /var/tmp. 
+#   By default, patchdiag.xref is writable for all users. If the xrefown 
+#   option is set, or the xrefdir option contains /home, the cross reference
+#   file will be writable by the current user only.
+# 
+# xrefdir=/var/opt/csw/pca
+
+# -----------------------------------------------------------------------------
+#
+# Variable : nocheckxref
+#
+#   Do not check for updated patch cross-reference file. Use this option to 
+#   maintain a global baseline patch set.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# nocheckxref=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : xrefown
+#
+#   If set, patchdiag.xref will be writable for the current user only.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# xrefown=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : nocache
+#
+#   If a proxy is used to access the Internet, this option advises it to not 
+#   cache patchdiag.xref. Useful if the proxy can't be trusted to always return 
+#   an up-to-date version of the file.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# nocache=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : patchdir
+#
+#   Set directory to which patches are downloaded. Only use absolute path names.
+#   The default is the current working directory.
+#
+# patchdir=/var/opt/csw/pca/download
+
+# -----------------------------------------------------------------------------
+#
+# Variable : askauth
+#
+#   Ask for Sun Online Account data interactively.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# askauth=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : localurl
+#
+#   If set, pca tries to download patches and READMEs from this URL first. 
+#   Any URL starting with file:/, ftp://, http:// or https:// can be used. 
+#   See LOCAL PATCH SERVER for more information.
+#
+# localurl=URL
+
+# -----------------------------------------------------------------------------
+#
+# Variable : pattern
+#
+#   List only patches whose synopsis matches the search pattern REGEX. This 
+#   can be a simple string like mail or a regular expression like "[kK]ernel".
+#
+# pattern=REGEX
+
+# -----------------------------------------------------------------------------
+#
+# Variable : noreboot
+#
+#   Install only patches that don't require a reboot after installation.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# noreboot=1
+
+
+# -----------------------------------------------------------------------------
+#
+# Variable : minage
+#
+#   List only patches which are at least DAYS old.
+#
+#   Set the variable value to the number of DAYS (eg: 5, 10, 30). By default 
+#   (uncommented line) this option is not activated. Uncomment the line to 
+#   activate it.
+#
+# minage=DAYS
+
+
+# -----------------------------------------------------------------------------
+#
+# Variable : syslog
+#
+#   Syslog facility (eg. user or local0) to log successful patch installs to.
+#
+# syslog=TYPE
+
+# -----------------------------------------------------------------------------
+#
+# Variable : nobackup
+#
+#   Make patchadd not back up files when installing patches. This works by 
+#   running patchadd with its -d option. Patches can not be backed out if this 
+#   option is used.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# nobackup=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : safe
+#
+#   Safe patch installation. Checks all files for local modifications before 
+#   installing a patch. A patch will not be installed if files with local 
+#   modifications would be overwritten.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# safe=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : currentzone
+#
+#   Make patchadd modify packages in the current zone only. This works by 
+#   running patchadd with its -G option. This option works on Solaris 10 or 
+#   newer only.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# currentzone=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : patchadd
+#
+#   Path to an alternative patchadd command.
+#
+# patchadd=FILE
+
+# -----------------------------------------------------------------------------
+#
+# Variable : noheader
+#
+#   Don't display descriptive headers. Useful if re-using pca's output in own 
+#   scripts.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# noheader=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : fromfiles
+#
+#   Read uname/showrev/pkginfo output from files in the specified directory, 
+#   where DIR can also be a file name prefix. See CREATING PATCH REPORTS FOR 
+#   REMOTE MACHINES for details.
+#
+# fromfiles=DIR
+
+# -----------------------------------------------------------------------------
+#
+# Variable : root
+#
+#   Set alternative root directory. This can be useful for Live Upgrade, to 
+#   analyze patches in an alternate root environment or to point pca at the 
+#   mini-root of a jumpstart install server. This option works on Solaris 9 or 
+#   newer only.
+#
+# root=DIR
+
+# -----------------------------------------------------------------------------
+#
+# Variable : wget
+#
+#   Path to the wget command.
+#
+
+wget=/opt/csw/bin/wget
+
+# -----------------------------------------------------------------------------
+#
+# Variable : debug
+#
+#   Show debug output. This includes output generated by patchadd.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# debug=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : help
+#
+#   Print help on command line options.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# help=1
+
+# -----------------------------------------------------------------------------
+#
+# Variable : version
+#
+#   Print version information.
+#
+#   Set the variable value to 1 to activate it. By default (uncommented line)
+#   this option is not activated. Uncomment the line to activate it.
+#
+# version=1
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list