Gentoo Archives: gentoo-commits

From: Samuel Bernardo <samuelbernardo.mail@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/ssnb:master commit in: app-admin/chefdk-omnibus/, app-admin/terraform/, ...
Date: Thu, 08 Feb 2018 00:24:49
Message-Id: 1518049437.9eb1dbcbbf85fcd5f63495c51557224ce8cee6d7.samuelbernardo@gentoo
1 commit: 9eb1dbcbbf85fcd5f63495c51557224ce8cee6d7
2 Author: Samuel Bernardo <samuelbernardo <AT> tecnico <DOT> ulisboa <DOT> pt>
3 AuthorDate: Thu Feb 8 00:23:57 2018 +0000
4 Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
5 CommitDate: Thu Feb 8 00:23:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=9eb1dbcb
7
8 Update chefdk and terraform. Add terraform-provider-libvirt.
9
10 app-admin/chefdk-omnibus/Manifest | 2 +
11 .../chefdk-omnibus/chefdk-omnibus-2.4.17.ebuild | 40 ++++++
12 app-admin/terraform-provider-libvirt/Manifest | 3 +
13 app-admin/terraform-provider-libvirt/metadata.xml | 14 +++
14 .../terraform-provider-libvirt-0.3.ebuild | 33 +++++
15 app-admin/terraform/Manifest | 3 +
16 app-admin/terraform/metadata.xml | 139 +++++++++++++++++++++
17 app-admin/terraform/terraform-0.11.3.ebuild | 42 +++++++
18 8 files changed, 276 insertions(+)
19
20 diff --git a/app-admin/chefdk-omnibus/Manifest b/app-admin/chefdk-omnibus/Manifest
21 index 3944a63..eff4330 100644
22 --- a/app-admin/chefdk-omnibus/Manifest
23 +++ b/app-admin/chefdk-omnibus/Manifest
24 @@ -5,6 +5,7 @@ DIST chefdk_1.3.43-1_amd64.deb 104849402 SHA256 ddc9ae7e0d9d0199c75eda39b84af800
25 DIST chefdk_1.4.3-1_amd64.deb 103914920 SHA256 df0d3945b5e508bca890ed74c5a4fa2cabdce19fbb808b6d2dfd5e2eac9adbdf SHA512 cce2c7d466e0eaf55eb71e0d59db091d7671443e8f14c00d732df4603aab78803367a315223a93744d56f39fe477cfb772b67e513befc73fe65574b6ed058975 WHIRLPOOL a3988f990624373f80cc255b3438ca206146cdc811fea6597d838714a3a1969306add00104bee1b5476f1b0a8e84e1642198fc8d0aa65b7a78785fcfa0ce086b
26 DIST chefdk_1.6.1-1_amd64.deb 105970280 SHA256 ffa2c4e1cd624b86a28a23e9ad13b6b6a7e7e651ef22b3dc55fd56427775ad1c SHA512 3ca1366b37deef40266470c66eade36b934962518a769f97927688895dfb554cbc707660c8c2409f0890afbd452eea69de8cff45e4cebda5df1fba9d7e329bb4 WHIRLPOOL 6977336bf8816366501eaa601021869c2c2a52ef80b538882df1eeee0f96c6e6be95b1cf420d6133fbfc5374b7e1e32d1f132fb3adc4520c5742ddb51437d086
27 DIST chefdk_2.3.4-1_amd64.deb 102667650 SHA256 ff7124bfd4ad4b7351177df89b3986661f95e14df2dfb5b9ea6b0af247c2c07d SHA512 9abf85bc3c73fe0e6cb5a1e90985aed1e6eae89ff970ae3ce218ed0e3074d948650bc444f1fd5085dd6f4b04cf5524ee1db583dd58715e9dc87f1ea758c19486 WHIRLPOOL 1d6643d0af7373043d6c716cf812f110b91c47d951ef5a33ad6aafcdfe243b53700e5f6f0e23193f2c9228cdd12bda9c925d1e9dd7b49669e45b57aeb1f6b8bb
28 +DIST chefdk_2.4.17-1_amd64.deb 104587308 SHA256 15c40af26358ba6b1be23d5255b49533fd8e5421f7afbc716dcb94384b92e1b0 SHA512 7d2fd6d192072b82edae1efc13232be29a7fd66ed83d0a4acb79014099cdf23f970afafb454700b612f31d95abe7d8bbb344c838e193d7157e39c2a520597757 WHIRLPOOL 8540d7f8df8df1f9a46bf517e1f9eba0de21ba4ae5bc8dbece3451cdcd20846cdbcccda8fa2f8006604ac44762cd599256188f913d9e17eebe3b18a688c76c40
29 EBUILD chefdk-omnibus-0.16.28.ebuild 986 SHA256 2eee6476fc6b2a59c67b47f316242c82e633b37094d2529e244e901e5ab59636 SHA512 2b3d5677ba6b462346200bdfb62ac48f5fc015ec234f08dbb15df8f191c687d2d1d01d8967e29ac202201ca9dbdbae752d7990ae1d879e70edede8f9c72d16be WHIRLPOOL b1d68ccf24e55b2721b301cc36099c8f73b00bef4041327abb45b3574df2116f16cf97b6c586cac714b0fe766bc601766800c5c5a94cb0b7408ae6a6b81f417f
30 EBUILD chefdk-omnibus-1.2.22.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49 WHIRLPOOL e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d
31 EBUILD chefdk-omnibus-1.3.40.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49 WHIRLPOOL e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d
32 @@ -12,3 +13,4 @@ EBUILD chefdk-omnibus-1.3.43.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6
33 EBUILD chefdk-omnibus-1.4.3.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49 WHIRLPOOL e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d
34 EBUILD chefdk-omnibus-1.6.1.ebuild 1086 SHA256 c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49 WHIRLPOOL e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d
35 EBUILD chefdk-omnibus-2.3.4.ebuild 1097 SHA256 f084aaffa0bb2c2300257be25197fc48bf156e586c07ed5cb03e969d3fcbc7c4 SHA512 34186f9e657b4b779ce39909594b302f915cc2775387b146d21d0567de4501d976a740093999555d9f2032d72393b0a31938aec04ed2e7a732b06fe4ca24a0cb WHIRLPOOL 9277cf92ec4bb1f802b0c735fafa66c8c5b5202cb265fd83825c869943afa22c189c4149b8868d2d11addf3c92b27ca8b64e50bf1ee221c35596a7709f3bdb9d
36 +EBUILD chefdk-omnibus-2.4.17.ebuild 1097 SHA256 f084aaffa0bb2c2300257be25197fc48bf156e586c07ed5cb03e969d3fcbc7c4 SHA512 34186f9e657b4b779ce39909594b302f915cc2775387b146d21d0567de4501d976a740093999555d9f2032d72393b0a31938aec04ed2e7a732b06fe4ca24a0cb WHIRLPOOL 9277cf92ec4bb1f802b0c735fafa66c8c5b5202cb265fd83825c869943afa22c189c4149b8868d2d11addf3c92b27ca8b64e50bf1ee221c35596a7709f3bdb9d
37
38 diff --git a/app-admin/chefdk-omnibus/chefdk-omnibus-2.4.17.ebuild b/app-admin/chefdk-omnibus/chefdk-omnibus-2.4.17.ebuild
39 new file mode 100644
40 index 0000000..6914866
41 --- /dev/null
42 +++ b/app-admin/chefdk-omnibus/chefdk-omnibus-2.4.17.ebuild
43 @@ -0,0 +1,40 @@
44 +# Blatently stolen from https://github.com/lxmx/gentoo-overlay
45 +
46 +EAPI="4"
47 +
48 +DESCRIPTION="Omnibus installation of ChefDK"
49 +HOMEPAGE="http://www.opscode.com/chefdk/install/"
50 +#SRC_URI="https://packages.chef.io/stable/ubuntu/12.04/chefdk_${PV}-1_amd64.deb"
51 +SRC_URI="https://packages.chef.io/files/stable/chefdk/${PV}/ubuntu/16.04/chefdk_${PV}-1_amd64.deb"
52 +
53 +LICENSE="Apache"
54 +SLOT="0"
55 +KEYWORDS="~amd64"
56 +IUSE=""
57 +
58 +DEPEND=""
59 +RDEPEND="${DEPEND}"
60 +
61 +S="${WORKDIR}"
62 +
63 +src_unpack() {
64 + unpack ${A} ./data.tar.gz
65 +}
66 +
67 +src_install() {
68 +
69 + local dest="${D}/opt"
70 + mkdir -p "$dest"
71 +
72 + # cleanup .git folders, any idea why they are in the package?
73 + find "$dest" -type d -name ".git" | xargs rm -rf
74 +
75 + cp -pR ./opt/* "$dest"
76 +
77 + # link executables
78 + binaries="berks chef chef-apply chef-shell chef-solo chef-zero delivery fauxhai foodcritic kitchen knife ohai push-apply pushy-client pushy-service-manager rubocop cookstyle chef-client chef-vault print_execution_environment inspec dco"
79 + for binary in $binaries; do
80 + dosym "$dest/chefdk/bin/$binary" "/usr/bin/$binary" || die "Cannot link $binary to /usr/bin"
81 + done
82 +
83 +}
84
85 diff --git a/app-admin/terraform-provider-libvirt/Manifest b/app-admin/terraform-provider-libvirt/Manifest
86 new file mode 100644
87 index 0000000..ef87d26
88 --- /dev/null
89 +++ b/app-admin/terraform-provider-libvirt/Manifest
90 @@ -0,0 +1,3 @@
91 +DIST terraform-provider-libvirt-0.3.tar.gz 36134363 SHA256 968682b29ea8f9bac3a4316c3034648e2a363d95df648a55c905e96623b758d1 SHA512 d796e79e97386fda28b17e830516f51ecee49fb89b205af14e646fc91dfcb05b609913f087c5ab4d10410da744cdeb8d7257ce8fa10af5ea6afa185da659f643 WHIRLPOOL edd1a46cf88259d5b7b332399754ca5621af88698549ae85e65e6215ea2d24804292dc259d04e20005f780967681d727f2f278bb1bae78771b9e4699a6afe134
92 +EBUILD terraform-provider-libvirt-0.3.ebuild 641 SHA256 0bb3225d8d8c547c17cb44bb9f2168556a1d6f7c8c9433d46a0089a65ea51a25 SHA512 718d514cfc93962b8d755bac2f10cb0466559261f6cf81d9b8b9947bd8725c9228e8297a8dcb8b303a2eb78d658d996cac6ce87dc7a64e27aa3c91b109f5a5c8 WHIRLPOOL 25883f8a80ab09c28dc35e9cc0dbbf7814b58a400b4b9dc891038992ec672c09f4296d97df6aa61260e004e9f8e4428190c17e934633d4463ab70e1e11c9ce07
93 +MISC metadata.xml 374 SHA256 93144e0b60f39e02828759639182ab599568b0f31b91782efa75b26f090de2ce SHA512 1c800c0c808027f28515a0c8ec9c1299fee4db7e1081e5fa4de53aef319dc0743e38ae9e3bf75b50c80c8daf88c2c0b237252f31073914d7510c7b7728c0f880 WHIRLPOOL c1145a25af8539e4893d6d43c88b7440906ae87d5b72a49e8427a09be52de13bbef62503bd8a183b70ee774fe473e44a6b1a4c029afebce966289b2a3c769211
94
95 diff --git a/app-admin/terraform-provider-libvirt/metadata.xml b/app-admin/terraform-provider-libvirt/metadata.xml
96 new file mode 100644
97 index 0000000..0fbe78e
98 --- /dev/null
99 +++ b/app-admin/terraform-provider-libvirt/metadata.xml
100 @@ -0,0 +1,14 @@
101 +<?xml version="1.0" encoding="UTF-8"?>
102 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
103 +<pkgmetadata>
104 + <maintainer type="person">
105 + <email>samuelbernardo.mail@×××××.com</email>
106 + <name>Samuel Bernardo</name>
107 + <description></description>
108 + </maintainer>
109 + <use>
110 + <flag name="libvirt">
111 + Builds the provider for libvirt
112 + </flag>
113 + </use>
114 +</pkgmetadata>
115
116 diff --git a/app-admin/terraform-provider-libvirt/terraform-provider-libvirt-0.3.ebuild b/app-admin/terraform-provider-libvirt/terraform-provider-libvirt-0.3.ebuild
117 new file mode 100644
118 index 0000000..66afded
119 --- /dev/null
120 +++ b/app-admin/terraform-provider-libvirt/terraform-provider-libvirt-0.3.ebuild
121 @@ -0,0 +1,33 @@
122 +# Copyright 1999-2017 Gentoo Foundation
123 +# Distributed under the terms of the GNU General Public License v2
124 +
125 +EAPI=6
126 +
127 +GOLANG_PKG_IMPORTPATH="github.com/dmacvicar"
128 +GOLANG_PKG_ARCHIVEPREFIX="v"
129 +GOLANG_PKG_HAVE_TEST=1
130 +
131 +inherit golang-single versionator
132 +
133 +#GOLANG_PKG_VERSION="$(get_version_component_range 1-2)"
134 +
135 +DESCRIPTION="Terraform builds, changes, and combines infrastructure safely and efficiently"
136 +HOMEPAGE="http://www.terraform.io"
137 +
138 +LICENSE="Apache 2.0"
139 +SLOT="0"
140 +KEYWORDS="amd64 x86"
141 +IUSE=""
142 +
143 +RDEPEND="app-emulation/libvirt-glib
144 + dev-lang/go
145 + app-cdr/cdrtools"
146 +
147 +DOCS=(
148 + README.md
149 + examples/
150 +)
151 +
152 +src_install() {
153 + golang-single_src_install
154 +}
155
156 diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest
157 index e8cbe52..1142fd9 100644
158 --- a/app-admin/terraform/Manifest
159 +++ b/app-admin/terraform/Manifest
160 @@ -1,2 +1,5 @@
161 +DIST terraform-0.11.3.tar.gz 9820598 SHA256 5c4ac2fef753eeb0d09a6c2772b81720719c698287d46a625cb5050815dbd63b SHA512 983817f183181edd54a3c78260de6ee291beda2b7f8b2ee987c0ce6cf209ce09ca021fb32f1d839bb90c48d14921012ab3328d2ca160d40166e449b5af0236ba WHIRLPOOL 7abf684142b4fa8950d2fa42aad0a3682d65fc53bc6b12cb54d30b69a358859e0facd2e778a415dc0b340d63e54f8c38c911148e6fc8f0cb850f95b0c861a2b5
162 DIST terraform-0.9.6.tar.gz 16880898 SHA256 2af004ee5a155317e6df0158a5d9121d15aa349202ca7d7dd8321f2d9af2218c SHA512 63bbb018555a0b391fffb3fdb93d068d1ab368c170f84bf121b9c94f4e8fad0f6706545fbb8d8a37b8d78b03e8e1ee66e3595d369765223b511d63c7e67fa2b8 WHIRLPOOL bb1ded855d8137c857c5bfa5da70cd9407b6f2c0141c3a644ca594d2e1cfdfd640ad3ec951771c177f7e8d592004ff31315c6c8ffebad05c25a33bede565be62
163 +EBUILD terraform-0.11.3.ebuild 925 SHA256 da6b9872d56c00e02dfaeeaf11b96650d3858c25e52fe31fa027fb6fdac0cfd7 SHA512 350a9f11785f0bb86664981cb2647e0b47f7b53bef3e629719105b7e88d371ce66948b7679081f2fc0b2c4dd6aa728c37d6199ade855dc98b078f7f77085bee1 WHIRLPOOL fa4ca4e7d9c2459c323b8e49542b7caa77b9c05848a75a58d97adf7bde76d8cbb4549564ad9dfcf5aad8ef44411baa134806b5745457a609e190796e95adb3f9
164 EBUILD terraform-0.9.6.ebuild 1921 SHA256 156538047597c210a585f56ce85a6066a7e44cf2abec5e32a3697a367b8a1ba2 SHA512 e0d39decd9313b3d0668b9a8782065621fa44fa148772a1c2bc6de75bde89f83aeffdbe775e46f715233a04e9be1023af79ac1d689a78e0abca0fc9df8fd93e6 WHIRLPOOL a1e8d484ec64a745ff1d0da34a84019d6d8bf648c3190b772897e517a2c78cbb52b3ae2dc8eb28eff54e024fd794206046d35bc7da7f9c92a6ad42ecce86def7
165 +MISC metadata.xml 5113 SHA256 c47095f05d56d07c6a255fa3665d95cd3bef368cfe4d821104d7add71c094fec SHA512 f84bf7d76e06179f4b74ab20ef6df64b05bbc6d0eed3cfed289d5204d6bd545853a4f99c290a9ea9de1c5fa7127faca8b634eef154a35df5aaf39c2ada621453 WHIRLPOOL 5a87f915ecc3f78334c3e2aad0479b12b9410b83cf68f2e9e48caadc3da7da809853a06fd59bc3ca0aa3168b9c5af526f48d4cad9f60d841fa2d460403453410
166
167 diff --git a/app-admin/terraform/metadata.xml b/app-admin/terraform/metadata.xml
168 new file mode 100644
169 index 0000000..266fcd4
170 --- /dev/null
171 +++ b/app-admin/terraform/metadata.xml
172 @@ -0,0 +1,139 @@
173 +<?xml version="1.0" encoding="UTF-8"?>
174 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
175 +<pkgmetadata>
176 + <maintainer type="person">
177 + <email>samuelbernardo.mail@×××××.com</email>
178 + <name>Samuel Bernardo</name>
179 + <description>Original source from go-overlay</description>
180 + </maintainer>
181 + <use>
182 + <flag name="fish-completion">Enable fish completion support</flag>
183 + <flag name="atlas">
184 + Builds the provider that interacts with resources, configuration,
185 + artifacts, and metadata managed by Atlas https://atlas.hashicorp.com
186 + </flag>
187 + <flag name="aws">
188 + Builds the provider that interacts with the many resources supported
189 + by Amazon Web Services https://aws.amazon.com
190 + </flag>
191 + <flag name="azure">
192 + Builds the provider that interacts with the many resources supported
193 + by Microsoft Azure https://azure.microsoft.com
194 + </flag>
195 + <flag name="cloudflare">
196 + Builds the provider that interact with the DNS resources supported
197 + by CloudFlare https://www.cloudflare.com
198 + </flag>
199 + <flag name="cloudstack">
200 + Builds the provider that interact with the many resources supported
201 + by Apache CloudStack https://cloudstack.apache.org
202 + </flag>
203 + <flag name="consul">
204 + Builds the provider that exposes resources used to interact with a
205 + Consul cluster <pkg>app-admin/consul</pkg>
206 + </flag>
207 + <flag name="digitalocean">
208 + Builds the provider that interacts with the resources supported by
209 + DigitalOcean https://www.digitalocean.com
210 + </flag>
211 + <flag name="dnsimple">
212 + Builds the provider that interacts with the resources supported by
213 + DNSimple https://dnsimple.com
214 + </flag>
215 + <flag name="docker">
216 + Builds the provider that interacts with Docker <pkg>app-emulation/docker</pkg>
217 + containers and images, by using Docker API
218 + </flag>
219 + <flag name="dyn">
220 + Builds the provider that interacts with the resources supported by
221 + Dyn http://dyn.com
222 + </flag>
223 + <flag name="google">
224 + Builds the provider that interacts with Google Cloud services
225 + https://cloud.google.com
226 + </flag>
227 + <flag name="heroku">
228 + Builds the provider that interacts with the resources supported by
229 + Heroku https://www.heroku.com
230 + </flag>
231 + <flag name="librato">
232 + Builds the provider that interacts with the resources supported by
233 + Librato Spaces https://www.librato.com
234 + </flag>
235 + <flag name="mailgun">
236 + Builds the provider that interacts with the resources supported by
237 + Mailgun http://www.mailgun.com
238 + </flag>
239 + <flag name="null">
240 + Builds the provider that allows you to configure provisioners that
241 + are not directly associated with a single existing resource
242 + </flag>
243 + <flag name="openstack">
244 + Builds the provider that interacts with the many resources supported
245 + by OpenStack <pkg>sys-cluster/openstack-meta</pkg>
246 + </flag>
247 + <flag name="packet">
248 + Builds the provider that interacts with the resources supported by
249 + Packet https://www.packet.net
250 + </flag>
251 + <flag name="powerdns">
252 + Build the provider that manipulates DNS records supported by
253 + PowerDNS server http://powerdns.com
254 + </flag>
255 + <flag name="rundeck">
256 + Builds the provider that creates and configures Projects, Jobs and
257 + Keys in Rundeck http://rundeck.org
258 + </flag>
259 + <flag name="softlayer">
260 + Builds the provider that interacts with the resources supported by
261 + IBM's SoftLayer https://www.softlayer.com
262 + </flag>
263 + <flag name="statuscake">
264 + Builds the provider that creates and configures tests in StatusCake
265 + https://www.statuscake.com
266 + </flag>
267 + <flag name="template">
268 + Builds a provider that exposes resources to use templates to
269 + generate strings for other Terraform resources or outputs.
270 + </flag>
271 + <flag name="tls">
272 + Builds the provider that provides utilities for working with
273 + Transport Layer Security keys and certificates
274 + </flag>
275 + <flag name="vsphere">
276 + Builds the provider that interacts with the resources supported by
277 + VMware vSphere http://www.vmware.com/products/vsphere
278 + </flag>
279 + <flag name="dme">
280 + Builds the provider that interacts with the resources supported by
281 + DNSMadeEasy http://www.dnsmadeeasy.com
282 + </flag>
283 + <flag name="chef">
284 + Builds the provisioner that invokes a Chef Client https://www.chef.io
285 + </flag>
286 + <flag name="file">
287 + Builds the provisioner that copies files or directories from the
288 + machine executing Terraform to the newly created resource
289 + </flag>
290 + <flag name="local-exec">
291 + Builds the provisioner that invokes a local executable after a
292 + resource is created
293 + </flag>
294 + <flag name="remote-exec">
295 + Builds the provisioner that invokes a script on a remote resource
296 + after it is created
297 + </flag>
298 + <flag name="vcd">
299 + Builds the provider that is used to interact with the resources
300 + supported by VMware vCloud Director http://www.vmware.com/products/vcloud-director/
301 + </flag>
302 + <flag name="azurerm">
303 + Builds the provider is used to interact with the many resources
304 + supported by Azure, via the Azure Resource Manager API.
305 + </flag>
306 + <flag name="postgresql">
307 + Builds the provider that gives the ability to deploy and configure
308 + resources in a PostgreSQL server.
309 + </flag>
310 + </use>
311 +</pkgmetadata>
312
313 diff --git a/app-admin/terraform/terraform-0.11.3.ebuild b/app-admin/terraform/terraform-0.11.3.ebuild
314 new file mode 100644
315 index 0000000..7876b31
316 --- /dev/null
317 +++ b/app-admin/terraform/terraform-0.11.3.ebuild
318 @@ -0,0 +1,42 @@
319 +# Copyright 1999-2017 Gentoo Foundation
320 +# Distributed under the terms of the GNU General Public License v2
321 +
322 +EAPI=6
323 +
324 +GOLANG_PKG_IMPORTPATH="github.com/hashicorp"
325 +GOLANG_PKG_ARCHIVEPREFIX="v"
326 +GOLANG_PKG_HAVE_TEST=1
327 +
328 +inherit golang-single
329 +
330 +DESCRIPTION="Terraform builds, changes, and combines infrastructure safely and efficiently"
331 +HOMEPAGE="http://www.terraform.io"
332 +
333 +LICENSE="MPL-2.0"
334 +SLOT="0"
335 +KEYWORDS="amd64 x86"
336 +IUSE="zsh-completion fish-completion"
337 +
338 +RDEPEND="fish-completion? ( app-shells/fish )
339 + zsh-completion? ( app-shells/zsh )"
340 +
341 +DOCS=(
342 + README.md
343 + examples/
344 +)
345 +
346 +src_install() {
347 + golang-single_src_install
348 +
349 + # Install fish completion files
350 + if use fish-completion; then
351 + insinto /usr/share/fish/functions/
352 + newins contrib/fish-completion/${PN}.fish ${PN}.fish
353 + fi
354 +
355 + # Install zsh completion files
356 + if use zsh-completion; then
357 + insinto /usr/share/zsh/site-functions
358 + newins contrib/zsh-completion/_${PN} _${PN}
359 + fi
360 +}