www/p5-Mojo-JWT: import as p5-Mojo-JWT version 0.08 Import from wip, packaged by coypu. 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 -r1.1686 -r1.1687 pkgsrc/www/Makefile
(nikita)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.1686 2023/02/20 10:51:29 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.1687 2023/02/27 18:00:42 nikita Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | COMMENT= Packages related to the World Wide Web | 4 | COMMENT= Packages related to the World Wide Web | |
5 | 5 | |||
6 | SUBDIR+= R-RCurl | 6 | SUBDIR+= R-RCurl | |
7 | SUBDIR+= R-bslib | 7 | SUBDIR+= R-bslib | |
8 | SUBDIR+= R-curl | 8 | SUBDIR+= R-curl | |
9 | SUBDIR+= R-diffviewer | 9 | SUBDIR+= R-diffviewer | |
10 | SUBDIR+= R-downlit | 10 | SUBDIR+= R-downlit | |
11 | SUBDIR+= R-gargle | 11 | SUBDIR+= R-gargle | |
12 | SUBDIR+= R-gh | 12 | SUBDIR+= R-gh | |
13 | SUBDIR+= R-googledrive | 13 | SUBDIR+= R-googledrive | |
14 | SUBDIR+= R-htmlwidgets | 14 | SUBDIR+= R-htmlwidgets | |
@@ -501,26 +501,27 @@ SUBDIR+= p5-Kwiki-Wikiwyg | @@ -501,26 +501,27 @@ SUBDIR+= p5-Kwiki-Wikiwyg | |||
501 | SUBDIR+= p5-Kwiki-Zipcode | 501 | SUBDIR+= p5-Kwiki-Zipcode | |
502 | SUBDIR+= p5-LWP-Authen-Negotiate | 502 | SUBDIR+= p5-LWP-Authen-Negotiate | |
503 | SUBDIR+= p5-LWP-Authen-Wsse | 503 | SUBDIR+= p5-LWP-Authen-Wsse | |
504 | SUBDIR+= p5-LWP-ConsoleLogger | 504 | SUBDIR+= p5-LWP-ConsoleLogger | |
505 | SUBDIR+= p5-LWP-MediaTypes | 505 | SUBDIR+= p5-LWP-MediaTypes | |
506 | SUBDIR+= p5-LWP-Online | 506 | SUBDIR+= p5-LWP-Online | |
507 | SUBDIR+= p5-LWP-Protocol-Net-Curl | 507 | SUBDIR+= p5-LWP-Protocol-Net-Curl | |
508 | SUBDIR+= p5-LWP-Protocol-PSGI | 508 | SUBDIR+= p5-LWP-Protocol-PSGI | |
509 | SUBDIR+= p5-LWP-Protocol-https | 509 | SUBDIR+= p5-LWP-Protocol-https | |
510 | SUBDIR+= p5-LWP-UserAgent-Determined | 510 | SUBDIR+= p5-LWP-UserAgent-Determined | |
511 | SUBDIR+= p5-LWPx-ParanoidAgent | 511 | SUBDIR+= p5-LWPx-ParanoidAgent | |
512 | SUBDIR+= p5-LWPx-TimedHTTP | 512 | SUBDIR+= p5-LWPx-TimedHTTP | |
513 | SUBDIR+= p5-MasonX-Request-WithApacheSession | 513 | SUBDIR+= p5-MasonX-Request-WithApacheSession | |
514 | SUBDIR+= p5-Mojo-JWT | |||
514 | SUBDIR+= p5-Mojolicious | 515 | SUBDIR+= p5-Mojolicious | |
515 | SUBDIR+= p5-Net-Curl | 516 | SUBDIR+= p5-Net-Curl | |
516 | SUBDIR+= p5-Net-FastCGI | 517 | SUBDIR+= p5-Net-FastCGI | |
517 | SUBDIR+= p5-Net-HTTP | 518 | SUBDIR+= p5-Net-HTTP | |
518 | SUBDIR+= p5-Net-OAuth2-AuthorizationServer | 519 | SUBDIR+= p5-Net-OAuth2-AuthorizationServer | |
519 | SUBDIR+= p5-POE-Component-Server-PSGI | 520 | SUBDIR+= p5-POE-Component-Server-PSGI | |
520 | SUBDIR+= p5-POE-Component-Server-SOAP | 521 | SUBDIR+= p5-POE-Component-Server-SOAP | |
521 | SUBDIR+= p5-POE-Component-Server-SimpleHTTP | 522 | SUBDIR+= p5-POE-Component-Server-SimpleHTTP | |
522 | SUBDIR+= p5-POE-Filter-HTTP-Parser | 523 | SUBDIR+= p5-POE-Filter-HTTP-Parser | |
523 | SUBDIR+= p5-PSGI | 524 | SUBDIR+= p5-PSGI | |
524 | SUBDIR+= p5-ParallelUserAgent | 525 | SUBDIR+= p5-ParallelUserAgent | |
525 | SUBDIR+= p5-Plack | 526 | SUBDIR+= p5-Plack | |
526 | SUBDIR+= p5-Plack-App-Proxy | 527 | SUBDIR+= p5-Plack-App-Proxy |
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.
# $NetBSD: Makefile,v 1.1 2023/02/27 18:00:42 nikita 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.08
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mojolicious/JBERGER/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/pod/Mojo::JWT
COMMENT= JSON Web Token the Mojo way
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Mojolicious-[0-9]*:../../www/p5-Mojolicious
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Mojo/JWT/.packlist
PERL5_MODULE_TYPE= Module::Build::Tiny
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
$NetBSD: distinfo,v 1.1 2023/02/27 18:00:42 nikita Exp $
BLAKE2s (Mojo-JWT-0.08.tar.gz) = 48407b89fc3dd1b6c69a59c0ec89db3191577b8df8400613f8210cee831e2f2e
SHA512 (Mojo-JWT-0.08.tar.gz) = e041d99ffd00397677d4bca1000a98cdbc2a769df4e6bb7e9d9064bd79667694eb4c0849dd16795f0a8a5876c8997dc0184eba4dc5b871bf845fb1a1d6f86812
Size (Mojo-JWT-0.08.tar.gz) = 13647 bytes