# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup golang 1.0 PortGroup legacysupport 1.1 go.setup github.com/yitsushi/totp-cli 1.8.7 v revision 1 categories security maintainers {gmail.com:smanojkarthick @manojkarthick} \ {gmail.com:herby.gillot @herbygillot} \ {hotmail.com:amtor @RobK88} \ openmaintainer license MIT description Authy/Google Authenticator like TOTP CLI tool written in Go. long_description A simple TOTP (Time-based One-time Password) CLI tool. \ TOTP is the most common mechanism for 2FA (Two-Factor-Authentication). \ You can manage and organize your accounts with namespaces and protect your data with a password. checksums ${distname}${extract.suffix} \ rmd160 71bba4a66211a9961b5c7de288608fa5862888de \ sha256 0e186a4c0005000f6f5fbe4e41783c4b8e4f6d6481b15005b61376f9a2e9de93 \ size 20672 go.vendors gopkg.in/yaml.v3 \ lock v3.0.1 \ rmd160 e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \ sha256 f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \ size 91208 \ gopkg.in/check.v1 \ lock 10cb98267c6cb43ea9cd6793f29ff4089c306974 \ rmd160 465dcadb97762c84da6fb5f6d8352abe10445817 \ sha256 98ec7bd0dc7d4bcee7dcafe02efab29f14dc392f43b227e517beef064e9b6369 \ size 32368 \ golang.org/x/term \ lock v0.23.0 \ rmd160 131879e7d516e92f8c6dac47b5b750c18e7ab9bb \ sha256 84a80901adbe8e647508a48d89e0c772c6aafd4b44bcc05271ca0a51a9e1d1a6 \ size 14734 \ golang.org/x/sys \ lock v0.24.0 \ rmd160 74fb804978246135d12ca76dbe1599abcdc5b29b \ sha256 d794227ad7ad26a66b72121cfa6be48b4a8f340bac190b513044a714e8c9256c \ size 1502103 \ golang.org/x/crypto \ lock v0.26.0 \ rmd160 437ca84bbed506eac15af824b0162f9bdd0008da \ sha256 dd29f4e0dbf8eaffc8e8d97c7a94b81f59d86f8ff0e3b6e042b44a38f78845a7 \ size 1799499 \ github.com/xrash/smetrics \ lock 686a1a2994c11fac124829fadcb683a24ab8d25f \ rmd160 6eeddadc807945dd735d28b8e19a239a242d5ae4 \ sha256 ad89cc64ab0ee4f8c8364b85027e507ce99a8e1a5d0ccda24c623be30757d918 \ size 1823558 \ github.com/urfave/cli \ lock v2.27.4 \ rmd160 81fd03d63663a35fbd708ab09d9baae5db93c4cf \ sha256 2f8294d5468a138610d4ffef827dc658b18b899c37e576d1ac1dcf34a1bbea0a \ size 3485188 \ github.com/stretchr/testify \ lock v1.9.0 \ rmd160 59147e117812fdf8270ec79e46a229c472caf08d \ sha256 e6fa4f530cad5bac94bf08af05ddd1f569aeac8db4017ab4330ab7fe2802a6a3 \ size 108716 \ github.com/russross/blackfriday \ lock v2.1.0 \ rmd160 c42a9332a2c2f3074c6f7e8d37a58d6148d2af08 \ sha256 c4df56f2012a7d16471418245e78b5790569e27bbe8d72a860d7117a801a7fae \ size 92950 \ github.com/pmezard/go-difflib \ lock v1.0.0 \ rmd160 fc879bfbdef9e3ff50844def58404e2b5a613ab8 \ sha256 7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \ size 11409 \ github.com/davecgh/go-spew \ lock v1.1.1 \ rmd160 7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \ sha256 e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \ size 42171 \ github.com/cpuguy83/go-md2man \ lock v2.0.4 \ rmd160 6ffe0c422d0b5730c8cf5a078fa9c7a67a1d2db8 \ sha256 a9d98f865f053c7b569d0751ec9a80e93194f1ae9d49e0c6423e53e0d6cd5574 \ size 9903 \ filippo.io/age \ repo github.com/FiloSottile/age \ lock v1.2.0 \ rmd160 60a3e0f7c2f398affebb00314376512e42c49d67 \ sha256 39205e4fad8fe7b8885815277abe4048343d3d93ff22afb9ed4037f3e7f11faf \ size 206743 \ build.args-append \ -ldflags \"-X ${go.package}/internal/info.Version=${github.tag_prefix}${version}\" pre-build { # Sierra and earlier if { ${os.platform} eq "darwin" && ${os.major} < 17 } { build.env-append GO_EXTLINK_ENABLED="1" \ GO_LDFLAGS="\"-extldflags=${configure.ldflags}\"" \ CGO_LDFLAGS="-g -O2 ${configure.ldflags}" } } destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ xinstall -d ${destroot}${prefix}/share/bash-completion/completions file copy ${worksrcpath}/autocomplete/bash_autocomplete \ ${destroot}${prefix}/share/bash-completion/completions/${name} xinstall -d ${destroot}${prefix}/share/zsh/site-functions file copy ${worksrcpath}/autocomplete/zsh_autocomplete \ ${destroot}${prefix}/share/zsh/site-functions/_${name} }