From ad6182343997a405079870a2fe91c4e0c6b94595 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Sep 2019 19:33:39 +0100 Subject: gentoo resync : 25.09.2019 --- app-admin/consul/consul-1.5.1-r1.ebuild | 69 --------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 app-admin/consul/consul-1.5.1-r1.ebuild (limited to 'app-admin/consul/consul-1.5.1-r1.ebuild') diff --git a/app-admin/consul/consul-1.5.1-r1.ebuild b/app-admin/consul/consul-1.5.1-r1.ebuild deleted file mode 100644 index 23474dcfc441..000000000000 --- a/app-admin/consul/consul-1.5.1-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit golang-vcs-snapshot systemd user -GIT_COMMIT="40cec98" -KEYWORDS="~amd64" -EGO_PN="github.com/hashicorp/consul" -DESCRIPTION="A tool for service discovery, monitoring and configuration" -HOMEPAGE="https://www.consul.io" -SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="MPL-2.0" -IUSE="" - -RESTRICT="test" - -DEPEND="dev-go/gox - >=dev-lang/go-1.11:= - >=dev-go/go-tools-0_pre20160121" -RDEPEND="" - -pkg_setup() { - enewgroup consul - enewuser consul -1 -1 /var/lib/${PN} consul -} - -src_prepare() { - default - - sed -e 's:go get -u -v $(GOTOOLS)::' \ - -e 's:vendorfmt dev-build:dev-build:' \ - -i "src/${EGO_PN}/GNUmakefile" || die -} - -src_compile() { - # The dev target sets causes build.sh to set appropriate XC_OS - # and XC_ARCH, and skips generation of an unused zip file, - # avoiding a dependency on app-arch/zip. - GOPATH="${S}" \ - GOBIN="${S}/bin" \ - GIT_DESCRIBE="v${PV}" \ - GIT_DIRTY="" \ - GIT_COMMIT="${GIT_COMMIT}" \ - emake -C "src/${EGO_PN}" dev-build -} - -src_install() { - local x - - dobin bin/consul - - 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" -} -- cgit v1.2.3