diff options
author | Brad Davis <brd@FreeBSD.org> | 2008-05-22 01:53:50 +0000 |
---|---|---|
committer | Brad Davis <brd@FreeBSD.org> | 2008-05-22 01:53:50 +0000 |
commit | 176242ee4fc16275187ab7860e424a0c22e944b2 (patch) | |
tree | 626657b0de64dba888555045b2cf4d7b33e658e2 | |
parent | 21d58ada2303ef006025b0daee9bac1ec4190010 (diff) | |
download | ports-176242ee4fc16275187ab7860e424a0c22e944b2.tar.gz ports-176242ee4fc16275187ab7860e424a0c22e944b2.zip |
Fix the build from my last commit that was part of PR: ports/122781.
Reviewed by: edwin@
Notes
Notes:
svn path=/head/; revision=213508
-rw-r--r-- | www/mod_evasive/Makefile | 8 | ||||
-rw-r--r-- | www/mod_evasive/pkg-descr | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/www/mod_evasive/Makefile b/www/mod_evasive/Makefile index a080f48ad7e6..36a621b256b8 100644 --- a/www/mod_evasive/Makefile +++ b/www/mod_evasive/Makefile @@ -18,15 +18,17 @@ COMMENT= An Apache module to try to protect the HTTP Server from DoS/DDoS attack WRKSRC= ${WRKDIR}/${PORTNAME} -WANT_APACHE= 2 +USE_APACHE= 1.3+ AP_FAST_BUILD= YES AP_GENPLIST= YES -WRKSRC= ${WRKDIR}/mod_evasive PORTDOCS= LICENSE README test.pl .include <bsd.port.pre.mk> -.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd" + +.if ${APACHE_VERSION} != "13" +MODULENAME= ${PORTNAME}20 +.endif post-patch: @${REINPLACE_CMD} -e "s|/bin/mail|/usr/bin/mail|g" \ diff --git a/www/mod_evasive/pkg-descr b/www/mod_evasive/pkg-descr index 338260dae53f..78270c28dd49 100644 --- a/www/mod_evasive/pkg-descr +++ b/www/mod_evasive/pkg-descr @@ -27,4 +27,4 @@ addresses) but only scripted attacks. Even a user repeatedly clicking on is fully tweakable through the Apache configuration file, easy to incorporate into your web server, and easy to use. -WWW: http://www.nuclearelephant.com/projects/dosevasive/ +WWW: http://www.zdziarski.com/projects/mod_evasive/ |