diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-11-17 18:37:38 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-11-17 18:37:38 +0000 |
commit | 7e401313184c6cc240bb3c3e35de1b1f8f75edc2 (patch) | |
tree | 337303b37f4d1e3c02b7bf073dfe9c0331fb3ff3 /www/mod_evasive20 | |
parent | 5d32a1c8472c6bd107b8561cc25b9284fb64aa3f (diff) | |
download | ports-7e401313184c6cc240bb3c3e35de1b1f8f75edc2.tar.gz ports-7e401313184c6cc240bb3c3e35de1b1f8f75edc2.zip |
Notes
Diffstat (limited to 'www/mod_evasive20')
-rw-r--r-- | www/mod_evasive20/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/www/mod_evasive20/Makefile b/www/mod_evasive20/Makefile index a2a32af908a7..4b6a844c3871 100644 --- a/www/mod_evasive20/Makefile +++ b/www/mod_evasive20/Makefile @@ -7,6 +7,7 @@ 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/ @@ -18,6 +19,7 @@ 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 @@ -28,6 +30,11 @@ 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} |