git: a6fd470eaecb - main - security/p5-Auth-GoogleAuth: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Jun 2026 12:19:18 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a6fd470eaecb80aec62e98b15ddc761ca8e99416
commit a6fd470eaecb80aec62e98b15ddc761ca8e99416
Author: Dan Mahoney <github@gushi.org>
AuthorDate: 2026-06-05 21:31:31 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2026-06-09 12:19:14 +0000
security/p5-Auth-GoogleAuth: Add new port
Auth::GoogleAuth is a Perl module providing an abstraction for the TOTP
(Time-based One-Time Password) algorithm as used by Google Authenticator
and compatible applications (RFC 6238).
It supports generating and verifying TOTP codes, producing otpauth:// URIs,
and generating QR code URLs suitable for enrollment in authenticator apps.
PR: 295883
---
security/Makefile | 1 +
security/p5-Auth-GoogleAuth/Makefile | 24 ++++++++++++++++++++++++
security/p5-Auth-GoogleAuth/distinfo | 3 +++
security/p5-Auth-GoogleAuth/pkg-descr | 6 ++++++
security/p5-Auth-GoogleAuth/pkg-plist | 2 ++
5 files changed, 36 insertions(+)
diff --git a/security/Makefile b/security/Makefile
index 518506a5ebda..8111844c5a20 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -491,6 +491,7 @@
SUBDIR += p5-App-ClusterSSH
SUBDIR += p5-App-Genpass
SUBDIR += p5-App-TLSMe
+ SUBDIR += p5-Auth-GoogleAuth
SUBDIR += p5-Auth-YubikeyDecrypter
SUBDIR += p5-AuthCAS
SUBDIR += p5-Authen-Bitcard
diff --git a/security/p5-Auth-GoogleAuth/Makefile b/security/p5-Auth-GoogleAuth/Makefile
new file mode 100644
index 000000000000..47277d35353e
--- /dev/null
+++ b/security/p5-Auth-GoogleAuth/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= Auth-GoogleAuth
+DISTVERSION= 1.09
+CATEGORIES= security perl5
+MASTER_SITES= https://cpan.metacpan.org/authors/id/G/GR/GRYPHON/ \
+ https://www.cpan.org/authors/id/G/GR/GRYPHON/
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= freebsd@gushi.org
+COMMENT= Google Authenticator TOTP abstraction
+WWW= https://metacpan.org/dist/Auth-GoogleAuth
+
+LICENSE= ART20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= p5-Class-Accessor>=0:devel/p5-Class-Accessor \
+ p5-Convert-Base32>=0:converters/p5-Convert-Base32 \
+ p5-CryptX>=0:security/p5-CryptX \
+ p5-Digest-HMAC>=0:security/p5-Digest-HMAC \
+ p5-URI>=0:net/p5-URI
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/security/p5-Auth-GoogleAuth/distinfo b/security/p5-Auth-GoogleAuth/distinfo
new file mode 100644
index 000000000000..48bbebeae480
--- /dev/null
+++ b/security/p5-Auth-GoogleAuth/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1780690356
+SHA256 (Auth-GoogleAuth-1.09.tar.gz) = 8bf43ef727835ba3fb41e5b4469a1d8d15c1578fc2c307b48788dd4387c2d75c
+SIZE (Auth-GoogleAuth-1.09.tar.gz) = 13368
diff --git a/security/p5-Auth-GoogleAuth/pkg-descr b/security/p5-Auth-GoogleAuth/pkg-descr
new file mode 100644
index 000000000000..5be3fd11b300
--- /dev/null
+++ b/security/p5-Auth-GoogleAuth/pkg-descr
@@ -0,0 +1,6 @@
+Auth::GoogleAuth is a Perl module providing an abstraction for the TOTP
+(Time-based One-Time Password) algorithm as used by Google Authenticator
+and compatible applications (RFC 6238).
+
+It supports generating and verifying TOTP codes, producing otpauth:// URIs,
+and generating QR code URLs suitable for enrollment in authenticator apps.
diff --git a/security/p5-Auth-GoogleAuth/pkg-plist b/security/p5-Auth-GoogleAuth/pkg-plist
new file mode 100644
index 000000000000..7a86f2b4af13
--- /dev/null
+++ b/security/p5-Auth-GoogleAuth/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Auth/GoogleAuth.pm
+%%PERL5_MAN3%%/Auth::GoogleAuth.3.gz