Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/consul/
Date: Mon, 28 Jan 2019 20:01:49
Message-Id: 1548675934.1bb3c45a611712772840e6d705685480ddf372b1.mrueg@gentoo
1 commit: 1bb3c45a611712772840e6d705685480ddf372b1
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 28 10:58:20 2019 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 28 11:45:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb3c45a
7
8 app-admin/consul: Remove old
9
10 Package-Manager: Portage-2.3.58, Repoman-2.3.12
11 Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
12
13 app-admin/consul/Manifest | 2 --
14 app-admin/consul/consul-1.2.2.ebuild | 69 ------------------------------------
15 app-admin/consul/consul-1.2.3.ebuild | 69 ------------------------------------
16 3 files changed, 140 deletions(-)
17
18 diff --git a/app-admin/consul/Manifest b/app-admin/consul/Manifest
19 index f1ebcf9b5fb..25c28c150fd 100644
20 --- a/app-admin/consul/Manifest
21 +++ b/app-admin/consul/Manifest
22 @@ -1,5 +1,3 @@
23 -DIST consul-1.2.2.tar.gz 15789375 BLAKE2B 8a0af370568f6fcb90334b147bd84e479efb682ed6c58d63dd56f3554f9e6538d37963ac825bb8598eef8948492feec688b8266733223d1557dbce9704daef35 SHA512 715f69e7b36d0070ea4e602dc50f51aa2547dbbbbb07cce985da79d1e201c6e84dade8a7c810e3602f88cfbd30e063669076954d2541810a18a0c9e7c9ff8458
24 -DIST consul-1.2.3.tar.gz 18428593 BLAKE2B 14582bf9668e4f2a1c8c443cb01d7b9780c9bc414ff226907335f3873c135b77566898649d16b352ef21ee9300c290338f59672c5fb2b187694aea97b8735dec SHA512 71a7dbfc031df4a96faf2ddd829f289e96adefd0e0087208bbdd26e742a24e3da05fceea4181eb915703ad3323ed5b02bf74eb3fdfbed1e9a1afa2f74acb2a34
25 DIST consul-1.3.0.tar.gz 19423317 BLAKE2B 1db4de2d24be31b2d889b6f49cae33f2719080cf35df15c12c09159a57b9930cbe7204f8a35bbfe0f77145f562e3fe7d224785dde1f7b0cc3f0086e95e1316ef SHA512 b05b0ed316e10f45b83839812fb3394153e8bed604d35f0a983d33fcad3012a3b1872411b3034dbba54dd0ba000e737f18f7f351ed57fe737b0f365bdfe92f2c
26 DIST consul-1.4.0.tar.gz 19685523 BLAKE2B df999d29fdab59b41d8e7ea4ec977a35aa7ec5b7daa293a75a39f695e3a75b1748b5bb584be9d9d5b3e1f0adac9626613a04949ff711ac713e2741cd2f9ad127 SHA512 a9f253ef5baa4e43800a0982ecb6893bf9487775cdcbe3a17bc7c45d601b6dca4e4c398ae3b70cdc1880577dbe1504d1a1f0cb702a1dd8c98b108e059fc721a0
27 DIST consul-1.4.1.tar.gz 22517128 BLAKE2B a4091ad1c2d743693ec14e364bf610479cb6c6f33caeb601698ca37a98fa0ddb6417bbca4ca30e3941bdb1c8be18f0eb31b0e515498d7fea38c553ef2d0a1f46 SHA512 e5451a414878a2a9d3591d4ae2caf8a227035017a6b65cbacf272a1a14727d33cabb1a11bd0fa3b837195309ff77aa49d4087cb6faedddb8ea002ac46412bc90
28
29 diff --git a/app-admin/consul/consul-1.2.2.ebuild b/app-admin/consul/consul-1.2.2.ebuild
30 deleted file mode 100644
31 index e754310e4c6..00000000000
32 --- a/app-admin/consul/consul-1.2.2.ebuild
33 +++ /dev/null
34 @@ -1,69 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -inherit golang-vcs-snapshot systemd user
41 -GIT_COMMIT="e716d1b"
42 -KEYWORDS="~amd64"
43 -EGO_PN="github.com/hashicorp/consul"
44 -DESCRIPTION="A tool for service discovery, monitoring and configuration"
45 -HOMEPAGE="https://www.consul.io"
46 -SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -SLOT="0"
49 -LICENSE="MPL-2.0"
50 -IUSE=""
51 -
52 -RESTRICT="test"
53 -
54 -DEPEND="dev-go/gox
55 - >=dev-lang/go-1.9:=
56 - >=dev-go/go-tools-0_pre20160121"
57 -RDEPEND=""
58 -
59 -pkg_setup() {
60 - enewgroup consul
61 - enewuser consul -1 -1 /var/lib/${PN} consul
62 -}
63 -
64 -src_prepare() {
65 - default
66 -
67 - sed -e 's:go get -u -v $(GOTOOLS)::' \
68 - -e 's:vendorfmt dev-build:dev-build:' \
69 - -i "src/${EGO_PN}/GNUmakefile" || die
70 -}
71 -
72 -src_compile() {
73 - # The dev target sets causes build.sh to set appropriate XC_OS
74 - # and XC_ARCH, and skips generation of an unused zip file,
75 - # avoiding a dependency on app-arch/zip.
76 - GOPATH="${S}" \
77 - GOBIN="${S}/bin" \
78 - GIT_DESCRIBE="v${PV}" \
79 - GIT_DIRTY="" \
80 - GIT_COMMIT="${GIT_COMMIT}" \
81 - emake -C "src/${EGO_PN}" dev-build
82 -}
83 -
84 -src_install() {
85 - local x
86 -
87 - dobin bin/consul
88 -
89 - keepdir /etc/consul.d
90 - insinto /etc/consul.d
91 - doins "${FILESDIR}/"*.json.example
92 -
93 - for x in /var/{lib,log}/${PN}; do
94 - keepdir "${x}"
95 - fowners consul:consul "${x}"
96 - done
97 -
98 - newinitd "${FILESDIR}/consul.initd" "${PN}"
99 - newconfd "${FILESDIR}/consul.confd" "${PN}"
100 - insinto /etc/logrotate.d
101 - newins "${FILESDIR}/${PN}.logrotated" "${PN}"
102 - systemd_dounit "${FILESDIR}/consul.service"
103 -}
104
105 diff --git a/app-admin/consul/consul-1.2.3.ebuild b/app-admin/consul/consul-1.2.3.ebuild
106 deleted file mode 100644
107 index 5c900d4ab45..00000000000
108 --- a/app-admin/consul/consul-1.2.3.ebuild
109 +++ /dev/null
110 @@ -1,69 +0,0 @@
111 -# Copyright 1999-2018 Gentoo Foundation
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=6
115 -
116 -inherit golang-vcs-snapshot systemd user
117 -GIT_COMMIT="48d287e"
118 -KEYWORDS="~amd64"
119 -EGO_PN="github.com/hashicorp/consul"
120 -DESCRIPTION="A tool for service discovery, monitoring and configuration"
121 -HOMEPAGE="https://www.consul.io"
122 -SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz"
123 -
124 -SLOT="0"
125 -LICENSE="MPL-2.0"
126 -IUSE=""
127 -
128 -RESTRICT="test"
129 -
130 -DEPEND="dev-go/gox
131 - >=dev-lang/go-1.9:=
132 - >=dev-go/go-tools-0_pre20160121"
133 -RDEPEND=""
134 -
135 -pkg_setup() {
136 - enewgroup consul
137 - enewuser consul -1 -1 /var/lib/${PN} consul
138 -}
139 -
140 -src_prepare() {
141 - default
142 -
143 - sed -e 's:go get -u -v $(GOTOOLS)::' \
144 - -e 's:vendorfmt dev-build:dev-build:' \
145 - -i "src/${EGO_PN}/GNUmakefile" || die
146 -}
147 -
148 -src_compile() {
149 - # The dev target sets causes build.sh to set appropriate XC_OS
150 - # and XC_ARCH, and skips generation of an unused zip file,
151 - # avoiding a dependency on app-arch/zip.
152 - GOPATH="${S}" \
153 - GOBIN="${S}/bin" \
154 - GIT_DESCRIBE="v${PV}" \
155 - GIT_DIRTY="" \
156 - GIT_COMMIT="${GIT_COMMIT}" \
157 - emake -C "src/${EGO_PN}" dev-build
158 -}
159 -
160 -src_install() {
161 - local x
162 -
163 - dobin bin/consul
164 -
165 - keepdir /etc/consul.d
166 - insinto /etc/consul.d
167 - doins "${FILESDIR}/"*.json.example
168 -
169 - for x in /var/{lib,log}/${PN}; do
170 - keepdir "${x}"
171 - fowners consul:consul "${x}"
172 - done
173 -
174 - newinitd "${FILESDIR}/consul.initd" "${PN}"
175 - newconfd "${FILESDIR}/consul.confd" "${PN}"
176 - insinto /etc/logrotate.d
177 - newins "${FILESDIR}/${PN}.logrotated" "${PN}"
178 - systemd_dounit "${FILESDIR}/consul.service"
179 -}