SPECS: apache-mod_dosevasive.spec - rebuild with new apache - apxs...
glen
glen at pld-linux.org
Thu Dec 22 00:37:00 CET 2005
Author: glen Date: Wed Dec 21 23:37:00 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rebuild with new apache
- apxs calling not needed (which is broken anyway)
- rel 2
---- Files affected:
SPECS:
apache-mod_dosevasive.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: SPECS/apache-mod_dosevasive.spec
diff -u SPECS/apache-mod_dosevasive.spec:1.13 SPECS/apache-mod_dosevasive.spec:1.14
--- SPECS/apache-mod_dosevasive.spec:1.13 Mon Dec 12 14:44:44 2005
+++ SPECS/apache-mod_dosevasive.spec Thu Dec 22 00:36:54 2005
@@ -5,7 +5,7 @@
Summary(pl): Moduł manewrów omijających ataki DoS dla Apache
Name: apache-mod_%{mod_name}
Version: 1.10
-Release: 1
+Release: 2
License: GPL v2+
Group: Networking/Daemons
Source0: http://www.nuclearelephant.com/projects/dosevasive/mod_%{mod_name}_%{version}.tar.gz
@@ -13,13 +13,14 @@
Source1: %{name}.conf
URL: http://www.nuclearelephant.com/projects/dosevasive/
BuildRequires: %{apxs}
-BuildRequires: apache-devel >= 2
+BuildRequires: apache-devel >= 2.0
BuildRequires: zlib-devel
-Requires(post,preun): %{apxs}
-Requires: apache >= 2
+Requires: apache(modules-api) = %apache_modules_api
+Requires: apache >= 2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _pkglibdir %(%{apxs} -q LIBEXECDIR)
+%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
+%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
%description
mod_dosevasive is an evasive maneuvers module for Apache to provide
@@ -55,14 +56,12 @@
rm -rf $RPM_BUILD_ROOT
%post
-%{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
if [ -f /var/lock/subsys/httpd ]; then
/etc/rc.d/init.d/httpd restart 1>&2
fi
%preun
if [ "$1" = "0" ]; then
- %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
if [ -f /var/lock/subsys/httpd ]; then
/etc/rc.d/init.d/httpd restart 1>&2
fi
@@ -80,6 +79,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2005/12/21 23:36:54 glen
+- rebuild with new apache
+- apxs calling not needed (which is broken anyway)
+- rel 2
+
Revision 1.13 2005/12/12 13:44:44 glen
- adapterized (sorted %verify attrs)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/apache-mod_dosevasive.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list