[mod_security/el6] Re-add mlogc sub-package for epel (#856525)
Athmane Madjoudj
athmane at fedoraproject.org
Wed Sep 12 10:17:34 UTC 2012
commit 516bd4be3335039c7d56d19149ed1be8196b9e45
Author: Athmane Madjoudj <athmane at fedoraproject.org>
Date: Wed Sep 12 11:14:25 2012 +0100
Re-add mlogc sub-package for epel (#856525)
mod_security.spec | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/mod_security.spec b/mod_security.spec
index 320f0af..c4998e5 100644
--- a/mod_security.spec
+++ b/mod_security.spec
@@ -8,7 +8,7 @@
Summary: Security module for the Apache HTTP Server
Name: mod_security
Version: 2.6.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: ASL 2.0
URL: http://www.modsecurity.org/
Group: System Environment/Daemons
@@ -16,13 +16,13 @@ Source: http://www.modsecurity.org/download/modsecurity-apache_%{version}.tar.gz
Source1: mod_security.conf
Requires: httpd httpd-mmn = %{_httpd_mmn}
BuildRequires: httpd-devel libxml2-devel pcre-devel curl-devel lua-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%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.
-%if 0%{?fedora}
%package -n mlogc
Summary: ModSecurity Audit Log Collector
Group: System Environment/Daemons
@@ -30,7 +30,6 @@ Requires: mod_security
%description -n mlogc
This package contains the ModSecurity Audit Log Collector.
-%endif
%prep
%setup -q -n modsecurity-apache_%{version}
@@ -68,14 +67,12 @@ install -Dp -m0644 10-mod_security.conf %{buildroot}%{_httpd_modconfdir}/10-mod_
install -Dp -m0644 %{SOURCE1} %{buildroot}%{_httpd_confdir}/mod_security.conf
%endif
-%if 0%{?fedora}
# mlogc
install -d %{buildroot}%{_localstatedir}/log/mlogc
install -d %{buildroot}%{_localstatedir}/log/mlogc/data
install -m0755 mlogc/mlogc %{buildroot}%{_bindir}/mlogc
install -m0755 mlogc/mlogc-batch-load.pl %{buildroot}%{_bindir}/mlogc-batch-load
install -m0644 mlogc/mlogc-default.conf %{buildroot}%{_sysconfdir}/mlogc.conf
-%endif
%clean
rm -rf %{buildroot}
@@ -91,7 +88,6 @@ rm -rf %{buildroot}
%dir %{_sysconfdir}/httpd/modsecurity.d
%dir %{_sysconfdir}/httpd/modsecurity.d/activated_rules
-%if 0%{?fedora}
%files -n mlogc
%defattr (-,root,root)
%doc mlogc/INSTALL
@@ -100,9 +96,11 @@ rm -rf %{buildroot}
%attr(0770,root,apache) %dir %{_localstatedir}/log/mlogc/data
%attr(0755,root,root) %{_bindir}/mlogc
%attr(0755,root,root) %{_bindir}/mlogc-batch-load
-%endif
%changelog
+* Wed Sep 12 2012 Athmane Madjoudj <athmane at fedoraproject.org> 2.6.7-2
+- Re-add mlogc sub-package for epel (#856525)
+
* Sat Aug 25 2012 Athmane Madjoudj <athmane at fedoraproject.org> 2.6.7-1
- Update to 2.6.7
More information about the scm-commits
mailing list