Products Evaluate our Packages Release Roadmap Projects Contact
 
Projects
 
 

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 6.7. Package description files for all of our packages, per release, is available online.

  # pb openssh-6.7
  openssh-6.7
    searching for depot containing "pkgadd" package ... found
      depot: file:///opt/src
    checking for description ... yes
    checking if program installed ... yes
    installation prefix ... /opt/TWWfsw/openssh67
    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/AAAm9aijV
      creating /etc/init.d/TWWopenssh67 ... done
      creating compver file for runtime fileset ... done
      creating compver file for conf fileset ... done
      creating compver file for man fileset ... done
      compiling generic wrapper for scp ... done
      compiling generic wrapper for sftp ... done
      compiling generic wrapper for ssh ... done
      compiling generic wrapper for ssh-add ... done
      compiling generic wrapper for ssh-agent ... done
      compiling generic wrapper for ssh-keygen ... done
      compiling generic wrapper for ssh-keyscan ... done
      compiling generic wrapper for sshd ... done
      creating user procedure script for conf fileset ... done
      creating group procedure script for conf 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 dependency file for runtime fileset ... done
      creating dependency file 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/AAAm9aijV/runtime-prototype -o
        ...
      creating package for conf fileset ...
        $ /usr/bin/pkgmk -b / -d /opt/dist/cd -f 
        /opt/dist/AAAm9aijV/conf-prototype -o
        ...
      creating package for man fileset ...
        $ /usr/bin/pkgmk -b /opt/TWWfsw -d /opt/dist/cd -f 
        /opt/dist/AAAm9aijV/man-prototype -o
        ...
      removing wrapper scripts ... done
      removing init scripts ... done
          

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

 
Projects
pbutils
sbutils
pkgutils
wrapld