= Porting on HP-UX = == HP-UX packages == [http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02029174/c02029174.pdf Software Package Builder 7.0 User's Guide] [http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02023876/c02023876.pdf Software Distributor Administration Guide] == Port from scratch == These notes are taken as the HP-UX 11.23 port is occuring * Working on a pre-installed HP-UX machine * Download the source of project-builder.org {{{ $ wget ftp://ftp.project-builder.org/src/project-builder-latest.tar.gz $ wget ftp://ftp.project-builder.org/src/ProjectBuilder-latest.tar.gz }}} * Extract the sources {{{ $ gzip -cd ProjectBuilder-latest.tar.gz | tar xf - $ gzip -cd project-builder-latest.tar.gz | tar xf - }}} * Install the project {{{ $ cd ProjectBuilder-0.10.1/ $ perl Makefile.PL $ make $ sudo make install $ cd ../project-builder-0.10.1/ $ perl Makefile.PL $ make $ sudo make install }}} * Test that project-builder is installed and working correctly * Build project-builder.org with itself to create native packages {{{ $ echo > ~/.pbrc << EOF pburl pb = svn+ssh://bruno@mondo.hpintelco.net/mondo/svn/pb pbconfurl pb = svn+ssh://svn.project-builder.net/mondo/svn/pb/pbconf pbdefdir default = $ENV{'HOME'}/pb/projects pbdefdir pb = $ENV{'HOME'} pbconfdir pb = $ENV{'HOME'}/pb/pbconf EOF $ pb -p pb -r devel cms2pkg [...] }}} == Make depot for HP-UX software distribution == * Create pb psf(product specification file) {{{ #vi pb.psf depot layout_version 1.0 vendor tag HP description HP EMEA CME Solution Center title HP Intel Redhat Open Source Solutions Initiative category tag package_tool description packages source code to different OS platform product tag pb architecture HP-UX_B.11.23_32/64 category package_tool # copyright