summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zachary.medico@sony.com>2020-01-14 09:57:51 -0800
committerZac Medico <zmedico@gentoo.org>2020-01-14 09:59:10 -0800
commit586f85248432498a3105e04a4befc88620a2639e (patch)
treec0572c92fa0f0e20b5a3ad1c8c7e760002b5852a /app-admin
parentdev-python/pychromecast: 4.1.0 add for pulseaudio-dlna (diff)
downloadgentoo-586f85248432498a3105e04a4befc88620a2639e.tar.gz
gentoo-586f85248432498a3105e04a4befc88620a2639e.tar.bz2
gentoo-586f85248432498a3105e04a4befc88620a2639e.zip
app-admin/consul-template: Bump to version 0.24.0
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/consul-template/Manifest1
-rw-r--r--app-admin/consul-template/consul-template-0.24.0.ebuild102
2 files changed, 103 insertions, 0 deletions
diff --git a/app-admin/consul-template/Manifest b/app-admin/consul-template/Manifest
index eb97bc96e752..562a7fcc12e6 100644
--- a/app-admin/consul-template/Manifest
+++ b/app-admin/consul-template/Manifest
@@ -1,6 +1,7 @@
DIST consul-template-0.20.0.tar.gz 46430965 BLAKE2B 025919b928e07cda618e05aab4488214459e6bc443524bbf8fa83331c3ad5708ebbeaf0cf20351ff70a325fb56aed9cede3010b43726fa32b5b1997d6f4f294a SHA512 a09ff31ddd7d11d78e8c2afcc9a63ab4458cc9feacc02fbf95a30c82b9ad58526c6e6575f5b3ddb21d0dd720687b9ee135bacdbe761f1b5f95592a3e3e74c170
DIST consul-template-0.22.0.tar.gz 186074 BLAKE2B b2c38e2a0e720fb39ce0978ca929b872e1dd898d510a0ab5697a746257f25fc77e172c418c5db9c9865e2e0530b7d38d7373f7c792e37c723950c02dd06b7859 SHA512 0875a4a20ba9e9e078cd26c620cb9edbd22193b6b5fe25bb6006bd7d3272dcf29d7051448d3672f9d9caaa1b871f08b050fa07882933ad6d13b90d1c8f6406af
DIST consul-template-0.23.0.tar.gz 192356 BLAKE2B 204f0fc7ca6780a60d88ccbd75181897e9c4db5194cd702e2ac3759d456dcb9fcae4a9f8481ccbd2d61609fb9d1330f143a0c039b6278e15d85cc2535cf5b13e SHA512 769992578fb6b9f69e9c41280a46c27e74cabbd7cffddc158dc301ffaa9ad1e5b11e626e5bc2e18532952fecb61f83c107003929e9671d5de4c6f3a82b7120f6
+DIST consul-template-0.24.0.tar.gz 192679 BLAKE2B 85717ad08038c9ec27174220cb5bc7174c8ac8eae9815fd0f403ebf0f5daea39429cfed30939764c53cd1448be94e8a2045e6fdd79af41a4fd913592b4f74600 SHA512 ea5c92b2b30534a2e9e407ebef5057e05f201488f3b46fc9f2b339e1cf56086fac15fff3bc17c5622f852139d1d9b3f872a13b9e6978282f4939c76beeeae28a
DIST github.com-BurntSushi-toml-v0.3.1.tar.gz 42077 BLAKE2B d846b7961dc3447a43e5c91dee1897a9701c997a407d9ba8737d08b82b493f99823eeab87cc9d4fe6dd4dbdb7b0d2a218d9f9f220ffcda2056188afbf0f2ab87 SHA512 75801d0263a68613233f3b18e35b000e1aeb5322015c0f032598d9447122fc45b1854741ce6ce9fb4d5a064546ad26f3d6384710bd8e6e1229ed2d4551524852
DIST github.com-armon-go-metrics-ec5e00d3c878b2a97bbe0884ef45ffd1b4f669f5.tar.gz 27423 BLAKE2B 48344146241205d76ae35407e4e5131db7277a7bcd2b44c966ed2c8fbfcd7bd628dcedb7538c28b9106643f8c0f2af4bf0985ada6cb58db0bff739583435b306 SHA512 bf28c4df0927296214f4e89263e30a6ab7c2f5fb62c20177e597890bb878f68df4aaf5445ff9af629864b38da8f506fb530f09ff22d5d8509ad7b5f4ca20a395
DIST github.com-frankban-quicktest-v1.4.0.tar.gz 26586 BLAKE2B 365dbf6520d5e4b936dfa71022437012b45ca8d499998af8b204fa2f4ad00086b8adbd7c871e494c0a45481809253bbdbb10c05e72f3e6247b29148b61f7a7d7 SHA512 5fb98186c0ce5c96858bd9c018a86f5db2d5b04d7d659a9aafef16e6abb6ea9fbe076c84e74d5b8c5cf7e8460f273bce203dedce0e3ce6c024a16f588acac20d
diff --git a/app-admin/consul-template/consul-template-0.24.0.ebuild b/app-admin/consul-template/consul-template-0.24.0.ebuild
new file mode 100644
index 000000000000..bf93081bbff2
--- /dev/null
+++ b/app-admin/consul-template/consul-template-0.24.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_VENDOR=(
+ "github.com/BurntSushi/toml v0.3.1"
+ "github.com/armon/go-metrics ec5e00d3c878b2a97bbe0884ef45ffd1b4f669f5"
+ "github.com/frankban/quicktest v1.4.0"
+ "github.com/golang/snappy v0.0.1"
+ "github.com/google/btree v1.0.0"
+ "github.com/hashicorp/consul v1.2.0"
+ "github.com/hashicorp/errwrap v1.0.0"
+ "github.com/hashicorp/go-cleanhttp v0.5.1"
+ "github.com/hashicorp/go-gatedio v0.5.0"
+ "github.com/hashicorp/go-hclog v0.9.2"
+ "github.com/hashicorp/go-immutable-radix v1.1.0"
+ "github.com/hashicorp/go-msgpack v0.5.5"
+ "github.com/hashicorp/go-multierror v1.0.0"
+ "github.com/hashicorp/go-retryablehttp v0.6.2"
+ "github.com/hashicorp/go-rootcerts v1.0.1"
+ "github.com/hashicorp/go-sockaddr v1.0.2"
+ "github.com/hashicorp/go-syslog v1.0.0"
+ "github.com/hashicorp/golang-lru v0.5.3"
+ "github.com/hashicorp/hcl v1.0.0"
+ "github.com/hashicorp/logutils v1.0.0"
+ "github.com/hashicorp/memberlist v0.1.4"
+ "github.com/hashicorp/serf v0.8.3"
+ "github.com/hashicorp/vault 746c0b111519166ff2126f55dba7071912c33006"
+ "github.com/mattn/go-shellwords v1.0.5"
+ "github.com/miekg/dns v1.1.15"
+ "github.com/mitchellh/go-homedir v1.1.0"
+ "github.com/mitchellh/hashstructure v1.0.0"
+ "github.com/mitchellh/mapstructure v1.1.2"
+ "github.com/pierrec/lz4 v2.2.5"
+ "github.com/pkg/errors v0.8.1"
+ "github.com/ryanuber/go-glob v1.0.0"
+ "github.com/stretchr/testify v1.3.0"
+ "golang.org/x/crypto 4def268fd1a49955bfb3dda92fe3db4f924f2285 github.com/golang/crypto"
+ "golang.org/x/net ca1201d0de80cfde86cb01aea620983605dfe99b github.com/golang/net"
+ "golang.org/x/sys 1393eb0183657fb29200106b17a5042ec6e48dbe github.com/golang/sys"
+ "golang.org/x/text v0.3.2 github.com/golang/text"
+ "golang.org/x/time c4c64cad1fd0a1a8dab2523e04e61d35308e131e github.com/golang/time"
+ "gopkg.in/check.v1 788fd78401277ebd861206a03c884797c6ec5541 github.com/go-check/check"
+ "gopkg.in/square/go-jose.v2 v2.3.1 github.com/square/go-jose"
+ "gopkg.in/yaml.v2 v2.2.2 github.com/go-yaml/yaml"
+)
+
+inherit golang-vcs-snapshot systemd user
+
+KEYWORDS="~amd64"
+DESCRIPTION="Generic template rendering and notifications with Consul"
+GIT_COMMIT="521adf1"
+EGO_PN="github.com/hashicorp/${PN}"
+HOMEPAGE="https://github.com/hashicorp/consul-template"
+LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 ISC MIT WTFPL-2"
+SLOT="0"
+# TODO: debug test failures
+RESTRICT="test"
+
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_VENDOR_URI}"
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ default
+ # Avoid the need to have a git checkout
+ sed -e "s:git rev-parse --short HEAD:echo ${GIT_COMMIT}:" \
+ -e '/-s \\/d' \
+ -i Makefile || die
+}
+
+src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME
+ export GO111MODULE=on GOFLAGS="-mod=vendor -v -x" GOBIN="${WORKDIR}/${P}/bin"
+ emake dev
+}
+
+src_test() {
+ emake test
+}
+
+src_install() {
+ dobin "${GOBIN}/${PN}"
+ dodoc {CHANGELOG.md,README.md}
+
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+ systemd_dounit "${FILESDIR}/${PN}.service"
+
+ keepdir /etc/${PN}.d
+}