summaryrefslogtreecommitdiff
path: root/security/go-oauth2
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2015-05-11 13:27:16 +0000
committerbsiegert <bsiegert@pkgsrc.org>2015-05-11 13:27:16 +0000
commit81f603dda412c798fb3ad03a566c8cecbc3372cd (patch)
treebeb969ff0647f065e56c489e16bf77c48228c53e /security/go-oauth2
parent6ef2cbdfc737d078c24e154236bbe19f13f58fd6 (diff)
downloadpkgsrc-81f603dda412c798fb3ad03a566c8cecbc3372cd.tar.gz
Add a package for golang.org/x/oauth2, an OAuth 2 client library for Go.
Diffstat (limited to 'security/go-oauth2')
-rw-r--r--security/go-oauth2/DESCR1
-rw-r--r--security/go-oauth2/Makefile22
-rw-r--r--security/go-oauth2/PLIST53
-rw-r--r--security/go-oauth2/buildlink3.mk16
-rw-r--r--security/go-oauth2/distinfo5
5 files changed, 97 insertions, 0 deletions
diff --git a/security/go-oauth2/DESCR b/security/go-oauth2/DESCR
new file mode 100644
index 00000000000..a446c900792
--- /dev/null
+++ b/security/go-oauth2/DESCR
@@ -0,0 +1 @@
+This package contains an OAuth 2 client library for Go.
diff --git a/security/go-oauth2/Makefile b/security/go-oauth2/Makefile
new file mode 100644
index 00000000000..62ca5f370f8
--- /dev/null
+++ b/security/go-oauth2/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2015/05/11 13:27:16 bsiegert Exp $
+#
+
+DISTNAME= oauth2
+PKGNAME= go-${DISTNAME}-20150508
+GITHUB_PROJECT= ${DISTNAME}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
+GITHUB_TAG= 2159a45684
+
+MAINTAINER= bsiegert@NetBSD.org
+HOMEPAGE= http://golang.org/
+COMMENT= OAuth 2 library for Go
+LICENSE= modified-bsd
+
+GO_SRCPATH= golang.org/x/oauth2
+GO_DIST_BASE= ${DISTNAME}-${GITHUB_TAG}*
+
+.include "../../textproc/go-text/buildlink3.mk"
+.include "../../net/gcloud-golang-metadata/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/go-oauth2/PLIST b/security/go-oauth2/PLIST
new file mode 100644
index 00000000000..8cfc97b344b
--- /dev/null
+++ b/security/go-oauth2/PLIST
@@ -0,0 +1,53 @@
+@comment $NetBSD: PLIST,v 1.1 2015/05/11 13:27:16 bsiegert Exp $
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/clientcredentials.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/facebook.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/github.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/google.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/internal.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/jws.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/jwt.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/linkedin.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/odnoklassniki.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/paypal.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/oauth2/vk.a
+gopkg/src/golang.org/x/oauth2/AUTHORS
+gopkg/src/golang.org/x/oauth2/CONTRIBUTING.md
+gopkg/src/golang.org/x/oauth2/CONTRIBUTORS
+gopkg/src/golang.org/x/oauth2/LICENSE
+gopkg/src/golang.org/x/oauth2/README.md
+gopkg/src/golang.org/x/oauth2/client_appengine.go
+gopkg/src/golang.org/x/oauth2/clientcredentials/clientcredentials.go
+gopkg/src/golang.org/x/oauth2/clientcredentials/clientcredentials_test.go
+gopkg/src/golang.org/x/oauth2/example_test.go
+gopkg/src/golang.org/x/oauth2/facebook/facebook.go
+gopkg/src/golang.org/x/oauth2/github/github.go
+gopkg/src/golang.org/x/oauth2/google/appengine.go
+gopkg/src/golang.org/x/oauth2/google/appengine_hook.go
+gopkg/src/golang.org/x/oauth2/google/default.go
+gopkg/src/golang.org/x/oauth2/google/example_test.go
+gopkg/src/golang.org/x/oauth2/google/google.go
+gopkg/src/golang.org/x/oauth2/google/google_test.go
+gopkg/src/golang.org/x/oauth2/google/sdk.go
+gopkg/src/golang.org/x/oauth2/google/sdk_test.go
+gopkg/src/golang.org/x/oauth2/google/testdata/gcloud/credentials
+gopkg/src/golang.org/x/oauth2/google/testdata/gcloud/properties
+gopkg/src/golang.org/x/oauth2/internal/oauth2.go
+gopkg/src/golang.org/x/oauth2/internal/oauth2_test.go
+gopkg/src/golang.org/x/oauth2/internal/token.go
+gopkg/src/golang.org/x/oauth2/internal/token_test.go
+gopkg/src/golang.org/x/oauth2/internal/transport.go
+gopkg/src/golang.org/x/oauth2/jws/jws.go
+gopkg/src/golang.org/x/oauth2/jwt/example_test.go
+gopkg/src/golang.org/x/oauth2/jwt/jwt.go
+gopkg/src/golang.org/x/oauth2/jwt/jwt_test.go
+gopkg/src/golang.org/x/oauth2/linkedin/linkedin.go
+gopkg/src/golang.org/x/oauth2/oauth2.go
+gopkg/src/golang.org/x/oauth2/oauth2_test.go
+gopkg/src/golang.org/x/oauth2/odnoklassniki/odnoklassniki.go
+gopkg/src/golang.org/x/oauth2/paypal/paypal.go
+gopkg/src/golang.org/x/oauth2/token.go
+gopkg/src/golang.org/x/oauth2/token_test.go
+gopkg/src/golang.org/x/oauth2/transport.go
+gopkg/src/golang.org/x/oauth2/transport_test.go
+gopkg/src/golang.org/x/oauth2/vk/vk.go
diff --git a/security/go-oauth2/buildlink3.mk b/security/go-oauth2/buildlink3.mk
new file mode 100644
index 00000000000..2bce104da56
--- /dev/null
+++ b/security/go-oauth2/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/05/11 13:27:16 bsiegert Exp $
+
+BUILDLINK_TREE+= go-oauth2
+
+.if !defined(GO_OAUTH2_BUILDLINK3_MK)
+GO_OAUTH2_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.go-oauth2?= build
+BUILDLINK_API_DEPENDS.go-oauth2+= go-oauth2>=20150310
+BUILDLINK_PKGSRCDIR.go-oauth2?= ../../security/go-oauth2
+
+.include "../../textproc/go-text/buildlink3.mk"
+.include "../../net/gcloud-golang-metadata/buildlink3.mk"
+.endif # GO_OAUTH2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-oauth2
diff --git a/security/go-oauth2/distinfo b/security/go-oauth2/distinfo
new file mode 100644
index 00000000000..c17eaf30628
--- /dev/null
+++ b/security/go-oauth2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/05/11 13:27:16 bsiegert Exp $
+
+SHA1 (oauth2-2159a45684.tar.gz) = 85f26896747fa01c3e86ee4197262ab3d2e25681
+RMD160 (oauth2-2159a45684.tar.gz) = 5558076ad5497a9dbf0611db79aabfc63ce8abf7
+Size (oauth2-2159a45684.tar.gz) = 31639 bytes