summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/gauth/Makefile20
-rw-r--r--security/gauth/distinfo5
-rw-r--r--security/gauth/pkg-descr7
4 files changed, 33 insertions, 0 deletions
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.