Index: head/www/mod_memcache_block/Makefile =================================================================== --- head/www/mod_memcache_block/Makefile (revision 469309) +++ head/www/mod_memcache_block/Makefile (revision 469310) @@ -1,27 +1,23 @@ # Created by: Hung-Yi Chen # $FreeBSD$ PORTNAME= mod_memcache_block -PORTVERSION= 20120821 -PORTREVISION= 1 +PORTVERSION= 1.0 CATEGORIES= www DIST_SUBDIR= apache2 MAINTAINER= gaod@hychen.org COMMENT= Apache 2.2 module to block IPs from lists stored in memcache 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 AP_GENPLIST= yes AP_INC= ${LOCALBASE}/include/libmemcached AP_LIB= ${LOCALBASE}/lib -lmemcached .include Index: head/www/mod_memcache_block/distinfo =================================================================== --- head/www/mod_memcache_block/distinfo (revision 469309) +++ head/www/mod_memcache_block/distinfo (revision 469310) @@ -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 Index: head/www/mod_memcache_block/files/patch-mod__memcache__block.c =================================================================== --- head/www/mod_memcache_block/files/patch-mod__memcache__block.c (nonexistent) +++ head/www/mod_memcache_block/files/patch-mod__memcache__block.c (revision 469310) @@ -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 */ Property changes on: head/www/mod_memcache_block/files/patch-mod__memcache__block.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property