Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2017 09:01:57 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450245 - head/www/mod_evasive
Message-ID:  <201709210901.v8L91vip041022@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Sep 21 09:01:57 2017
New Revision: 450245
URL: https://svnweb.freebsd.org/changeset/ports/450245

Log:
  - Add LICENSE_FILE
  - Style fixes
  - Update WWW
  
  Approved by:	portmgr blanket

Modified:
  head/www/mod_evasive/Makefile
  head/www/mod_evasive/pkg-descr

Modified: head/www/mod_evasive/Makefile
==============================================================================
--- head/www/mod_evasive/Makefile	Thu Sep 21 09:01:55 2017	(r450244)
+++ head/www/mod_evasive/Makefile	Thu Sep 21 09:01:57 2017	(r450245)
@@ -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>

Modified: head/www/mod_evasive/pkg-descr
==============================================================================
--- head/www/mod_evasive/pkg-descr	Thu Sep 21 09:01:55 2017	(r450244)
+++ head/www/mod_evasive/pkg-descr	Thu Sep 21 09:01:57 2017	(r450245)
@@ -27,4 +27,4 @@ addresses) but only scripted attacks. Even a user repe
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709210901.v8L91vip041022>