summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-07-13 17:18:31 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-07-13 17:18:50 -0500
commit7d8c1d1f096381c54c1d927cead57a6f73ce55dc (patch)
tree0eb8b854ad96dc9ae36b29a60e3c68ffede9e0c1 /app-admin/terraform
parentnet-libs/libhtp: add 0.5.45, drop 0.5.43 (diff)
downloadgentoo-7d8c1d1f096381c54c1d927cead57a6f73ce55dc.tar.gz
gentoo-7d8c1d1f096381c54c1d927cead57a6f73ce55dc.tar.bz2
gentoo-7d8c1d1f096381c54c1d927cead57a6f73ce55dc.zip
app-admin/terraform: add 1.5.3
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin/terraform')
-rw-r--r--app-admin/terraform/Manifest2
-rw-r--r--app-admin/terraform/terraform-1.5.3.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest
index 0dd0d5c44f66..cf4078755a2d 100644
--- a/app-admin/terraform/Manifest
+++ b/app-admin/terraform/Manifest
@@ -6,3 +6,5 @@ DIST terraform-1.5.0-deps.tar.xz 297939668 BLAKE2B 12fc9e87096a08b1ac893e48872e0
DIST terraform-1.5.0.tar.gz 5389374 BLAKE2B be4026ccd9b077dcdc51e606693a9dc6fc12f9dee9d704c2f2347dcc43fd2232b31e5a7c3cdf407e3cf0f588f412c0fe9723fac70f2d872ed0723a3a7b827e28 SHA512 3b46ed8315881a5777ed346667e39ab896e595e9487340def7798c006afe5a63f49a47e20621b39d336582854129e22c63eb690e33648c408ccf5bc504add025
DIST terraform-1.5.1-deps.tar.xz 297937120 BLAKE2B ab2d62a53e30a9f11e65aea18edb65556a96bac4993e46161e3141bd147f283b199b5e100c8531a2098d6956c6ff255dae8f0752a952a33d6636c0a7c364205f SHA512 b5c1128b0d71a2854f14cf5c09460013eb8559028b785f3e5553999c3ea351e8f42d6189295833c3dd35256f90ae3af763b8c92abc525146200f3399bbf82365
DIST terraform-1.5.1.tar.gz 5389376 BLAKE2B ea3c3c361f8b9a57ba249038ce85b7b7656750a0a0eee729ba0f714f5629d5887fae371a45939e8dd9e75fde9ccbe65222ac6fcbb4702b8f6380e7aa480b2b88 SHA512 92be1ca23933d0e3b510211b8b3ef658f4e8a22ba0aff108a4b944b4278290e776d6b8b7d8fe9fa32cf7cd856ae06174310ef2fbccac2e39e4fe805bdf4d5fda
+DIST terraform-1.5.3-deps.tar.xz 296990652 BLAKE2B f48fbc5a0253c4f2b8d26a80a41891884b0dd3c74a9594daa44a50c9f30ed2fe6b9bcdef6a4113426b6bcfec7e11d9ed52eaf5f56a5ef5047e990e40cf5972e4 SHA512 4e05953fb01713a2bccfbd9010a58db01c1465d89ebbe6844910cb3d92276e73d270e214a4855a57175355e1bb10489201820bf4bb14f7ec891e2e9da5267068
+DIST terraform-1.5.3.tar.gz 5396543 BLAKE2B b21168d14d8000f8f2e2c8d05de157225f282e870b7ff64ce45f86c54ef9ed77d03130ccd20f965b79e5ac2d1859d296b015a02a946adbd8a3e6530ed42bf576 SHA512 b8f9a007099642cbf244c0d85008f708ba927a2c446996595e2aa3410f9a9b7b389ed5abad6fbfea029fadfc40f830a263ed8366761d30130f94b33a3c67136b
diff --git a/app-admin/terraform/terraform-1.5.3.ebuild b/app-admin/terraform/terraform-1.5.3.ebuild
new file mode 100644
index 000000000000..e3ee07fe5929
--- /dev/null
+++ b/app-admin/terraform/terraform-1.5.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
+HOMEPAGE="https://www.terraform.io/"
+SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+BDEPEND="dev-go/gox"
+
+RESTRICT="test"
+
+DOCS=( {README,CHANGELOG}.md )
+
+src_compile() {
+ export CGO_ENABLED=0
+ gox \
+ -os=$(go env GOOS) \
+ -arch=$(go env GOARCH) \
+ -output bin/terraform \
+ -verbose \
+ . || die
+}
+
+src_install() {
+ dobin bin/*
+ einstalldocs
+}
+
+pkg_postinst() {
+ elog "If you would like to install shell completions please run:"
+ elog " terraform -install-autocomplete"
+}