git: 74f1883c7f91 - main - security/p5-Crypt-Bcrypt: Add new port

From: Wen Heping <wen_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 02:27:02 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=74f1883c7f91935e68ad904898c20609664c5a79

commit 74f1883c7f91935e68ad904898c20609664c5a79
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-01-11 02:26:07 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-01-11 02:26:07 +0000

    security/p5-Crypt-Bcrypt: Add new port
    
    This module provides a modern and user-friendly implementation of
    the bcrypt password hash.
    
    Note that in bcrypt passwords may only contain 72 characters.
    
    WWW: https://metacpan.org/module/Crypt::Bcrypt
---
 security/Makefile                  |  1 +
 security/p5-Crypt-Bcrypt/Makefile  | 17 +++++++++++++++++
 security/p5-Crypt-Bcrypt/distinfo  |  3 +++
 security/p5-Crypt-Bcrypt/pkg-descr |  6 ++++++
 security/p5-Crypt-Bcrypt/pkg-plist |  3 +++
 5 files changed, 30 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 0762d545acd6..3a9dbda75a52 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -504,6 +504,7 @@
     SUBDIR += p5-Crypt-Anubis
     SUBDIR += p5-Crypt-AppleTwoFish
     SUBDIR += p5-Crypt-Argon2
+    SUBDIR += p5-Crypt-Bcrypt
     SUBDIR += p5-Crypt-Blowfish
     SUBDIR += p5-Crypt-Blowfish_PP
     SUBDIR += p5-Crypt-CAST5
diff --git a/security/p5-Crypt-Bcrypt/Makefile b/security/p5-Crypt-Bcrypt/Makefile
new file mode 100644
index 000000000000..dbf03c7dfab2
--- /dev/null
+++ b/security/p5-Crypt-Bcrypt/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	Crypt-Bcrypt
+PORTVERSION=	0.004
+CATEGORIES=	security perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	Modern bcrypt implementation
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Bcrypt/distinfo b/security/p5-Crypt-Bcrypt/distinfo
new file mode 100644
index 000000000000..75dad61659d6
--- /dev/null
+++ b/security/p5-Crypt-Bcrypt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641864373
+SHA256 (Crypt-Bcrypt-0.004.tar.gz) = 5c4927c42e71c11ecdfc5bf95209da35621e674e1d8f4c3ded9763e9f2d072f3
+SIZE (Crypt-Bcrypt-0.004.tar.gz) = 26333
diff --git a/security/p5-Crypt-Bcrypt/pkg-descr b/security/p5-Crypt-Bcrypt/pkg-descr
new file mode 100644
index 000000000000..4b699b933244
--- /dev/null
+++ b/security/p5-Crypt-Bcrypt/pkg-descr
@@ -0,0 +1,6 @@
+This module provides a modern and user-friendly implementation of
+the bcrypt password hash.
+
+Note that in bcrypt passwords may only contain 72 characters.
+
+WWW: https://metacpan.org/module/Crypt::Bcrypt
diff --git a/security/p5-Crypt-Bcrypt/pkg-plist b/security/p5-Crypt-Bcrypt/pkg-plist
new file mode 100644
index 000000000000..84e98d44b669
--- /dev/null
+++ b/security/p5-Crypt-Bcrypt/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/Crypt/Bcrypt.pm
+%%SITE_ARCH%%/auto/Crypt/Bcrypt/Bcrypt.so
+%%PERL5_MAN3%%/Crypt::Bcrypt.3.gz