pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Add devel/go-jwt-go version 3.2.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/46c1afa118fd
branches: trunk
changeset: 344864:46c1afa118fd
user: ng0 <ng0%pkgsrc.org@localhost>
date: Wed Nov 27 10:27:09 2019 +0000
description:
Add devel/go-jwt-go version 3.2.0
A Go implementation of JSON Web Tokens.
This library supports the parsing and verification as well as the
generation and signing of JWTs. Current supported signing algorithms
are HMAC SHA, RSA, RSA-PSS, and ECDSA, though hooks are present for
adding your own.
diffstat:
devel/Makefile | 3 +-
devel/go-jwt-go/DESCR | 6 ++++
devel/go-jwt-go/Makefile | 20 ++++++++++++++++
devel/go-jwt-go/PLIST | 53 +++++++++++++++++++++++++++++++++++++++++++
devel/go-jwt-go/buildlink3.mk | 15 ++++++++++++
devel/go-jwt-go/distinfo | 6 ++++
6 files changed, 102 insertions(+), 1 deletions(-)
diffs (137 lines):
diff -r c38c83c8c076 -r 46c1afa118fd devel/Makefile
--- a/devel/Makefile Wed Nov 27 07:55:36 2019 +0000
+++ b/devel/Makefile Wed Nov 27 10:27:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2956 2019/11/26 17:40:25 ng0 Exp $
+# $NetBSD: Makefile,v 1.2957 2019/11/27 10:27:09 ng0 Exp $
#
COMMENT= Development utilities
@@ -409,6 +409,7 @@
SUBDIR+= go-iochan
SUBDIR+= go-isatty
SUBDIR+= go-jwalterweatherman
+SUBDIR+= go-jwt-go
SUBDIR+= go-kingpin.v3-unstable
SUBDIR+= go-locker
SUBDIR+= go-logrus
diff -r c38c83c8c076 -r 46c1afa118fd devel/go-jwt-go/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-jwt-go/DESCR Wed Nov 27 10:27:09 2019 +0000
@@ -0,0 +1,6 @@
+A Go implementation of JSON Web Tokens.
+
+This library supports the parsing and verification as well as the
+generation and signing of JWTs. Current supported signing algorithms
+are HMAC SHA, RSA, RSA-PSS, and ECDSA, though hooks are present for
+adding your own.
diff -r c38c83c8c076 -r 46c1afa118fd devel/go-jwt-go/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-jwt-go/Makefile Wed Nov 27 10:27:09 2019 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2019/11/27 10:27:09 ng0 Exp $
+
+GITHUB_PROJECT= jwt-go
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= v3.2.0
+PKGNAME= go-${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=dgrijalva/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= ng0%NetBSD.org@localhost
+HOMEPAGE= https://github.com/dgrijalva/jwt-go/
+COMMENT= Golang implementation of JSON Web Token
+LICENSE= mit
+
+GO_SRCPATH= github.com/dgrijalva/jwt-go
+GO_DIST_BASE= jwt-go-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c38c83c8c076 -r 46c1afa118fd devel/go-jwt-go/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-jwt-go/PLIST Wed Nov 27 10:27:09 2019 +0000
@@ -0,0 +1,53 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/27 10:27:09 ng0 Exp $
+bin/jwt
+gopkg/pkg/${GO_PLATFORM}/github.com/dgrijalva/jwt-go.a
+gopkg/pkg/${GO_PLATFORM}/github.com/dgrijalva/jwt-go/request.a
+gopkg/pkg/${GO_PLATFORM}/github.com/dgrijalva/jwt-go/test.a
+gopkg/src/github.com/dgrijalva/jwt-go/LICENSE
+gopkg/src/github.com/dgrijalva/jwt-go/MIGRATION_GUIDE.md
+gopkg/src/github.com/dgrijalva/jwt-go/README.md
+gopkg/src/github.com/dgrijalva/jwt-go/VERSION_HISTORY.md
+gopkg/src/github.com/dgrijalva/jwt-go/claims.go
+gopkg/src/github.com/dgrijalva/jwt-go/cmd/jwt/README.md
+gopkg/src/github.com/dgrijalva/jwt-go/cmd/jwt/app.go
+gopkg/src/github.com/dgrijalva/jwt-go/cmd/jwt/args.go
+gopkg/src/github.com/dgrijalva/jwt-go/doc.go
+gopkg/src/github.com/dgrijalva/jwt-go/ecdsa.go
+gopkg/src/github.com/dgrijalva/jwt-go/ecdsa_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/ecdsa_utils.go
+gopkg/src/github.com/dgrijalva/jwt-go/errors.go
+gopkg/src/github.com/dgrijalva/jwt-go/example_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/hmac.go
+gopkg/src/github.com/dgrijalva/jwt-go/hmac_example_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/hmac_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/http_example_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/map_claims.go
+gopkg/src/github.com/dgrijalva/jwt-go/none.go
+gopkg/src/github.com/dgrijalva/jwt-go/none_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/parser.go
+gopkg/src/github.com/dgrijalva/jwt-go/parser_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/request/doc.go
+gopkg/src/github.com/dgrijalva/jwt-go/request/extractor.go
+gopkg/src/github.com/dgrijalva/jwt-go/request/extractor_example_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/request/extractor_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/request/oauth2.go
+gopkg/src/github.com/dgrijalva/jwt-go/request/request.go
+gopkg/src/github.com/dgrijalva/jwt-go/request/request_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/rsa.go
+gopkg/src/github.com/dgrijalva/jwt-go/rsa_pss.go
+gopkg/src/github.com/dgrijalva/jwt-go/rsa_pss_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/rsa_test.go
+gopkg/src/github.com/dgrijalva/jwt-go/rsa_utils.go
+gopkg/src/github.com/dgrijalva/jwt-go/signing_method.go
+gopkg/src/github.com/dgrijalva/jwt-go/test/ec256-private.pem
+gopkg/src/github.com/dgrijalva/jwt-go/test/ec256-public.pem
+gopkg/src/github.com/dgrijalva/jwt-go/test/ec384-private.pem
+gopkg/src/github.com/dgrijalva/jwt-go/test/ec384-public.pem
+gopkg/src/github.com/dgrijalva/jwt-go/test/ec512-private.pem
+gopkg/src/github.com/dgrijalva/jwt-go/test/ec512-public.pem
+gopkg/src/github.com/dgrijalva/jwt-go/test/helpers.go
+gopkg/src/github.com/dgrijalva/jwt-go/test/hmacTestKey
+gopkg/src/github.com/dgrijalva/jwt-go/test/privateSecure.pem
+gopkg/src/github.com/dgrijalva/jwt-go/test/sample_key
+gopkg/src/github.com/dgrijalva/jwt-go/test/sample_key.pub
+gopkg/src/github.com/dgrijalva/jwt-go/token.go
diff -r c38c83c8c076 -r 46c1afa118fd devel/go-jwt-go/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-jwt-go/buildlink3.mk Wed Nov 27 10:27:09 2019 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/11/27 10:27:09 ng0 Exp $
+
+BUILDLINK_TREE+= go-jwt-go
+
+.if !defined(GO_JWT_GO_BUILDLINK3_MK)
+GO_JWT_GO_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-jwt-go= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-jwt-go?= build
+
+BUILDLINK_API_DEPENDS.go-jwt-go+= go-jwt-go>=3.2.0
+BUILDLINK_PKGSRCDIR.go-jwt-go?= ../../devel/go-jwt-go
+.endif # GO_JWT_GO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-jwt-go
diff -r c38c83c8c076 -r 46c1afa118fd devel/go-jwt-go/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-jwt-go/distinfo Wed Nov 27 10:27:09 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/11/27 10:27:09 ng0 Exp $
+
+SHA1 (jwt-go/v3.2.0.tar.gz) = 1d18073e8186b7de6eb57f4745d7c9cfe1bde971
+RMD160 (jwt-go/v3.2.0.tar.gz) = 8ecc67ba00e3cb91468f362c4379c5a7ff1d7b20
+SHA512 (jwt-go/v3.2.0.tar.gz) = 782dd5fb85e56915fca96b894eb4c6f57ea05cc2ed725f3504868a7acf9c75a4ce1acc46d179b3e4ab14100ec7eb05a906fd291bf016897c4490c27126c0fb0f
+Size (jwt-go/v3.2.0.tar.gz) = 36960 bytes
Home |
Main Index |
Thread Index |
Old Index