diff --git a/security/otpauth/Makefile b/security/otpauth/Makefile new file mode 100644 index 000000000000..695d9c0076c6 --- /dev/null +++ b/security/otpauth/Makefile @@ -0,0 +1,24 @@ +PORTNAME= otpauth +PORTVERSION= 0.5.1 +DISTVERSIONPREFIX= v +CATEGORIES= security + +MAINTAINER= bokutin@bokut.in +COMMENT= Google Authenticator migration decoder +WWW= https://github.com/dim13/otpauth + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +PLIST_FILES= bin/otpauth + +USE_GITHUB= yes +GH_ACCOUNT= dim13 +GH_TUPLE= \ + google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \ + skip2:go-qrcode:da1b6568686e:skip2_go_qrcode/vendor/github.com/skip2/go-qrcode \ + protocolbuffers:protobuf-go:v1.28.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf + +.include diff --git a/security/otpauth/distinfo b/security/otpauth/distinfo new file mode 100644 index 000000000000..1e8a28de261f --- /dev/null +++ b/security/otpauth/distinfo @@ -0,0 +1,9 @@ +TIMESTAMP = 1696259317 +SHA256 (dim13-otpauth-v0.5.1_GH0.tar.gz) = e64deea3540d70c93dd8e98dd6d90ff0ef6aa071f6618f55b9b1dae9207223d0 +SIZE (dim13-otpauth-v0.5.1_GH0.tar.gz) = 151982 +SHA256 (google-uuid-v1.3.0_GH0.tar.gz) = 7f7f37c47980e0afcc178a9ffc390bec29ed2371919b4c07658eb01791a7f921 +SIZE (google-uuid-v1.3.0_GH0.tar.gz) = 16210 +SHA256 (skip2-go-qrcode-da1b6568686e_GH0.tar.gz) = af179c37da861a43242fb4383186724b34866d7b5bd3e54ca44031a2b9f92046 +SIZE (skip2-go-qrcode-da1b6568686e_GH0.tar.gz) = 36693 +SHA256 (protocolbuffers-protobuf-go-v1.28.1_GH0.tar.gz) = df0b3dceeff0e1b6d029e60f076edd0d852cb8f3c2fe4fe3fe40164f16ec9b6b +SIZE (protocolbuffers-protobuf-go-v1.28.1_GH0.tar.gz) = 1280756 diff --git a/security/otpauth/pkg-descr b/security/otpauth/pkg-descr new file mode 100644 index 000000000000..f57b9c06f2b4 --- /dev/null +++ b/security/otpauth/pkg-descr @@ -0,0 +1,2 @@ +Convert Google Authenticator otpauth-migration://offline?data=... +transfer links to plain otpauth links.