freebsd-ports/www/mod_evasive/Makefile
Olli Hauer 19fe40753d - change required APACHE version from 13+ to 20+
(prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@
2012-01-01 16:47:41 +00:00

46 lines
994 B
Makefile

# New ports collection makefile for: mod_dosevasive20
# Date created: 26 Jul 2004
# Whom: Xavier Beaudouin <kiwi@oav.net>
#
# $FreeBSD$
#
PORTNAME= mod_evasive
PORTVERSION= 1.10.1
PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= http://www.zdziarski.com/blog/wp-content/uploads/2010/02/
DISTNAME= mod_evasive_${PORTVERSION}
DIST_SUBDIR= apache2
MAINTAINER= kiwi@oav.net
COMMENT= An Apache module to try to protect the HTTP Server from DoS/DDoS attacks
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_APACHE= 20+
AP_FAST_BUILD= YES
AP_GENPLIST= YES
PORTDOCS= LICENSE README test.pl
.include <bsd.port.pre.mk>
MODULENAME= ${PORTNAME}20
post-patch:
@${REINPLACE_CMD} -e "s|/bin/mail|/usr/bin/mail|g" \
${WRKSRC}/mod_evasive.c ${WRKSRC}/mod_evasive20.c \
${WRKSRC}/mod_evasiveNSAPI.c
post-install:
.if !defined (NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.post.mk>