mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
76b95d16c6
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. PR: ports/69623 Submitted by: Xavier Beaudouin <kiwi@oav.net>
39 lines
854 B
Makefile
39 lines
854 B
Makefile
# New ports collection makefile for: mod_dosevasive20
|
|
# Date created: 26 Jul 2004
|
|
# Whom: Xavier Beaudouin <kiwi@oav.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_dosevasive20
|
|
PORTVERSION= 1.9
|
|
CATEGORIES= www security
|
|
MASTER_SITES= http://www.nuclearelephant.com/projects/dosevasive/
|
|
DISTNAME= mod_dosevasive.${PORTVERSION}
|
|
DIST_SUBDIR= apache2
|
|
|
|
MAINTAINER= kiwi@oav.net
|
|
COMMENT= An Apache 2 module to try to protect HTTP DoS or DDoS attacks
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
WANT_APACHE= 2
|
|
AP_FAST_BUILD= YES
|
|
AP_GENPLIST= YES
|
|
WRKSRC= ${WRKDIR}/mod_dosevasive
|
|
|
|
PORTDOCS= LICENSE README test.pl
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
|
|
|
|
post-install:
|
|
.if !defined (NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
. for f in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
. endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|