cp ../pgp262s.tar.gz .
echo unarchiving pgp262s.tar.gz
tar -zxf pgp262s.tar.gz
echo unarchiving pgp262si.tar
tar -xf pgp262si.tar
echo unarchiving rsaref.tar
tar -xf rsaref.tar
mv makefile.rsa.patch rsaref/install/unix/makefile.rsa.patch
mv makefile.src.pgp.patch src/makefile.src.pgp.patch
cd rsaref/install/unix
echo Patching /rsaref/install/unix/makefile
patch makefile makefile.rsa.patch
cd ../../../src
echo Patching ./src/makefile
patch makefile makefile.src.pgp.patch
cd ../rsaref/install/unix
echo Gonna Start the RSAREF make process
sleep 2
make
cd ../../../src
echo Gonnna Start the PGP make process
sleep 2
make linux
echo Installing pgp in $HOME
cp pgp $HOME/pgp
cd ..
echo Installing doc subdir in $HOME
mv doc $HOME/doc.pgp
# echo Deleteing Source Code, But leaving tar archives
# cd ..
# rm -rf $OLDPWD
# set PWD=$HOME;export PWD
#
# Had some problems with this code, if you want to try it, and know what
# you are doing, go ahead, if not, PLEASE leave it commented out and 
echo Now Make sure you read the docs!
echo If you are having problems with being stuck, and not being able
echo to get a directory listing, please typ cd and return
echo "--Paul M. Oster  <devious@minot.com>"

