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