Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2018 19:07:53 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
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
Message-ID:  <201805071907.w47J7riF056698@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



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