Products Evaluate our Packages Release Roadmap Projects Purchase Contact
 
 
 

Because of the various package management systems we support, the pbutils tool was developed to help automate the package build process. As all packages install into a separate directory with a common installation base (e.g. /opt/TWWfsw/package), the pbutils tool is optimized to build packages for software organized in this manner. The XML-based package definition file defines the installation name, configuration files, dependencies, startup scripts, and wrapper scripts. Instructions for each package management system is contained in the same description file.

Below is a sample run of pb on Solaris for OpenSSH 4.0p1. Package description files for all of our packages, per release, is available online.

  # pb openssh-4.0p1
  openssh-4.0p1
    searching for depot containing "pkgadd" package ... found
      depot: file:///opt/src
    checking for description ... yes
    checking if program installed ... yes
    installation prefix ... /opt/TWWfsw/openssh40
    installing helper files for postinstall scripts ... done
    generating fileset information ... done
    filesets ... conf, man, runtime
    searching for bash ... /opt/fsw/bin/bash
    building package ...
      creating temp directory for package files ... /opt/dist/AAAxxaykM
      creating init scripts ... done
      creating compver file for conf fileset ... done
      creating compver file for runtime fileset ... done
      creating link procedure script for man fileset ... done
      creating link procedure script for runtime fileset ... done
      creating config file procedure script for conf fileset ... done
      creating pkginfo file for runtime fileset ... done
      creating pkginfo file for conf fileset ... done
      creating pkginfo file for man fileset ... done
      creating prototype file for runtime fileset ... done
      creating prototype file for conf fileset ... done
      creating prototype file for man fileset ... done
      creating package for runtime fileset ...
        $ /usr/bin/pkgmk -b /opt/TWWfsw -d /opt/dist/cd -f 
        /opt/dist/AAAxxaykM/runtime-prototype -o
        ...
      creating package for conf fileset ...
        $ /usr/bin/pkgmk -b / -d /opt/dist/cd -f 
        /opt/dist/AAAxxaykM/conf-prototype -o
        ...
      creating package for man fileset ...
        $ /usr/bin/pkgmk -b /opt/TWWfsw -d /opt/dist/cd -f 
        /opt/dist/AAAxxaykM/man-prototype -o
        ...
      removing init scripts ... done
    

Source: ftp://ftp.thewrittenword.com/pub/pbutils

 
Projects
pbutils
sbutils
pkgutils
wrapld