From owner-svn-ports-head@freebsd.org Thu Sep 21 09:01:58 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4E1AE1E221; Thu, 21 Sep 2017 09:01:58 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 926906FE58; Thu, 21 Sep 2017 09:01:58 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8L91v6B041024; Thu, 21 Sep 2017 09:01:57 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8L91vip041022; Thu, 21 Sep 2017 09:01:57 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201709210901.v8L91vip041022@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 21 Sep 2017 09:01:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450245 - head/www/mod_evasive X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/www/mod_evasive X-SVN-Commit-Revision: 450245 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2017 09:01:58 -0000 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 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