diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /www-apps/grafana-bin | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'www-apps/grafana-bin')
-rw-r--r-- | www-apps/grafana-bin/Manifest | 6 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-5.4.3-r1.ebuild (renamed from www-apps/grafana-bin/grafana-bin-5.4.3.ebuild) | 15 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-6.0.0-r1.ebuild (renamed from www-apps/grafana-bin/grafana-bin-6.0.0.ebuild) | 15 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-6.0.1.ebuild | 71 |
4 files changed, 97 insertions, 10 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 23f0e04cdd3c..6dc6fdb0205b 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -3,6 +3,8 @@ AUX grafana.initd.3 972 BLAKE2B 077e7cf023b83b152c762f63c937435823053909e26d6743 AUX grafana.service 676 BLAKE2B 98b7e216324a451f97b9b0c2d1bbe493ea3206b8a6113f34f1064f8fde3c931c32913d4b94d77722eefe709434c3f5692b58a840066ae017f5b5f9dfd18ba9a9 SHA512 2355f708b8b5f520efa0d18c81a5e817c29953373b689b8fdd7c3f722f9b4d566d2e8329434daf2268d24fb2ff563b80ad84b144855a67abcf96c2b7b910b31c DIST grafana-bin-5.4.3.tar.gz 55228439 BLAKE2B 63ee14b1ab074f453c8f1b870b8c0c51365106cb2af59fa20f56805f7add7fec29bc5ecd7e2ffc1f3f6811049e839893433e14b1871cb2aea359f58537b9e0dc SHA512 781466c7477ecb4fbca59006600adc3569d0ee2158da3b75831b1934fd39456030471d4508fbf2d3296d3660dcc8b92782295d7afe458229bad1d64de88ad33b DIST grafana-bin-6.0.0.tar.gz 56196184 BLAKE2B c3b50e93816a747cfaf343a40589291ffd3ee8c11d90a29d220b8dc7fa0025efea5e4f915d26aff2b0725b377bf8f06ee9e6188916d174bfa6c9dc8c76a65837 SHA512 2b80f0cd5ea3386ce013c97e087ae44281bf9aac778ff5bb049a02e418dee42067098415ef902e964cefff8218b5d32e67df3b97f971f5b82bfb2b15e095a187 -EBUILD grafana-bin-5.4.3.ebuild 1776 BLAKE2B 23228bd5d950c6b1fbb3189e4a5cdbddb11790bfc7c1c396a6a7e86c1cfe5f454390c73cf1dbc9615455a776d36772c00193abd559a00f991b6a8ec07bd7fa8c SHA512 1b9b5f87d1ba801004ebd0aee3ae393224c98b7b1faf36657d32be88342a7f13164fa12c2e26e8d13fde947fe22557b65adcdf5064d7b60f6fb2a457bb39f582 -EBUILD grafana-bin-6.0.0.ebuild 1807 BLAKE2B da1a9b558d15d36b344b9670fa49993a8a6ad502abfba6964ae2404068b91b76983073a9c59a277da111edc26ef3810129a705289f4354c8e4831af60364e68a SHA512 6a1b7fb34f2d06a7c49e5621137a4b2582e28e9a55f6f8cc464a3a18c0eca411080884fb9ded7dc1642ce601c14f992a659d27031382671e74af186b3b1726c2 +DIST grafana-bin-6.0.1.tar.gz 56203033 BLAKE2B 190c838d08b95e0a38dafbaa64f77eae8e2cea178c7b079de0684119fc2cab412e19639624e5c99ae6cac5dd4ce6db1209555a5aafdc6a5d990297f06b6e1ca2 SHA512 d0e920406fe3b0c9540cf2ae7ea1efe9681d1de40f5971742cf7814374823d04dedaa5dda26f1cba42b615d542e6e00a16cf8ef3a55def4bdcea5b47ea92ea2a +EBUILD grafana-bin-5.4.3-r1.ebuild 1969 BLAKE2B f90d9c8c479edfd60eff8a4c6823fad5ba9683411a6e9b4e137a77990f528d6184ecf0f917520209dd4497e1cfef9198fe305bb76a9c6c4911cd09204481a69a SHA512 d674745ae0614747c945e96990c17c89c1c7e027e909c92a8e08a898d9567d531900e56ea5f2714128549b2094fdc568da3949b6578fd9bb84f3d78c4b339a10 +EBUILD grafana-bin-6.0.0-r1.ebuild 2000 BLAKE2B a2aded1295055013836375d7dcc73efa0c198030ec7653e07d3288792e284bba24db7e01b575c89421bd21155529c8f6e99add702929bbb45a5ff7ba16254161 SHA512 1790f63faba64a441f2527f1cbdab6ed3685b23f0b5032f3d3208851d491e077dc01edff00dc60ce81e25ce7b0b59b3e70ab480b065295fc6c05c4d0710216e4 +EBUILD grafana-bin-6.0.1.ebuild 2000 BLAKE2B a2aded1295055013836375d7dcc73efa0c198030ec7653e07d3288792e284bba24db7e01b575c89421bd21155529c8f6e99add702929bbb45a5ff7ba16254161 SHA512 1790f63faba64a441f2527f1cbdab6ed3685b23f0b5032f3d3208851d491e077dc01edff00dc60ce81e25ce7b0b59b3e70ab480b065295fc6c05c4d0710216e4 MISC metadata.xml 416 BLAKE2B ff5bdf7e202aa96bbf615df2f86c6542bb7d291e6d564dfac683a2e54002380dd80ef3f1ca0b6c1f398de0115e26398903256b9d64e353127f25c3e97e5b21c8 SHA512 db2cbd25cf9b21664db93dc8f9719bf7f9a2fd632c5231d0f296bb32f3f6af3e08307c8a662081cc68f33638d70f6512094fad76073a5de4ceba02eeb3d1188b diff --git a/www-apps/grafana-bin/grafana-bin-5.4.3.ebuild b/www-apps/grafana-bin/grafana-bin-5.4.3-r1.ebuild index 7a42364c3e03..7e9781fe83c7 100644 --- a/www-apps/grafana-bin/grafana-bin-5.4.3.ebuild +++ b/www-apps/grafana-bin/grafana-bin-5.4.3-r1.ebuild @@ -17,11 +17,12 @@ SLOT="0" KEYWORDS="amd64" DEPEND="" -RDEPEND="${DEPEND}" +RDEPEND="${DEPEND} + media-libs/fontconfig" -QA_EXECSTACK="usr/share/grafana/vendor/phantomjs/phantomjs" -QA_PREBUILT="usr/bin/grafana-*" -QA_PRESTRIPPED=${QA_EXECSTACK} +QA_EXECSTACK="usr/share/grafana/tools/phantomjs/phantomjs" +QA_PREBUILT="usr/bin/grafana-* ${QA_EXECSTACK}" +QA_PRESTRIPPED=${QA_PREBUILT} pkg_setup() { enewgroup grafana @@ -41,6 +42,12 @@ src_install() { 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 diff --git a/www-apps/grafana-bin/grafana-bin-6.0.0.ebuild b/www-apps/grafana-bin/grafana-bin-6.0.0-r1.ebuild index b252435ffde3..f5baddc3529b 100644 --- a/www-apps/grafana-bin/grafana-bin-6.0.0.ebuild +++ b/www-apps/grafana-bin/grafana-bin-6.0.0-r1.ebuild @@ -18,11 +18,12 @@ SLOT="0" KEYWORDS="~amd64" DEPEND="" -RDEPEND="${DEPEND}" +RDEPEND="${DEPEND} + media-libs/fontconfig" -QA_EXECSTACK="usr/share/grafana/vendor/phantomjs/phantomjs" -QA_PREBUILT="usr/bin/grafana-*" -QA_PRESTRIPPED=${QA_EXECSTACK} +QA_EXECSTACK="usr/share/grafana/tools/phantomjs/phantomjs" +QA_PREBUILT="usr/bin/grafana-* ${QA_EXECSTACK}" +QA_PRESTRIPPED=${QA_PREBUILT} pkg_setup() { enewgroup grafana @@ -42,6 +43,12 @@ src_install() { 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 diff --git a/www-apps/grafana-bin/grafana-bin-6.0.1.ebuild b/www-apps/grafana-bin/grafana-bin-6.0.1.ebuild new file mode 100644 index 000000000000..f5baddc3529b --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-6.0.1.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://s3-us-west-2.amazonaws.com/grafana-releases/release/${MY_PN}-${MY_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." +} |