Solaris Package Companion v0.6
Monday Jul 10, 2006
Well, it is time for another update of the Solaris Package Companion. During the course of some additional testing, I found a few bugs which I have corrected in this new version. The biggest issue corrected in this update is the detection of packages versus clusters. I also added a check to avoid an exception case where a package is defined in a clustertoc(4) file but it cannot be found in the distribution (or on the local system when in local-only mode). For those interested, here is a diff:
blackhole$ diff spc-v0.5.ksh spc-v0.6.ksh
44,48c44,45
< BASEDIR=""
< REPOSITORY=""
<
< export BASEDIR REPOSITORY
<
---
> export BASEDIR=""
> export REPOSITORY=""
69c66,69
< else
---
> elif [ -d "`dirname ${fileName}`" ]; then
> # GMB: This is a small hack to avoid generating an error message
> # when a package is listed in a "contents" file but it does
> # not otherwise exist (e.g., SUNWphx on snv_18)
88a89,94
> if [ -z "${name}" ]; then
> # This method should only be trusted when in "local only" mode.
> if [ ${LOCAL_ONLY} -eq 1 ]; then
> name="`pkgparam ${1} NAME 2>/dev/null`"
> fi
> fi
221c227
< if [ `echo ${member} | grep -c "^[A-Z]*C"` -eq 1 ]; then
---
> if [ -d ${C_DIR}/${member} ]; then
If you are interested in giving this version a whirl, please download version 0.6 and let me know what you think! Thank you to everyone who has provided feedback and ideas so far! Keep them coming!
Take care,
Glenn
Technorati Tag: OpenSolaris Solaris security minimization
Posted at 02:47PM Jul 10, 2006 by gbrunett in Solaris 10 Security Tags: minimization opensolaris security software solaris tool-spc









