mod_security

Hello

Does iworx have the mod_security 1.8.7 source RPMS ?

If I remember well I had installled the 1.8.4 release from your repository.

Thanks

Pascal

We don’t pascal, but you can pretty easily use the 1.8.4 SRPM and turn it into a 1.8.7 one.

Chris

You mean by changing the SPECS ?

could you please explain me how ?

Thanks Chris

Pascal

Just do the following:


rpm -Uvh http://updates.interworx.info/iworx/SRPMS/experimental/mod_security-1.8.4-1.iworx.src.rpm

Edit /usr/src/redhat/SPECS/mod_security.spec, change “1.8.4” at the top to “1.8.7”. Then download the mod_security tarball for 1.8.7 to /usr/src/redhat/SOURCES.

Finally, do:


cd /usr/src/redhat
rpmbuild -bs ./SPECS/mod_security.spec
rpmbuild --rebuild --with cos3x ./SRPMS/mod_security-1.8.7-1.src.rpm
rpm -Uvh ./RPMS/i386/mod_security-1.8.7-1.rpm

That is for CentOS 3.x, if you’re using redhat 9 use “rht90” instead of cos3x.

Chris