From 9e203452bf811983d07659c4fc2da5a7f7a077c1 Mon Sep 17 00:00:00 2001 From: landry Date: Wed, 7 Sep 2022 09:40:58 +0000 Subject: [PATCH] Import p5-Crypt-Argon2-0.012 This module implements the Argon2 key derivation function, which is suitable to convert any password into a cryptographic key. This is most often used to for secure storage of passwords but can also be used to derive an encryption key from a password. It offers variable time and memory costs as well as output size. tweaks/ok bluhm@ --- security/p5-Crypt-Argon2/Makefile | 14 ++++++++++++++ security/p5-Crypt-Argon2/distinfo | 2 ++ security/p5-Crypt-Argon2/pkg/DESCR | 5 +++++ security/p5-Crypt-Argon2/pkg/PLIST | 9 +++++++++ 4 files changed, 30 insertions(+) create mode 100644 security/p5-Crypt-Argon2/Makefile create mode 100644 security/p5-Crypt-Argon2/distinfo create mode 100644 security/p5-Crypt-Argon2/pkg/DESCR create mode 100644 security/p5-Crypt-Argon2/pkg/PLIST diff --git a/security/p5-Crypt-Argon2/Makefile b/security/p5-Crypt-Argon2/Makefile new file mode 100644 index 00000000000..2264c81df1c --- /dev/null +++ b/security/p5-Crypt-Argon2/Makefile @@ -0,0 +1,14 @@ +COMMENT = interface to the Argon2 key derivation functions + +DISTNAME = Crypt-Argon2-0.012 + +CATEGORIES = security + +# CC0 1.0 +PERMIT_PACKAGE = Yes + +MODULES = cpan +CONFIGURE_STYLE = modbuild +WANTLIB += c perl pthread + +.include diff --git a/security/p5-Crypt-Argon2/distinfo b/security/p5-Crypt-Argon2/distinfo new file mode 100644 index 00000000000..a21e03969e0 --- /dev/null +++ b/security/p5-Crypt-Argon2/distinfo @@ -0,0 +1,2 @@ +SHA256 (Crypt-Argon2-0.012.tar.gz) = i70gxNx99NpevWZ20x8jxkVFgF1FCWWx9r9s3jc4G+M= +SIZE (Crypt-Argon2-0.012.tar.gz) = 35233 diff --git a/security/p5-Crypt-Argon2/pkg/DESCR b/security/p5-Crypt-Argon2/pkg/DESCR new file mode 100644 index 00000000000..1b0cf27281f --- /dev/null +++ b/security/p5-Crypt-Argon2/pkg/DESCR @@ -0,0 +1,5 @@ +This module implements the Argon2 key derivation function, which is +suitable to convert any password into a cryptographic key. This is most +often used to for secure storage of passwords but can also be used to +derive an encryption key from a password. It offers variable time and +memory costs as well as output size. diff --git a/security/p5-Crypt-Argon2/pkg/PLIST b/security/p5-Crypt-Argon2/pkg/PLIST new file mode 100644 index 00000000000..f07149ec13c --- /dev/null +++ b/security/p5-Crypt-Argon2/pkg/PLIST @@ -0,0 +1,9 @@ +${P5ARCH}/ +${P5ARCH}/Crypt/ +${P5ARCH}/Crypt/Argon2.pm +${P5ARCH}/auto/ +${P5ARCH}/auto/Crypt/ +${P5ARCH}/auto/Crypt/Argon2/ +${P5ARCH}/auto/Crypt/Argon2/Argon2.bs +@so ${P5ARCH}/auto/Crypt/Argon2/Argon2.so +@man man/man3p/Crypt::Argon2.3p