PKG-TOOLS
Tools to aid in the development of Solaris packages
PkgTools is a set of utilities, released under the BSD
license, which can be used to aid in
the development of native Solaris packages - i.e. in the pkg
format.
Currently there are four tools in this set:
-
build-pkg
-
This is used to actually build the Solaris package, calling
chroot-install if required.
-
chroot-install
-
A utility which creates an environment suitable for calling
chroot() on and allowing the user to install software into
it.
-
proj-template
-
A utility which asks the user questions and then copies files and
directories from a specified template directory and performs macro
expansion on them. This is designed to aid in the initial setup of the
home directory of a new project.
-
simple-proj
-
A very similar utility to proj-template. However it does not ask questions
and only deals with the setting up of a simple InstallPackage. This is
useful when dealing with 3rd party software which just needs to have a
number of package control scripts put into the package.
-
check-pkg
-
A utility which can be used to check to see if packages are installed
correctly. It can also be given a pathname to check on which packages
said pathname is a part of.
It should be noted that simple-proj is really proj-template wearing
a different hat.
This software is released under the BSD license.