Installing without pkgadd
Pkgadd
sets up a few variables which the installation
script will use. If you are using the script without
pkgtool
, you have to set the variables manually:
VERSION=x.y.z (x.y.z = the version number)
BASEDIR=/var/spool/pkg/SSHssh2/reloc
Also remember to export the variables.
Unpack the distribution to some suitable temporary space. The
above-mentioned BASEDIR
applies only if you put the package in the directory
/var/spool/pkg
. In this case, you have to do the installation
manually, using the postinstall
command:
gzip -dc package | tar xvf -
cd SSHssh2/reloc
tar cf - . | (cd /usr/local; tar xfBp -)
cd ../install
./postinstall