aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2022-01-11 02:26:07 +0000
committerWen Heping <wen@FreeBSD.org>2022-01-11 02:26:07 +0000
commit74f1883c7f91935e68ad904898c20609664c5a79 (patch)
tree90a21d1d13c630e0b18b0f6443844f39adb29523
parent5b05cb77d9c006fca6c2b3b7174e59eed13cb8da (diff)
downloadports-74f1883c7f91935e68ad904898c20609664c5a79.tar.gz
ports-74f1883c7f91935e68ad904898c20609664c5a79.zip
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
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Crypt-Bcrypt/Makefile17
-rw-r--r--security/p5-Crypt-Bcrypt/distinfo3
-rw-r--r--security/p5-Crypt-Bcrypt/pkg-descr6
-rw-r--r--security/p5-Crypt-Bcrypt/pkg-plist3
5 files changed, 30 insertions, 0 deletions
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