pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add p5-Mojo-JWT
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Thu Nov 29 16:44:01 2018 +0200
Changeset: 3de2c3e4505cbc824f2248c4ef91b7ab99c1e7ff
Added Files:
p5-Mojo-JWT/DESCR
p5-Mojo-JWT/Makefile
p5-Mojo-JWT/distinfo
Log Message:
Add p5-Mojo-JWT
JSON Web Token is described in https://tools.ietf.org/html/rfc7519.
Mojo::JWT implements that standard with an API that should feel
familiar to Mojolicious users (though of course it is useful
elsewhere). Indeed, JWT is much like Mojolicious::Sessions except
that the result is a url-safe text string rather than a cookie.
In JWT, the primary payload is called the claims, and a few claims
are reserved, as seen in the IETF document. The header and the
claims are signed when stringified to guard against tampering. Note
that while signed, the data is not encrypted, so don't use it to
send secrets over clear channels.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3de2c3e4505cbc824f2248c4ef91b7ab99c1e7ff
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
p5-Mojo-JWT/DESCR | 11 +++++++++++
p5-Mojo-JWT/Makefile | 23 +++++++++++++++++++++++
p5-Mojo-JWT/distinfo | 6 ++++++
3 files changed, 40 insertions(+)
diffs:
diff --git a/p5-Mojo-JWT/DESCR b/p5-Mojo-JWT/DESCR
new file mode 100644
index 0000000000..2b05295365
--- /dev/null
+++ b/p5-Mojo-JWT/DESCR
@@ -0,0 +1,11 @@
+JSON Web Token is described in https://tools.ietf.org/html/rfc7519.
+Mojo::JWT implements that standard with an API that should feel
+familiar to Mojolicious users (though of course it is useful
+elsewhere). Indeed, JWT is much like Mojolicious::Sessions except
+that the result is a url-safe text string rather than a cookie.
+
+In JWT, the primary payload is called the claims, and a few claims
+are reserved, as seen in the IETF document. The header and the
+claims are signed when stringified to guard against tampering. Note
+that while signed, the data is not encrypted, so don't use it to
+send secrets over clear channels.
diff --git a/p5-Mojo-JWT/Makefile b/p5-Mojo-JWT/Makefile
new file mode 100644
index 0000000000..a364ddc251
--- /dev/null
+++ b/p5-Mojo-JWT/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.139 2018/09/02 07:55:30 wiz Exp $
+#
+# When updating this package, please upload the distfile
+# since they disappear immediately when new releases happen,
+# which is quite often.
+
+DISTNAME= Mojo-JWT-0.07
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mojolicious/JBERGER/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://metacpan.org/pod/Mojo::JWT
+COMMENT= JSON Web Token the Mojo way
+LICENSE= ${PERL_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Mojo/JWT/.packlist
+
+PERL5_MODULE_TYPE= Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/p5-Mojo-JWT/distinfo b/p5-Mojo-JWT/distinfo
new file mode 100644
index 0000000000..d8728d4e76
--- /dev/null
+++ b/p5-Mojo-JWT/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.130 2018/09/02 07:55:30 wiz Exp $
+
+SHA1 (Mojo-JWT-0.07.tar.gz) = e59a76719f4461352479ce4915efe9c46ddb9c3a
+RMD160 (Mojo-JWT-0.07.tar.gz) = 49a5b7610d5cf4da3c5e031b2db8c6c18751326c
+SHA512 (Mojo-JWT-0.07.tar.gz) = 8b75abb7d714444a72c677de7ee849138361904ba69f949330ea6ed4327de3daf798bda24081812b45f7a247b7469966e5cdf7344eb4af5a6c34dc97bb40d60b
+Size (Mojo-JWT-0.07.tar.gz) = 13511 bytes
Home |
Main Index |
Thread Index |
Old Index