Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apa24-mod_security-3010
dba-apa24-mod_security-3010.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apa24-mod_security-3010.spec of Package dba-apa24-mod_security-3010
%define vers 3010 %define version 3.0.10 %define prefix /DBA/apache24/WWW/2.4.x %define apavers 2.4.57 %define apapack 2457 %define apahome /DBA/apache24/WWW/%{apavers} %define apxs %{apahome}/bin/apxs %define modname mod_security3 Name: dba-apa24-mod_security-%{vers} Summary: ModSecurity Open Source Web Application Firewall 3.0.10 Version: %{version} Release: 1 License: Apache-2.0 Url: https://github.com/SpiderLabs/ModSecurity-apache #Source0: https://github.com/SpiderLabs/ModSecurity-apache/releases/download/v0.0.9-beta1/modsecurity-apache-v0.0.9-beta1.tar.gz Source0: modsecurity-apache-master.tar.gz Source1: mod_security-rpmlintrc Source2: filter-requires-modsec.sh Source3: filter-provides-modsec.sh Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-build %define _use_internal_dependency_generator 0 %define __find_requires %{SOURCE2} %define __find_provides %{SOURCE3} BuildRequires: pcre-devel BuildRequires: dba-modsecurity-%{vers} dba-apache-%{apapack} %define modsecdir /DBA/modsecurity/%{version} Requires: dba-modsecurity-%{vers} %if 0%{?suse_version} BuildRequires: libexpat-devel %else BuildRequires: expat-devel %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %if 0%{?suse_version} >= 1200 BuildRequires: automake %endif %if 0%{?centos_version} >= 900 BuildRequires: autoconf automake %endif %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 %{__chmod} +x %{SOURCE2} %{SOURCE3} %setup -q -n modsecurity-apache-master %build export PKG_CONFIG_PATH="%{modsecdir}/lib/pkgconfig:$PKG_CONFIG_PATH" export CFLAGS="$CFLAGS -I%{modsecdir}/include" export LDFLAGS="$LDFLAGS -L%{modsecdir}/lib" %if 0%{?suse_version} > 1200 aclocal autoreconf --force --install %else ./autogen.sh %endif %configure \ --prefix=%{prefix} \ --with-libmodsecurity=%{modsecdir} \ --with-apxs=%{apxs} \ --with-apache=%{apahome}/bin/httpd \ --enable-static \ --disable-shared %{__make} %install # prevent rpath problem on suse export NO_BRP_CHECK_RPATH=true #make DESTDIR=$RPM_BUILD_ROOT install %if 0%{?suse_version} >= 1100 export NO_BRP_CHECK_BYTECODE_VERSION=true %endif %{__mkdir_p} %{buildroot}%{prefix}/conf %{__mkdir_p} %{buildroot}%{prefix}/modules install -m 755 src/.libs/mod_security3.so %{buildroot}%{prefix}/modules/%{modname}-%{version}.so install -m 755 %{modsecdir}/conf/modsecurity.conf %{buildroot}%{prefix}/conf/modsecurity.conf %files # _ # O/ _|_o| _ _ # /O | ||(/__> # %defattr(-,root,root) %dir %{prefix} %{prefix}/conf %{prefix}/modules %clean %{__rm} -rf %{buildroot} %changelog * Wed Aug 16 2023 Dennis Hampe <dennis.hampe@bertelsmann.de> - inital version
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