7e40131318
Bump PORTREVISION PR: 89192 Noticed by: Frank Steinborn Approved by: Xavier Beaudouin <kiwi@oav.net> (maintainer)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
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.10
|
|
PORTREVISION= 1
|
|
CATEGORIES= www security
|
|
MASTER_SITES= http://www.nuclearelephant.com/projects/dosevasive/ \
|
|
ftp://ftp.oav.net/pkg_freebsd/distfiles/
|
|
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}
|
|
|
|
USE_REINPLACE= yes
|
|
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-patch:
|
|
@${REINPLACE_CMD} -e "s|/bin/mail|/usr/bin/mail|g" \
|
|
${WRKSRC}/mod_dosevasive.c ${WRKSRC}/mod_dosevasive20.c \
|
|
${WRKSRC}/mod_dosevasiveNSAPI.c
|
|
|
|
post-install:
|
|
.if !defined (NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
. for f in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
. endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|