git: ea8f2a1ceda8 - main - security/p5-Crypt-URandom-Token: New port: Generate secure strings for passwords, secrets and similar
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Oct 2025 03:17:42 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ea8f2a1ceda83aa8cbe5bff18f0a0a879e1f4888
commit ea8f2a1ceda83aa8cbe5bff18f0a0a879e1f4888
Author: Tomohiro Hosaka <bokutin@bokut.in>
AuthorDate: 2025-10-30 03:14:52 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-10-30 03:17:21 +0000
security/p5-Crypt-URandom-Token: New port: Generate secure strings for passwords, secrets and similar
This module provides a secure way to generate a random token
for passwords and similar using Crypt::URandom
as the source of random bits.
WWW: https://metacpan.org/dist/Crypt-URandom-Token
PR: 290569
Reported by: Tomohiro Hosaka <bokutin@bokut.in> (new maintainer)
---
security/Makefile | 1 +
security/p5-Crypt-URandom-Token/Makefile | 26 ++++++++++++++++++++++++++
security/p5-Crypt-URandom-Token/distinfo | 3 +++
security/p5-Crypt-URandom-Token/pkg-descr | 3 +++
4 files changed, 33 insertions(+)
diff --git a/security/Makefile b/security/Makefile
index c347eb87fbe9..692b93ffd050 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -639,6 +639,7 @@
SUBDIR += p5-Crypt-Twofish2
SUBDIR += p5-Crypt-Twofish_PP
SUBDIR += p5-Crypt-URandom
+ SUBDIR += p5-Crypt-URandom-Token
SUBDIR += p5-Crypt-UnixCrypt
SUBDIR += p5-Crypt-UnixCrypt_XS
SUBDIR += p5-Crypt-X509
diff --git a/security/p5-Crypt-URandom-Token/Makefile b/security/p5-Crypt-URandom-Token/Makefile
new file mode 100644
index 000000000000..ec15e49d0d88
--- /dev/null
+++ b/security/p5-Crypt-URandom-Token/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= Crypt-URandom-Token
+PORTVERSION= 0.005
+CATEGORIES= security perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR=CPAN:STIGTSP
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= bokutin@bokut.in
+COMMENT= Generate secure strings for passwords, secrets and similar
+WWW= https://metacpan.org/dist/Crypt-URandom-Token
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-Crypt-URandom>=0.40:security/p5-Crypt-URandom
+TEST_DEPENDS= p5-Test-Exception>=0.43:devel/p5-Test-Exception
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+PLIST_FILES= ${SITE_PERL}/Crypt/URandom/Token.pm \
+ ${SITE_MAN3_REL}/Crypt::URandom::Token.3.gz
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-URandom-Token/distinfo b/security/p5-Crypt-URandom-Token/distinfo
new file mode 100644
index 000000000000..5f43d497949c
--- /dev/null
+++ b/security/p5-Crypt-URandom-Token/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1761480470
+SHA256 (Crypt-URandom-Token-0.005.tar.gz) = dce18ea8c920985e887dd41d98c96c285a17470321aabc4a7571c71081e3d679
+SIZE (Crypt-URandom-Token-0.005.tar.gz) = 12939
diff --git a/security/p5-Crypt-URandom-Token/pkg-descr b/security/p5-Crypt-URandom-Token/pkg-descr
new file mode 100644
index 000000000000..70ead14f3af6
--- /dev/null
+++ b/security/p5-Crypt-URandom-Token/pkg-descr
@@ -0,0 +1,3 @@
+This module provides a secure way to generate a random token
+for passwords and similar using Crypt::URandom
+as the source of random bits.