For those who need 1.9.1 on RH7.3, try the following specfile. No
guarantees but working on my system.
Summary: Security module for the Apache HTTP Server
Name: modsecurity-apache
Version: 1.9.1
Release: 1.path
License: GPL
URL: http://www.modsecurity.org
Group: System Environment/Daemons
Source: http://www.modsecurity.org/download/%{name}-%{version}.tar.gz
Source1: mod_security.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: webserver
BuildRequires: apache-devel
%description
ModSecurity is an open source intrusion detection and prevention engine
for web applications. It operates embedded into the web server, acting
as a powerful umbrella - shielding web applications from attacks.
%prep
%setup -q -n %{name}-%{version}
%build
/usr/sbin/apxs -Wc,"%{optflags}" -c apache1/mod_security.c
%install
rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT%{_libdir}/apache
install -m755 apache1/mod_security.so $RPM_BUILD_ROOT%{_libdir}/apache/
mkdir -p %{buildroot}/%{_sysconfdir}/httpd/conf
install -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf
%clean
rm -rf %{buildroot}
%files
%defattr (-,root,root)
%doc CHANGES LICENSE INSTALL README httpd* doc/*.pdf util
%{_libdir}/apache
%config(noreplace) %{_sysconfdir}/httpd/conf/mod_security.conf
%changelog
* Sun Dec 18 2005 G. Roderick Singleton <ge...@pa...> 1.9.1-1
- initial RH 7.3 build
--
G. Roderick Singleton <ge...@pa...>
PATH tech
|