From 7b55b88f99baca2590ad70d0359e62ac2def787d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emre=20=C5=9Eafak?= Date: Wed, 14 Aug 2024 20:50:24 -0400 Subject: [PATCH] infisical: new submission --- security/infisical/Portfile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 security/infisical/Portfile diff --git a/security/infisical/Portfile b/security/infisical/Portfile new file mode 100644 index 0000000000000..93cb4485f2625 --- /dev/null +++ b/security/infisical/Portfile @@ -0,0 +1,34 @@ +# -*- 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 +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 + +build.dir ${worksrcpath}/cli +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 { + xinstall -m 0755 ${worksrcpath}/cli/${name} ${destroot}${prefix}/bin/ +} + +test.run yes +test.cmd ${prefix}/bin/infisical +test.target --version