aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-09-21 17:01:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-09-21 17:01:57 +0800
commit612c4349a4336cbd481a94b0f971cc33a338dd51 (patch)
tree35d7040d621fa5cda84177d341ee1a626cb0d138 /www
parent71117d1f63418952f44890816bc31e7aa9bb9344 (diff)
downloadfreebsd-ports-gnome-612c4349a4336cbd481a94b0f971cc33a338dd51.tar.gz
freebsd-ports-gnome-612c4349a4336cbd481a94b0f971cc33a338dd51.tar.zst
freebsd-ports-gnome-612c4349a4336cbd481a94b0f971cc33a338dd51.zip
- Add LICENSE_FILE
- Style fixes - Update WWW Approved by: portmgr blanket
Diffstat (limited to 'www')
-rw-r--r--www/mod_evasive/Makefile5
-rw-r--r--www/mod_evasive/pkg-descr2
2 files changed, 4 insertions, 3 deletions
diff --git a/www/mod_evasive/Makefile b/www/mod_evasive/Makefile
index 63e00d25da0d..0abc4b09ee04 100644
--- a/www/mod_evasive/Makefile
+++ b/www/mod_evasive/Makefile
@@ -13,6 +13,7 @@ MAINTAINER= kiwi@oav.net
COMMENT= Apache module to try to protect the HTTP Server from DoS/DDoS attacks
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -30,11 +31,11 @@ post-patch:
${WRKSRC}/mod_evasive.c ${WRKSRC}/mod_evasive20.c \
${WRKSRC}/mod_evasiveNSAPI.c
.if ${APACHE_VERSION:M24}
- ${REINPLACE_CMD} -e 's/remote_ip/client_ip/g' ${WRKSRC}/mod_evasive20.c
+ @${REINPLACE_CMD} -e 's/remote_ip/client_ip/g' ${WRKSRC}/mod_evasive20.c
.endif
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
diff --git a/www/mod_evasive/pkg-descr b/www/mod_evasive/pkg-descr
index 0e3a1883ad9c..48e88e503cbc 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.zdziarski.com/blog/?page_id=442
+WWW: https://github.com/jzdziarski/mod_evasive