From nobody Thu Jun 20 19:30:09 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W4rDL1vCKz5PLVb; Thu, 20 Jun 2024 19:30:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W4rDL1FbKz3x43; Thu, 20 Jun 2024 19:30:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718911810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YayAnELY2FHUCDU1EiqhnkBslvf5/H7v2Rt+H8g5AII=; b=R+4I7ClhuhC6uKLkIcQpBq6RRKHaqhKqTwONWCF0UIbQ62RWXMBKmhbUEQosVYmjCzZXBr y4M2IwsSLnnMXwkoUahW1PvVZ5WYiJWFliLsHfIH+YQAHFgppbOE3P458OH22H0l6C0UDm Xg/5n4kD7tudA0JQFdnp9ffiwJP/z5xs/okT7V6QDcSwXLfPbfRgFOIGdFZAOV3ZHKk9Sy UEwPZMH/iV02OPF54kHeCw0Ns3/kbNhSTIF7BPwUyPnWLKV1jrVlA5jyj6ix6hX4OZy/th l93x9lQrJm5dy+6QqJfNOJcukVobZxktgihObL6kwhrZ8LMCiF7qauVYedz1uA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718911810; a=rsa-sha256; cv=none; b=Z0xbifKLFQuZN8+rK17ewDfXusMugaD4yraypqCnjhabrGfgcPJpRNVKehhQayaIPUqtdo hfKpxti0U7IxoBrD3OmWgqkmqpSrVstJsF0bsWDmwrwXk3Vw4NgRzWVvYydcmrLCL95wyY huuHRFdYcLGlFoMQjrhUEypjsBJxLO5Md5zW9QKl3VSWEXWguhlUHjPB54zBqS5kDug90y LuYHPeAGmfI/x8nY/aTmW76AIb5gu+eK/XFFY+9altL07laNFFhqLM83jGIkSusYs6AXLI itluVH5EO6FmXYqfKXJm52CelgRfd6OIH7G9hs9zRfruLLj66AqLYIpj9r0c1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718911810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YayAnELY2FHUCDU1EiqhnkBslvf5/H7v2Rt+H8g5AII=; b=qnf8HH+DYoU70okifulbgB8RveS983vIMG900EBGLBfpaXgIrEs+30P21+VM+9m3ktiHwU L9T6PeQLMbduoUvb2PzQOb3Z4KRd1hRyjf0IqlfLoqVkFIeUyf7Af5b8yLDzYfFdqnCx9M lFL4hhCKw2Yc3H8eAXS8LuS6dHTmbClJ6nToezCrd0vwsbvvr3BQo0pQjD+SANZTvpoWTX VtFnBK3pFzdQU6jpBDCJD/DD/6FmoIhHu2lfKOkM/DCa7WUE0707QwPdepiVZ+HgD/DbJO 3kFFRGeBWZ/pFeCkd8HXt3xf0dCxOvSPwmL9cTPdkWzFqaP+j/KzyM3xOvsbDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W4rDL0l5rzdSK; Thu, 20 Jun 2024 19:30:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45KJU910023475; Thu, 20 Jun 2024 19:30:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45KJU9Dw023466; Thu, 20 Jun 2024 19:30:09 GMT (envelope-from git) Date: Thu, 20 Jun 2024 19:30:09 GMT Message-Id: <202406201930.45KJU9Dw023466@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Gabriel M. Dutra" Subject: git: 435c69340bd0 - main - sysutils/infracost: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dutra X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 435c69340bd0941b33589eb7c65e9d27998eac88 Auto-Submitted: auto-generated The branch main has been updated by dutra: URL: https://cgit.FreeBSD.org/ports/commit/?id=435c69340bd0941b33589eb7c65e9d27998eac88 commit 435c69340bd0941b33589eb7c65e9d27998eac88 Author: Gabriel M. Dutra AuthorDate: 2024-06-20 19:26:36 +0000 Commit: Gabriel M. Dutra 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 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.