2005-05-19 03:39:17 +02:00
|
|
|
Summary: Security module for the Apache HTTP Server
|
|
|
|
Name: mod_security
|
2006-05-15 14:31:04 +02:00
|
|
|
Version: 1.9.4
|
2006-09-03 08:41:10 +02:00
|
|
|
Release: 2%{?dist}
|
2005-05-19 03:39:17 +02:00
|
|
|
License: GPL
|
|
|
|
URL: http://www.modsecurity.org/
|
|
|
|
Group: System Environment/Daemons
|
2006-04-11 12:42:57 +02:00
|
|
|
Source: http://www.modsecurity.org/download/modsecurity-apache_%{version}.tar.gz
|
2005-05-19 03:39:17 +02:00
|
|
|
Source1: mod_security.conf
|
2005-07-09 02:41:23 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2005-07-09 14:57:50 +02:00
|
|
|
Requires: httpd httpd-mmn = %([ -a %{_includedir}/httpd/.mmn ] && cat %{_includedir}/httpd/.mmn || echo missing)
|
2005-07-09 02:41:23 +02:00
|
|
|
BuildRequires: httpd-devel
|
2005-05-19 03:39:17 +02:00
|
|
|
|
|
|
|
%description
|
2005-07-09 02:41:23 +02:00
|
|
|
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.
|
2005-05-19 03:39:17 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
|
2006-04-11 12:42:57 +02:00
|
|
|
%setup -q -n modsecurity-apache_%{version}
|
2005-05-19 03:39:17 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
/usr/sbin/apxs -Wc,"%{optflags}" -c apache2/mod_security.c
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/httpd/modules/
|
|
|
|
mkdir -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/
|
2005-05-19 08:42:01 +02:00
|
|
|
install -p apache2/.libs/mod_security.so %{buildroot}/%{_libdir}/httpd/modules/
|
2005-05-19 03:39:17 +02:00
|
|
|
install -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf.d/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr (-,root,root)
|
2005-11-22 09:39:23 +01:00
|
|
|
%doc CHANGES LICENSE INSTALL README httpd* util doc
|
2005-05-19 03:39:17 +02:00
|
|
|
%{_libdir}/httpd/modules/mod_security.so
|
2006-04-11 12:42:57 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mod_security.conf
|
2005-05-19 03:39:17 +02:00
|
|
|
|
|
|
|
%changelog
|
2006-09-03 08:41:10 +02:00
|
|
|
* Sun Sep 3 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.9.4-2
|
|
|
|
- Rebuild
|
|
|
|
- Fix minor longstanding braino in included sample configuration (bz #203972)
|
|
|
|
|
2006-05-15 14:31:04 +02:00
|
|
|
* Mon May 15 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.9.4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2006-04-11 12:42:57 +02:00
|
|
|
* Tue Apr 11 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.9.3-1
|
|
|
|
- New upstream release
|
|
|
|
- Trivial spec tweaks
|
|
|
|
|
2006-02-28 23:45:34 +01:00
|
|
|
* Wed Mar 1 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.9.2-3
|
|
|
|
- Bump for FC5
|
|
|
|
|
2006-02-10 14:43:39 +01:00
|
|
|
* Fri Feb 10 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.9.2-2
|
|
|
|
- Bump for newer gcc/glibc
|
|
|
|
|
2006-01-18 03:14:08 +01:00
|
|
|
* Wed Jan 18 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.9.2-1
|
|
|
|
- New upstream release
|
|
|
|
|
2005-12-15 23:36:12 +01:00
|
|
|
* Fri Dec 16 2005 Michael Fleming <mfleming+rpm@enlartenment.com> 1.9.1-2
|
|
|
|
- Bump for new httpd
|
|
|
|
|
2005-12-01 12:32:58 +01:00
|
|
|
* Thu Dec 1 2005 Michael Fleming <mfleming+rpm@enlartenment.com> 1.9.1-1
|
|
|
|
- New release 1.9.1
|
|
|
|
|
2005-11-22 09:39:23 +01:00
|
|
|
* Wed Nov 9 2005 Michael Fleming <mfleming+rpm@enlartenment.com> 1.9-1
|
|
|
|
- New stable upstream release 1.9
|
|
|
|
|
2005-07-09 13:58:44 +02:00
|
|
|
* Sat Jul 9 2005 Michael Fleming <mfleming+rpm@enlartenment.com> 1.8.7-4
|
|
|
|
- Add Requires: httpd-mmn to get the appropriate "module magic" version
|
2005-11-22 09:39:23 +01:00
|
|
|
(thanks Ville Skytta)
|
2005-07-09 13:58:44 +02:00
|
|
|
- Disabled an overly-agressive rule or two..
|
|
|
|
|
2005-07-09 02:41:23 +02:00
|
|
|
* Sat Jul 9 2005 Michael Fleming <mfleming+rpm@enlartenment.com> 1.8.7-3
|
|
|
|
- Correct Buildroot
|
|
|
|
- Some sensible and safe rules for common apps in mod_security.conf
|
|
|
|
|
2005-05-19 08:42:01 +02:00
|
|
|
* Thu May 19 2005 Michael Fleming <mfleming+rpm@enlartenment.com> 1.8.7-2
|
|
|
|
- Don't strip the module (so we can get a useful debuginfo package)
|
|
|
|
|
2005-05-19 03:39:17 +02:00
|
|
|
* Thu May 19 2005 Michael Fleming <mfleming+rpm@enlartenment.com> 1.8.7-1
|
|
|
|
- Initial spin for Extras
|