From owner-svn-ports-all@freebsd.org Mon May 7 19:07:54 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2955CFB9D14; Mon, 7 May 2018 19:07:54 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C99C4701DF; Mon, 7 May 2018 19:07:53 +0000 (UTC) (envelope-from brnrd@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BF60E1F651; Mon, 7 May 2018 19:07:53 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w47J7rZ0056701; Mon, 7 May 2018 19:07:53 GMT (envelope-from brnrd@FreeBSD.org) Received: (from brnrd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w47J7riF056698; Mon, 7 May 2018 19:07:53 GMT (envelope-from brnrd@FreeBSD.org) Message-Id: <201805071907.w47J7riF056698@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brnrd set sender to brnrd@FreeBSD.org using -f From: Bernard Spil Date: Mon, 7 May 2018 19:07:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469310 - in head/www/mod_memcache_block: . files X-SVN-Group: ports-head X-SVN-Commit-Author: brnrd X-SVN-Commit-Paths: in head/www/mod_memcache_block: . files X-SVN-Commit-Revision: 469310 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2018 19:07:54 -0000 Author: brnrd Date: Mon May 7 19:07:52 2018 New Revision: 469310 URL: https://svnweb.freebsd.org/changeset/ports/469310 Log: www/mod_memcache_block: Update to 1.0 PR: 228053 Added: head/www/mod_memcache_block/files/ head/www/mod_memcache_block/files/patch-mod__memcache__block.c (contents, props changed) Modified: head/www/mod_memcache_block/Makefile head/www/mod_memcache_block/distinfo Modified: head/www/mod_memcache_block/Makefile ============================================================================== --- head/www/mod_memcache_block/Makefile Mon May 7 18:44:50 2018 (r469309) +++ head/www/mod_memcache_block/Makefile Mon May 7 19:07:52 2018 (r469310) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= mod_memcache_block -PORTVERSION= 20120821 -PORTREVISION= 1 +PORTVERSION= 1.0 CATEGORIES= www DIST_SUBDIR= apache2 @@ -13,10 +12,7 @@ COMMENT= Apache 2.2 module to block IPs from lists sto LIB_DEPENDS+= libmemcached.so:databases/libmemcached USE_GITHUB= yes -GH_ACCOUNT= netik -GH_TAGNAME= 7b1fcec - -BROKEN= Does not currently work with Apache 2.4+ +GH_ACCOUNT= gaod USES= apache:2.4+ AP_FAST_BUILD= yes Modified: head/www/mod_memcache_block/distinfo ============================================================================== --- head/www/mod_memcache_block/distinfo Mon May 7 18:44:50 2018 (r469309) +++ head/www/mod_memcache_block/distinfo Mon May 7 19:07:52 2018 (r469310) @@ -1,2 +1,3 @@ -SHA256 (apache2/netik-mod_memcache_block-20120821-7b1fcec_GH0.tar.gz) = ee33f298dcc08fee1239f99036076550272e69646713cfe65fe95773860672f5 -SIZE (apache2/netik-mod_memcache_block-20120821-7b1fcec_GH0.tar.gz) = 13351 +TIMESTAMP = 1525714521 +SHA256 (apache2/gaod-mod_memcache_block-1.0_GH0.tar.gz) = bef6a3bf80e642a31f9fe3867787f83e93fb4cdb54db5f193c79d3adc03b37b5 +SIZE (apache2/gaod-mod_memcache_block-1.0_GH0.tar.gz) = 13359 Added: head/www/mod_memcache_block/files/patch-mod__memcache__block.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_memcache_block/files/patch-mod__memcache__block.c Mon May 7 19:07:52 2018 (r469310) @@ -0,0 +1,18 @@ +--- mod_memcache_block.c.orig 2018-05-08 02:01:33.125306000 +0800 ++++ mod_memcache_block.c 2018-05-08 02:02:06.796426000 +0800 +@@ -369,6 +369,7 @@ + if (s2conf->response_limiter != NULL) { + merged_config->response_limiter = apr_hash_copy(p, s2conf->response_limiter); + } ++ return (void*) merged_config; + } + + static apr_status_t mb_child_exit(void *data) +@@ -416,6 +417,7 @@ + /* finally, refresh the blocklist */ + mb_refresh_blocklist(s); + ++ return OK; + } + + /* callback used when we walk the array */