Products Evaluate our Packages Release Roadmap Projects Purchase Contact
 
 
 

Our sb software build tool is used to build all software in our distribution. The sb tool, part of the sbutils suite, unpacks, configures, builds, and installs a software program. An XML file drives the sb tool in the build process.

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

  $ sb openssh-4.0p1
  openssh-4.0p1
    searching for depot containing "default" module ... found
      depot: file:///opt/src
    checking if program exists in local depot ... yes
    reading database entries in /opt/TWWfsw ... done
    syntax checks ...
      checking for build directory ... ok
      checking for build name ... ok
      checking for install name ... ok
      checking if sources specified ... ok
    installation prefix ... /opt/TWWfsw/openssh40
    build prefix ... /opt/build/openssh-noacss-4.0p1
    unpacking sources ...
      locating dependencies ...
        searching for user "sshd" ... found
        searching for group "sshd" ... found
        searching for "perl" ... /opt/TWWfsw/perl586
        searching for "prngd" ... skipping
          note: "sparc-sun-solaris2.8" does not match system type RE 
          note: "*-aix4*|*-aix5.1*|*-hpux*|*-irix*|*-osf*|*-solaris2.[67]*"
        searching for "openssl" (module="tww-static") ... 
        /opt/TWWfsw/libopenssl097s
        searching for "pcre" (module="tww-static") ... /opt/TWWfsw/libpcre50s
        searching for "zlib" (module="tww-static") ... /opt/TWWfsw/zlib11s
        searching for "tcp_wrappers" ... /opt/TWWfsw/tcpwrap
      unpacking src/openssh-noacss-4.0p1.tar.gz
        $ cd /opt/build
        $ /opt/fsw/bin/gtar -zxvf 
        /opt/src/security/openssh-4.0p1/src/openssh-noacss-4.0p1.tar.gz
      unpacking src/openssh-noacss-4.0p1.patch
        $ cd /opt/build/openssh-noacss-4.0p1
        $ /opt/fsw/bin/gpatch -p0 -i 
        /opt/src/security/openssh-4.0p1/src/openssh-noacss-4.0p1.patch
      adding database entry for "default" module ... done
    configuring ...
      locating dependencies ...
        searching for user "sshd" ... found
        searching for group "sshd" ... found
        searching for "perl" ... /opt/TWWfsw/perl586
        searching for "prngd" ... skipping
          note: "sparc-sun-solaris2.8" does not match system type RE 
          note: "*-aix4*|*-aix5.1*|*-hpux*|*-irix*|*-osf*|*-solaris2.[67]*"
        searching for "openssl" (module="tww-static") ... 
        /opt/TWWfsw/libopenssl097s
        searching for "pcre" (module="tww-static") ... /opt/TWWfsw/libpcre50s
        searching for "zlib" (module="tww-static") ... /opt/TWWfsw/zlib11s
        searching for "tcp_wrappers" ... /opt/TWWfsw/tcpwrap
      creating configure script ... /var/tmp/AAA2OaaIo
      executing configure script ...
        $ /opt/fsw/bash30/bin/bash --noprofile --norc /var/tmp/AAA2OaaIo
        ...
      adding database entry for "default" module ... done
    building ...
      locating dependencies ...
        searching for user "sshd" ... found
        searching for group "sshd" ... found
        searching for "perl" ... /opt/TWWfsw/perl586
        searching for "prngd" ... skipping
          note: "sparc-sun-solaris2.8" does not match system type RE 
          note: "*-aix4*|*-aix5.1*|*-hpux*|*-irix*|*-osf*|*-solaris2.[67]*"
        searching for "openssl" (module="tww-static") ... 
        /opt/TWWfsw/libopenssl097s
        searching for "pcre" (module="tww-static") ... /opt/TWWfsw/libpcre50s
        searching for "zlib" (module="tww-static") ... /opt/TWWfsw/zlib11s
        searching for "tcp_wrappers" ... /opt/TWWfsw/tcpwrap
      creating build script ... /var/tmp/BAA3OaaIo
      executing build script ...
        $ /opt/fsw/bash30/bin/bash --noprofile --norc /var/tmp/BAA3OaaIo
        ...
      adding database entry for "default" module ... done

  # sb -i openssh-4.0p1
  openssh-4.0p1
    searching for depot containing "default" module ... found
      depot: file:///opt/src
    checking if program exists in local depot ... yes
    reading database entries in /opt/TWWfsw ... done
    syntax checks ...
      checking for build directory ... ok
      checking for build name ... ok
      checking for install name ... ok
      checking if sources specified ... ok
    installation prefix ... /opt/TWWfsw/openssh40
    build prefix ... /opt/build/openssh-noacss-4.0p1
    installing ...
      locating dependencies ...
        searching for user "sshd" ... found
        searching for group "sshd" ... found
        searching for "perl" ... /opt/TWWfsw/perl586
        searching for "prngd" ... skipping
          note: "sparc-sun-solaris2.8" does not match system type RE 
          note: "*-aix4*|*-aix5.1*|*-hpux*|*-irix*|*-osf*|*-solaris2.[67]*"
        searching for "openssl" (module="tww-static") ... 
        /opt/TWWfsw/libopenssl097s
        searching for "pcre" (module="tww-static") ... /opt/TWWfsw/libpcre50s
        searching for "zlib" (module="tww-static") ... /opt/TWWfsw/zlib11s
        searching for "tcp_wrappers" ... /opt/TWWfsw/tcpwrap
      creating install script ... /var/tmp/AAABSaWeM
      executing install script ...
        $ /opt/fsw/bash30/bin/bash --noprofile --norc /var/tmp/AAABSaWeM
        ..
      copying license files ... done
      updating database entry with "default" module ... done
    

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

 
Projects
pbutils
sbutils
pkgutils
wrapld