From 1337b9e9d7c96aa481635a5f56b0ffbdbea65c12 Mon Sep 17 00:00:00 2001 From: Zsolt Udvari Date: Tue, 4 Feb 2025 17:06:36 +0100 Subject: [PATCH] www/R-cran-jose: new port Read and write JSON Web Keys (JWK, rfc7517), generate and verify JSON Web Signatures (JWS, rfc7515) and encode/decode JSON Web Tokens (JWT, rfc7519) . These standards provide modern signing and encryption formats that are natively supported by browsers via the JavaScript WebCryptoAPI , and used by services like OAuth 2.0, LetsEncrypt, and Github Apps. --- www/Makefile | 1 + www/R-cran-jose/Makefile | 22 ++++++++++++++++++++++ www/R-cran-jose/distinfo | 3 +++ www/R-cran-jose/pkg-descr | 6 ++++++ 4 files changed, 32 insertions(+) create mode 100644 www/R-cran-jose/Makefile create mode 100644 www/R-cran-jose/distinfo create mode 100644 www/R-cran-jose/pkg-descr diff --git a/www/Makefile b/www/Makefile index 76dc055beb2e..f4a1be583ed6 100644 --- a/www/Makefile +++ b/www/Makefile @@ -10,6 +10,7 @@ SUBDIR += R-cran-httpuv SUBDIR += R-cran-httr SUBDIR += R-cran-httr2 + SUBDIR += R-cran-jose SUBDIR += R-cran-jquerylib SUBDIR += R-cran-miniUI SUBDIR += R-cran-pkgdown diff --git a/www/R-cran-jose/Makefile b/www/R-cran-jose/Makefile new file mode 100644 index 000000000000..269342f9373e --- /dev/null +++ b/www/R-cran-jose/Makefile @@ -0,0 +1,22 @@ +PORTNAME= jose +DISTVERSION= 1.2.1 +CATEGORIES= www +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= uzsolt@FreeBSD.org +COMMENT= Read and write JSON Web Keys +WWW= https://cran.r-project.org/package=jose + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= R-cran-jsonlite>0:converters/R-cran-jsonlite \ + R-cran-openssl>=1.2.1:security/R-cran-openssl +TEST_DEPENDS= R-cran-knitr>0:print/R-cran-knitr \ + R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \ + R-cran-spelling>0:textproc/R-cran-spelling \ + R-cran-testthat>0:devel/R-cran-testthat + +USES= cran:auto-plist + +.include diff --git a/www/R-cran-jose/distinfo b/www/R-cran-jose/distinfo new file mode 100644 index 000000000000..94c63d067217 --- /dev/null +++ b/www/R-cran-jose/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1738684368 +SHA256 (jose_1.2.1.tar.gz) = 7894d420afff2e12e73e8fb1386c2d345fb313bf1aaf26df4f9dbb22c6ab216a +SIZE (jose_1.2.1.tar.gz) = 453518 diff --git a/www/R-cran-jose/pkg-descr b/www/R-cran-jose/pkg-descr new file mode 100644 index 000000000000..c7f7a8a4acb4 --- /dev/null +++ b/www/R-cran-jose/pkg-descr @@ -0,0 +1,6 @@ +Read and write JSON Web Keys (JWK, rfc7517), generate and verify JSON Web +Signatures (JWS, rfc7515) and encode/decode JSON Web Tokens (JWT, rfc7519) +. These standards provide +modern signing and encryption formats that are natively supported by browsers +via the JavaScript WebCryptoAPI , and +used by services like OAuth 2.0, LetsEncrypt, and Github Apps.