diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-01-16 16:59:48 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-01-16 16:59:48 +0100 |
commit | 47feb2330ef42b777b8da0a9aa15326f60413aaf (patch) | |
tree | a53684dd779e601f92060ab4b7678c327e946fc8 /net-analyzer/prometheus-alertmanager | |
parent | sys-cluster/minikube: Remove old (diff) | |
download | gentoo-47feb2330ef42b777b8da0a9aa15326f60413aaf.tar.gz gentoo-47feb2330ef42b777b8da0a9aa15326f60413aaf.tar.bz2 gentoo-47feb2330ef42b777b8da0a9aa15326f60413aaf.zip |
net-analyzer/prometheus-alertmanager: Remove old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-analyzer/prometheus-alertmanager')
-rw-r--r-- | net-analyzer/prometheus-alertmanager/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild | 52 |
2 files changed, 0 insertions, 53 deletions
diff --git a/net-analyzer/prometheus-alertmanager/Manifest b/net-analyzer/prometheus-alertmanager/Manifest index 3a600c2fdd6a..8ff6bca2f3ea 100644 --- a/net-analyzer/prometheus-alertmanager/Manifest +++ b/net-analyzer/prometheus-alertmanager/Manifest @@ -1,2 +1 @@ -DIST prometheus-alertmanager-0.12.0.tar.gz 3683962 BLAKE2B 92d968d85771d5921146e207040e03551826e72117f600a2d185c34f5e49e9d1a4da61c116656efd44ea1afbc94143bce1c786f569b77238aa973e48af128dfd SHA512 568031418bcfaa671531b0d4b96a9d60054ac7a8f8853c83edaf121d0502b1809d9981646e8d7575daba740b0aed221268e52b91506a3468bcf6fe27ccef17a7 DIST prometheus-alertmanager-0.13.0.tar.gz 2782163 BLAKE2B 4918f84a8a8312a3fa53f03b78bb8acc6118e69048ff3fadb2676721340fa120360a636fc11485999e948965569241658eb8ee01204453120adcce6bd1da40d4 SHA512 3f402f577e42bfc9dd9ef2dc1cb634d3654776f3b13d698170e3ae3c1612a45115e0d188d0768880ca968ec9157e05a2082647ca1de132f8be3c7eb7ad0dad42 diff --git a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild deleted file mode 100644 index 10bd1927649b..000000000000 --- a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user golang-build golang-vcs-snapshot - -EGO_PN="github.com/prometheus/alertmanager" -EGIT_COMMIT="v${PV/_rc/-rc.}" -ALERTMANAGER_COMMIT="fc33cc7" -ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Alertmanager for alerts sent by client applications such as Prometheus" -HOMEPAGE="https://github.com/prometheus/alertmanager" -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND="dev-util/promu" - -RESTRICT="test" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${ALERTMANAGER_COMMIT}/" src/${EGO_PN}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN} || die - mkdir -p bin || die - GOPATH="${S}" promu build -v --prefix alertmanager || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dobin alertmanager/alertmanager - dodoc {README,CHANGELOG,CONTRIBUTING}.md - insinto /etc/alertmanager/ - newins doc/examples/simple.yml config.yml.example - popd || die - keepdir /var/lib/alertmanager /var/log/alertmanager - fowners ${PN}:${PN} /var/lib/alertmanager /var/log/alertmanager - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} |