This directory contains the source files and scripts required to build
various SCOx packages/sets.  Please use the following guidelines when
adding to it or modifying it.

The following are the current products which are built and packaged.  This will
let you know where the current versions of things are coming from.

	apache 1.3.29 (scox-enb)
		Taken from the current build's pkg directory.
	apache2 2.0.49 (standalone)
		BUILT FROM SOURCE HERE.
	curl 7.10.3 (scox-enb)
		BUILT FROM SOURCE HERE.
	expat 1.95.1 (scox-enb)
		A Skunkware pkg, with packaging modifications.
	gsoap 2.2.3 (scox-uw)
		BUILT FROM SOURCE HERE.
	gzip 1.2.4 (scox-enb)
		A Skunkware pkg, with a modified pkginfo file.
	j2jre142 1.4.2.03 (scox-enb)
		Taken from the current build's pkg directory.
	javasoap 1.0 (scox-uw)
		BUILT FROM SOURCE HERE.
	libxml2 2.4.16 (scox-enb)
		A Skunkware pkg, with a modified pkginfo file.
	modjk2 2.0.4 (standalone) - for apache2
		BUILT FROM SOURCE HERE.
	modperl 1.99_13 (standalone)
		BUILT FROM SOURCE HERE.
	mysql 3.23.49 (scox-enb)
		A Skunkware pkg, with packaging modifications.
	openssl 0.9.7c (scox-enb)
		Taken from the current build's pkg directory.
	pearsoap 0.7.3a (scox-uw)
		BUILT FROM SOURCE HERE.
	perl 5.8.3 (standalone)
		BUILT FROM SOURCE HERE.
	perlmods 5.8.3 (standalone)
		BUILT FROM SOURCE HERE.
	php 4.3.5 (scox-enb)
		BUILT FROM SOURCE HERE.
	php4 4.3.5 (standalone) - for apache2 in /opt/apache2
		BUILT FROM SOURCE HERE.
	scoxldemo 1.0 (scox-uw)
		BUILT FROM SOURCE HERE.
	soaplite .60a (standalone) - for perl 5.8.X in /opt
		BUILT FROM SOURCE HERE.
	tomcat 4.1.30 (scox-enb)
		BUILT FROM SOURCE HERE.
	unzip 5.50 (scox-enb)
		Taken from the current build's pkg directory.
	urwfonts 2.0 (scox-enb)
		Taken from the current build's pkg directory, with modified
		pkginfo file.
	wget 1.5.3 (scox-enb)
		A Skunkware pkg, with a modified pkginfo file.
	zlib 1.2.1 (scox-enb)
		A Skunkware pkg, with a modified pkginfo file.

Note: within the source tree, the following files do not exist, and must
be obtained elsewhere, and put in ../pkgname.pkg as a data stream:

	apache 1.3.29: The currently used version is 1.4.2.03, and can be
		obtained in the official build tree as apache.image

	j2jre142: The currently used version is 1.4.2.03, and can be obtained
		in the official build tree as j2jre142.image

	openssl: The currently used version is 0.9.7c, and can be obtained
		in the official build tree as /usr/src/pkg/openssl.image

To properly build these products, it is desirable to build and install each
one in order.  This is to insure that any program which depends on another
ahs all the files installed natively which it might depend on, before being
built.  This insures that all the packages are properly synchronized.  Only
the 'pkgadd' lines should be done as root.  All other commands should be
executed as a normal user.  So, here is the suggested order of
build/package/installs:

./:mkclean.sh
./:copypkg.sh
./:copysrc.sh
pkgadd -d `pwd`/image/unzip.pkg
pkgadd -d `pwd`/image/gzip.pkg
pkgadd -d `pwd`/image/zlib.pkg
pkgadd -d `pwd`/image/openssl.pkg
pkgadd -d `pwd`/image/expat.pkg
pkgadd -d `pwd`/image/wget.pkg
pkgadd -d `pwd`/image/apache.pkg
pkgadd -d `pwd`/image/mysql.pkg
pkgadd -d `pwd`/image/libxml2.pkg
./:build.sh curl
./:install.sh curl
./:package.sh curl
pkgadd -d `pwd`/image/curl.pkg
./:build.sh perl
./:install.sh perl
./:package.sh perl
pkgadd -d `pwd`/image/perl.pkg
./:build.sh httpd
./:install.sh httpd
./:package.sh httpd
pkgadd -d `pwd`/image/apache2.pkg
pkgadd -d `pwd`/image/urwfonts.pkg
pkgadd -d `pwd`/image/j2jre142.pkg
./:install.sh jakarta-tomcat
./:package.sh jakarta-tomcat
pkgadd -d `pwd`/image/tomcat.pkg
./:install.sh javasoap
./:package.sh javasoap
pkgadd -d `pwd`/image/javasoap.pkg
./:build.sh gsoap
./:install.sh gsoap
./:package.sh gsoap
pkgadd -d `pwd`/image/gsoap.pkg
./:build.sh php
./:install.sh php
./:package.sh php
pkgadd -d `pwd`/image/php.pkg
./:build.sh pearsoap
./:install.sh pearsoap
./:package.sh pearsoap
pkgadd -d `pwd`/image/pearsoap.pkg
./:build.sh perlmods
./:install.sh perlmods
./:package.sh perlmods
pkgadd -d `pwd`/image/perlmods.pkg
./:build.sh mod_perl
./:install.sh mod_perl
./:package.sh mod_perl
pkgadd -d `pwd`/image/modperl.pkg
pkgadd -d `pwd`/image/php4.pkg
./:build.sh soaplite
./:install.sh soaplite
./:package.sh soaplite
pkgadd -d `pwd`/image/soaplite.pkg
./:build.sh jakarta2-tomcat-conn
./:install.sh jakarta2-tomcat-conn
./:package.sh jakarta2-tomcat-conn
pkgadd -d `pwd`/image/modjk2.pkg
./:install.sh language_demos
./:package.sh language_demos
./:package.sh scox-enb
./:package.sh scox-uw

Below are notes about what various directory structures are for, as well as
important file names used for the build.  Note that everything mentioned is
relative to this directory (BUILDROOT) unless otherwise noted.

_products.txt - This file contains a list of products.  If you want to add new
		source files, add the directory to this file, and add the new
		source directory to the directory above this one (..).  These
		original sources will not be modified.  Instead, they are
		copied into this directory (BUILDROOT), and modified there.

_sets.txt     - This file contains a list of sets to build.  These should be the
		last things build/packaged, since they bundle stuff mentioned
		in _products.

:copypkgs.sh  - By default, checks for the ../product.pkg files mentioned in
		_products.txt, and copies them in directory and data stream
		form to the image directory.  You can give it a single arg of
		the specific package you want transferred.

:copysrc.sh   - By default, copies all the source directories mentioned in
		_products.txt, and copies them into this directory.  In
		addition, it overlays any files in BUILD/{product}/files,
		and applies any fixes to the source files by running the
		BUILD/{product}/fixsrc.sh script.  You can give it a single arg
		of the specific package you want transferred.

:build.sh     - Should really be run with an arg of the {product} to run the
		build on.  This ends up running the script
		BUILD/{product}/build.sh, to build the source in {product}.

:install.sh   - Should really be run with an arg of the {product} to run the
		install on.  This ends up running the script
		BUILD/{product}/install.sh, which places it's resulting files
		into bin/{product}, for later packaging.

:package.sh   - Should really be run with an arg of the {product} or {set} to
		run the packaging on.  This ends up running the script
		BUILD/{product|set}/package.sh, which places it's resulting
		package in both directory and stream forms, into the image
		directory.

BUILD         - This directory contains the building/packaging stuff for each
		product or set.

BUILD/{product|set}/files - Contains files to be overlayed on top of the
				original source files.

BUILD/{product|set}/pkg - Contains the packaging related files for the specific
				product or set (ie. request, copyright, etc.)
