From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/consul/
Date: Sat, 21 Jan 2017 19:33:14 +0000 (UTC) [thread overview]
Message-ID: <1485027188.80ac5c74bebd2dd1fee2c675cc384eb9d1f22d22.zmedico@gentoo> (raw)
commit: 80ac5c74bebd2dd1fee2c675cc384eb9d1f22d22
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 19:32:20 2017 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 19:33:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80ac5c74
app-admin/consul: version bump to 0.7.2
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-admin/consul/Manifest | 1 +
app-admin/consul/consul-0.7.2.ebuild | 105 +++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest
index 440c77a..7f82c48 100644
--- a/app-admin/consul/Manifest
+++ b/app-admin/consul/Manifest
@@ -1,3 +1,4 @@
DIST consul-0.7.1.tar.gz 4003354 SHA256 d1498c851df8aa150c7b4398fdbb74467af4949d20ce5b4840b88095fce71135 SHA512 0cc7dfb5b13c9aa5c59f3c74d44c863cb4099108dadc448233edd006bfd1c1ad422c18224d58113bdad1ca6160a89d1a0a04bf1f5e5f645d5499c0c4422d12ba WHIRLPOOL 33ebd4521a3caa0fb84a4d698e05b7f32c59848b90bbab0899661c51dc34c96fbac37f4eb9cb141be079c4419f57ac0da942d764737baf36dafd73230c84feac
+DIST consul-0.7.2.tar.gz 4200076 SHA256 28441273a928d0976a668ca0657ec655b10fffe45be19b879f3731812ec9e1c5 SHA512 62638f652bad421fe6400338f52f6a142dda9bf4838682f5a31c94ebdb3569ed217cfc7ba8b53a38fae44aaaa8e93912a486d445ed7addb2ff58c7c608469322 WHIRLPOOL fff1869c7d20dc6aa50b765d81d07b610187331d53bd9ec1526fcd85bb00b5426ee8b879946534186694bd3da88a2dd10042632c9bb31249ba6eeb9a8ca20b62
DIST gox-c9740af9c6574448fd48eb30a71f964014c7a837.tar.gz 15772 SHA256 826666828f1ec3e535268fa95d983362c6c773e9a87aa94613e7a47805d22e38 SHA512 d4b2d5d9666285584697bc0d6ddc2f1a1e3f23741650e831adb42baffbb5f72fc3d5ae8a8fb6719faf1df75d3da334941b0404387f0c213aabdb5c3d5634c55d WHIRLPOOL 89d52013bfb563a11a4042760470ac317398c3f8a61b9e7734c3ac2737d916126ad10a113948eb5a8362de3d77e598e42f4a0510760ae67465bde08658947f7a
DIST iochan-87b45ffd0e9581375c491fef3d32130bb15c5bd7.tar.gz 1785 SHA256 71c117246bb1d4d78ad5c3bc5d301942bcebaae5b1e35da1ad7851ceac71a675 SHA512 2efc0e3cbca496240e3e24550fd0d2aab742eb9b227230ff1ed4ee47344b994642b028bd4644cd45cd697f5f5ef6a729aad65537b10c6555bd52d9ca4b9c717c WHIRLPOOL 15dfd50bfc992a7b6a1b5d672d5bf9bfcb71a357eae371eac773e7fe9ad4ec8d4d0578e0dc6b12bb14689d1497129616b0eb300bbcb483a6865ac315bced562a
diff --git a/app-admin/consul/consul-0.7.2.ebuild b/app-admin/consul/consul-0.7.2.ebuild
new file mode 100644
index 00000000..be5a8fc
--- /dev/null
+++ b/app-admin/consul/consul-0.7.2.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit systemd user
+
+KEYWORDS="~amd64"
+EGO_PN="github.com/hashicorp/consul"
+DESCRIPTION="A tool for service discovery, monitoring and configuration"
+HOMEPAGE="http://www.consul.io"
+SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/mitchellh/gox/archive/c9740af9c6574448fd48eb30a71f964014c7a837.tar.gz -> gox-c9740af9c6574448fd48eb30a71f964014c7a837.tar.gz
+ https://github.com/mitchellh/iochan/archive/87b45ffd0e9581375c491fef3d32130bb15c5bd7.tar.gz -> iochan-87b45ffd0e9581375c491fef3d32130bb15c5bd7.tar.gz
+"
+
+SLOT="0"
+LICENSE="MPL-2.0"
+IUSE=""
+
+RESTRICT="test"
+
+DEPEND="
+ app-arch/zip
+ >=dev-lang/go-1.6:=
+ >=dev-go/go-tools-0_pre20160121"
+RDEPEND=""
+
+pkg_setup() {
+ enewgroup consul
+ enewuser consul -1 -1 /var/lib/${PN} consul
+}
+
+get_archive_go_package() {
+ local archive=${1} uri x
+ for x in ${SRC_URI}; do
+ if [[ ${x} == http* ]]; then
+ uri=${x}
+ elif [[ ${x} == ${archive} ]]; then
+ break
+ fi
+ done
+ uri=${uri#https://}
+ echo ${uri%/archive/*}
+}
+
+unpack_go_packages() {
+ local go_package x
+ # Unpack packages to appropriate locations for GOPATH
+ for x in ${A}; do
+ unpack ${x}
+ if [[ ${x} == *.tar.gz ]]; then
+ go_package=$(get_archive_go_package ${x})
+ mkdir -p src/${go_package%/*}
+ mv ${go_package##*/}-* src/${go_package} || die
+ fi
+ done
+}
+
+src_unpack() {
+ mkdir "${S}" || die
+ cd "${S}" || die
+ unpack_go_packages
+}
+
+src_prepare() {
+ eapply_user
+ # Avoid the need to have a git checkout
+ sed -e 's:^GIT.*::' \
+ -e 's:-X main.GitCommit.*:" \\:' \
+ -i "${S}/src/${EGO_PN}/scripts/build.sh" || die
+
+ # go install golang.org/x/tools/cmd/stringer: mkdir /usr/lib/go-gentoo/bin/: permission denied
+ sed -e 's:go get -u -v $(GOTOOLS)::' \
+ -i "${S}/src/${EGO_PN}/GNUmakefile" || die
+}
+
+src_compile() {
+ export GOPATH="${S}"
+ go install -v -work -x ${EGO_BUILD_FLAGS} "github.com/mitchellh/gox/..." || die
+ PATH=${PATH}:${S}/bin XC_ARCH=$(go env GOARCH) XC_OS=$(go env GOOS) \
+ emake -C "${S}/src/${EGO_PN}"
+}
+
+src_install() {
+ local x
+
+ dobin "${S}/bin/${PN}"
+
+ keepdir /etc/consul.d
+ insinto /etc/consul.d
+ doins "${FILESDIR}/"*.json.example
+
+ for x in /var/{lib,log}/${PN}; do
+ keepdir "${x}"
+ fowners consul:consul "${x}"
+ done
+
+ newinitd "${FILESDIR}/consul.initd" "${PN}"
+ newconfd "${FILESDIR}/consul.confd" "${PN}"
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+ systemd_dounit "${FILESDIR}/consul.service"
+}
next reply other threads:[~2017-01-21 19:33 UTC|newest]
Thread overview: 191+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-21 19:33 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-15 14:13 [gentoo-commits] repo/gentoo:master commit in: app-admin/consul/ Arthur Zamarin
2025-02-22 23:07 Zac Medico
2025-01-06 21:49 Zac Medico
2024-12-08 18:53 Zac Medico
2024-12-01 19:15 Zac Medico
2024-08-13 3:08 Zac Medico
2024-08-13 2:48 Zac Medico
2024-05-11 15:16 Arthur Zamarin
2024-04-14 20:24 Zac Medico
2024-04-01 6:43 Zac Medico
2024-04-01 6:25 Zac Medico
2024-04-01 6:25 Zac Medico
2024-02-20 2:10 Zac Medico
2024-02-20 1:57 Zac Medico
2023-11-20 4:38 Zac Medico
2023-10-21 0:53 Zac Medico
2023-07-14 16:16 Arthur Zamarin
2023-06-06 4:48 Zac Medico
2023-05-26 4:16 Zac Medico
2023-05-23 6:40 Jakov Smolić
2023-04-17 5:03 Zac Medico
2023-01-06 22:13 Zac Medico
2023-01-06 21:51 Sam James
2022-12-15 0:38 Zac Medico
2022-12-15 0:37 Zac Medico
2022-12-14 1:09 Zac Medico
2022-12-14 1:09 Zac Medico
2022-12-14 1:09 Zac Medico
2022-12-01 4:35 Zac Medico
2022-11-21 20:45 Zac Medico
2022-11-16 2:01 Zac Medico
2022-11-16 1:57 Zac Medico
2022-10-20 23:49 Zac Medico
2022-10-20 23:49 Zac Medico
2022-10-10 23:40 Sam James
2022-09-21 12:57 Zac Medico
2022-09-21 12:56 Zac Medico
2022-09-21 0:35 Zac Medico
2022-09-21 0:32 Zac Medico
2022-09-21 0:32 Zac Medico
2022-08-12 19:17 Zac Medico
2022-08-12 19:17 Zac Medico
2022-08-12 17:38 Zac Medico
2022-07-15 23:24 Zac Medico
2022-06-19 8:49 Jakov Smolić
2022-06-05 15:56 Zac Medico
2022-05-27 0:45 Zac Medico
2022-05-15 21:16 Zac Medico
2022-05-15 21:16 Zac Medico
2022-05-15 21:16 Zac Medico
2022-04-21 2:37 Zac Medico
2022-04-15 3:46 Zac Medico
2022-04-15 3:46 Zac Medico
2022-04-15 3:41 Zac Medico
2022-04-14 2:21 Zac Medico
2022-04-14 2:11 Zac Medico
2022-03-13 20:06 Zac Medico
2022-03-01 1:35 Zac Medico
2022-03-01 1:35 Zac Medico
2022-03-01 1:35 Zac Medico
2022-02-26 17:10 Zac Medico
2022-02-26 17:10 Zac Medico
2022-02-12 17:31 Zac Medico
2022-02-12 17:31 Zac Medico
2022-02-12 17:31 Zac Medico
2022-01-16 22:53 Zac Medico
2022-01-16 22:53 Zac Medico
2022-01-16 22:53 Zac Medico
2021-12-18 23:40 Zac Medico
2021-12-18 23:37 Zac Medico
2021-12-18 23:37 Zac Medico
2021-12-18 23:37 Zac Medico
2021-12-18 23:37 Zac Medico
2021-12-15 4:02 Zac Medico
2021-12-15 4:02 Zac Medico
2021-12-15 4:02 Zac Medico
2021-12-15 4:02 Zac Medico
2021-12-14 17:42 Zac Medico
2021-11-12 2:28 Zac Medico
2021-11-12 2:28 Zac Medico
2021-11-12 2:28 Zac Medico
2021-10-10 5:58 Zac Medico
2021-10-10 5:58 Zac Medico
2021-10-10 5:58 Zac Medico
2021-09-11 2:52 Zac Medico
2021-09-11 2:52 Zac Medico
2021-09-11 2:52 Zac Medico
2021-09-11 2:52 Zac Medico
2021-09-11 2:52 Zac Medico
2021-07-17 16:31 Zac Medico
2021-07-17 16:31 Zac Medico
2021-07-17 4:54 Zac Medico
2021-07-17 4:44 Zac Medico
2021-07-17 4:39 Zac Medico
2021-07-17 4:39 Zac Medico
2021-06-21 3:06 Zac Medico
2021-06-21 3:00 Zac Medico
2021-06-21 2:48 Zac Medico
2021-04-18 5:21 Zac Medico
2021-04-18 5:21 Zac Medico
2021-04-18 5:21 Zac Medico
2021-04-02 19:43 Zac Medico
2021-04-02 14:10 Sam James
2021-02-26 0:25 Zac Medico
2021-02-26 0:23 Zac Medico
2021-02-26 0:16 Zac Medico
2021-02-26 0:08 Zac Medico
2020-12-19 8:24 Zac Medico
2020-12-19 8:24 Zac Medico
2020-12-19 8:24 Zac Medico
2020-12-19 7:29 Zac Medico
2020-09-12 5:45 Zac Medico
2020-09-12 5:40 Zac Medico
2020-09-12 5:40 Zac Medico
2020-08-14 5:18 Zac Medico
2020-08-14 5:18 Zac Medico
2020-08-07 22:59 Zac Medico
2020-08-07 22:59 Zac Medico
2020-08-01 21:46 Zac Medico
2020-07-18 0:01 Sam James
2020-06-25 7:00 Agostino Sarubbo
2020-06-22 3:05 Zac Medico
2020-06-19 5:04 Zac Medico
2020-06-11 2:51 Zac Medico
2020-05-30 19:15 William Hubbs
2020-05-29 16:55 William Hubbs
2020-05-25 16:29 William Hubbs
2020-04-17 19:51 William Hubbs
2020-02-12 18:01 Zac Medico
2020-02-01 8:09 Zac Medico
2020-02-01 8:07 Zac Medico
2019-11-19 6:54 Zac Medico
2019-11-19 6:30 Zac Medico
2019-11-13 20:04 Zac Medico
2019-09-17 21:21 Zac Medico
2019-09-17 21:21 Zac Medico
2019-09-05 21:09 Zac Medico
2019-09-05 21:02 Zac Medico
2019-07-29 9:21 Manuel Rüger
2019-07-15 20:57 Zac Medico
2019-05-29 18:26 Zac Medico
2019-05-13 17:08 Zac Medico
2019-05-09 15:28 Manuel Rüger
2019-03-28 13:24 Manuel Rüger
2019-01-28 11:45 Manuel Rüger
2019-01-28 11:45 Manuel Rüger
2018-11-16 10:37 Manuel Rüger
2018-10-28 16:39 Manuel Rüger
2018-09-16 14:36 Manuel Rüger
2018-07-31 18:10 Manuel Rüger
2018-07-31 18:10 Manuel Rüger
2018-07-15 23:30 Zac Medico
2018-07-13 14:52 Manuel Rüger
2018-07-13 14:52 Manuel Rüger
2018-07-12 14:49 Manuel Rüger
2018-07-12 14:45 Manuel Rüger
2018-05-07 17:12 Zac Medico
2018-02-15 0:46 Manuel Rüger
2017-10-28 22:07 Zac Medico
2017-10-28 22:04 Zac Medico
2017-10-19 12:22 Manuel Rüger
2017-09-21 13:40 Manuel Rüger
2017-09-01 3:29 Zac Medico
2017-06-23 0:29 Zac Medico
2017-06-23 0:13 Zac Medico
2017-06-03 9:35 Zac Medico
2017-04-07 13:55 Alexys Jacob
2017-02-21 21:05 Robin H. Johnson
2017-01-28 7:38 Zac Medico
2017-01-23 17:22 Zac Medico
2017-01-21 19:59 Zac Medico
2017-01-21 18:48 Zac Medico
2016-11-20 0:37 Zac Medico
2016-10-25 16:16 Zac Medico
2016-10-20 8:04 Zac Medico
2016-10-19 20:31 Zac Medico
2016-10-19 16:49 Zac Medico
2016-10-19 16:46 Zac Medico
2016-10-19 15:48 Zac Medico
2016-03-21 11:41 Zac Medico
2016-02-21 22:35 Zac Medico
2016-02-21 21:37 Zac Medico
2016-02-21 21:37 Zac Medico
2016-02-20 19:44 Zac Medico
2016-02-20 0:29 Zac Medico
2016-01-23 16:51 Zac Medico
2016-01-23 16:51 Zac Medico
2016-01-22 21:03 Justin Lecher
2016-01-22 17:52 Zac Medico
2015-08-10 5:36 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1485027188.80ac5c74bebd2dd1fee2c675cc384eb9d1f22d22.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox