Bug 170826 - [NEW PORT] www/mod_memcache_block: An Apache 2 module to block IPs
Summary: [NEW PORT] www/mod_memcache_block: An Apache 2 module to block IPs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Olli Hauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-21 16:20 UTC by Hung-Yi Chen
Modified: 2012-08-25 22:13 UTC (History)
0 users

See Also:


Attachments
mod_memcache_block.shar (2.04 KB, text/plain)
2012-08-21 16:20 UTC, Hung-Yi Chen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hung-Yi Chen 2012-08-21 16:20:11 UTC
mod_memcache_block is an Apache module that allows you to block access to
your servers using a block list stored in memcache. It also offers
distributed rate limiting based on HTTP response code.

WWW: https://github.com/netik/mod_memcache_block
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-21 16:20:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

apache@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Olli Hauer freebsd_committer freebsd_triage 2012-08-25 16:08:06 UTC
Responsible Changed
From-To: apache->ohauer

I'll take it
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-08-25 21:32:19 UTC
Author: ohauer
Date: Sat Aug 25 20:32:08 2012
New Revision: 303155
URL: http://svn.freebsd.org/changeset/ports/303155

Log:
  - new port mod_memcache_block
  
  mod_memcache_block is an apache module that allows you to block access
  to your servers using a block list stored in memcache. It also offers
  distributed rate limiting based on HTTP response code.
  
  WWW: https://github.com/netik/mod_memcache_block
  
  PR:		ports/170826
  Submitted by:	Hung-Yi Chen <gaod@hychen.org>

Added:
  head/www/mod_memcache_block/
  head/www/mod_memcache_block/Makefile   (contents, props changed)
  head/www/mod_memcache_block/distinfo   (contents, props changed)
  head/www/mod_memcache_block/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sat Aug 25 20:20:28 2012	(r303154)
+++ head/www/Makefile	Sat Aug 25 20:32:08 2012	(r303155)
@@ -499,6 +499,7 @@
     SUBDIR += mod_log_sql2-dtc
     SUBDIR += mod_macro22
     SUBDIR += mod_memcache
+    SUBDIR += mod_memcache_block
     SUBDIR += mod_mono
     SUBDIR += mod_musicindex
     SUBDIR += mod_myvhost

Added: head/www/mod_memcache_block/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_memcache_block/Makefile	Sat Aug 25 20:32:08 2012	(r303155)
@@ -0,0 +1,31 @@
+# New ports collection makefile for:	mod_memcache_block
+# Date created:				2012-08-21
+# Whom:					Hung-Yi Chen <gaod@hychen.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	mod_memcache_block
+PORTVERSION=	20120821
+CATEGORIES=	www
+MASTER_SITES=	https://github.com/netik/mod_memcache_block/tarball/${GITVERSION}/
+DISTNAME=	mod_memcache_block-${GITVERSION}
+DIST_SUBDIR=	apache2
+
+MAINTAINER=	gaod@hychen.org
+COMMENT=	An Apache 2 module to block ip from lists stored in memcache
+
+LIB_DEPENDS+=	memcached:${PORTSDIR}/databases/libmemcached
+
+FETCH_ARGS=	-Fpr
+GITVERSION=	7b1fcec
+WRKSRC=		${WRKDIR}/netik-${DISTNAME}
+LATEST_LINK=	mod_memcache_block
+
+USE_APACHE=	22+
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
+AP_INC=		${LOCALBASE}/include/libmemcached
+AP_LIB=		${LOCALBASE}/lib -lmemcached
+
+.include <bsd.port.mk>

Added: head/www/mod_memcache_block/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_memcache_block/distinfo	Sat Aug 25 20:32:08 2012	(r303155)
@@ -0,0 +1,2 @@
+SHA256 (apache2/mod_memcache_block-7b1fcec.tar.gz) = 8f6221d1c2458dc7f4c430b0bda74632af1c61174f8c6025db71d85166ae393d
+SIZE (apache2/mod_memcache_block-7b1fcec.tar.gz) = 13355

Added: head/www/mod_memcache_block/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_memcache_block/pkg-descr	Sat Aug 25 20:32:08 2012	(r303155)
@@ -0,0 +1,5 @@
+mod_memcache_block is an Apache module that allows you to block access to
+your servers using a block list stored in memcache. It also offers
+distributed rate limiting based on HTTP response code.
+
+WWW: https://github.com/netik/mod_memcache_block
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Olli Hauer freebsd_committer freebsd_triage 2012-08-25 21:32:52 UTC
State Changed
From-To: open->closed

Committed with minor changes 
Thanks!