aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-10-28 09:33:56 +0800
committerswills <swills@FreeBSD.org>2011-10-28 09:33:56 +0800
commitb63339e05249ea1a09c9c97528391bc3c4822acd (patch)
tree1b943b212f7e2f2806a10254b4c1c97bc9082e4a /www
parent5a0a49f87d05342b8cd6ba729786904c8ffe9697 (diff)
downloadfreebsd-ports-gnome-b63339e05249ea1a09c9c97528391bc3c4822acd.tar.gz
freebsd-ports-gnome-b63339e05249ea1a09c9c97528391bc3c4822acd.tar.zst
freebsd-ports-gnome-b63339e05249ea1a09c9c97528391bc3c4822acd.zip
Collection of Rack middleware to protect you against common, opportunistic attack.
WWW: http://rkh.github.com/rack-protection/
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-rack-protection/Makefile22
-rw-r--r--www/rubygem-rack-protection/distinfo2
-rw-r--r--www/rubygem-rack-protection/pkg-descr3
4 files changed, 28 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 493a63103bd5..668918d22a90 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1643,6 +1643,7 @@
SUBDIR += rubygem-rack
SUBDIR += rubygem-rack-cache
SUBDIR += rubygem-rack-mount
+ SUBDIR += rubygem-rack-protection
SUBDIR += rubygem-rack-ssl
SUBDIR += rubygem-rack-test
SUBDIR += rubygem-rails
diff --git a/www/rubygem-rack-protection/Makefile b/www/rubygem-rack-protection/Makefile
new file mode 100644
index 000000000000..faa7c9a580a6
--- /dev/null
+++ b/www/rubygem-rack-protection/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: rubygem-rack-protection
+# Date created: 2011-10-27
+# Whom: Steve Wills <swills@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rack-protection
+PORTVERSION= 1.1.4
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Collection of Rack middleware to protect against opportunistic attack
+
+RUN_DEPENDS= rubygem-rack>=1.0:${PORTSDIR}/www/rubygem-rack
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-rack-protection/distinfo b/www/rubygem-rack-protection/distinfo
new file mode 100644
index 000000000000..e00fec5e0393
--- /dev/null
+++ b/www/rubygem-rack-protection/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/rack-protection-1.1.4.gem) = fe2599a6e9dcfd6f45c80cba1c499d921ee99ad202bd86c39f958420f9b50003
+SIZE (rubygem/rack-protection-1.1.4.gem) = 13312
diff --git a/www/rubygem-rack-protection/pkg-descr b/www/rubygem-rack-protection/pkg-descr
new file mode 100644
index 000000000000..d0a54ec08682
--- /dev/null
+++ b/www/rubygem-rack-protection/pkg-descr
@@ -0,0 +1,3 @@
+Collection of Rack middleware to protect you against common, opportunistic attack.
+
+WWW: http://rkh.github.com/rack-protection/