... And the CentOS way to create httpd-2.2.13
is to create an rpm package :
Get this source ( which contains all patches , etc.) :
wget
http://download.fedora.redhat.com/pu....11-10.src.rpm
> > httpd-2.2.11-10.
src.rpm
Unpack (install) the package with the command :
rpm -Uvh httpd-2.2.11-10.src.rpm
.. and copy httpd-2.2.13.tar.gz to /usr/src/redhat/SOURCES/
Getting the required dependencies :
# yum install \
apr-devel apr-util-devel openldap-devel db4-devel \
expat-devel openssl-devel rpm-build
And using an edited spec file to build the package(s) with
# rpmbuild -bb httpd-2.2.13el5.spec
htppd.spec was edited to httpd-2.2.13el5.spec :
Edit line 9 to : Version: 2.2.13
Edit line 10 to : Release: 1el5
Un comment line 40 : # Patch55: httpd-2.2.4-oldflush.patch
Un comment line 129 : # %patch55 -p1 -b .oldflush
.. The new spec file is attached as httpd-2.2.13el5.spec.txt
.....
The build result :
usr/src/redhat/RPMS/noarch/httpd-2.2.13-10el5.noarch.rpm
/usr/src/redhat/RPMS/noarch/httpd-devel-2.2.13-10el5.noarch.rpm
/usr/src/redhat/RPMS/noarch/httpd-manual-2.2.13-10el5.noarch.rpm
/usr/src/redhat/RPMS/noarch/httpd-tools-2.2.13-10el5.noarch.rpm
/usr/src/redhat/RPMS/noarch/mod_ssl-2.2.13-10el5.noarch.rpm
.. Notice ' .noarch ' : ? a bug somewhere ?
.....