diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-11-29 11:56:11 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-11-29 11:56:11 +0100 |
commit | dc3b6541c284954f41d2227d0b79645c69951267 (patch) | |
tree | ec13eb5f333fb614ae2fa118397185f6be5fe308 /net-analyzer/prometheus-alertmanager | |
parent | app-emulation/flannel: Remove old (diff) | |
download | gentoo-dc3b6541c284954f41d2227d0b79645c69951267.tar.gz gentoo-dc3b6541c284954f41d2227d0b79645c69951267.tar.bz2 gentoo-dc3b6541c284954f41d2227d0b79645c69951267.zip |
net-analyzer/prometheus-alertmanager: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'net-analyzer/prometheus-alertmanager')
-rw-r--r-- | net-analyzer/prometheus-alertmanager/Manifest | 3 | ||||
-rw-r--r-- | net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.ebuild | 52 |
2 files changed, 1 insertions, 54 deletions
diff --git a/net-analyzer/prometheus-alertmanager/Manifest b/net-analyzer/prometheus-alertmanager/Manifest index bbf7fbf479f0..c9560b1bc483 100644 --- a/net-analyzer/prometheus-alertmanager/Manifest +++ b/net-analyzer/prometheus-alertmanager/Manifest @@ -1,2 +1 @@ -DIST prometheus-alertmanager-0.11.0.tar.gz 3683030 SHA256 0d1a27f220101cf6691adfd504311a824c95cf2ed02bed900536616aa398aaf3 SHA512 33e6d5010979a7abab032019c1e50bc3e8f3630dd7e2453b1a1b37ce1035694bc78ae748ad1903afef95b6646aa167a3c0fa7f4e7b74bd3f1336106ca998b342 WHIRLPOOL 6b63bce13242054d2bbc5838c38d79bf3d793337435863887fa16bd0954efeca6579730cbbb30e0215bdfcf239612887d03a2d1e9cc3746f836a14319a2df989 -DIST prometheus-alertmanager-0.9.1.tar.gz 3671292 SHA256 067e00773efd0948918a30449d5e96b5cc9b0b9ecb1271d75bbd46ad3944a699 SHA512 423079c630466a6c3eeaab56d60bd9b7c77049955e9a67b703ef51665ccf7af0b319e8e3748c8e6d055dcf442173028cbe475181be08221d93a5ad3d20900c65 WHIRLPOOL 1fdf9803ffb99bda6ca49f250ff2895e29a6a77b17b1f38f47ca1f858262580f307f56bd95f0a6e97cd7a0a04e3b0df1fe28401cc6f66b71a72311df0971b970 +DIST prometheus-alertmanager-0.11.0.tar.gz 3683030 BLAKE2B b362c8d35762c13ae31597f9633378639061095e0ca1f9361a9c0376290bbb1534bd7ced2488c79d04b0c053d5a7930e39b12f309bd3a8e57660ead48264ef1d SHA512 33e6d5010979a7abab032019c1e50bc3e8f3630dd7e2453b1a1b37ce1035694bc78ae748ad1903afef95b6646aa167a3c0fa7f4e7b74bd3f1336106ca998b342 diff --git a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.ebuild b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.ebuild deleted file mode 100644 index d04d5de449d7..000000000000 --- a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.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="9f5f4b2" -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} -} |