# -*- 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

go.setup            github.com/cyberark/summon 0.9.5 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
categories          devel
maintainers         nomaintainer
license             MIT

description         CLI that provides on-demand secrets access for common \
                    DevOps tools.

long_description    summon is a command-line tool to make working with secrets \
                    easier. \
                    It provides an interface for reading a secrets.yml file, \
                    fetching secrets from a trusted store and exporting secret \
                    values to a sub-process environment. \

build.args          -o ${worksrcpath}/${name} ./cmd
build.env-append    CGO_ENABLED=0

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  b2c0855a8eba04f51c465882b02821510372100a \
                        sha256  66ac98b652912de7e1341a994383c91b2ad22afbff9d61e0535f06bdd3c0cea4 \
                        size    171729

go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/check.v1 \
                        lock    10cb98267c6c \
                        rmd160  465dcadb97762c84da6fb5f6d8352abe10445817 \
                        sha256  98ec7bd0dc7d4bcee7dcafe02efab29f14dc392f43b227e517beef064e9b6369 \
                        size    32368 \
                    golang.org/x/net \
                        lock    8be639271d50 \
                        rmd160  aaa422db803bf7810453a4371005582aa6e80e1a \
                        sha256  5e532794d0cad08212350ed83219a0c29d39f44c38ab42bc5028e3219bcfed51 \
                        size    1227502 \
                    github.com/urfave/cli \
                        lock    v1.22.9 \
                        rmd160  4870cfd30c2fe09e9efbd587462bec2826422a88 \
                        sha256  71dc1e67a9fe492a96466486e48ddac84196fd00369c3e5a9fc891fcdfc0783e \
                        size    79018 \
                    github.com/stretchr/testify \
                        lock    v1.8.0 \
                        rmd160  5c390a4b7ea60de6cf9f69ece1cfc664e52c52b7 \
                        sha256  9b51f07d72fd2d88a76cd89fb8863fc69812e364d28d0a97f6eacf9cd974c71d \
                        size    97622 \
                    github.com/russross/blackfriday \
                        lock    v2.1.0 \
                        rmd160  c42a9332a2c2f3074c6f7e8d37a58d6148d2af08 \
                        sha256  c4df56f2012a7d16471418245e78b5790569e27bbe8d72a860d7117a801a7fae \
                        size    92950 \
                    github.com/rogpeppe/go-internal \
                        lock    v1.6.1 \
                        rmd160  60a7c8a40bd73160f7a61ab365d9ebab06ff90a1 \
                        sha256  ccd0e3ec65e987ddb9719f0e1db82aee660db3bfcfc7bd031bcccc1df0d1fc85 \
                        size    123139 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/kr/text \
                        lock    v0.2.0 \
                        rmd160  48558c7e8ff67d510f83c66883907e95f4783163 \
                        sha256  2f2e21ac8a9d523e88cbba4039441defc4a66bfaa78811c900a88fcf28729c4c \
                        size    8702 \
                    github.com/kr/pretty \
                        lock    v0.3.0 \
                        rmd160  0895c899b9d88b87beccda0a9b4c5c7057e858f0 \
                        sha256  88d8d187ffa4faf0362b48c3d327ad440c7e5fb179ea3247e69269cab128a6b9 \
                        size    10043 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/cpuguy83/go-md2man \
                        lock    v2.0.1 \
                        rmd160  74c013e19d22e56a27d9a3ad61b4bd86975036d1 \
                        sha256  d23365bceea7382b59ca41ad868a80e34f8066785fb371b85b51ee0b65be6a21 \
                        size    64243
