From nobody Mon Nov 20 13:27:07 2023 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 4SYpFl6KqYz51JBN; Mon, 20 Nov 2023 13:27:07 +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 4SYpFl4XCNz3gdj; Mon, 20 Nov 2023 13:27:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700486827; 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=TvSL1ULFBTZvz3ZImjRIjkoxmahJKoTUPWqp7kuNFaI=; b=LRSqq6iNpBBbtyKDCAIACIvOj7rUBIVNu/TQdAj3U1bVdaMdzTMmY+4tTme/sUXGtLZlAu lVCsPWPMLrExsEQBor8xAs6ivbry0UgyhcbCUYmVLACTZqb8Hz7K6/DkLRBG33mmvZeDdd ouu8gmE45L49X4VaVBwH91/NJmBPWkPoV1wyi9viLXCz1E5+Rlr25LA97hCJP3pls7+KqR KDHPGRRDftJYOeDAXPEY+QUBPBJ074XWC5Y47VaJl/Qv1q5XOU6Wl2nVpoVkGXmETiA9uc gxRAfnITcF+Nf5qCcF4J3V5iyoGnCYeTigJ2jzEzyPMAjorbxZozxDO2JkFvBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700486827; 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=TvSL1ULFBTZvz3ZImjRIjkoxmahJKoTUPWqp7kuNFaI=; b=vEUBO9je9Su6hJ9bzqNlWdNbd3jtlglDE7tJgNeXF7fzP0tGhTMVTD0mxf8CJF6B8ymYN+ IQz2/yS08zg7XMDal1UKmAO/L0S5qkahppHb7I515W7KxQmwooSrnOxJJX9eiK1KB3tBK/ OBekeLitSKi/YktMYfNj8Kg90IWcikGibxOqGh7lGgXJXDvbQg1I0atAC/K9nNQWQ5rrF1 v11Z8V/0BQhxmJDD4sjBP9mdoqfvFu4VNpLomlrqL8V7Dry79x0MZAsK8s0N9EAxhPOEHJ 3UM+pKUneRCWPbU70HrWwlR5wfXi3rJuoxABBVL34wibLKZHJ1qfziAVGxxQIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700486827; a=rsa-sha256; cv=none; b=wHEGEpruATjs+Gk3gL4AgOx0eTXN3RF9QVFDgsPv3p/OD0xAKgPQaSLIz0yZisSjd2PqSF XG2W1cWbjDAW4bv3TO4dtVq/F+8E3St39IA+xa0YbtrrVmiU8ZirHLBwYm6E97kD5F5WMy oeNpk0qRQ4bQDEBNt878uywcLklKIwBtemQQuHsBToVLYqBPn/jkhOYzXb+BP8O+C1uk4S 1M2qIzgP1Cm7ptgLGOF460zBQ/foEZVw0SENcg6oeuhob4mFRvuAvwnDNwGVz4h9tlEK4C 0GEqXLQtdGmdP5jzbCLvi9C5anY2gu036bTx7wNd6dP5s5k2IBhE71Olsrbydw== 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 4SYpFl3dKpztgw; Mon, 20 Nov 2023 13:27:07 +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 3AKDR7O2023217; Mon, 20 Nov 2023 13:27:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AKDR7NL023214; Mon, 20 Nov 2023 13:27:07 GMT (envelope-from git) Date: Mon, 20 Nov 2023 13:27:07 GMT Message-Id: <202311201327.3AKDR7NL023214@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: f49b835b51fd - main - sysutils/opentofu: 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f49b835b51fd5d92138706c32523c6f361740eac Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f49b835b51fd5d92138706c32523c6f361740eac commit f49b835b51fd5d92138706c32523c6f361740eac Author: Muhammad Moinur Rahman AuthorDate: 2023-11-20 13:12:30 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-11-20 13:26:49 +0000 sysutils/opentofu: New port OpenTofu is an OSS tool for building, changing, and versioning infrastructure safely and efficiently. OpenTofu can manage existing and popular service providers as well as custom in-house solutions. The key features of OpenTofu are: - Infrastructure as Code: Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used. - Execution Plans: OpenTofu has a "planning" step where it generates an execution plan. The execution plan shows what OpenTofu will do when you call apply. This lets you avoid any surprises when OpenTofu manipulates infrastructure. - Resource Graph: OpenTofu builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. Because of this, OpenTofu builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure. - Change Automation: Complex changesets can be applied to your infrastructure with minimal human interaction. With the previously mentioned execution plan and resource graph, you know exactly what OpenTofu will change and in what order, avoiding many possible human errors. WWW: https://opentofu.org --- sysutils/Makefile | 1 + sysutils/opentofu/Makefile | 20 ++++++++++++++++++++ sysutils/opentofu/distinfo | 5 +++++ sysutils/opentofu/pkg-descr | 24 ++++++++++++++++++++++++ 4 files changed, 50 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index ab68f49c71b3..ab68fac22dad 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -858,6 +858,7 @@ SUBDIR += opensbi SUBDIR += openseachest SUBDIR += openshift-install + SUBDIR += opentofu SUBDIR += openupsd SUBDIR += openzfs SUBDIR += openzfs-kmod diff --git a/sysutils/opentofu/Makefile b/sysutils/opentofu/Makefile new file mode 100644 index 000000000000..338892fabc87 --- /dev/null +++ b/sysutils/opentofu/Makefile @@ -0,0 +1,20 @@ +PORTNAME= opentofu +DISTVERSIONPREFIX= v +DISTVERSION= 1.6.0-alpha5 +CATEGORIES= sysutils + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Tool for building, changing, and versioning infrastructure +WWW= https://opentofu.org/ + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +GO_BUILDFLAGS= -o bin/ +GO_MODULE= github.com/opentofu/opentofu +GO_TARGET= ./cmd/tofu + +PLIST_FILES= bin/tofu + +.include diff --git a/sysutils/opentofu/distinfo b/sysutils/opentofu/distinfo new file mode 100644 index 000000000000..e9ec76f4ec85 --- /dev/null +++ b/sysutils/opentofu/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1700484675 +SHA256 (go/sysutils_opentofu/opentofu-v1.6.0-alpha5/v1.6.0-alpha5.mod) = 714379a411306bb1ba422f4739cc1afd22777e9b84155aa81731e26bacad9f89 +SIZE (go/sysutils_opentofu/opentofu-v1.6.0-alpha5/v1.6.0-alpha5.mod) = 13073 +SHA256 (go/sysutils_opentofu/opentofu-v1.6.0-alpha5/v1.6.0-alpha5.zip) = 0aa3bbb38d19ef8d7af552c9c6096e7ea8884b06215b76576a7e170c1d98d814 +SIZE (go/sysutils_opentofu/opentofu-v1.6.0-alpha5/v1.6.0-alpha5.zip) = 5577417 diff --git a/sysutils/opentofu/pkg-descr b/sysutils/opentofu/pkg-descr new file mode 100644 index 000000000000..2b7e4528a2e5 --- /dev/null +++ b/sysutils/opentofu/pkg-descr @@ -0,0 +1,24 @@ +OpenTofu is an OSS tool for building, changing, and versioning infrastructure +safely and efficiently. OpenTofu can manage existing and popular service +providers as well as custom in-house solutions. + +The key features of OpenTofu are: + +Infrastructure as Code: Infrastructure is described using a high-level +configuration syntax. This allows a blueprint of your datacenter to be +versioned and treated as you would any other code. Additionally, infrastructure +can be shared and re-used. + +Execution Plans: OpenTofu has a "planning" step where it generates an execution +plan. The execution plan shows what OpenTofu will do when you call apply. This +lets you avoid any surprises when OpenTofu manipulates infrastructure. + +Resource Graph: OpenTofu builds a graph of all your resources, and parallelizes +the creation and modification of any non-dependent resources. Because of this, +OpenTofu builds infrastructure as efficiently as possible, and operators get +insight into dependencies in their infrastructure. + +Change Automation: Complex changesets can be applied to your infrastructure +with minimal human interaction. With the previously mentioned execution plan +and resource graph, you know exactly what OpenTofu will change and in what +order, avoiding many possible human errors.