diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/rubygem-rack-attack/Makefile | 18 | ||||
-rw-r--r-- | www/rubygem-rack-attack/distinfo | 2 | ||||
-rw-r--r-- | www/rubygem-rack-attack/pkg-descr | 3 |
4 files changed, 24 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 99b2211aaeea..a4d423d64592 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1803,6 +1803,7 @@ SUBDIR += rubygem-rack SUBDIR += rubygem-rack15 SUBDIR += rubygem-rack-accept + SUBDIR += rubygem-rack-attack SUBDIR += rubygem-rack-cache SUBDIR += rubygem-rack-contrib SUBDIR += rubygem-rack-mount diff --git a/www/rubygem-rack-attack/Makefile b/www/rubygem-rack-attack/Makefile new file mode 100644 index 000000000000..16c2980130ff --- /dev/null +++ b/www/rubygem-rack-attack/Makefile @@ -0,0 +1,18 @@ +# Created by: Steve Wills <swills@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= rack-attack +PORTVERSION= 2.2.1 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Rack middleware for throttling and blocking abusive requests + +RUN_DEPENDS= rubygem-rack>=0:${PORTSDIR}/www/rubygem-rack + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-rack-attack/distinfo b/www/rubygem-rack-attack/distinfo new file mode 100644 index 000000000000..7c37269cba00 --- /dev/null +++ b/www/rubygem-rack-attack/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/rack-attack-2.2.1.gem) = 0bccfdc24a8512b6d20b9f6d566e9aee5d8a6a5dc8993109756a96f3166ecb2b +SIZE (rubygem/rack-attack-2.2.1.gem) = 11264 diff --git a/www/rubygem-rack-attack/pkg-descr b/www/rubygem-rack-attack/pkg-descr new file mode 100644 index 000000000000..13a76eb2b290 --- /dev/null +++ b/www/rubygem-rack-attack/pkg-descr @@ -0,0 +1,3 @@ +Rack middleware for throttling and blocking abusive requests + +WWW: http://github.com/kickstarter/rack-attack |