diff options
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/terraform/Manifest | 2 | ||||
-rw-r--r-- | app-admin/terraform/terraform-1.4.2.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest index 24fd5a0aa8a8..39b11e507619 100644 --- a/app-admin/terraform/Manifest +++ b/app-admin/terraform/Manifest @@ -8,3 +8,5 @@ DIST terraform-1.2.7-deps.tar.xz 264297220 BLAKE2B 0052fe5519c5b9aec060dcb6a68d0 DIST terraform-1.2.7.tar.gz 4694193 BLAKE2B e32f7a304aad5b4cfb0866d890036f772eafbd1c767941999c0db44ed7a9e0e931890a466518af5b7715dcff2a0bac1d379c230fa032f9ebae45ad9df041b9d1 SHA512 d77db9040bd19f4a6e2988a61ecb7dc5adecf46f798d90e1232f9ffe385668ecb0869f1877d5f6ea8a36d48e1e47fffa463b9809046b524af741ddb5b67b469e DIST terraform-1.3.9-deps.tar.xz 246904620 BLAKE2B 26577614ff95fa03dcf0362050f0e2a10eaa500f71d992b2927f6c44475341e899f62141e203ce9231bf329dc03825076d3f615c693a6c33c11190d4420b042f SHA512 9587b6022d320a104f3ad67dda9f1b931e258f78e7f6b6f87a8302732206b55d7d4af555b09517994ea1f53f069d8e1b5e2ca05c129efbbe4d7c3b75cbd27c69 DIST terraform-1.3.9.tar.gz 4964672 BLAKE2B bfe823a2c1bc8d6188d339c8b5d452be4873adf1063aa0a880457d7e5b4e042d2d8c2ba93eb20eb46bad209c184bfe628b5093d6bdd6163e1bc57934c6770ad2 SHA512 3e951142120b5d71830b5bde34ef3e8907b1585f461f51f83e16170a46e1fc21934d4d1935f1a49963add3d894f68a5cf267ef91293347d0dd9a4b90978ea751 +DIST terraform-1.4.2-deps.tar.xz 297847412 BLAKE2B 3a9cae729ae0f059f50a7f41a33000e4a72f87bb5d16e09a8bd27cd67d20c641a9a1fff1bf3544cc36e199efc50dfa554e044ec7cadf2a407d086fa6d39bab10 SHA512 5fa9a6130d6416964bb753d8d2095512acbfd79f18f8935923b3a606597f9fa26412f3aacd1ef7671084e8525953fa526196688c3ea1fa62e2c68a8ec857e712 +DIST terraform-1.4.2.tar.gz 5111071 BLAKE2B ec79eae36c9e462fa94afe2127343fd7f1e4e629b077fd6ccaea092cc53bfa74add2407070bc0925f81c12e51f758561e535aae298b8fee5d9fffa32b86bed57 SHA512 66b937dae65c12eddfca9a4b95294fe5fff2ccb79f2afcd8ec47d227e0a36f8edba4190939d59c80a78a0752c42e43085e30f09ea66fd06531dc9cfe30fd78f2 diff --git a/app-admin/terraform/terraform-1.4.2.ebuild b/app-admin/terraform/terraform-1.4.2.ebuild new file mode 100644 index 000000000000..e3ee07fe5929 --- /dev/null +++ b/app-admin/terraform/terraform-1.4.2.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" +} |