|
Packit |
90a5c9 |
The script buildaix.ksh will attempt to build a AIX installp fileset
|
|
Packit |
90a5c9 |
out of a source tree for ASF project
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
REQUIREMENTS:
|
|
Packit |
90a5c9 |
Fileset Level State Type Description (Uninstaller)
|
|
Packit |
90a5c9 |
----------------------------------------------------------------------------
|
|
Packit |
90a5c9 |
bos.adt.insttools 5.3.7.2 C F Tool to Create installp
|
|
Packit |
90a5c9 |
Packages
|
|
Packit |
90a5c9 |
Fileset Level State Type Description (Uninstaller)
|
|
Packit |
90a5c9 |
----------------------------------------------------------------------------
|
|
Packit |
90a5c9 |
rpm.rte 3.0.5.41 C F RPM Package Manager
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
Additional:
|
|
Packit |
90a5c9 |
Preferred: download zlib sources and copy zlib.h and zconf.h to /opt/include
|
|
Packit |
90a5c9 |
and, if configure cannot find them directly, add symbolic links from /usr/include to /opt/include
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
To build a package, make sure you are in the root of the source tree,
|
|
Packit |
90a5c9 |
and run:
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
build/aix/buildaix.ksh
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
An AIX fileset named $PKG.$NAME.$ARCH.$VERSION.I will be
|
|
Packit |
90a5c9 |
created in the build/aix directory. the .template file created is also there.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
KNOWN issues:
|
|
Packit |
90a5c9 |
on AIX libtool is known to have issues with the install command.
|
|
Packit |
90a5c9 |
Some of these issues have been resolved by extracting the apr/apu utilities
|
|
Packit |
90a5c9 |
from the projects (i.e. NOT using the embedded version)
|
|
Packit |
90a5c9 |
In case of problems I recommend that you install the GNU 'install' program (part of coreutils)
|
|
Packit |
90a5c9 |
If make DESTDIR=$TEMPDIR install command continues to fail, try 'make install' and then run
|
|
Packit |
90a5c9 |
the buildaix.ksh command again
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
TODO
|
|
Packit |
90a5c9 |
Add Copyright display/banner
|
|
Packit |
90a5c9 |
Add Apache LICENSE to fileset and require acceptance
|
|
Packit |
90a5c9 |
Add special instructions for TCB - to ignore /etc/* /var/httpd/htdocs/*
|
|
Packit |
90a5c9 |
Add _config_i scripts to setup autostart
|
|
Packit |
90a5c9 |
Add _pre_i scripts to verify pre-requisites, required users/groups, etc.
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
# This layout is intended to put customizeable data in /etc and /var
|
|
Packit |
90a5c9 |
# the file listing will be used to create an exceptions file to modify
|
|
Packit |
90a5c9 |
# the behavior of syschk checksum generation.
|
|
Packit |
90a5c9 |
# AIX layout
|
|
Packit |
90a5c9 |
<Layout AIX>
|
|
Packit |
90a5c9 |
prefix: /opt/httpd
|
|
Packit |
90a5c9 |
exec_prefix: /opt/httpd
|
|
Packit |
90a5c9 |
bindir: ${exec_prefix}/bin
|
|
Packit |
90a5c9 |
sbindir: ${exec_prefix}/sbin
|
|
Packit |
90a5c9 |
libdir: ${exec_prefix}/lib
|
|
Packit |
90a5c9 |
libexecdir: ${exec_prefix}/libexec
|
|
Packit |
90a5c9 |
mandir: /usr/share/man
|
|
Packit |
90a5c9 |
sysconfdir: /etc/httpd
|
|
Packit |
90a5c9 |
datadir: /var/httpd
|
|
Packit |
90a5c9 |
installbuilddir: ${datadir}/build
|
|
Packit |
90a5c9 |
errordir: ${datadir}/error
|
|
Packit |
90a5c9 |
htdocsdir: ${datadir}/htdocs
|
|
Packit |
90a5c9 |
cgidir: ${datadir}/cgi-bin
|
|
Packit |
90a5c9 |
iconsdir: ${prefix}/icons
|
|
Packit |
90a5c9 |
manualdir: ${prefix}/manual
|
|
Packit |
90a5c9 |
includedir: ${prefix}/include
|
|
Packit |
90a5c9 |
localstatedir: /var/httpd
|
|
Packit |
90a5c9 |
runtimedir: ${localstatedir}/run
|
|
Packit |
90a5c9 |
logfiledir: ${localstatedir}/logs
|
|
Packit |
90a5c9 |
proxycachedir: ${localstatedir}/proxy
|
|
Packit |
90a5c9 |
</Layout>
|
|
Packit |
90a5c9 |
|