Once upon a time, Eric wrote : > I'm trying to make a apache.spec that will take and apache-1.3.22.tar.gz > file and build it with static objects. > > I tried picking apart the apache.spec that came with > apache-1.x.xx.src.rpm but there is a LOT of extra stuff that I don't > need. Can anyone point me to a location where I can find some help. Here's a spec file that may probably help you. I've created this custom apache-php-xxx package for some specific servers which need weird apache and php modules. As you can see, I also added a few bonuses like an adapted initscript, a logrotate entry, and a custom httpd.conf which is replaced during every upgrade since I put all server-specific (VirtualHosts etc.) options in the httpd.conf.local which is included at the bottom of httpd.conf. This is a real time saver for me on many clusters and distributed similar setups. Hope this helps. Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Red Hat Linux release 7.2 (Enigma) running Linux kernel 2.4.18-0.3-pi8k Load : 0.11 0.12 0.06, AC on-line, battery charging: 100% (11:31)
Attachment:
apache-php-erp.spec
Description: Binary data