git: 4b1330231d95 - main - security/R-cran-sodium: New port: R bindings to libsodium
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Aug 2023 09:58:13 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b1330231d95274c20638710b74a03642f436ac4 commit 4b1330231d95274c20638710b74a03642f436ac4 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-08-09 09:35:26 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-08-09 09:57:59 +0000 security/R-cran-sodium: New port: R bindings to libsodium Bindings to libsodium: a modern, easy-to-use software library for encryption, decryption, signatures, password hashing and more. Sodium uses curve25519, a state-of-the-art Diffie-Hellman function by Daniel Bernstein, which has become very popular after it was discovered that the NSA had backdoored Dual EC DRBG. WWW: https://cran.r-project.org/web/packages/sodium/ --- security/Makefile | 1 + security/R-cran-sodium/Makefile | 18 ++++++++++++++++++ security/R-cran-sodium/distinfo | 3 +++ security/R-cran-sodium/pkg-descr | 6 ++++++ 4 files changed, 28 insertions(+) diff --git a/security/Makefile b/security/Makefile index 78cd47d48092..494ad774b480 100644 --- a/security/Makefile +++ b/security/Makefile @@ -13,6 +13,7 @@ SUBDIR += R-cran-digest SUBDIR += R-cran-gitcreds SUBDIR += R-cran-openssl + SUBDIR += R-cran-sodium SUBDIR += acme.sh SUBDIR += acmed SUBDIR += acmetool diff --git a/security/R-cran-sodium/Makefile b/security/R-cran-sodium/Makefile new file mode 100644 index 000000000000..d29c8da081f9 --- /dev/null +++ b/security/R-cran-sodium/Makefile @@ -0,0 +1,18 @@ +PORTNAME= sodium +DISTVERSION= 1.2.1 +CATEGORIES= security +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= eduardo@FreeBSD.org +COMMENT= R bindings to libsodium +WWW= https://cran.r-project.org/web/packages/sodium/ + +LICENSE= MIT + +CRAN_DEPENDS= libsodium>0:security/libsodium +BUILD_DEPENDS= ${CRAN_DEPENDS} +RUN_DEPENDS= ${CRAN_DEPENDS} + +USES= cran:auto-plist,compiles + +.include <bsd.port.mk> diff --git a/security/R-cran-sodium/distinfo b/security/R-cran-sodium/distinfo new file mode 100644 index 000000000000..fe7cce1844cd --- /dev/null +++ b/security/R-cran-sodium/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691489301 +SHA256 (sodium_1.2.1.tar.gz) = f76e98969710af8b6c7c7decf63706d91185eebf8a266475b554d5ad95f803a8 +SIZE (sodium_1.2.1.tar.gz) = 468055 diff --git a/security/R-cran-sodium/pkg-descr b/security/R-cran-sodium/pkg-descr new file mode 100644 index 000000000000..45adadc5ec3c --- /dev/null +++ b/security/R-cran-sodium/pkg-descr @@ -0,0 +1,6 @@ +Bindings to libsodium: a modern, easy-to-use software library for +encryption, decryption, signatures, password hashing and more. Sodium +uses curve25519, a state-of-the-art Diffie-Hellman function by Daniel +Bernstein, which has become very popular after it was discovered that +the NSA had backdoored Dual EC DRBG. +