The script buildaix.ksh will package Apache Software Foundation HTTPD
as an AIX installp (or bff) package in the directory ./installp/ppc
The script mkinstallp.ksh creates the template for the AIX commands
/usr/sbin/mkinstallp and /usr/sbin/makebff.pl

FYI: these scripts are also available in a more generic form - see below

REQUIREMENTS:
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  bos.adt.insttools          5.3.7.2    C     F    Tool to Create installp
                                                   Packages
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  rpm.rte                   3.0.5.41    C     F    RPM Package Manager

ZLIB aka libz
This is normally installed during installation via rpm.rte.
However, there are no include files installed, namely zlib.h and zconf.h
The build script checks for these files in /usr/include; /opt/freeware/include and /opt/include
If not found the flag -I ./build/aix/include is included

Optional:
Preferred: download zlib sources and copy zlib.h and zconf.h to /opt/include
and, if configure cannot find them directly, add symbolic links from /usr/include to /opt/include
Or, install aixtools.zlib.rte (from http://dl.aixtools.rte/tools)

To build a package, make sure you are in the root of the source tree,
and run:

build/aix/buildaix.ksh

An AIX fileset named $PKG.$NAME.$ARCH.$VERSION.I will be
created in the installp/ppc directory.
The .template file created is stored in build/aix

KNOWN issues with packaging on AIX
on AIX the interaction of apr and libtool is known to have issues with
the install command when installing to a alturnate directory (i.e. using DISTDIR).
Some of these issues have been resolved by extracting the apr/apu utilities
from the projects (i.e. NOT using the embedded version). For buildaix.ksh depends
on make to a DESTDIR so it seems the only solid recourse is to install coreutils.
A working version is available at http://dl.aixtools.net/tools/aixtools.coreutils.powerpc.8.15.0.I

Suggestions
If make DESTDIR=$TEMPDIR install command continues to fail, try 'make install' normally
and then run the build/aix/buildaix.ksh command again

Also: the project buildaix on sourceforge or at http://dl.aixtools.net/tools
has a generic buildaix. The generic version (/opt/bin/buildaix.ksh) calls the
an application specific ./build/aix/buildaix.ksh one so you can get used to using
the generic command: buildaix (/usr/bin/buildaix)

TODO
Add Copyright display/banner
Add Apache LICENSE to fileset and require acceptance
Add special instructions for TCB - to ignore /etc/* /var/httpd/htdocs/*
Add _config_i scripts to setup autostart
Add _pre_i scripts to verify pre-requisites, required users/groups, etc.
Add modify User/Group from daemon/daemon to httpd/httpd
