diff options
author | brd <brd@FreeBSD.org> | 2008-05-22 09:53:50 +0800 |
---|---|---|
committer | brd <brd@FreeBSD.org> | 2008-05-22 09:53:50 +0800 |
commit | 3a1a5844e14489868f40264dd6fb2b4442034699 (patch) | |
tree | 983fd945d6b0c778620f08ecca4864e220e475d8 | |
parent | 2a0e3b92514252f266d7c0109a3529b1db4226a0 (diff) | |
download | freebsd-ports-gnome-3a1a5844e14489868f40264dd6fb2b4442034699.tar.gz freebsd-ports-gnome-3a1a5844e14489868f40264dd6fb2b4442034699.tar.zst freebsd-ports-gnome-3a1a5844e14489868f40264dd6fb2b4442034699.zip |
Fix the build from my last commit that was part of PR: ports/122781.
Reviewed by: edwin@
-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/ |