1 |
commit: 78b3d9a3093d8a3fa72a266dccef2357a6173fce |
2 |
Author: Dan Molik <dan <AT> danmolik <DOT> com> |
3 |
AuthorDate: Fri Jan 4 16:42:46 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 4 21:20:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b3d9a3 |
7 |
|
8 |
app-admin/terraform: new package |
9 |
|
10 |
Adding Hashicorp's terraform infrastructure as code utility. Information |
11 |
on the tool can be found here: https://terraform.io and the code base |
12 |
can be found here: https://github.com/hashicorp/terraform |
13 |
|
14 |
Package-Manager: Portage-2.3.54, Repoman-2.3.12 |
15 |
Closes: https://bugs.gentoo.org/634538 |
16 |
Closes: https://github.com/gentoo/gentoo/pull/10740 |
17 |
Signed-off-by: Dan Molik <dan <AT> danmolik.com> |
18 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
19 |
|
20 |
app-admin/terraform/Manifest | 1 + |
21 |
app-admin/terraform/metadata.xml | 28 ++++++++++++++++++++++++++++ |
22 |
app-admin/terraform/terraform-0.11.11.ebuild | 28 ++++++++++++++++++++++++++++ |
23 |
3 files changed, 57 insertions(+) |
24 |
|
25 |
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest |
26 |
new file mode 100644 |
27 |
index 00000000000..d83bd780e06 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/terraform/Manifest |
30 |
@@ -0,0 +1 @@ |
31 |
+DIST terraform-0.11.11.tar.gz 10938952 BLAKE2B 76062c2c95c95751f7a1a28fc7047ebd2255504dece99efa08ea8deede5e774a838571a2e0ab81fa90e2580823958d8e1781d154ecbed9c1d839a0cb2998487c SHA512 7c0cf4b0b70eab7dc88133d50ac4b586b72ac53e01c21c00766d03d10c753cfd404b146add21e378be8f1d305c5e92703cbaeac9e4c4b55bfc8b2532f74f63ee |
32 |
|
33 |
diff --git a/app-admin/terraform/metadata.xml b/app-admin/terraform/metadata.xml |
34 |
new file mode 100644 |
35 |
index 00000000000..6cdb29b9fbe |
36 |
--- /dev/null |
37 |
+++ b/app-admin/terraform/metadata.xml |
38 |
@@ -0,0 +1,28 @@ |
39 |
+<?xml version="1.0" encoding="UTF-8"?> |
40 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
41 |
+<pkgmetadata> |
42 |
+ <maintainer type="person"> |
43 |
+ <email>dan@××××××××.com</email> |
44 |
+ <name>Dan Molik</name> |
45 |
+ </maintainer> |
46 |
+ <maintainer type="project"> |
47 |
+ <email>proxy-maint@g.o</email> |
48 |
+ <name>Proxy Maintainers</name> |
49 |
+ </maintainer> |
50 |
+ <longdescription lang="en"> |
51 |
+ Terraform is a tool for building, changing, and versioning infrastructure |
52 |
+ safely and efficiently. Terraform can manage existing and popular service |
53 |
+ providers as well as custom in-house solutions. |
54 |
+ |
55 |
+ Terraform files describe the components needed to run a single application |
56 |
+ or your entire datacenter. Terraform generates an execution plan describing |
57 |
+ what it will do to reach the desired state, and then executes it to build |
58 |
+ the described infrastructure. As the configuration changes, Terraform is |
59 |
+ able to determine what changed and create incremental execution plans which |
60 |
+ can be applied. |
61 |
+ </longdescription> |
62 |
+ <upstream> |
63 |
+ <changelog>https://github.com/hashicorp/terraform/blob/master/CHANGELOG.md</changelog> |
64 |
+ <remote-id type="github">hashicorp/terraform</remote-id> |
65 |
+ </upstream> |
66 |
+</pkgmetadata> |
67 |
|
68 |
diff --git a/app-admin/terraform/terraform-0.11.11.ebuild b/app-admin/terraform/terraform-0.11.11.ebuild |
69 |
new file mode 100644 |
70 |
index 00000000000..15c8b080b17 |
71 |
--- /dev/null |
72 |
+++ b/app-admin/terraform/terraform-0.11.11.ebuild |
73 |
@@ -0,0 +1,28 @@ |
74 |
+# Copyright 1999-2019 Gentoo Authors |
75 |
+# Distributed under the terms of the GNU General Public License v2 |
76 |
+ |
77 |
+EAPI=6 |
78 |
+ |
79 |
+inherit golang-vcs-snapshot |
80 |
+ |
81 |
+DESCRIPTION="A tool for building, changing, and combining infrastructure safely" |
82 |
+HOMEPAGE="https://www.terraform.io/" |
83 |
+ |
84 |
+EGO_PN="github.com/hashicorp/${PN}" |
85 |
+SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
86 |
+ |
87 |
+LICENSE="MPL-2.0" |
88 |
+SLOT="0" |
89 |
+KEYWORDS="~amd64" |
90 |
+IUSE="" |
91 |
+DEPEND=">=dev-lang/go-1.11.0" |
92 |
+ |
93 |
+src_compile() { |
94 |
+ cd "src/${EGO_PN}" || die |
95 |
+ GOPATH="${S}" GOCACHE="${T}/go-cache" go build \ |
96 |
+ -v -work -o "${S}/${PN}" ./ || die |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ dobin terraform |
101 |
+} |