Skip to content

Commit

Permalink
infisical: new submission
Browse files Browse the repository at this point in the history
  • Loading branch information
esafak committed Aug 18, 2024
1 parent 55fd1fd commit 5553b40
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions security/infisical/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# -*- 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/infisical/infisical 0.28.4 infisical-cli/v
github.tarball_from archive
revision 0

categories security devel
maintainers openmaintainer {esafak @esafak}
license MIT

description Official CLI for Infisical, an open source secrets platform
long_description ${description}
homepage https://infisical.com/

# Allow Go to fetch deps at build time
go.offline_build no
use_configure no

build.dir ${worksrcpath}/cli
build.cmd ${go.bin} build
build.args -o ${name} -ldflags=\"-X 'github.com/Infisical/infisical-merge/packages/util.CLI_VERSION=${go.version}'\"

checksums rmd160 8a1aef35240d7691eaa04ca2980ca37b4b608ddb \
sha256 868b27d8222b67d3d52ec67b225ffde8fcd90a1ece0b90f1dab15081ffb8dd3a \
size 309604849

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

test.run yes
test.cmd ${prefix}/bin/infisical
test.target --version

0 comments on commit 5553b40

Please sign in to comment.