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 +# $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 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.freeze, ["~> 1.4"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.12"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.11"]) +- s.add_runtime_dependency(%q.freeze, ["~> 0.9"]) ++ s.add_runtime_dependency(%q.freeze, [">= 0.9"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.7"]) + else + s.add_dependency(%q.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