git: c53a7a6fc6fe - main - security/gauth: New port: Google Authenticator in your terminal
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Feb 2025 07:49:41 UTC
The branch main has been updated by meta:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c53a7a6fc6fe4c258ab16b5bd9ab7b5fced2e540
commit c53a7a6fc6fe4c258ab16b5bd9ab7b5fced2e540
Author: Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2025-02-20 16:31:01 +0000
Commit: Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2025-02-24 07:47:25 +0000
security/gauth: New port: Google Authenticator in your terminal
gauth is a command-line utility that replaces Google Authenticator, providing a
convenient way to generate two-factor authentication codes from your terminal.
It stores secrets locally, supports encryption, and offers features like
displaying progress bars, adding/removing keys, and compatibility with
various services like AWS, Github, and more. This tool is ideal for
users who prefer managing their 2FA on their computers rather than
relying solely on their smartphones.
WWW: https://github.com/pcarrier/gauth \
https://pkg.go.dev/github.com/pcarrier/gauth
PR: 284929
---
security/Makefile | 1 +
security/gauth/Makefile | 20 ++++++++++++++++++++
security/gauth/distinfo | 5 +++++
security/gauth/pkg-descr | 7 +++++++
4 files changed, 33 insertions(+)
diff --git a/security/Makefile b/security/Makefile
index da2a52c5137f..ee1d27c1463f 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -168,6 +168,7 @@
SUBDIR += fwanalog
SUBDIR += fwknop
SUBDIR += fwlogwatch
+ SUBDIR += gauth
SUBDIR += gcr
SUBDIR += gcr3
SUBDIR += gef
diff --git a/security/gauth/Makefile b/security/gauth/Makefile
new file mode 100644
index 000000000000..279afb426083
--- /dev/null
+++ b/security/gauth/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= gauth
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.5.0
+CATEGORIES= security
+
+MAINTAINER= nxjoseph@protonmail.com
+COMMENT= Google Authenticator in your terminal
+WWW= https://github.com/pcarrier/gauth \
+ https://pkg.go.dev/github.com/pcarrier/gauth
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.23,modules
+
+GO_MODULE= github.com/pcarrier/gauth
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/security/gauth/distinfo b/security/gauth/distinfo
new file mode 100644
index 000000000000..0b1ee3b0a972
--- /dev/null
+++ b/security/gauth/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1740068826
+SHA256 (go/security_gauth/gauth-v1.5.0/v1.5.0.mod) = 001b3b1eadcb424e92c8c6a191ff587e2725c9f7c984bdf7eb2ca8a40541f05a
+SIZE (go/security_gauth/gauth-v1.5.0/v1.5.0.mod) = 359
+SHA256 (go/security_gauth/gauth-v1.5.0/v1.5.0.zip) = 1b654c08943d560464db01bd38f6d5dc7979765cf84cdc66bbbc183fd9449daf
+SIZE (go/security_gauth/gauth-v1.5.0/v1.5.0.zip) = 14393
diff --git a/security/gauth/pkg-descr b/security/gauth/pkg-descr
new file mode 100644
index 000000000000..ada8ce046b53
--- /dev/null
+++ b/security/gauth/pkg-descr
@@ -0,0 +1,7 @@
+gauth is a command-line utility that replaces Google Authenticator, providing a
+convenient way to generate two-factor authentication codes from your terminal.
+It stores secrets locally, supports encryption, and offers features like
+displaying progress bars, adding/removing keys, and compatibility with
+various services like AWS, Github, and more. This tool is ideal for
+users who prefer managing their 2FA on their computers rather than
+relying solely on their smartphones.