Customapache build distros binary

nesl247

Verified User
Joined
May 27, 2006
Messages
17
I'd like to request that customapache builds the distros binary.. So for fedora systems, the rpm is built. This will make it so that yum can be used for things that happen to require the packages. Such as trac for instance.
 
It'd be an awful lot of work; a customapache system would have to be built and maintained and tested for every version of every supported distribution.

Care to take on the task :) ?

Jeff
 
I don't see how it would be so hard. Simply get the source rpms, take that, add in any patches to change it for directadmin stuff, and have that used instead of building from a tarball.
 
Great, if everyone used the same versions of RedHat Linux and nothing else. Otherwise we'd need versions of customapache for every RedHat/CentOS/Whitebox/Fedora version using different libraries, and also for different versions of FreeBSD and Debian/Ubuntu.

Jeff
 
Not really. Simply maintain the build versions and such in a separate file per distro. Check the version and which distro you're running, and have it wget it to /usr/local/directadmin/customapache/build_versions

Once there, it's all the same really. Create a function that makes the binary, so you only have to call it like build_binary PKGNAME PKGVERSION. The function would detect the distro and version of the distro and build the binary that way. So instead of duplicating the same thing for each package, it's modular.

EDIT: You actually don't even need a per distro version.. Just get the spec or build setup based on the distro, and use it. You don't actually have to use the versions available through them. At least if I'm not wrong in thinking most packages don't require an exact version.
 
Back
Top