SUMMARY : What happened with SunSolve 2.1.2 ?

From: Wai-kong Yu (wai-kong@abcomp.be)
Date: Thu Jan 27 1994 - 08:43:53 CST


Original message :

> Hello all,
>
>
> Does anybody knows why the size of sunsolve has been reduced
> to 90MB (coming from 330 MB in 2.1.1) ?
>
> Sunsolve version SIZE
> 2.0 280
> 2.1 320
> 2.1.1 332
> 2.1.2 93 ???
>
> I have the impression that the jumbo patches has been removed
> from 2.1.2. Anything else ?
>

Mr. Ramchand gave me the most complete answer to my question.
In fact, all the patches are still on the cd but are not installed
(and thus not reachable) in sunsolve.
You need to mount the cd to get the (1000!) patches.

Thanks to :

M.Ramchand@car0101.wins.icl.co.uk
pmartini@diva.fr (Pierre Martini)
glenn@uniq.com.au (Glenn Satchell)

 ------------------------------ Start of body part 1

All the patches are now in a separate dir on the cdrom called
patches. (The patches are fairly extensive). Therefore, the
other stuff is a lot smaller. This is a good idea since you
really don't need to have the patches on-line.
see below:

------------------------------ Start of body part 2

The CD contains *all* of the patches that were available when we were
making the CD. ALL 2.x, ALL 4.x, and ALL unbundled (Yikes!)

The patches are *not* a part of the interface for this release - the
old way was too complex to use. They are stored on the CD as compressed
tar files (xxxxxx-yy.tar.Z)

The patches are in a separate directory at the top level on the CD - when
mounting the CD you will see 3 directories:
 SunOS4.x
 Solaris2.x
 patches (actual patches are in patches/files)

Within the patches directory are the files I've included below.
The patchinstall script is very simple - it just uncompresses/untars the
particular patch specified and installs it - at least it installs the patch
for 5.x patches. For 4.x patches, it does some of the work, then tells you
to read the readme included with the patch.

The file "patchesoncd" contains a listing of all the patches (with version #'s)
that are on the CD.

I know this isn't the optimal solution, but it's a step in the right
direction...

So now the real question is, will this really help?
You get to answer that question - I want your feedback on the number of
patches that you are sending out so we can see if there was a measurable
difference when we put the patches on the CD ...

--will
SunSolve Engineering :-)

----- End Included Message -----

----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: COPYRIGHT
X-Sun-Content-Lines: 45
X-Sun-Content-Length: 2434
X-Sun-Charset: us-ascii

SunOS, Solaris and Unbundled Patches Copyright (c) 1993 SunService, Inc.
(a Sun Microsystems Business)

Patches and related documentation are protected by
copyright and distributed under licenses restricting their use, copying,
distribution and decompilation. No part of the patches or related
documentation may be reproduced in any form by any means without prior
written authorization of Sun and its licensors, if any.

Portions of this product may be derived from the UNIX(R) and Berkeley
4.3 BSD systems, licensed from UNIX Systems Laboratories, Inc. and the
University of California, respectively. Third party software,
including font technology, in this product is protected by copyright
and licensed from Sun's Suppliers.
 
RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the government
is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the
Rights in Technical Data and Computer Software clause at DFARS 252.227-7013
and FAR 52.227-19.

Sun, Sun Microsystems, the Sun Logo, Solaris, SunOS, ONC, NFS,
OpenWindows, DeskSet, AnswerBook, SunLink, SunView, SunDiag, NeWS,
OpenBoot, OpenFonts, SunInstall, SunNet, ToolTalk, X11/NeWS, Sunsoft,
the SunSoft Logo and XView are trademarks or registered trademarks of
Sun Microsystems, Inc. UNIX and OPEN LOOK are registered trademarks of
UNIX System Laboratories, Inc. PostScript is a registered trademark of
Adobe Systems, Inc. All other product names mentioned herein are the
trademarks of their respective owners.

All SPARC trademarks, including the SCD Compliant Logo, are trademarks or
registered trademarks of SPARC International, Inc. SPARCstation, SPARCserver,
SPARCengine, SPARCworks and SPARCompiler are licensed exclusively to Sun
Microsystems, Inc. Products bearing SPARC trademarks are based upon an
architecture developed by Sun Microsystems, Inc.

The OPEN LOOK(R) and Sun(TM) Graphical User Interfaces were developed by
Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the
pioneering efforts of Xerox in researching and developing the concept of
visual or graphical user interfaces for the computer industry. Sun holds
a non-exclusive license from Xerox to the Xerox Graphical User Interface,
which license also covers Sun's licensees who implement OPEN LOOK GUIs and
otherwise comply with Sun's written license agreements.
 
The X Window System is a product of the Massachusetts Institute of Technology.
 
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: README.FIRST
X-Sun-Content-Lines: 37
X-Sun-Content-Length: 1588
X-Sun-Charset: us-ascii

=============================================================================

SunOS, Solaris and Unbundled Patches

        Copyright (c) 1993 Sun Microsystems, Inc. All Rights Reserved.
            Printed in the United States of America.
    2550 Garcia Avenue, Mountain View, California, 94043-1100 U.S.A.

=============================================================================

The SunSolve and Sun HelpDesk CDROM's contain all the Solaris, SunOS 4.x,
and unbundled product patches stored as compressed tar files.

To install the patches, run the patchinstall script from this directory.

NOTE: Unbundled and SunOS 4.x patches can not be automatically installed.
You will need to follow the instructions provided in the patchinstall script
for completing their installation.

All patches are stored in the "files" subdirectory as compressed tar files
if you would rather perform the installation manually.

****************************************************************************

Patches are distributed to SunService Contract Customers ONLY. Redistribution
to unauthorized parties is prohibited by contract.

Installation of all patches is not suggested as some patches may conflict
with one another. Please make sure that the patch you are installing
is necessary before actually installing the patch. *Make sure* you read
and understand the entire README file provided with each patch before
installing.

Contact your local Sun Answer Center if you have questions about a
particular patch.

****************************************************************************
----------
X-Sun-Data-Type: shell-script
X-Sun-Data-Description: shell-script
X-Sun-Data-Name: patchinstall
X-Sun-Content-Lines: 374
X-Sun-Content-Length: 7457
X-Sun-Charset: us-ascii

#! /bin/sh
#
#
# Copyright (c) 1993 SunService, Inc. A Sun Microsystems Business
#
# Semi-automate the installation of a patch
#

PATH=/usr/ucb:/usr/bin:${PATH}
export PATH

TODO=""
PATCHID=""
SUNOS=""

cleanup ()
{
 # remove the tmp directory files
 if [ x"$TODO" = x ]; then
  return
 else
  for f in $TODO; do
   rm -rf $TMPDIR/$TODO
  done
 fi
}

trap "cleanup; exit" 0 1 2 10 12 13

#
# Solaris provides a standardized way to install patches, so we'll
# do as many cool things as possible
#
install_solaris_patch ()
{

 clear
 cat <<EOF

The installation for Solaris 2.x patches provides the option of
saving the original versions of the software being patched.
Unfortunately, this occasionally will cause your /var/sadm/patch directory
to grow too large. By default, this installation will NOT save
your original versions of software.

EOF

 echo -n "Would you like to save the original versions of the software? [no] "
 read SAVEOLD

 case x"$SAVEOLD" in
  x|xn*|xN*) SAVEOLD=FALSE
     options="-d" ;;
  *) SAVEOLD=TRUE
     options="" ;;
 esac

 clear

 echo "Patches already installed:"
 ls /var/sadm/patch

 cat <<EOF

Next you will be prompted for the patches you wish to install. If you
would like to install the suggested patches, enter "suggested". Otherwise
enter the patch id.

To see a list of the patches you have entered, type a '?' <Return>

To start the installation, press <Return> when prompted for a patch id.

EOF

 while [ 1 ]; do
  echo -n "Patch to install (patchid, suggested, ?): "
  read PATCHID

  case x"$PATCHID" in
  x?) echo "Currently selected patches:"
   echo "$TODO"
   echo ""
   ;;
  xsuggested) TODO=suggested
     break ;;
  x/) echo "Invalid patch id!" ;;
  x) if [ x"$TODO" = x ]; then
    echo "You haven't selected anything to install yet!"
    continue
   else
    break
   fi
   ;;
  *) if [ ! -f files/$PATCHID.tar.Z ]; then
    NEWID=`echo files/$PATCHID-??.tar.Z`
    if [ "$NEWID" = "files/$PATCHID-??.tar.Z" ]; then
     echo "$PATCHID not found"
     continue
    else
     PATCHID=`echo $NEWID | sed 's/\..*//' | sed 's/files\///'`
    fi
   fi
   if [ -d /var/sadm/patch/$PATCHID ]; then
    echo "$PATCHID has already been installed, ignoring."
    continue
   else
    if [ x"$TODO" = x ]; then
     TODO=$PATCHID
    else
     TODO="$TODO $PATCHID"
    fi
   fi
   ;;
  esac
 done
 
 clear
 cat <<EOF

Patch installation setup:

 Temporary directory: $TMPDIR
 Save old versions of files: $SAVEOLD
 Patches to install: $TODO

EOF
 echo -n "Is this correct? [y] "
 read CONT
 
 case x"$CONT" in
 x|xy*|xY*) ;;
 *) echo "Aborting patch installation!"
  exit 1 ;;
 esac

 here=`pwd`

 if [ $TODO = suggested ]; then
  REL=`/bin/uname -r`
  echo "Installing suggested patches for release $REL"
  SUGGESTED=.solaris.${REL}.suggestedpatches
  if [ ! -f $SUGGESTED ]; then
   echo "Couldn't find a suggested configuration file for $REL"
   exit 1
  fi
  TODO=`cat $SUGGESTED`
 fi
 
 cd $TMPDIR
 for f in $TODO; do
  echo "Copying $f to $TMPDIR"
  zcat $here/files/$f.tar.Z | tar xvf -
  if [ ! -f $TMPDIR/$f/installpatch ]; then
   echo "This patch is not a valid Solaris patch. Aborting installation of $f"
  else
   echo "Beginning installation..."
   echo "Options: $options"
   $TMPDIR/$f/installpatch $options $TMPDIR/$f
   echo "Installation of $f complete."
  fi
  echo "Removing temporary files..."
  rm -rf $TMPDIR/$f
 done
 exit 0
}

#
#
# This won't really install a patch - it will at most copy the patch installatio
n files
# to the temp directory specified, display the README then exit.
#
#

install_a_patch()
{
 clear
 cat <<EOF

SunOS4.x doesn't provide a standardized way of installing patches, therefore,
this script will do only the first part of the installation (copy to the temp
directory, uncompress and untar the patch). To complete the installation
you will be required to read the README file in the patch directory and follow
the installation instructions provided.

EOF

 while [ 1 ]; do

  echo -n "Enter the patch id to install: "
  read PATCHID
  if [ x"$PATCHID" = x ]; then
   echo "Nothing selected!"
   continue
  fi
  if [ ! -f files/$PATCHID.tar.Z ]; then
   NEWID=`echo files/$PATCHID-??.tar.Z`
   if [ "$NEWID" = "files/$PATCHID-??.tar.Z" ]; then
    echo "$PATCHID not found"
    continue
   else
    PATCHID=`echo $NEWID | sed 's/\..*//' | sed 's/files\///'`
    break
   fi
  else
   break
  fi
 done

 echo "Ready to copy $PATCHID to $TMPDIR"
 echo -n "Continue? [y] "
 read CONT
 case x"$CONT" in
 xy*|x|xY*) ;;
 *) echo "Aborting installation"
  exit 1 ;;
 esac

 here=`pwd`
 cd $TMPDIR
 zcat $here/files/$PATCHID.tar.Z | tar xvf -
 more $TMPDIR/$PATCHID/README*
 echo ""; echo ""; echo ""
 cat <<EOF

To complete installation of this patch, cd to $TMPDIR/$PATCHID, and
follow the instructions provided in the README file located there.

Be sure to remove the $TMPDIR/$PATCHID directory once your patch installation
has been completed.

EOF
 exit 0
}

copyright()
{
#
# Display the copyright notice first
#

clear
cat <<EOF | more
=============================================================================

 patchinstall - install a patch

     Copyright (c) 1993 Sun Microsystems, Inc. All Rights Reserved.
            Printed in the United States of America.
2550 Garcia Avenue, Mountain View, California, 94043-1100 U.S.A.

Patches are distributed to SunService Contract Customers ONLY. Redistribution
to unauthorized parties is prohibited by the SunService Contract.

Installation of all patches is not suggested as some patches may conflict
with one another. Please make sure that the patch you are installing
is necessary before actually installing the patch.

=============================================================================

During the installation, default answers will be provided inside brackets '[]'
Pressing the <Return> key will select the default provided.

Press <Ctrl-C> at any time to stop the installation.

EOF

echo -n "Continue with patch installation? [Y] "
read CONT

case x"$CONT" in
xY|x|xy|xy*|xY*) ;;
*) echo "Aborting patch installation"
 exit -1 ;;
esac
clear
}

check_os_level ()
{
 case "`/bin/uname -r`" in
  5.*) SUNOS=FALSE ;;
  *) SUNOS=TRUE ;;
 esac

}

#
# get_temp_directory
# store the name of a valid temp directory in TMPDIR
#

get_temp_directory () {
 cat <<EOF

Installation of patches will use several temporary files, and may
need several megabytes of space. Please enter the name of a directory
that can be used for these temporary files (the directory must exist
before running the installation!)

EOF

 while [ 1 ]; do
  PROTO=/tmp
  echo -n "Where should I store temporary files? [$PROTO] "
  read TMPDIR
  if [ x"$TMPDIR" = x ]; then
   TMPDIR=$PROTO
  fi
  if [ ! -d $TMPDIR ]; then
   echo "$TMPDIR isn't a directory, try again!"
  else
   if [ ! -w $TMPDIR ]; then
    echo "$TMPDIR isn't writable, try again!"
   else
    break
   fi
  fi
 done
}

#
#
# MAIN PROGRAM
#
#

#
# Display the copyright notice first
#

copyright

#
# Check the OS level
#

check_os_level

#
# Check the user
#

if [ $SUNOS = TRUE ]; then
 user=`/usr/ucb/whoami`
else
 user=`/bin/who am i`
fi
case $user in
 root*) ;;
 *) echo "ERROR:"
  echo "You must be root to install patches!"
  echo "Aborting installation!"
  exit 1 ;;
esac

#
# Get the temporary directory
#

get_temp_directory

#
# Do the work...
#

if [ $SUNOS = TRUE ]; then
 install_a_patch
else
 install_solaris_patch
fi

------------------------------ End of body part 2

----- End Included Message -----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:54 CDT