# -*- 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.8 v revision 0 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 2c81419440f1b2c2aa45502467173dff3d94a458 \ sha256 29a490ee823a53c83bb8a5159bf1e228fcceba1839f2a20d60bc357e7cb9c104 \ size 21863 go.vendors gopkg.in/yaml.v3 \ lock v3.0.1 \ rmd160 e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \ sha256 f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \ size 91208 \ gopkg.in/check.v1 \ lock 20d25e280405 \ rmd160 412aa0d109919182ff84259e9b5bbc9f24d78117 \ sha256 233f8faf427ce6701ac3427f85c28bc6b6ae7cdc97a303a52873c69999223325 \ size 30360 \ golang.org/x/term \ lock v0.27.0 \ rmd160 f060955e0b7cc9dc5e1018982660cc2743a2141d \ sha256 acb423ae00c889d7aa6b91be449ddf53e5e5026c9542fe3a1f0b1bb351b64e94 \ size 14696 \ golang.org/x/sys \ lock v0.28.0 \ rmd160 6afc12ada3ca9173b9f8ba2c66caf3dbf0ac7929 \ sha256 aa8ba4cd13aa5d7f839d604e002d2c994e6dfc09c3746f532bf69fc64617869c \ size 1520294 \ golang.org/x/crypto \ lock v0.31.0 \ rmd160 ccd79163c4c288444622b7e39560353ba8caef9a \ sha256 8c60e95193c8a72264fef36dc5f6a23e69c9a5948680829fcfbe9d28030f9dca \ size 1837747 \ github.com/xrash/smetrics \ lock 686a1a2994c1 \ rmd160 6eeddadc807945dd735d28b8e19a239a242d5ae4 \ sha256 ad89cc64ab0ee4f8c8364b85027e507ce99a8e1a5d0ccda24c623be30757d918 \ size 1823558 \ github.com/urfave/cli \ lock v2.27.5 \ rmd160 366591385a1f00a3e1188152def66fd5aab0af88 \ sha256 4f6801ab72e127dfa215f76285c6572ad07cdec1ff51a5ca87e6215ed3eabb0e \ size 3485636 \ github.com/stretchr/testify \ lock v1.7.1 \ rmd160 9e07f7d6890b8598706260ece5db26a7b12b5b2a \ sha256 27cabaf81344157a188083266cf8ccc19d04c43d9a34b6276b760514b9c880a3 \ size 94020 \ 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.5 \ rmd160 9af69f242ce0d508cc132b933960356f7c763b31 \ sha256 ebb019c79ca6b8f331d256fe63eb7bb549b1b15fdfb7eb4f168969966df05734 \ size 10941 \ filippo.io/age \ repo github.com/FiloSottile/age \ lock v1.2.0 \ rmd160 60a3e0f7c2f398affebb00314376512e42c49d67 \ sha256 39205e4fad8fe7b8885815277abe4048343d3d93ff22afb9ed4037f3e7f11faf \ size 206743 \ c2sp.org/CCTV/age \ repo github.com/C2SP/CCTV \ lock 3ec4d716e805 \ rmd160 90453ef2a0124ea96c2277e2958714c017848b9e \ sha256 bfcb2271eb2494be4ccf0eb6f634ccd43dedee8aca92005c4c4fc57c343dbe7b \ size 1651565 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} }