Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:clauded1:mod_security25
mod_security25
apache2-mod_security25.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apache2-mod_security25.spec of Package mod_security25
# # spec file for package apache2-mod_security2 (Version 2.5.12) # # norootforbuild Name: apache2-mod_security25 Version: 2.5.12 Release: 4.1 # License: GPL Group: Productivity/Networking/Web/Servers # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: apache2-devel apache2-prefork libxml2-devel pcre-devel curl-devel gcc-c++ # %define apache apache2 %define modname mod_security25 %define tarballname modsecurity-apache_%{version} # %define apxs %{_sbindir}/apxs2 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR) %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR) %define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)/MMN; test -x $MMN && $MMN) %define rulesversion 2.5-1.6.1 %define share_dir /usr/share/doc/packages/apache2-mod_security25 Requires: apache2 %{apache_mmn} # Url: http://www.modsecurity.org Source0: http://www.modsecurity.org/download/%{tarballname}.tar.gz # Source1: modsecurity-core-rules_%{rulesversion}.tar.gz # Patch0: mlogc_2.5.10-dev1.diff # Summary: ModSecurity Open Source Web Application Firewall %description ModSecurity(TM) is an open source intrusion detection and prevention engine for web applications (or a web application firewall). Operating as an Apache Web server module or standalone, the purpose of ModSecurity is to increase web application security, protecting web applications from known and unknown attacks. Author: -------- Ivan Ristic <ivanr@webkreator.com> %prep %setup -n %{tarballname} # %patch0 -p0 #perl -p -i.orig -e \ # "s|^(CFLAGS =.*)|\$1 $(%{apxs} -q CFLAGS)| ;\ # s|^(top_dir +=).*|\1 $(%{apxs} -q exp_installbuilddir)/..|; # s|^(APXS +=).*|\$1 %apxs|" \ # apache2/Makefile #diff -urN apache2/Makefile{.orig,} ||: %build cd apache2 %configure \ --prefix=%{_prefix} %{__make} make mlogc cd - %install mkdir -p %{buildroot}%{apache_sysconfdir}/conf.d/ mkdir -p %{buildroot}%{apache_libexecdir} install -m 0755 apache2/.libs/mod_security2.so %{buildroot}%{apache_libexecdir}/%{modname}.so install -m 0644 modsecurity.conf-minimal %{buildroot}%{apache_sysconfdir}/conf.d/%{modname}.conf install -m 0755 -d %{buildroot}/%{_bindir} install -m 0755 tools/mlogc %{buildroot}/%{_bindir}/ install -m 0644 apache2/mlogc-src/mlogc-default.conf %{buildroot}/etc/mlogc.conf install -m 0644 apache2/mlogc-src/INSTALL tools/INSTALL.mlogc rm -f tools/mlogc tools/*.in %clean %{__rm} -rf %{buildroot}; %files %defattr(-, root, root, 0755) %{apache_libexecdir}/%{modname}.so %{_bindir}/mlogc %config(noreplace) /etc/mlogc.conf %config(noreplace) %{apache_sysconfdir}/conf.d/%{modname}.conf %doc CHANGES LICENSE modsecurity.conf-minimal README.TXT %doc doc/ rules/ tools/ %changelog * Mon Feb 08 2010 clauded1 - upgrade to 2.5.12 * Wed Nov 18 2009 holger.manthey@bertelsmann.de - upgrade to 2.5.11 * Fri Aug 21 2009 thorsten.bomberg@bertelsmann.de - add patch for mlogc (MODSEC-20) * Thu Aug 13 2009 thorsten.bomberg@bertelsmann.de - add mlogc and related files * Mon Mar 23 2009 holger.manthey@bertelsmann.de - upgrade to 2.5.9 * Tue Jan 27 2009 holger.manthey@bertelsmann.de - initial spec file
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor