diff options
-rw-r--r-- | www/mod_dosevasive20/Makefile | 7 | ||||
-rw-r--r-- | www/mod_evasive/Makefile | 7 | ||||
-rw-r--r-- | www/mod_evasive20/Makefile | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/www/mod_dosevasive20/Makefile b/www/mod_dosevasive20/Makefile index a2a32af908a7..4b6a844c3871 100644 --- a/www/mod_dosevasive20/Makefile +++ b/www/mod_dosevasive20/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} diff --git a/www/mod_evasive/Makefile b/www/mod_evasive/Makefile index a2a32af908a7..4b6a844c3871 100644 --- a/www/mod_evasive/Makefile +++ b/www/mod_evasive/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} 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} |