Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/consul-template/
Date: Fri, 01 Jan 2021 06:34:49
Message-Id: 1609482882.3f28346bb8a15ff2717b34451e4cc9becf410c86.zmedico@gentoo
1 commit: 3f28346bb8a15ff2717b34451e4cc9becf410c86
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 06:29:34 2021 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 06:34:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f28346b
7
8 app-admin/consul-template: Bump to version 0.25.1
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-admin/consul-template/Manifest | 1 +
14 .../consul-template/consul-template-0.25.1.ebuild | 310 +++++++++++++++++++++
15 2 files changed, 311 insertions(+)
16
17 diff --git a/app-admin/consul-template/Manifest b/app-admin/consul-template/Manifest
18 index 02ffb09921f..846c44f602d 100644
19 --- a/app-admin/consul-template/Manifest
20 +++ b/app-admin/consul-template/Manifest
21 @@ -1,5 +1,6 @@
22 DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
23 DIST consul-template-0.25.0.tar.gz 197301 BLAKE2B f6e7d87b6fbb1d56728af0116ce0cd3ace800fa2e1d1edea57acbcd9cd1f1cf9a625426ab139744083071a1641a99aa526d44f28a147bbb1f2afe714b83969fd SHA512 225e0e1f400b6ca6913758f0c4c77788977d4e6f861d50efa89662a652b1c8c648d269c9cb42ae5a590739ab1159a8b1a386cd9942a1c7dafc5200a8923b4c9b
24 +DIST consul-template-0.25.1.tar.gz 198375 BLAKE2B e5cb75193a50939b92f6b9db9e998577f1c62cf55944052a4e9ca574ea52fe7284b2395ee3ce237923cc79337453ec43d37c103f3a7bf0fc092c877164ed89fa SHA512 ac02d6c26daadda62aff9b908836a6ac342ebebb9429c7a75306c4a76a2ba6bc6ab97f26e17ebfa64c171622068f89d006d48ccd7bfa28a71b43245357cbf524
25 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
26 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.zip 56132 BLAKE2B 5edcfe991d7fc40094d637bae8d8d6f1f897ab3d3786ade2bb80287738103264520681ced8d30d2037253206c32d3f867f4d024a571cb9aad030ebc451e198eb SHA512 43ed64ae515738487e9b75a2290d0b2bc25e83c021a9f29b21487c37adbf34e74e1e7d3d5ec0dfe678c8396356f95c3993a5f5610d1791ff62056cd182a4272f
27 DIST github.com%2F!data!dog%2Fdatadog-go%2F@v%2Fv2.2.0+incompatible.mod 37 BLAKE2B 74a94066231395cbd85f1dbbb68408161ef74781c0c686746f97365dceb3ca69e3b924a86e6639b5e4cbcf64928fa21245e6828339105a779a86bc4f132a5bf5 SHA512 da3a3499834784b7ace8158659956206fdb113000fdc84d54b6525805727e37029bdcf263afcbabe724d8b10f6601f1f38a985e6ac10fd0466907ae56da3edd7
28
29 diff --git a/app-admin/consul-template/consul-template-0.25.1.ebuild b/app-admin/consul-template/consul-template-0.25.1.ebuild
30 new file mode 100644
31 index 00000000000..3b5be73122e
32 --- /dev/null
33 +++ b/app-admin/consul-template/consul-template-0.25.1.ebuild
34 @@ -0,0 +1,310 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit go-module systemd
41 +
42 +DESCRIPTION="Generic template rendering and notifications with Consul"
43 +HOMEPAGE="https://github.com/hashicorp/consul-template"
44 +
45 +EGO_SUM=(
46 +"cloud.google.com/go v0.26.0/go.mod"
47 +"github.com/BurntSushi/toml v0.3.1"
48 +"github.com/BurntSushi/toml v0.3.1/go.mod"
49 +"github.com/DataDog/datadog-go v2.2.0+incompatible/go.mod"
50 +"github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod"
51 +"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da"
52 +"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod"
53 +"github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878"
54 +"github.com/armon/go-metrics v0.0.0-20190430140413-ec5e00d3c878/go.mod"
55 +"github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310"
56 +"github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod"
57 +"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
58 +"github.com/bgentry/speakeasy v0.1.0/go.mod"
59 +"github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod"
60 +"github.com/circonus-labs/circonusllhist v0.1.3/go.mod"
61 +"github.com/client9/misspell v0.3.4/go.mod"
62 +"github.com/davecgh/go-spew v1.1.0/go.mod"
63 +"github.com/davecgh/go-spew v1.1.1"
64 +"github.com/davecgh/go-spew v1.1.1/go.mod"
65 +"github.com/fatih/color v1.7.0/go.mod"
66 +"github.com/fatih/color v1.9.0"
67 +"github.com/fatih/color v1.9.0/go.mod"
68 +"github.com/fatih/structs v1.1.0/go.mod"
69 +"github.com/frankban/quicktest v1.4.0"
70 +"github.com/frankban/quicktest v1.4.0/go.mod"
71 +"github.com/go-ldap/ldap v3.0.2+incompatible/go.mod"
72 +"github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod"
73 +"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
74 +"github.com/golang/mock v1.1.1/go.mod"
75 +"github.com/golang/protobuf v1.2.0/go.mod"
76 +"github.com/golang/protobuf v1.3.1/go.mod"
77 +"github.com/golang/snappy v0.0.1"
78 +"github.com/golang/snappy v0.0.1/go.mod"
79 +"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c"
80 +"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
81 +"github.com/google/btree v1.0.0"
82 +"github.com/google/btree v1.0.0/go.mod"
83 +"github.com/google/go-cmp v0.2.0/go.mod"
84 +"github.com/google/go-cmp v0.3.0"
85 +"github.com/google/go-cmp v0.3.0/go.mod"
86 +"github.com/hashicorp/consul/api v1.4.0"
87 +"github.com/hashicorp/consul/api v1.4.0/go.mod"
88 +"github.com/hashicorp/consul/sdk v0.4.0"
89 +"github.com/hashicorp/consul/sdk v0.4.0/go.mod"
90 +"github.com/hashicorp/errwrap v1.0.0"
91 +"github.com/hashicorp/errwrap v1.0.0/go.mod"
92 +"github.com/hashicorp/go-cleanhttp v0.5.0/go.mod"
93 +"github.com/hashicorp/go-cleanhttp v0.5.1"
94 +"github.com/hashicorp/go-cleanhttp v0.5.1/go.mod"
95 +"github.com/hashicorp/go-gatedio v0.5.0"
96 +"github.com/hashicorp/go-gatedio v0.5.0/go.mod"
97 +"github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod"
98 +"github.com/hashicorp/go-hclog v0.8.0/go.mod"
99 +"github.com/hashicorp/go-hclog v0.12.0"
100 +"github.com/hashicorp/go-hclog v0.12.0/go.mod"
101 +"github.com/hashicorp/go-immutable-radix v1.0.0"
102 +"github.com/hashicorp/go-immutable-radix v1.0.0/go.mod"
103 +"github.com/hashicorp/go-immutable-radix v1.1.0"
104 +"github.com/hashicorp/go-immutable-radix v1.1.0/go.mod"
105 +"github.com/hashicorp/go-msgpack v0.5.3/go.mod"
106 +"github.com/hashicorp/go-msgpack v0.5.5"
107 +"github.com/hashicorp/go-msgpack v0.5.5/go.mod"
108 +"github.com/hashicorp/go-multierror v1.0.0"
109 +"github.com/hashicorp/go-multierror v1.0.0/go.mod"
110 +"github.com/hashicorp/go-plugin v1.0.1/go.mod"
111 +"github.com/hashicorp/go-retryablehttp v0.5.3/go.mod"
112 +"github.com/hashicorp/go-retryablehttp v0.5.4"
113 +"github.com/hashicorp/go-retryablehttp v0.5.4/go.mod"
114 +"github.com/hashicorp/go-rootcerts v1.0.1"
115 +"github.com/hashicorp/go-rootcerts v1.0.1/go.mod"
116 +"github.com/hashicorp/go-rootcerts v1.0.2"
117 +"github.com/hashicorp/go-rootcerts v1.0.2/go.mod"
118 +"github.com/hashicorp/go-sockaddr v1.0.0/go.mod"
119 +"github.com/hashicorp/go-sockaddr v1.0.2"
120 +"github.com/hashicorp/go-sockaddr v1.0.2/go.mod"
121 +"github.com/hashicorp/go-syslog v1.0.0"
122 +"github.com/hashicorp/go-syslog v1.0.0/go.mod"
123 +"github.com/hashicorp/go-uuid v1.0.0/go.mod"
124 +"github.com/hashicorp/go-uuid v1.0.1"
125 +"github.com/hashicorp/go-uuid v1.0.1/go.mod"
126 +"github.com/hashicorp/go-version v1.1.0/go.mod"
127 +"github.com/hashicorp/go.net v0.0.1/go.mod"
128 +"github.com/hashicorp/golang-lru v0.5.0/go.mod"
129 +"github.com/hashicorp/golang-lru v0.5.1"
130 +"github.com/hashicorp/golang-lru v0.5.1/go.mod"
131 +"github.com/hashicorp/golang-lru v0.5.3"
132 +"github.com/hashicorp/golang-lru v0.5.3/go.mod"
133 +"github.com/hashicorp/hcl v1.0.0"
134 +"github.com/hashicorp/hcl v1.0.0/go.mod"
135 +"github.com/hashicorp/logutils v1.0.0"
136 +"github.com/hashicorp/logutils v1.0.0/go.mod"
137 +"github.com/hashicorp/mdns v1.0.0/go.mod"
138 +"github.com/hashicorp/memberlist v0.1.3/go.mod"
139 +"github.com/hashicorp/memberlist v0.1.4"
140 +"github.com/hashicorp/memberlist v0.1.4/go.mod"
141 +"github.com/hashicorp/serf v0.8.2/go.mod"
142 +"github.com/hashicorp/serf v0.8.3"
143 +"github.com/hashicorp/serf v0.8.3/go.mod"
144 +"github.com/hashicorp/vault/api v1.0.5-0.20190730042357-746c0b111519"
145 +"github.com/hashicorp/vault/api v1.0.5-0.20190730042357-746c0b111519/go.mod"
146 +"github.com/hashicorp/vault/sdk v0.1.14-0.20190730042320-0dc007d98cc8"
147 +"github.com/hashicorp/vault/sdk v0.1.14-0.20190730042320-0dc007d98cc8/go.mod"
148 +"github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod"
149 +"github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod"
150 +"github.com/kr/pretty v0.1.0"
151 +"github.com/kr/pretty v0.1.0/go.mod"
152 +"github.com/kr/pretty v0.2.0"
153 +"github.com/kr/pretty v0.2.0/go.mod"
154 +"github.com/kr/pty v1.1.1/go.mod"
155 +"github.com/kr/text v0.1.0"
156 +"github.com/kr/text v0.1.0/go.mod"
157 +"github.com/mattn/go-colorable v0.0.9/go.mod"
158 +"github.com/mattn/go-colorable v0.1.4"
159 +"github.com/mattn/go-colorable v0.1.4/go.mod"
160 +"github.com/mattn/go-isatty v0.0.3/go.mod"
161 +"github.com/mattn/go-isatty v0.0.8/go.mod"
162 +"github.com/mattn/go-isatty v0.0.10/go.mod"
163 +"github.com/mattn/go-isatty v0.0.11/go.mod"
164 +"github.com/mattn/go-isatty v0.0.12"
165 +"github.com/mattn/go-isatty v0.0.12/go.mod"
166 +"github.com/mattn/go-shellwords v1.0.5"
167 +"github.com/mattn/go-shellwords v1.0.5/go.mod"
168 +"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
169 +"github.com/miekg/dns v1.0.14"
170 +"github.com/miekg/dns v1.0.14/go.mod"
171 +"github.com/miekg/dns v1.1.15"
172 +"github.com/miekg/dns v1.1.15/go.mod"
173 +"github.com/mitchellh/cli v1.0.0/go.mod"
174 +"github.com/mitchellh/copystructure v1.0.0/go.mod"
175 +"github.com/mitchellh/go-homedir v1.1.0"
176 +"github.com/mitchellh/go-homedir v1.1.0/go.mod"
177 +"github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod"
178 +"github.com/mitchellh/go-testing-interface v1.0.0"
179 +"github.com/mitchellh/go-testing-interface v1.0.0/go.mod"
180 +"github.com/mitchellh/go-wordwrap v1.0.0/go.mod"
181 +"github.com/mitchellh/gox v0.4.0/go.mod"
182 +"github.com/mitchellh/hashstructure v1.0.0"
183 +"github.com/mitchellh/hashstructure v1.0.0/go.mod"
184 +"github.com/mitchellh/iochan v1.0.0/go.mod"
185 +"github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod"
186 +"github.com/mitchellh/mapstructure v1.1.2"
187 +"github.com/mitchellh/mapstructure v1.1.2/go.mod"
188 +"github.com/mitchellh/reflectwalk v1.0.0/go.mod"
189 +"github.com/oklog/run v1.0.0/go.mod"
190 +"github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod"
191 +"github.com/pascaldekloe/goe v0.1.0"
192 +"github.com/pascaldekloe/goe v0.1.0/go.mod"
193 +"github.com/pierrec/lz4 v2.0.5+incompatible"
194 +"github.com/pierrec/lz4 v2.0.5+incompatible/go.mod"
195 +"github.com/pierrec/lz4 v2.2.5+incompatible"
196 +"github.com/pierrec/lz4 v2.2.5+incompatible/go.mod"
197 +"github.com/pkg/errors v0.8.1"
198 +"github.com/pkg/errors v0.8.1/go.mod"
199 +"github.com/pmezard/go-difflib v1.0.0"
200 +"github.com/pmezard/go-difflib v1.0.0/go.mod"
201 +"github.com/posener/complete v1.1.1/go.mod"
202 +"github.com/prometheus/client_golang v0.9.2/go.mod"
203 +"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
204 +"github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod"
205 +"github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod"
206 +"github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod"
207 +"github.com/ryanuber/columnize v2.1.0+incompatible/go.mod"
208 +"github.com/ryanuber/go-glob v1.0.0"
209 +"github.com/ryanuber/go-glob v1.0.0/go.mod"
210 +"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529"
211 +"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod"
212 +"github.com/stretchr/objx v0.1.0/go.mod"
213 +"github.com/stretchr/testify v1.2.2/go.mod"
214 +"github.com/stretchr/testify v1.3.0"
215 +"github.com/stretchr/testify v1.3.0/go.mod"
216 +"github.com/stretchr/testify v1.4.0"
217 +"github.com/stretchr/testify v1.4.0/go.mod"
218 +"github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod"
219 +"golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod"
220 +"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
221 +"golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4"
222 +"golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod"
223 +"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
224 +"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
225 +"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
226 +"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
227 +"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
228 +"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
229 +"golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod"
230 +"golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod"
231 +"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
232 +"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
233 +"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3"
234 +"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
235 +"golang.org/x/net v0.0.0-20190620200207-3b0461eec859"
236 +"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
237 +"golang.org/x/net v0.0.0-20190724013045-ca1201d0de80"
238 +"golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod"
239 +"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
240 +"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
241 +"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
242 +"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4"
243 +"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
244 +"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6"
245 +"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
246 +"golang.org/x/sync v0.0.0-20190423024810-112230192c58"
247 +"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
248 +"golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod"
249 +"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
250 +"golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod"
251 +"golang.org/x/sys v0.0.0-20190129075346-302c3dd5f1cc/go.mod"
252 +"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
253 +"golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod"
254 +"golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e"
255 +"golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod"
256 +"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
257 +"golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod"
258 +"golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod"
259 +"golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod"
260 +"golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9"
261 +"golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod"
262 +"golang.org/x/text v0.3.0"
263 +"golang.org/x/text v0.3.0/go.mod"
264 +"golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db"
265 +"golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db/go.mod"
266 +"golang.org/x/text v0.3.2"
267 +"golang.org/x/text v0.3.2/go.mod"
268 +"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4"
269 +"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod"
270 +"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
271 +"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
272 +"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
273 +"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
274 +"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
275 +"google.golang.org/appengine v1.1.0/go.mod"
276 +"google.golang.org/appengine v1.4.0/go.mod"
277 +"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
278 +"google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod"
279 +"google.golang.org/grpc v1.14.0/go.mod"
280 +"google.golang.org/grpc v1.19.0/go.mod"
281 +"google.golang.org/grpc v1.22.0/go.mod"
282 +"gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d/go.mod"
283 +"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
284 +"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15"
285 +"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
286 +"gopkg.in/square/go-jose.v2 v2.3.1"
287 +"gopkg.in/square/go-jose.v2 v2.3.1/go.mod"
288 +"gopkg.in/yaml.v2 v2.2.2"
289 +"gopkg.in/yaml.v2 v2.2.2/go.mod"
290 +"gopkg.in/yaml.v2 v2.2.8"
291 +"gopkg.in/yaml.v2 v2.2.8/go.mod"
292 +"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
293 +"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
294 + )
295 +go-module_set_globals
296 +SRC_URI="https://github.com/hashicorp/consul-template/archive/v${PV}.tar.gz -> ${P}.tar.gz
297 + ${EGO_SUM_SRC_URI}"
298 +
299 +LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 ISC MIT WTFPL-2"
300 +SLOT="0"
301 +KEYWORDS="~amd64"
302 +
303 +COMMON_DEPEND="
304 + acct-group/consul-template
305 + acct-user/consul-template"
306 +
307 +DEPEND="${COMMON_DEPEND}"
308 +RDEPEND="${COMMON_DEPEND}"
309 +
310 +# TODO: debug test failures
311 +RESTRICT="test"
312 +
313 +src_prepare() {
314 + default
315 + # remove -s and -w from the linker flags
316 + sed \
317 + -e '/-s \\/d' \
318 + -e '/-w \\/d' \
319 + -i Makefile || die
320 +}
321 +
322 +src_compile() {
323 + emake GOBIN="${S}"/bin dev
324 +}
325 +
326 +src_test() {
327 + emake GOBIN="${S}"/bin test
328 +}
329 +
330 +src_install() {
331 + dobin bin/${PN}
332 + dodoc CHANGELOG.md README.md
333 +
334 + newinitd "${FILESDIR}/${PN}.initd" "${PN}"
335 + newconfd "${FILESDIR}/${PN}.confd" "${PN}"
336 + insinto /etc/logrotate.d
337 + newins "${FILESDIR}/${PN}.logrotated" "${PN}"
338 + systemd_dounit "${FILESDIR}/${PN}.service"
339 +
340 + keepdir /etc/${PN}.d
341 +
342 + keepdir /var/log/${PN}
343 + fowners ${PN}:${PN} /var/log/${PN}
344 +}