Home
Name Modified Size InfoDownloads / Week
buildaix-1.0.1 2012-09-03
buildaix-1.0.0 2012-03-06
mkinstallp-1.0.2 2012-03-02
mkinstallp-1.0.1 2012-02-29
mkinstallp-1.0.0 2012-02-28
aixtools.buildaix.powerpc.1.0.1.I 2012-09-03 54.8 kB
mkinstallp-1.0.2.tar.bz2 2012-03-02 41.1 kB
README 2012-02-28 3.1 kB
Totals: 8 Items   98.9 kB 0
#   Copyright 2012 -- Michael Felt
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

The scripts buildaix.ksh will attempt to package a standard OpenSource
project as an mkinstallp image/fileset

CONFIGURE and MAKE
You may need to edit the script build/aix/buildaix.ksh to execute
configure with the correct arguments.
OR
run configure first and then execute the build/aix/buildaix script
as the presence of a Makefile in the project root will cause the script
to skip calling configure

After make has completed, "make DESTDIR=${TEMPDIR} install" is called
to create an installation in a defined area. All the files in that area
will be included in the package. Some files are added as required
by the installp format.

MKINSTALLP
The mkinstallp.ksh script works from the following assumptions:
/opt is the normal prefix (rather than /usr/local)
/opt is the area for all read-only files and could be nfs-mounted
and/or used by a system WPAR.
These files are located in the USR part of the installp packaging

/etc is used for configuration
/var is used for modifiable data

both /etc and /var are considered to be the ROOT part of the fileset

/opt, /var, /etc form the PKG.PROGRAM.rte (runtime environment) fileset
/usr/share/man is put into a seperate fileset package - man.en_US by default.

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
Preferred for many projects (libraries)
  rpm.rte                   3.0.5.52    C     F    RPM Package Manager

Note: the rpm.rte fileset is needed for some of the libraries packages
need for configure and/or make to succeed, the mkinstallp scripts
are not dependent on rpm.rte or any other particular fileset other
than the fileset bos.adt.insttools

Additional:
configure and/or make for AIX may fail because some expected files are not
available. i'll be including this in the project on an as needed basis.

TODO
Add Copyright display/banner
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.
Source: README, updated 2012-02-28