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 6.7. Package
description files for all of our packages, per release, is available
online.
$ sb openssh-6.7
openssh-6.7
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
installation prefix ... /opt/TWWfsw/openssh67
build prefix ... /opt/build/openssh-6.7p1
unpacking sources ...
locating dependencies ...
searching for user "sshd" ... found
searching for group "sshd" ... found
searching for "perl" ... /opt/TWWfsw/perl5162
searching for "libedit" ... /opt/TWWfsw/libedit21
searching for "openssl" ... /opt/TWWfsw/libopenssl10
searching for "zlib" ... /opt/TWWfsw/libz12
searching for "prngd" ... skipping
note: "sparc-sun-solaris2.10" does not match system type RE
note: "*-hpux11.11"
unpacking src/openssh-6.7p1.tar.gz
$ cd /opt/build
$ /opt/fsw/bin/gtar zxvf
/opt/src/latest/security/openssh-6.7/src/openssh-6.7p1.tar.gz
unpacking quilt patches from src/openssh-6.7p1/.patches
$ cd /opt/build/openssh-6.7p1
$ /opt/fsw/bin/gpatch -p0 -i
/opt/src/latest/security/openssh-6.7/src/openssh-6.7p1/.patches/tww.patch
$ /opt/fsw/bin/gpatch -p0 -i
/opt/src/latest/security/openssh-6.7/src/openssh-6.7p1/.patches/auto.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/perl5162
searching for "libedit" ... /opt/TWWfsw/libedit21
searching for "openssl" ... /opt/TWWfsw/libopenssl10
searching for "zlib" ... /opt/TWWfsw/libz12
searching for "prngd" ... skipping
note: "sparc-sun-solaris2.10" does not match system type RE
note: "*-hpux11.11"
creating configure script ... /var/tmp/BAA4kaiQ1
executing configure script ...
$ /opt/fsw/bash42/bin/bash --noprofile --norc /var/tmp/BAA4kaiQ1
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/perl5162
searching for "libedit" ... /opt/TWWfsw/libedit21
searching for "openssl" ... /opt/TWWfsw/libopenssl10
searching for "zlib" ... /opt/TWWfsw/libz12
searching for "prngd" ... skipping
note: "sparc-sun-solaris2.10" does not match system type RE
note: "*-hpux11.11"
creating build script ... /var/tmp/CAA5kaiQ1
executing build script ...
$ /opt/fsw/bash42/bin/bash --noprofile --norc /var/tmp/CAA5kaiQ1
...
adding database entry for "default" module ... done
# sb -i openssh-6.7
openssh-6.7
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
installation prefix ... /opt/TWWfsw/openssh67
build prefix ... /opt/build/openssh-6.7p1
installing ...
locating dependencies ...
searching for user "sshd" ... found
searching for group "sshd" ... found
searching for "perl" ... /opt/TWWfsw/perl5162
searching for "libedit" ... /opt/TWWfsw/libedit21
searching for "openssl" ... /opt/TWWfsw/libopenssl10
searching for "zlib" ... /opt/TWWfsw/libz12
searching for "prngd" ... skipping
note: "sparc-sun-solaris2.10" does not match system type RE
note: "*-hpux11.11"
creating install script ... /var/tmp/BAAQWaaBr
executing install script ...
$ /opt/fsw/bash42/bin/bash --noprofile --norc /var/tmp/BAAQWaaBr
...
adding database entry for "default" module ... done
Source:
ftp://ftp.thewrittenword.com/pub/sbutils
|