aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZsolt Udvari <uzsolt@FreeBSD.org>2025-02-04 16:06:36 +0000
committerZsolt Udvari <uzsolt@FreeBSD.org>2025-02-04 16:07:17 +0000
commit1337b9e9d7c96aa481635a5f56b0ffbdbea65c12 (patch)
tree35a4755073b00d078d6ebacc4e107225a02e6fd2
parentad07ec0635d74621800d9e69ca4e9b388906a9d0 (diff)
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) <https://datatracker.ietf.org/wg/jose/documents/>. These standards provide modern signing and encryption formats that are natively supported by browsers via the JavaScript WebCryptoAPI <https://www.w3.org/TR/WebCryptoAPI/#jose>, and used by services like OAuth 2.0, LetsEncrypt, and Github Apps.
-rw-r--r--www/Makefile1
-rw-r--r--www/R-cran-jose/Makefile22
-rw-r--r--www/R-cran-jose/distinfo3
-rw-r--r--www/R-cran-jose/pkg-descr6
4 files changed, 32 insertions, 0 deletions
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 <bsd.port.mk>
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)
+<https://datatracker.ietf.org/wg/jose/documents/>. These standards provide
+modern signing and encryption formats that are natively supported by browsers
+via the JavaScript WebCryptoAPI <https://www.w3.org/TR/WebCryptoAPI/#jose>, and
+used by services like OAuth 2.0, LetsEncrypt, and Github Apps.