Date: Thu, 20 Jun 2024 19:30:09 GMT From: "Gabriel M. Dutra" <dutra@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 435c69340bd0 - main - sysutils/infracost: Add new port Message-ID: <202406201930.45KJU9Dw023466@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dutra: URL: https://cgit.FreeBSD.org/ports/commit/?id=435c69340bd0941b33589eb7c65e9d27998eac88 commit 435c69340bd0941b33589eb7c65e9d27998eac88 Author: Gabriel M. Dutra <dutra@FreeBSD.org> AuthorDate: 2024-06-20 19:26:36 +0000 Commit: Gabriel M. Dutra <dutra@FreeBSD.org> CommitDate: 2024-06-20 19:29:20 +0000 sysutils/infracost: Add new port Infracost shows cloud cost estimates and FinOps best practices for Terraform --- sysutils/Makefile | 1 + sysutils/infracost/Makefile | 25 +++++++++++++++++++++++++ sysutils/infracost/distinfo | 5 +++++ sysutils/infracost/pkg-descr | 3 +++ 4 files changed, 34 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 263fc70cc382..41eabf996316 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -580,6 +580,7 @@ SUBDIR += imgurbash2 SUBDIR += immortal SUBDIR += incron + SUBDIR += infracost SUBDIR += initool SUBDIR += inotify-tools SUBDIR += installwatch diff --git a/sysutils/infracost/Makefile b/sysutils/infracost/Makefile new file mode 100644 index 000000000000..6e2a8f120b14 --- /dev/null +++ b/sysutils/infracost/Makefile @@ -0,0 +1,25 @@ +PORTNAME= infracost +DISTVERSIONPREFIX= v +DISTVERSION= 0.10.37 +CATEGORIES= sysutils + +MAINTAINER= dutra@FreeBSD.org +COMMENT= Cloud cost estimates for Terraform +WWW= https://github.com/infracost/infracos + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= terraform:sysutils/terraform \ + terragrunt:sysutils/terragrunt + +USES= go:1.22,modules + +GO_MODULE= github.com/${PORTNAME}/${PORTNAME} + +GO_BUILDFLAGS= -ldflags="-X github.com/infracost/infracost/internal/version.Version=v${PORTVERSION}" +GO_TARGET= ./cmd/${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/sysutils/infracost/distinfo b/sysutils/infracost/distinfo new file mode 100644 index 000000000000..c38648db9b88 --- /dev/null +++ b/sysutils/infracost/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1718858119 +SHA256 (go/sysutils_infracost/infracost-v0.10.37/v0.10.37.mod) = 2493b1f3eb6e9a748ccebc6695142cb3aa4a9fcb2b1749f69b992d2575832e58 +SIZE (go/sysutils_infracost/infracost-v0.10.37/v0.10.37.mod) = 13271 +SHA256 (go/sysutils_infracost/infracost-v0.10.37/v0.10.37.zip) = cca5960fdee886aed27aa334e717e7d213bc51c3e9300f9b1094bb8e572494e6 +SIZE (go/sysutils_infracost/infracost-v0.10.37/v0.10.37.zip) = 3475145 diff --git a/sysutils/infracost/pkg-descr b/sysutils/infracost/pkg-descr new file mode 100644 index 000000000000..0532c3115a19 --- /dev/null +++ b/sysutils/infracost/pkg-descr @@ -0,0 +1,3 @@ +Infracost shows cloud cost estimates and FinOps best practices +for Terraform. It lets engineers see a cost breakdown and understand +costs before making changes.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406201930.45KJU9Dw023466>