1 |
commit: 11f5558673cab4ba84d8bdcf927751c49a83d01e |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 23 18:24:36 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 23 18:24:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f55586 |
7 |
|
8 |
net-analyzer/prometheus: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-analyzer/prometheus/Manifest | 2 - |
13 |
.../prometheus/prometheus-1.4.1_p20161213.ebuild | 56 ---------------------- |
14 |
.../prometheus/prometheus-1.4.1_p20170104.ebuild | 56 ---------------------- |
15 |
3 files changed, 114 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest |
18 |
index f32f48d..e4df2dc 100644 |
19 |
--- a/net-analyzer/prometheus/Manifest |
20 |
+++ b/net-analyzer/prometheus/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST prometheus-1.4.1_p20161213.tar.gz 5151828 SHA256 23dde2d12004f596fa6a7292ef12f111d00cd3164eb12296c5d43a242c692fc5 SHA512 a24405a31e0e312331e05ee91b797039141ca6d5e2a9adfb508592432f18a2ff8a2357e40de5d66c5d0e52ba81d71e325c8f90ba0c0674b32f2254212d3b3e9f WHIRLPOOL 0c1fa151c7d373ff63d6e374e1f67e9b71dc4f15053d5993a9a1231d31e751592029fd4d74077cbe4a7955dd19e71411fa25b09a4490e7925668303e40e6f291 |
23 |
-DIST prometheus-1.4.1_p20170104.tar.gz 5178945 SHA256 ca9f9c1bd096932a950e05a38f2f66751c9eed9a2131fb50c62df7e44f4eb894 SHA512 175d484d16177c2acb6d9f388f86f1562ae04878f47faff2b970e1cef7279f4323fd9f26aaebcae24eab24e6982a6775dae414efd1c6216d7ee1d2e283631321 WHIRLPOOL 14b6e29b02b2518eb9ac88f20dc2e77eabe1ba1c91f6bb949edd1af74d273bdc6a9ebc14ea2b7f85a32a6ba60fdcae73efce557906e36c3b257d66d0d7450a7b |
24 |
DIST prometheus-1.5.0.tar.gz 5182830 SHA256 f8eae5f4c51fdd73ceec08fc4895e695b6b02b581aa95e742e0f48f5aefc5537 SHA512 e90ae333c15335d449332487f6bf3d6a64d356208604850ece7ea8568e7e78f500dfc92219e11d57a01231671586de8c76173254b97fcb92fc14787c8c2a2ed7 WHIRLPOOL 42f2f93bdb04c2fa788c17bc4cd2be9b1c3a1de274c01cbba05b2623d902ef236a78092a1e45eb510fe9fdb20f68ab9b82fe1a958b7cc85e240efa0f1e387b06 |
25 |
|
26 |
diff --git a/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild b/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild |
27 |
deleted file mode 100644 |
28 |
index 47fb7e2..00000000 |
29 |
--- a/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,56 +0,0 @@ |
32 |
-# Copyright 1999-2016 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
-# $Id$ |
35 |
- |
36 |
-EAPI=6 |
37 |
-inherit user golang-build golang-vcs-snapshot |
38 |
- |
39 |
-EGO_PN="github.com/prometheus/prometheus/..." |
40 |
-EGIT_COMMIT="253be23c00eba5592e1673845a38f4fd08efff83" |
41 |
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
42 |
-KEYWORDS="~amd64" |
43 |
- |
44 |
-DESCRIPTION="Prometheus monitoring system and time series database" |
45 |
-HOMEPAGE="https://github.com/prometheus/prometheus" |
46 |
-SRC_URI="${ARCHIVE_URI}" |
47 |
-LICENSE="Apache-2.0" |
48 |
-SLOT="0" |
49 |
-IUSE="" |
50 |
- |
51 |
-DEPEND="dev-util/promu" |
52 |
- |
53 |
-PROMETHEUS_HOME="/var/lib/prometheus" |
54 |
- |
55 |
-pkg_setup() { |
56 |
- enewgroup prometheus |
57 |
- enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus |
58 |
-} |
59 |
- |
60 |
-src_prepare() { |
61 |
- default |
62 |
- sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" src/${EGO_PN%/*}/.promu.yml || die |
63 |
-} |
64 |
- |
65 |
-src_compile() { |
66 |
- pushd src/${EGO_PN%/*} || die |
67 |
- GOPATH="${S}" promu build -v || die |
68 |
- popd || die |
69 |
-} |
70 |
- |
71 |
-src_install() { |
72 |
- pushd src/${EGO_PN%/*} || die |
73 |
- dobin promtool prometheus |
74 |
- dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md} |
75 |
- insinto /etc/prometheus |
76 |
- doins documentation/examples/prometheus.yml |
77 |
- insinto /usr/share/prometheus |
78 |
- doins -r console_libraries consoles |
79 |
- dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries |
80 |
- dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles |
81 |
- popd || die |
82 |
- |
83 |
- newinitd "${FILESDIR}"/prometheus.initd prometheus |
84 |
- newconfd "${FILESDIR}"/prometheus.confd prometheus |
85 |
- keepdir /var/log/prometheus /var/lib/prometheus |
86 |
- fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus |
87 |
-} |
88 |
|
89 |
diff --git a/net-analyzer/prometheus/prometheus-1.4.1_p20170104.ebuild b/net-analyzer/prometheus/prometheus-1.4.1_p20170104.ebuild |
90 |
deleted file mode 100644 |
91 |
index 6c1fd7c..00000000 |
92 |
--- a/net-analyzer/prometheus/prometheus-1.4.1_p20170104.ebuild |
93 |
+++ /dev/null |
94 |
@@ -1,56 +0,0 @@ |
95 |
-# Copyright 1999-2017 Gentoo Foundation |
96 |
-# Distributed under the terms of the GNU General Public License v2 |
97 |
-# $Id$ |
98 |
- |
99 |
-EAPI=6 |
100 |
-inherit user golang-build golang-vcs-snapshot |
101 |
- |
102 |
-EGO_PN="github.com/prometheus/prometheus/..." |
103 |
-EGIT_COMMIT="c9f4aea8e2aaa61d0f6084377d5f3e0397d7ad14" |
104 |
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
105 |
-KEYWORDS="~amd64" |
106 |
- |
107 |
-DESCRIPTION="Prometheus monitoring system and time series database" |
108 |
-HOMEPAGE="https://github.com/prometheus/prometheus" |
109 |
-SRC_URI="${ARCHIVE_URI}" |
110 |
-LICENSE="Apache-2.0" |
111 |
-SLOT="0" |
112 |
-IUSE="" |
113 |
- |
114 |
-DEPEND="dev-util/promu" |
115 |
- |
116 |
-PROMETHEUS_HOME="/var/lib/prometheus" |
117 |
- |
118 |
-pkg_setup() { |
119 |
- enewgroup prometheus |
120 |
- enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus |
121 |
-} |
122 |
- |
123 |
-src_prepare() { |
124 |
- default |
125 |
- sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" src/${EGO_PN%/*}/.promu.yml || die |
126 |
-} |
127 |
- |
128 |
-src_compile() { |
129 |
- pushd src/${EGO_PN%/*} || die |
130 |
- GOPATH="${S}" promu build -v || die |
131 |
- popd || die |
132 |
-} |
133 |
- |
134 |
-src_install() { |
135 |
- pushd src/${EGO_PN%/*} || die |
136 |
- dobin promtool prometheus |
137 |
- dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md} |
138 |
- insinto /etc/prometheus |
139 |
- doins documentation/examples/prometheus.yml |
140 |
- insinto /usr/share/prometheus |
141 |
- doins -r console_libraries consoles |
142 |
- dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries |
143 |
- dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles |
144 |
- popd || die |
145 |
- |
146 |
- newinitd "${FILESDIR}"/prometheus.initd prometheus |
147 |
- newconfd "${FILESDIR}"/prometheus.confd prometheus |
148 |
- keepdir /var/log/prometheus /var/lib/prometheus |
149 |
- fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus |
150 |
-} |