summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-03-19 00:32:25 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-03-19 00:32:25 +0000
commite1cb7163dab057446f24aba39873e2cb3a109c6e (patch)
tree809f9a879009ab663d53cfb2e8654ece0669ec98
parentAdd rubygem-signet 0.7.3 (diff)
Add rubygem-googleauth 0.5.1
This is Google's officially supported ruby client library for using OAuth 2.0 authorization and authentication with Google APIs. It allows simple authorization for accessing Google APIs and provides support for Application Default Credentials, as described at https://developers.google.com/accounts/docs/application-default-credentials WWW: https://github.com/google/google-auth-library-ruby
-rw-r--r--security/Makefile1
-rw-r--r--security/rubygem-googleauth/Makefile27
-rw-r--r--security/rubygem-googleauth/distinfo3
-rw-r--r--security/rubygem-googleauth/files/patch-gemspec11
-rw-r--r--security/rubygem-googleauth/pkg-descr7
5 files changed, 49 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 1c06840c71ae..7498c2226aee 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1004,6 +1004,7 @@
SUBDIR += rubygem-doorkeeper
SUBDIR += rubygem-encryptor
SUBDIR += rubygem-ezcrypto
+ SUBDIR += rubygem-googleauth
SUBDIR += rubygem-gpgr
SUBDIR += rubygem-gssapi
SUBDIR += rubygem-jugyo-twitter_oauth
diff --git a/security/rubygem-googleauth/Makefile b/security/rubygem-googleauth/Makefile
new file mode 100644
index 000000000000..b7ccfd1a1801
--- /dev/null
+++ b/security/rubygem-googleauth/Makefile
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= googleauth
+PORTVERSION= 0.5.1
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Auth Library for Ruby
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= rubygem-faraday>=0.9:www/rubygem-faraday \
+ rubygem-jwt>=1.4:www/rubygem-jwt \
+ rubygem-logging>=2.0:devel/rubygem-logging \
+ rubygem-memoist>=0.12:devel/rubygem-memoist \
+ rubygem-multi_json>=1.11:devel/rubygem-multi_json \
+ rubygem-os>=0.9:devel/rubygem-os \
+ rubygem-signet>=0.7:security/rubygem-signet
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-googleauth/distinfo b/security/rubygem-googleauth/distinfo
new file mode 100644
index 000000000000..36fa8317bcf4
--- /dev/null
+++ b/security/rubygem-googleauth/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1489867882
+SHA256 (rubygem/googleauth-0.5.1.gem) = 557c05fc01b6458344ab1aa162f95ddfabcb9d0c4c2415b5342c98a08779f3db
+SIZE (rubygem/googleauth-0.5.1.gem) = 36352
diff --git a/security/rubygem-googleauth/files/patch-gemspec b/security/rubygem-googleauth/files/patch-gemspec
new file mode 100644
index 000000000000..d234e7569ebd
--- /dev/null
+++ b/security/rubygem-googleauth/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- googleauth.gemspec.orig 2017-03-18 22:47:37 UTC
++++ googleauth.gemspec
+@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
+ s.add_runtime_dependency(%q<jwt>.freeze, ["~> 1.4"])
+ s.add_runtime_dependency(%q<memoist>.freeze, ["~> 0.12"])
+ s.add_runtime_dependency(%q<multi_json>.freeze, ["~> 1.11"])
+- s.add_runtime_dependency(%q<os>.freeze, ["~> 0.9"])
++ s.add_runtime_dependency(%q<os>.freeze, [">= 0.9"])
+ s.add_runtime_dependency(%q<signet>.freeze, ["~> 0.7"])
+ else
+ s.add_dependency(%q<faraday>.freeze, ["~> 0.9"])
diff --git a/security/rubygem-googleauth/pkg-descr b/security/rubygem-googleauth/pkg-descr
new file mode 100644
index 000000000000..c926cbe0f2ba
--- /dev/null
+++ b/security/rubygem-googleauth/pkg-descr
@@ -0,0 +1,7 @@
+This is Google's officially supported ruby client library for using OAuth 2.0
+authorization and authentication with Google APIs. It allows simple
+authorization for accessing Google APIs and provides support for Application
+Default Credentials, as described at
+https://developers.google.com/accounts/docs/application-default-credentials
+
+WWW: https://github.com/google/google-auth-library-ruby