git: 1337b9e9d7c9 - main - www/R-cran-jose: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Feb 2025 16:07:31 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1337b9e9d7c96aa481635a5f56b0ffbdbea65c12
commit 1337b9e9d7c96aa481635a5f56b0ffbdbea65c12
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-02-04 16:06:36 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-02-04 16:07:17 +0000
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.
---
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(+)
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.