aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 18:36:01 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 19:19:58 +0000
commitae445d3b00f9993887fd8186e10621a01ac839cc (patch)
tree3188523528a2efb30420d88398e39ff79248c7d6
parentafd2990817f03497ffce1d8fde52fc5a1243bfad (diff)
downloadports-ae445d3b00f9993887fd8186e10621a01ac839cc.tar.gz
ports-ae445d3b00f9993887fd8186e10621a01ac839cc.zip
security/rubygem-rack-oauth21: Add rubygem-rack-oauth21 1.21.3 (copied from rubygem-rack-oauth2)
- Add PORTSCOUT
-rw-r--r--security/Makefile1
-rw-r--r--security/rubygem-rack-oauth21/Makefile26
-rw-r--r--security/rubygem-rack-oauth21/distinfo3
-rw-r--r--security/rubygem-rack-oauth21/pkg-descr2
4 files changed, 32 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index d59ad78b77cd..5bee7054af3a 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1135,6 +1135,7 @@
SUBDIR += rubygem-pundit61
SUBDIR += rubygem-pyu-ruby-sasl
SUBDIR += rubygem-rack-oauth2
+ SUBDIR += rubygem-rack-oauth21
SUBDIR += rubygem-razorback-scriptNugget
SUBDIR += rubygem-rbnacl
SUBDIR += rubygem-rbnacl-libsodium
diff --git a/security/rubygem-rack-oauth21/Makefile b/security/rubygem-rack-oauth21/Makefile
new file mode 100644
index 000000000000..adbeb53920ba
--- /dev/null
+++ b/security/rubygem-rack-oauth21/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= rack-oauth2
+PORTVERSION= 1.21.3
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 1
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= OAuth 2.0 Server & Client Library
+WWW= https://github.com/nov/rack-oauth2
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-activesupport61>=0:devel/rubygem-activesupport61 \
+ rubygem-attr_required>=0:devel/rubygem-attr_required \
+ rubygem-httpclient>=0:www/rubygem-httpclient \
+ rubygem-json-jwt>=1.11.0:www/rubygem-json-jwt \
+ rubygem-rack>=2.1.0,3:www/rubygem-rack
+
+USES= gem
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^1\.
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-rack-oauth21/distinfo b/security/rubygem-rack-oauth21/distinfo
new file mode 100644
index 000000000000..c69f94ed27b2
--- /dev/null
+++ b/security/rubygem-rack-oauth21/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665330716
+SHA256 (rubygem/rack-oauth2-1.21.3.gem) = 4e72a79dd6a866692e84422a552b27c38a5a1918ded06661e04910f2bbe676ba
+SIZE (rubygem/rack-oauth2-1.21.3.gem) = 35840
diff --git a/security/rubygem-rack-oauth21/pkg-descr b/security/rubygem-rack-oauth21/pkg-descr
new file mode 100644
index 000000000000..0ff338777a75
--- /dev/null
+++ b/security/rubygem-rack-oauth21/pkg-descr
@@ -0,0 +1,2 @@
+OAuth 2.0 Server & Client Library.
+Both Bearer and MAC token type are supported.