From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus/
Date: Sat, 2 Mar 2019 17:28:28 +0000 (UTC) [thread overview]
Message-ID: <1551547664.1e2aef3dbd51e3700670b81a1d8997dc5f6548fc.mrueg@gentoo> (raw)
commit: 1e2aef3dbd51e3700670b81a1d8997dc5f6548fc
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 2 17:27:44 2019 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Mar 2 17:27:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e2aef3d
app-metrics/prometheus: Version bump to 2.7.2
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
app-metrics/prometheus/Manifest | 1 +
app-metrics/prometheus/prometheus-2.7.2.ebuild | 69 ++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/app-metrics/prometheus/Manifest b/app-metrics/prometheus/Manifest
index 5e755da5ca7..c1cf3517577 100644
--- a/app-metrics/prometheus/Manifest
+++ b/app-metrics/prometheus/Manifest
@@ -1,3 +1,4 @@
DIST prometheus-2.4.3.tar.gz 6095284 BLAKE2B 9b9d54cf8ed61453d63e4b93cd81cd1c08a732b2238830aa1b83b63076205569b8f947a94d0528b910c0958bc77f98605ab3eaf98a1e93d361ea6b431d5df48c SHA512 c86ce48416d32ca4310315dd7195a6ee471244b7a9323ddc49270c2b885bda38c2922047dc8fd7d9b19c9f62f8bc788d30387d38f956cbf04130d7041f9a479b
DIST prometheus-2.6.1.tar.gz 6612143 BLAKE2B 33dc64406dd45f494720a1ff5f6d09ed4b45b3880b15626ab7455909258addc5d1549d3edbf8af9a374516930b297c5bdb6ef51a78cac3cb338357896c0d71ae SHA512 80bf6afa00b60aa4245a53e275a2b9579a7936609aba4ffacbbe478f34e530208e0498d8c5ea53dd3a940726e05bd6fac19fed3d6d9dd209af565d5368b2340f
DIST prometheus-2.7.1.tar.gz 7276631 BLAKE2B 1066204eebd8e9589ce5972c78f1c56c74ae40739e850731beb7c39a6100aa0c252b444571cffb6cedabddd71f0b6f927e52ce4ebb35a7fd061ed5e4d50436f7 SHA512 d9a9a5cfca48b6a5ea5dda2b319f8c498b11e0e0a4ce0d18fc4d59fba9e5337048120ba12b29d18b957ac5c268f8c17996a9e88ff9ed1e3041d0ed00bc1454d0
+DIST prometheus-2.7.2.tar.gz 7276689 BLAKE2B 4fa1325b0f68bd33f4db45d3ea0fcac24bc1319284086d3ee0d3aa65c1a4ab4c37a1a67fd6e1de74e851dd90d50b566f5a1fa5b68b11c3defefd2506f5b4ce98 SHA512 3dc46069581c457005de0eefe777e93ae72b73c624d7c728973f3c64c34d68628da13d76e3527e3825309d543fd81ef7446c776e0772c1f6bf58e5ebad805973
diff --git a/app-metrics/prometheus/prometheus-2.7.2.ebuild b/app-metrics/prometheus/prometheus-2.7.2.ebuild
new file mode 100644
index 00000000000..8b59b4be852
--- /dev/null
+++ b/app-metrics/prometheus/prometheus-2.7.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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/prometheus"
+MY_PV=v${PV/_rc/-rc.}
+PROMETHEUS_COMMIT="82f98c8"
+ARCHIVE_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus"
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ >=dev-lang/go-1.10
+ dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+ enewgroup prometheus
+ enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+ default
+ sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" promu build -v || die
+ popd || die
+}
+
+src_install() {
+ pushd src/${EGO_PN} || die
+ dobin promtool prometheus
+ dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+ insinto /etc/prometheus
+ doins documentation/examples/prometheus.yml
+ insinto /usr/share/prometheus
+ doins -r console_libraries consoles
+ dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
+ dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+ popd || die
+
+ newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+ newconfd "${FILESDIR}"/prometheus.confd prometheus
+ keepdir /var/log/prometheus /var/lib/prometheus
+ fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+ if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
+ ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
+ ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
+ ewarn "This release requires a clean storage directory and is not compatible with"
+ ewarn "files created by previous beta releases"
+ fi
+}
next reply other threads:[~2019-03-02 17:28 UTC|newest]
Thread overview: 94+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-02 17:28 Manuel Rüger [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-18 22:50 [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus/ William Hubbs
2023-12-03 23:15 Sam James
2023-09-26 21:27 William Hubbs
2023-04-30 23:50 Sam James
2023-03-27 22:01 William Hubbs
2023-03-26 23:53 William Hubbs
2023-03-26 19:46 William Hubbs
2023-03-25 18:52 William Hubbs
2023-03-25 18:16 William Hubbs
2023-01-17 18:55 William Hubbs
2023-01-17 17:59 William Hubbs
2022-11-29 19:53 William Hubbs
2022-11-29 19:50 William Hubbs
2022-11-29 19:50 William Hubbs
2022-11-13 22:05 William Hubbs
2022-11-13 0:28 William Hubbs
2022-11-13 0:25 William Hubbs
2022-11-12 17:06 William Hubbs
2022-10-21 16:22 William Hubbs
2022-10-21 16:19 William Hubbs
2022-10-04 3:06 Sam James
2022-09-23 16:42 William Hubbs
2022-09-23 16:29 William Hubbs
2022-09-10 18:21 William Hubbs
2022-08-21 14:57 Jakov Smolić
2022-08-11 10:55 Sam James
2022-07-23 22:37 William Hubbs
2022-07-01 16:27 William Hubbs
2022-02-18 9:19 Michał Górny
2022-02-18 3:36 Sam James
2021-11-07 20:52 Mikle Kolyada
2021-07-16 10:03 Mikle Kolyada
2021-05-19 14:06 Mikle Kolyada
2021-05-19 14:06 Mikle Kolyada
2021-05-19 12:45 Mikle Kolyada
2021-05-14 8:38 Mikle Kolyada
2021-05-14 8:38 Mikle Kolyada
2021-05-14 8:38 Mikle Kolyada
2021-05-03 21:46 William Hubbs
2021-05-03 21:45 William Hubbs
2021-05-03 21:12 Mikle Kolyada
2021-05-03 21:06 Mikle Kolyada
2021-05-03 21:06 Mikle Kolyada
2021-04-28 15:09 Mikle Kolyada
2021-04-10 12:23 Mikle Kolyada
2021-03-21 10:56 Mikle Kolyada
2021-03-14 18:37 Mikle Kolyada
2020-10-05 18:49 William Hubbs
2020-07-25 0:09 Sam James
2020-06-25 3:30 William Hubbs
2019-12-04 5:34 William Hubbs
2019-12-03 9:48 Michał Górny
2019-11-24 19:11 Manuel Rüger
2019-11-23 11:19 Manuel Rüger
2019-11-23 11:19 Manuel Rüger
2019-11-23 11:19 Manuel Rüger
2019-10-17 20:10 Manuel Rüger
2019-10-07 9:53 Manuel Rüger
2019-08-19 14:19 Manuel Rüger
2019-08-14 13:43 Manuel Rüger
2019-08-14 13:43 Manuel Rüger
2019-08-01 12:55 Manuel Rüger
2019-07-09 12:52 Manuel Rüger
2019-07-09 12:52 Manuel Rüger
2019-05-27 14:17 Manuel Rüger
2019-05-21 9:19 Manuel Rüger
2019-04-25 11:35 Manuel Rüger
2019-04-25 11:34 Manuel Rüger
2019-04-17 9:41 Manuel Rüger
2019-04-16 9:15 Manuel Rüger
2019-04-15 13:58 Manuel Rüger
2019-03-29 12:51 Manuel Rüger
2019-03-29 12:51 Manuel Rüger
2019-03-28 16:24 Manuel Rüger
2019-03-28 13:26 Manuel Rüger
2019-03-02 17:32 Manuel Rüger
2019-02-01 16:01 Manuel Rüger
2019-01-31 16:25 Manuel Rüger
2019-01-28 11:45 Manuel Rüger
2019-01-15 19:05 Manuel Rüger
2018-12-17 18:03 Manuel Rüger
2018-12-16 12:15 Manuel Rüger
2018-11-06 13:57 Manuel Rüger
2018-11-06 13:57 Manuel Rüger
2018-10-28 16:09 Manuel Rüger
2018-09-21 10:59 Tobias Klausmann
2018-09-20 22:34 Manuel Rüger
2018-09-13 11:45 Manuel Rüger
2018-07-13 10:18 Manuel Rüger
2018-07-13 10:15 Manuel Rüger
2018-06-27 11:22 Manuel Rüger
2018-06-07 12:57 Manuel Rüger
2018-03-27 13:33 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1551547664.1e2aef3dbd51e3700670b81a1d8997dc5f6548fc.mrueg@gentoo \
--to=mrueg@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox