Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37777114
en ru br
Репозитории ALT
5.1: 1.10.1-alt0.1
4.1: 1.10.1-alt0.1
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: mod_evasive

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# override definition from apache-devel
%define apache_addonconfdir %apache_confdir/addon-modules.d
%define apache_moduledir %_libdir/apache

Name: mod_evasive
Version: 1.10.1
Release: alt0.1

Summary: mod_evasive is an evasive maneuvers module for Apache

Group: System/Servers
License: GPL
Url: http://www.zdziarski.com/projects/mod_evasive/
Source: http://www.zdziarski.com/projects/mod_evasive/%{name}_%{version}.tar.gz
Source1: mod_evasive.conf

Requires: apache

BuildRequires: apache-devel

%description
mod_dosevasive is an evasive maneuvers module for Apache to provide evasive action in the event of an HTTP DoS or DDoS attack or brute force attack. It is also designed to be a detection and network management tool, and can be easily configured to talk to ipchains, firewalls, routers, and etcetera. mod_dosevasive presently reports abuses via email and syslog facilities.

%prep
%setup -q -n %name

%build
%apache_apxs -Wc,"$RPM_OPT_FLAGS" -c mod_evasive.c -o mod_evasive.so

%install
%__mkdir_p %buildroot{%apache_moduledir,%apache_addonconfdir}

%__install -m755 %name.so %buildroot%apache_moduledir
%__install -m644 %SOURCE1 %buildroot%apache_addonconfdir

%post
/sbin/service httpd condrestart

%postun
/sbin/service httpd condrestart

%files
%apache_moduledir/*
%config(noreplace) %apache_addonconfdir/*
%doc README

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin