From the presentation at the SCO TEC Forum 2008
This was presented by Ron Record and John Wolfe of SCO.
Their entire presentation is at
http://www.sco.com/2008forum/presentations/Record_Wolfe_Packaging_Tools_OSR6_UW714.pdf
Below is the instructions from the presentation. Special Thanks go to both Ron Record and John Wolfe.
Download and install the latest metapkg media images
ftp://ftp2.sco.com/pub/skunkware/osr6/vols/
Metapkg documentation is installed in
/usr/share/doc/packages/metapkg/
Metapkg examples are installed in
/usr/share/doc/packages/metapkg/examples/
Metapkg convenience scripts are installed in
/usr/share/doc/packages/metapkg/scripts/
The metapkg and reman binaries as well as mkcdmt and mkpkgadd symbolic links are installed in /usr/bin/
Create input directory and populate dist directory
Create dist/cntl/ scripts, if any
Create <package name>.mkcdmt control file
Specify non-default permissions and ownership
Symbolic links specified as additional exports
Dependencies and updated versions listed here
Run mkcdmt. For example:
mkcdmt -f -h -d `pwd` -P gimp \
-D "GNU Image Manipulation Program" \
-V 2.2.7Sb -p `pwd`/gimp.mkcdmt
Run make
Sample Metapkg Control File.
prepare ("Checking and preparing distribution") {
auto_compress_texinfo();
auto_format_mansource();
auto_strip(TRUE,TRUE);
}
package ("/", "${METAPKG_DESCRIPTION}", "QT3") {
file ("/usr/lib/qt3/mkspecs/unixware-cc/qmake.conf") {
access (SERVER);
}
file ("/usr/lib/qt3/lib/libqt-mt.so.3.3.8") {
addexport ("/usr/lib/qt3/lib/libqt-mt.so", normal);
}
}
component ("qt3", "${METAPKG_VERSION}", "${METAPKG_DESCRIPTION}") {
dependency ("SCO:gwxlibs");
upgrades("^3.3.5*");
}
Shortcut Scripts
See /usr/share/doc/packages/metapkg/scripts/
Create a gzip'd tar archive of the distribution files relative to / and name
it <package name>-<version>-dist.tar.gz
Place the gzip'd tar archive in the /dist/ directory that the setup shell
script points to
Create an empty directory <package name> in the packaging directory and cd into
it
Run ../setup
Run the listlinks script to create entries for symbolic links in the file
/tmp/<package name>-symlinks
Edit <package name>.mkcdmt adding the above file to
the “package” section. Run “MakeCDMT” then “make”
CDMT/Metapkg Documentation
CDMT documentation
http://osr600doc.sco.com/en/manCDMT/CONTENTS.html
SCO Software Manager (custom) documentation
http://osr600doc.sco.com/en/man/html.ADM/custom.ADM.html
Installing and Managing Software Components
http://osr600doc.sco.com/en/INS_install/swaN.admin.html
Installing/Managing Software Over a Network
http://osr600doc.sco.com/en/INS_install/swnetN.netinstall.html
Metapkg documentation
ftp://ftp2.sco.com/pub/skunkware/osr5/devtools/metapkg/doc
Porting Guide:
http://www.sco.com/support/docs/openserver/600/porting/osr6portingTOC.html
Upgrade Guide:
http://www.sco.com/support/docs/openserver/600/upgrade/index.html
Online Documentation and Late News
http://www.sco.com/support/docs/openserver
OpenServer 6 Support Download Page:
http://www.sco.com/support/update/download/product.php?pfid=12&prid=20
SCO “Legend” Mailing List: Public
Legend-subscribe@list.sco.com
legend@sco.com
Porting/Migration Alias:
osr5to6@sco.com
Knowledge base:
http://wdb1.sco.com/kb/search
|