git: 3f4e43426a2a - main - net/rubygem-oauth21: Add rubygem-oauth21 1.4.9 (copied from rubygem-oauth2)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 20:59:31 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f4e43426a2a06ec5fed471fd51913a6dac82c12

commit 3f4e43426a2a06ec5fed471fd51913a6dac82c12
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 20:57:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 20:57:06 +0000

    net/rubygem-oauth21: Add rubygem-oauth21 1.4.9 (copied from rubygem-oauth2)
    
    - Add PORRTSCOUT
---
 net/Makefile                  |  1 +
 net/rubygem-oauth21/Makefile  | 28 ++++++++++++++++++++++++++++
 net/rubygem-oauth21/distinfo  |  3 +++
 net/rubygem-oauth21/pkg-descr |  6 ++++++
 4 files changed, 38 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 7abaa70215df..afcc9d1b4522 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1321,6 +1321,7 @@
     SUBDIR += rubygem-no_proxy_fix
     SUBDIR += rubygem-oauth
     SUBDIR += rubygem-oauth2
+    SUBDIR += rubygem-oauth21
     SUBDIR += rubygem-octokit
     SUBDIR += rubygem-octopress-deploy
     SUBDIR += rubygem-omniauth-auth0
diff --git a/net/rubygem-oauth21/Makefile b/net/rubygem-oauth21/Makefile
new file mode 100644
index 000000000000..e8611ecffea7
--- /dev/null
+++ b/net/rubygem-oauth21/Makefile
@@ -0,0 +1,28 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	oauth2
+PORTVERSION=	1.4.9
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	1
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby wrapper for the OAuth 2.0 protocol
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-faraday>=0.17.3<3.0:www/rubygem-faraday \
+		rubygem-jwt>=1.0<3.0:www/rubygem-jwt \
+		rubygem-multi_json>=1.3<2:devel/rubygem-multi_json \
+		rubygem-multi_xml>=0.5<1:textproc/rubygem-multi_xml \
+		rubygem-rack>=1.2,3<3,3:www/rubygem-rack
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^1\.
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-oauth21/distinfo b/net/rubygem-oauth21/distinfo
new file mode 100644
index 000000000000..276d7cd444c6
--- /dev/null
+++ b/net/rubygem-oauth21/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646058856
+SHA256 (rubygem/oauth2-1.4.9.gem) = b715e526e4810bf98affea305e09d749b28225523abab091ebf86fa30c4c539b
+SIZE (rubygem/oauth2-1.4.9.gem) = 39424
diff --git a/net/rubygem-oauth21/pkg-descr b/net/rubygem-oauth21/pkg-descr
new file mode 100644
index 000000000000..eb638a984c85
--- /dev/null
+++ b/net/rubygem-oauth21/pkg-descr
@@ -0,0 +1,6 @@
+OAuth2 is a Ruby wrapper for the OAuth 2.0 specification. This is a work in
+progress, being built first to solve the pragmatic process of connecting to
+existing OAuth 2.0 endpoints (a.k.a. Facebook) with the goal of building it up
+to meet the entire specification over time.
+
+WWW: https://github.com/oauth-xx/oauth2