summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-06-03 18:38:28 -0700
committerZac Medico <zmedico@gentoo.org>2017-06-03 20:30:43 -0700
commit54f985ed2c3922e783b67ca1a621343b204bf145 (patch)
tree85669c1a39895697602deb7a9776b0d14f3011e1 /app-admin/consul-template
parentapp-admin/vault: version bump to 0.7.2 (diff)
downloadgentoo-54f985ed2c3922e783b67ca1a621343b204bf145.tar.gz
gentoo-54f985ed2c3922e783b67ca1a621343b204bf145.tar.bz2
gentoo-54f985ed2c3922e783b67ca1a621343b204bf145.zip
app-admin/consul-template: version bump to 0.18.5
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-admin/consul-template')
-rw-r--r--app-admin/consul-template/Manifest1
-rw-r--r--app-admin/consul-template/consul-template-0.18.5.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/app-admin/consul-template/Manifest b/app-admin/consul-template/Manifest
index 8fade34db067..bb8c22a262a5 100644
--- a/app-admin/consul-template/Manifest
+++ b/app-admin/consul-template/Manifest
@@ -2,6 +2,7 @@ DIST aws-sdk-go-1.0.11.tar.gz 2914311 SHA256 7750f3ed8f616fdfa5c478b176894790990
DIST consul-0.6.3.tar.gz 2224536 SHA256 5cdc21d6f20f9b703d38e19d3d2ed1c037dcbb236b80bff6a9b9c481ded74435 SHA512 c80b96e18c283f8d2dc7542393e9d788c8247200890b1f2ecdf292b545c01c971f1452f6b37b23b92654409a191fbd4608710b1ca31d6c426ff77b53c4840c4b WHIRLPOOL b021bb7ecc97c2a99e88a8dd17dc1958fe7b2d17848c9e629edb0627d72d5651f96ef625cda4280989463e66c4b48880690b5e4a1180117bc762062be3b0566a
DIST consul-template-0.12.2.tar.gz 93913 SHA256 9d8ae6ba84caa826400a3eef0e28325518a21c44332eebaaf3878dc5972f3997 SHA512 c085d916d7e7ae933583b6f397c73117a35b2f54e634db9bbe43a3e6f6b9497177729b3b5e25f028766eb6f9f59ff411486390bc2f544806af04f9038729533e WHIRLPOOL af485e0b743eb3d34d52bdbc6dd1edcf17614e07061384f24c5bd1d5d74d5a5bc1c092553fd074269566298847af2052ffd6dbf8b8e9a524438227e7230fe2d8
DIST consul-template-0.16.0.tar.gz 2369947 SHA256 c20e1e54c333baa8b1e031710f71a5a533ffe079d657763567478a021344ff55 SHA512 7f5f34ae7ccd5a9ce27f07a96bd6b226a78197d1455bbba76c5aab36d93090661eafc0ed513fce6930020095ab4cda799f71ed208a85ba83f540204f0d041994 WHIRLPOOL e6b11aa093bf2c0910c2dbac98703d7aed935ebf68f3cad059ca0f4f1ccda0f59ced2851aff916003c2fea99830f418296fe067d96d039ad3306e4a3a448870f
+DIST consul-template-0.18.5.tar.gz 5285939 SHA256 749bff38cefc1a2ced91a73f766550fb36ed793f402041bf31c624d1969e5b0b SHA512 1709c889cd414d2b3510400e8077aec49006c31958618a38f6bce78dad2ba4aac5405410b030bf968b5cf148f4cfbe963ccf95a015cd1e58f2f6d1f09edc13de WHIRLPOOL 9d9062043414d19d9038c962206d9868bef517a00e773a4205bf4c909fc0c9a8e0a2609b2cd92947159d91b7ae9adc3a96d7d3bf8865d11562d0a9e7c9940ee7
DIST copystructure-6fc66267e9da7d155a9d3bd489e00dad02666dc6.tar.gz 4028 SHA256 4e7271e88e101ac324f799c421b1c8c1477d1f54048d6b6b1ff3930498870272 SHA512 3c804e126f676cb7a6c5af775b7fdf6a3b591b42315707ebb83a66a96f583eac414e01402bc489d9b218b64db7780f57bd5a4bd922aff59dca068b869f825de5 WHIRLPOOL 3be054304612292adef0361bbd2d94d51c4186d4a66bf949d326345da0f7f5c6f5558c0db62fb1ed1144899155f5c63ceeb9243c267b82605b024cf6898f31ba
DIST errwrap-7554cd9344cec97297fa6649b055a8c98c2a1e55.tar.gz 8320 SHA256 e77d6aa78ef6342b21358d689edcd043778c5623af5a9b2690ed8e3fa4ea7db0 SHA512 da45b1696253bebe012f3d0e624a63dd11ad1a613d81cc302f2ea6f096f29a8d81015b9c00363bd2590c4cacc59de52a27e84435a7b4ad6512485cdd87df11c0 WHIRLPOOL 5c6013d852711e001a0eca6a3ad11f64e006be527cfc0b46db21049af97506730b48cfe1b2fac10bcfc66f61dce69023f20b06c83558e80ce337d75a127aa90d
DIST etcd-5099bf6f7ab92181158cc2f0f0db1bb6056e9aeb.tar.gz 2171596 SHA256 72f642f10d014dff089b7a0fe66168639d30ed0e1586cec43a88b2bd7311cc11 SHA512 cc1d75d73c46f7c8438ddec8f0cf6829936e4ecb58efcaae958f818bbdd777751b393406e6c89784d9234080766ea67d71e660aa973f409ce4319768e76f4dad WHIRLPOOL 7f645f6ae41769e8bf0e4f35e4ac399df385bd1693f3c49d0f3e2859cfbf58e0cbd6f9be8c7de101e37720514828e56ae996cbf8a89e665a867ae083457bf9e8
diff --git a/app-admin/consul-template/consul-template-0.18.5.ebuild b/app-admin/consul-template/consul-template-0.18.5.ebuild
new file mode 100644
index 000000000000..b04c5a353362
--- /dev/null
+++ b/app-admin/consul-template/consul-template-0.18.5.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit golang-vcs-snapshot systemd user
+
+KEYWORDS="~amd64"
+DESCRIPTION="Generic template rendering and notifications with Consul"
+EGO_PN="github.com/hashicorp/${PN}"
+HOMEPAGE="http://${EGO_PN}"
+LICENSE="MPL-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.6:="
+RDEPEND=""
+
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ eapply_user
+ # Avoid the need to have a git checkout
+ sed -e 's:^GIT.*::' \
+ -i src/${EGO_PN}/scripts/compile.sh || die
+}
+
+src_compile() {
+ export GOPATH=${S}
+ cd "${S}"/src/${EGO_PN} || die
+ PATH=${PATH}:${S}/bin \
+ XC_ARCH=$(go env GOARCH) \
+ XC_OS=$(go env GOOS) \
+ emake bin-local
+}
+
+src_test() {
+ cd "${S}"/src/${EGO_PN} || die
+ emake test || die
+}
+
+src_install() {
+ dobin "${S}"/src/${EGO_PN}/pkg/$(go env GOOS)_$(go env GOARCH)/${PN}
+ dodoc "${S}"/src/${EGO_PN}/{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
+}