httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Felt <mamf...@gmail.com>
Subject Re: Making a binary distribution package... for AIX
Date Wed, 07 Oct 2009 20:33:29 GMT
And then some links into IBM:
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.install/doc/insgdrf/sw_pkg_creation.htm
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.cmds/doc/aixcmds3/mkinstallp.htm

And the example file mentioned is attached (/usr/lpp/bos/README.MKINSTALLP)

On Wed, Oct 7, 2009 at 10:02 PM, Michael Felt <mamfelt@gmail.com> wrote:

> A sample of instructions I would follow are here:
> http://pware.hvcc.edu/PwarePackagingGuide.pdf. I just do not intend to
> call it pware.* but something different. Naming is so hard!
>
>
> On Wed, Oct 7, 2009 at 9:56 PM, Michael Felt <mamfelt@gmail.com> wrote:
>
>> I'll have to look into the exact format of the files to make it something
>> the AIX installer can work with - these are extra files.
>>
>> bff stands for backup file format. rather than being a tarball it is a
>> file created by backup (backupbyfilename).
>>
>> a rough approximation of how the file would be created is:
>> cd ${SOME_ROOTDIR}
>> find . | backup -if <PackageName>.bff
>>
>> ## "backup -i" means read standard inout for the names of files to backup.
>>
>>
>> On Wed, Oct 7, 2009 at 9:49 PM, Graham Leggett <minfrin@sharp.fm> wrote:
>>
>>> Michael Felt wrote:
>>>
>>> > New question: that will mean homework I suspect.
>>> >
>>> > As I mentioned before, I am interested in creating a build that other
>>> > people could install. Having one is the only way to see how big a need,
>>> > if any exists, for a prebuilt AIX opensource httpd server.
>>> >
>>> > I suppose I could go for a RPM build - maybe all I need is on AIX by
>>> > default, and perhaos it is the first step to learning what needs to be
>>> > done.
>>> >
>>> > My preference is to create a .bff (or installp) format.
>>> >
>>> > I have found the build/rpm directory, and what seems to be the actual
>>> > file intended: ./httpd.spec
>>> >
>>> > Question is: How do I use this file, and maybe modify it, to create a
>>> > specification for an AIX binary distribution?
>>>
>>> The basic pattern for rpm is that if a file called <tarballname>.spec
>>> exists in the tarball, then that spec file is used as a recipe to build
>>> the RPM when you go rpmbuild -tb <tarball>.tar.bz2.
>>>
>>> The recipe contains three things, metadata about the package (name,
>>> version, description, other stuff), scripts used to build the package
>>> and perform pre and post installation, and a list of files in the rpm.
>>>
>>> The buildconf script builds the httpd.spec file from httpd.spec.in,
>>> inserting the version number and other details into the file. The result
>>> is that when a tarball is rolled, a file called httpd.spec exists in the
>>> right place containing the right names, MMNs and version numbers.
>>>
>>> Do you have an example of how a .bff file is built?
>>>
>>> Regards,
>>> Graham
>>> --
>>>
>>
>>
>

Mime
View raw message