1 |
commit: a8b03b0f8747a63bcb7d2d02472d00fab4c65b95 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 8 13:17:39 2021 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 8 13:18:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8b03b0f |
7 |
|
8 |
app-metrics/alertmanager: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
app-metrics/alertmanager/Manifest | 2 - |
14 |
.../alertmanager/alertmanager-0.18.0.ebuild | 53 ---------------------- |
15 |
.../alertmanager/alertmanager-0.19.0.ebuild | 53 ---------------------- |
16 |
3 files changed, 108 deletions(-) |
17 |
|
18 |
diff --git a/app-metrics/alertmanager/Manifest b/app-metrics/alertmanager/Manifest |
19 |
index 77f498a5c51..4c0b53aa754 100644 |
20 |
--- a/app-metrics/alertmanager/Manifest |
21 |
+++ b/app-metrics/alertmanager/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST alertmanager-0.18.0.tar.gz 5181819 BLAKE2B efcc856ccacb97646915e8d622179cf3cc7554351036cf556347ec46cdede5c9223139cb209b52376964c7b19b119f3683f82698d1e7c07b1432bb3e4bb37239 SHA512 59faec308abaac3d2b59198fef25109b208de1a807b38803dc10722ff0caf1bac9d9795005fefb3b4e2acda62be136bfcafe7b9702ae52565021a424f99fa730 |
24 |
-DIST alertmanager-0.19.0.tar.gz 5862442 BLAKE2B a79336286ca1099dcc73cce897eccaff8d40f8d3140ebf1943a1189cf1d2ec58738cbe7fc02221826ffc0e1535954a11a461ac6ea222113c79a44d43cc9eda83 SHA512 2c21bfbb1001e07e81b1115439ad15e7c0e7089839e56a19c445177e322b8ef9aa2b85e96478f3c3d709cbbd3a5447662a8c55da370b84aa4b6b24f83848744b |
25 |
DIST alertmanager-0.21.0.tar.gz 5704209 BLAKE2B 646ac0b05eb194d1c35f49e38c0a206d09a9c45d4f2f7c371a53ecfff5deba6e2c2af82f3f4ce2b591338c557241766395f42b8bd3c91ae2da4ef7e570666fda SHA512 72568407af4e90455975eff504ed49f4877eb517673532f655b6b0459725db5df7bbd1a3be120106c46b30dd7056714cc0b34b46df9c4d8c98e1f8c9eb0c39da |
26 |
|
27 |
diff --git a/app-metrics/alertmanager/alertmanager-0.18.0.ebuild b/app-metrics/alertmanager/alertmanager-0.18.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index 7909a618ac9..00000000000 |
30 |
--- a/app-metrics/alertmanager/alertmanager-0.18.0.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,53 +0,0 @@ |
33 |
-# Copyright 1999-2019 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
-inherit user golang-build golang-vcs-snapshot |
38 |
- |
39 |
-EGO_PN="github.com/prometheus/alertmanager" |
40 |
-EGIT_COMMIT="v${PV/_rc/-rc.}" |
41 |
-ALERTMANAGER_COMMIT="1ace0f7" |
42 |
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
43 |
-KEYWORDS="~amd64" |
44 |
- |
45 |
-DESCRIPTION="Alertmanager for alerts sent by client applications such as Prometheus" |
46 |
-HOMEPAGE="https://github.com/prometheus/alertmanager" |
47 |
-SRC_URI="${ARCHIVE_URI}" |
48 |
-LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0" |
49 |
-SLOT="0" |
50 |
-IUSE="" |
51 |
- |
52 |
-DEPEND=">=dev-lang/go-1.11 |
53 |
- dev-util/promu" |
54 |
- |
55 |
-RESTRICT="test" |
56 |
- |
57 |
-pkg_setup() { |
58 |
- enewgroup ${PN} |
59 |
- enewuser ${PN} -1 -1 -1 ${PN} |
60 |
-} |
61 |
- |
62 |
-src_prepare() { |
63 |
- default |
64 |
- sed -i -e "s/{{.Revision}}/${ALERTMANAGER_COMMIT}/" src/${EGO_PN}/.promu.yml || die |
65 |
-} |
66 |
- |
67 |
-src_compile() { |
68 |
- pushd src/${EGO_PN} || die |
69 |
- mkdir -p bin || die |
70 |
- GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" promu build -v --prefix bin || die |
71 |
- popd || die |
72 |
-} |
73 |
- |
74 |
-src_install() { |
75 |
- pushd src/${EGO_PN} || die |
76 |
- dobin bin/* |
77 |
- dodoc {README,CHANGELOG,CONTRIBUTING}.md |
78 |
- insinto /etc/alertmanager/ |
79 |
- newins doc/examples/simple.yml config.yml.example |
80 |
- popd || die |
81 |
- keepdir /var/lib/alertmanager /var/log/alertmanager |
82 |
- fowners ${PN}:${PN} /var/lib/alertmanager /var/log/alertmanager |
83 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN} |
84 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
85 |
-} |
86 |
|
87 |
diff --git a/app-metrics/alertmanager/alertmanager-0.19.0.ebuild b/app-metrics/alertmanager/alertmanager-0.19.0.ebuild |
88 |
deleted file mode 100644 |
89 |
index 3955cf65769..00000000000 |
90 |
--- a/app-metrics/alertmanager/alertmanager-0.19.0.ebuild |
91 |
+++ /dev/null |
92 |
@@ -1,53 +0,0 @@ |
93 |
-# Copyright 1999-2019 Gentoo Authors |
94 |
-# Distributed under the terms of the GNU General Public License v2 |
95 |
- |
96 |
-EAPI=6 |
97 |
-inherit user golang-build golang-vcs-snapshot |
98 |
- |
99 |
-EGO_PN="github.com/prometheus/alertmanager" |
100 |
-EGIT_COMMIT="v${PV/_rc/-rc.}" |
101 |
-ALERTMANAGER_COMMIT="7aa5d19" |
102 |
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
103 |
-KEYWORDS="~amd64" |
104 |
- |
105 |
-DESCRIPTION="Alertmanager for alerts sent by client applications such as Prometheus" |
106 |
-HOMEPAGE="https://github.com/prometheus/alertmanager" |
107 |
-SRC_URI="${ARCHIVE_URI}" |
108 |
-LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0" |
109 |
-SLOT="0" |
110 |
-IUSE="" |
111 |
- |
112 |
-DEPEND=">=dev-lang/go-1.11 |
113 |
- dev-util/promu" |
114 |
- |
115 |
-RESTRICT="test" |
116 |
- |
117 |
-pkg_setup() { |
118 |
- enewgroup ${PN} |
119 |
- enewuser ${PN} -1 -1 -1 ${PN} |
120 |
-} |
121 |
- |
122 |
-src_prepare() { |
123 |
- default |
124 |
- sed -i -e "s/{{.Revision}}/${ALERTMANAGER_COMMIT}/" src/${EGO_PN}/.promu.yml || die |
125 |
-} |
126 |
- |
127 |
-src_compile() { |
128 |
- pushd src/${EGO_PN} || die |
129 |
- mkdir -p bin || die |
130 |
- GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" promu build -v --prefix bin || die |
131 |
- popd || die |
132 |
-} |
133 |
- |
134 |
-src_install() { |
135 |
- pushd src/${EGO_PN} || die |
136 |
- dobin bin/* |
137 |
- dodoc {README,CHANGELOG,CONTRIBUTING}.md |
138 |
- insinto /etc/alertmanager/ |
139 |
- newins doc/examples/simple.yml config.yml.example |
140 |
- popd || die |
141 |
- keepdir /var/lib/alertmanager /var/log/alertmanager |
142 |
- fowners ${PN}:${PN} /var/lib/alertmanager /var/log/alertmanager |
143 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN} |
144 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
145 |
-} |