git: 615af6e0c7cc - main - www/rubygem-rack-protection2: Add rubygem-rack-protection2 2.2.2 (copied from rubygem-rack-protection)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 17:12:30 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=615af6e0c7cc35128fb2d8c91ffd5998df48da44
commit 615af6e0c7cc35128fb2d8c91ffd5998df48da44
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 16:56:42 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 17:10:14 +0000
www/rubygem-rack-protection2: Add rubygem-rack-protection2 2.2.2 (copied from rubygem-rack-protection)
- Update version requirement of RUN_DEPENDS
- Add PORTSCOUT
---
www/Makefile | 1 +
www/rubygem-rack-protection2/Makefile | 23 +++++++++++++++++++++++
www/rubygem-rack-protection2/distinfo | 3 +++
www/rubygem-rack-protection2/pkg-descr | 1 +
4 files changed, 28 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 50d7df56bd2a..63d8794f892d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2061,6 +2061,7 @@
SUBDIR += rubygem-rack-openid
SUBDIR += rubygem-rack-protection
SUBDIR += rubygem-rack-protection1
+ SUBDIR += rubygem-rack-protection2
SUBDIR += rubygem-rack-proxy
SUBDIR += rubygem-rack-ssl
SUBDIR += rubygem-rack-test
diff --git a/www/rubygem-rack-protection2/Makefile b/www/rubygem-rack-protection2/Makefile
new file mode 100644
index 000000000000..6d69d78e514f
--- /dev/null
+++ b/www/rubygem-rack-protection2/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= rack-protection
+PORTVERSION= 2.2.2
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 2
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Collection of Rack middleware to protect against opportunistic attack
+WWW= https://github.com/sinatra/sinatra/tree/master/rack-protection
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/License
+
+RUN_DEPENDS= rubygem-rack>=0,3:www/rubygem-rack
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^2\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-rack-protection2/distinfo b/www/rubygem-rack-protection2/distinfo
new file mode 100644
index 000000000000..addce9d809ce
--- /dev/null
+++ b/www/rubygem-rack-protection2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1659161335
+SHA256 (rubygem/rack-protection-2.2.2.gem) = fd41414dbabbec274af0bdb1f72a48504449de4d979782c9af38cbb5dfff3299
+SIZE (rubygem/rack-protection-2.2.2.gem) = 17408
diff --git a/www/rubygem-rack-protection2/pkg-descr b/www/rubygem-rack-protection2/pkg-descr
new file mode 100644
index 000000000000..a319a7765de0
--- /dev/null
+++ b/www/rubygem-rack-protection2/pkg-descr
@@ -0,0 +1 @@
+Collection of Rack middleware to protect you against common, opportunistic attack.