diff options
author | Patrick Lauer <patrick@gentoo.org> | 2019-05-24 21:11:36 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2019-05-24 21:11:36 +0200 |
commit | 0081f9ace6771a057cd3f901322eb6f8dfee850d (patch) | |
tree | b251b2176a69910f0c8fbede1790a4ab1a00ab0d /www-apps | |
parent | lxde-base/lxtask: Version bump to 0.1.9 and EAPI=7 (diff) | |
download | gentoo-0081f9ace6771a057cd3f901322eb6f8dfee850d.tar.gz gentoo-0081f9ace6771a057cd3f901322eb6f8dfee850d.tar.bz2 gentoo-0081f9ace6771a057cd3f901322eb6f8dfee850d.zip |
www-apps/grafana-bin: Bump
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/grafana-bin/Manifest | 1 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-6.2.0.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 2ca6a54cc752..b55be316bf6e 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -2,3 +2,4 @@ DIST grafana-bin-5.4.3.tar.gz 55228439 BLAKE2B 63ee14b1ab074f453c8f1b870b8c0c513 DIST grafana-bin-5.4.4.tar.gz 55227302 BLAKE2B f80fcf4447de6eb2f8a450650eb054da6a426e61142c2882cb5faef91b1d9779b77016b822d2f9082c81fe7b6ec14f23996132d880067bd956ac6260b171388e SHA512 c95a3e9b40fdd8fff88c01a66efdda1fc64c258a768bdf65f738562b0c039020de1aa2500cbaa93dff4220715c57ce803ca0ff01344d63a9b8548e4d27dc1af1 DIST grafana-bin-6.1.4.tar.gz 56564647 BLAKE2B 277a51f056faee911adb46f80673bde05dd872cc2d1387e67066806c8b749e434cb0bf2cd0e55338081814c19edf025927dd2379064aca2acb1e718dc89140af SHA512 7d27dfcc689c4e96f4ea9276c75581ac0762556759c8a70a5f87199a9cdd49493b40b7e44bbcf069b0cb2b4ca60d4b8157c7d977673253db9a80c9c785b4b344 DIST grafana-bin-6.1.6.tar.gz 56569580 BLAKE2B b8122e5ec6104ba211d7d331fd99e3caaea6b4bc2cdeae3315ea84abc6634723d106fb19b27f68ad5f5f0ff84648f8ea84254a3b0c96519702349acfeb6bd753 SHA512 b8851df5a00b752777c168446326603c5e00ed66e7217551c75a976961c9de1f5a5bf0d262068866ecd0dae685a09ac8829db2bb5201c32e1ecaed6bafc149e4 +DIST grafana-bin-6.2.0.tar.gz 58485103 BLAKE2B 8613821d8dc03518585def91119d3f3b53f1c65a3d31930d4bc3261dfad09d3f30a4de8826fff6057827de5099f9d6945573ffa2aa4908c243b5b82efb531266 SHA512 2f722823577adc7dcf85e1340cef111a09686c9e2a3064b81f53d28fc5a3339f542506bf1fa87b6c242678242683e670f949ab3aaa06d9e542fb6c22e107479c diff --git a/www-apps/grafana-bin/grafana-bin-6.2.0.ebuild b/www-apps/grafana-bin/grafana-bin-6.2.0.ebuild new file mode 100644 index 000000000000..7760f27c61fd --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-6.2.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit user systemd + +MY_PN=${PN/-bin/} +MY_PV=${PV/_beta/-beta} +S=${WORKDIR}/${MY_PN}-${MY_PV} + +DESCRIPTION="Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB" +HOMEPAGE="https://grafana.org" +SRC_URI="https://dl.grafana.com/oss/release/grafana-${PV}.linux-amd64.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND} + media-libs/fontconfig" + +QA_EXECSTACK="usr/share/grafana/tools/phantomjs/phantomjs" +QA_PREBUILT="usr/bin/grafana-* ${QA_EXECSTACK}" +QA_PRESTRIPPED=${QA_PREBUILT} + +pkg_setup() { + enewgroup grafana + enewuser grafana -1 -1 /usr/share/grafana grafana +} + +src_install() { + keepdir /etc/grafana + insinto /etc/grafana + newins "${S}"/conf/sample.ini grafana.ini + rm "${S}"/conf/sample.ini || die + + # Frontend assets + insinto /usr/share/${MY_PN} + doins -r public conf + + dobin bin/grafana-cli + dobin bin/grafana-server + + exeinto /usr/share/grafana/tools/phantomjs + doexe tools/phantomjs/phantomjs + + insinto /usr/share/grafana/tools/phantomjs + doins tools/phantomjs/render.js + + newconfd "${FILESDIR}"/grafana.confd grafana + newinitd "${FILESDIR}"/grafana.initd.3 grafana + systemd_newunit "${FILESDIR}"/grafana.service grafana.service + + keepdir /var/{lib,log}/grafana + keepdir /var/lib/grafana/{dashboards,plugins} + fowners grafana:grafana /var/{lib,log}/grafana + fowners grafana:grafana /var/lib/grafana/{dashboards,plugins} + fperms 0750 /var/{lib,log}/grafana + fperms 0750 /var/lib/grafana/{dashboards,plugins} +} + +postinst() { + elog "${PN} has built-in log rotation. Please see [log.file] section of" + elog "/etc/grafana/grafana.ini for related settings." + elog + elog "You may add your own custom configuration for app-admin/logrotate if you" + elog "wish to use external rotation of logs. In this case, you also need to make" + elog "sure the built-in rotation is turned off." +} |