diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-01 22:03:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-01 22:03:23 +0100 |
commit | 590b9b7b03bf4651e099949e318755af7cfa81b8 (patch) | |
tree | 54c184b7d26c25f1922bfeaf19a1dd45a2e3b1eb /www-apps/grafana-bin | |
parent | f4fc10428424904caf2035cffc442195cb088b2c (diff) |
gentoo resync : 01.08.2021
Diffstat (limited to 'www-apps/grafana-bin')
-rw-r--r-- | www-apps/grafana-bin/Manifest | 4 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-7.5.10.ebuild | 64 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-8.0.6.ebuild | 64 |
3 files changed, 132 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 64b34721de50..1da2c24526d7 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,12 +1,16 @@ AUX grafana-r1.confd 870 BLAKE2B e222e17f5a14dc48f9bbc922250754d88610a951b1e6230736fffc0624a24a140bd9a9f11c6900e0f57b652ce3f334963ea453a5db5ee667863c6b69acc0f207 SHA512 cb6836ba69b9d1f0c50778823c507eaffd963341edbc4ea5409d0b068cfcecececfacac71e34b1d546a85674f67b12db99f384e5c6aa2186abe86814818d5db1 AUX grafana.initd 1498 BLAKE2B ac97391c228c09353ef11efb0de37f25802484fbbf71bccedfc9858079ca679ba1567a2a7a40e250ed1fa7477189c30b8c5f175e607b455ae755566a9d89098d SHA512 c3ef1926fabe53728adca6954eb48e8d69c33b4238795e2d0d0406e55e08b3f84760b1abfec556f258af3184e10e6fa116c1b21c704575a54f88050a5266ec87 AUX grafana.service 676 BLAKE2B 98b7e216324a451f97b9b0c2d1bbe493ea3206b8a6113f34f1064f8fde3c931c32913d4b94d77722eefe709434c3f5692b58a840066ae017f5b5f9dfd18ba9a9 SHA512 2355f708b8b5f520efa0d18c81a5e817c29953373b689b8fdd7c3f722f9b4d566d2e8329434daf2268d24fb2ff563b80ad84b144855a67abcf96c2b7b910b31c +DIST grafana-bin-7.5.10.tar.gz 52219967 BLAKE2B d8ba713423a5b58539db91174a681d1bfb0980738fa9d88cdf3d232aba70272898fa277e1d4b203e4b604e751699fb8cc97384141b227a7edd763d11ecd695de SHA512 127944f1d0adf670ecbbe22982526a906acbf5e4954c1ab1f3cf158bdbc24052c11eb3cb3561421cf0e120c4e64b092b7d1efe5eca56b04b6b3d5f290329a3c3 DIST grafana-bin-7.5.7.tar.gz 52194760 BLAKE2B 4cc60188bb750c0d36d8b50336f51f8410cca5a730a93cd1536479dabefba79c955cddec554e7fabed782bdcbdf751c33794f893b4e0981214f3fc1041ee976a SHA512 ea5e9eef7a013e770abe827029bbb2b8b3ccfe28db985541597677671510e4c76b42009ceddfc687d23c249be792b99f1e8d5d518a271f36c4497d38380f0b54 DIST grafana-bin-7.5.9.tar.gz 52215297 BLAKE2B 06fa63811f950081a581d402527a14660a7eac3cb00455357329b0da27874244e38265f78b2dbfd41d9ce8f7551f1dc9fc297138600e6d7430c70e3c82423178 SHA512 0e6e9504f6767d5d226954a3c61544353c4442ad56ed86124e3520c2bb35e4a401c3fc5fb462dbdacb5c31f80de3478d7db9c06f2a85131346185426b67e0837 DIST grafana-bin-8.0.2.tar.gz 55512802 BLAKE2B fd535c8e1fca3136913ef1008c6e5ef8efa2871accc7a035354afd4b79a6e4d6340749c460c8c3d15e9edc07c426640b349c688a64ab678d61809f88f81b913a SHA512 d2421ba74b3eaaff3091fcf5015e6ca5cc050e205276b4d873a8d1fb3071cddd20fa846d9a03044752079564a458172e084ef69db4609fb520897a4f1d6fa4f2 DIST grafana-bin-8.0.5.tar.gz 55588076 BLAKE2B 85845c7492a4dd76b47d959cadbcfb1bffa1f00b295296e4e8ae3033e4a52f654551a66f781f34d4ab4666bf05681bf3ced870fab6c59f758f9814fe67e5b1d7 SHA512 c0df8ee147c4876e29fd8b4f7943550b4c615787ecd50e7a40eee68d8f64bd4e9958e2473e00fc4244e4440f01750cf7b349a4baa769d69ee61c043538679a56 +DIST grafana-bin-8.0.6.tar.gz 55602674 BLAKE2B da782a59bf2ae363ac639b43540883985b0ba1a42b1ab8f5438157a22b91f129e22d54dc4e95e6b817ea6b1edb35350883129254b6235f1e6d02739bd494a4bd SHA512 f8a65c52c4e6d9f72d8828c09bab719b1cb81173be4d661dc40925618054f1ef924af06c20d36d901feb8b17a0b7dc1cf55ab9d65e9c3829e34967063f854413 +EBUILD grafana-bin-7.5.10.ebuild 1769 BLAKE2B 3bd77424413b8d75af2c3e1f80320e4da3dcdd64a73a913bc11f967c27aa7aabc6f7d9c7d613bf2e979431f76ca4cac41ef45c3ab89081c1b8ae07533289f37d SHA512 89c164f2a54014d85e1cdaa46b52423c9880d581c7adda836afa787a6d7554f7dc8bd060141503cff1da5751be9cc166defe53aeb21b14fa38727fd6ab6e14dc EBUILD grafana-bin-7.5.7.ebuild 1769 BLAKE2B 5a68f16b65e6ef167c4476131b505a9947878b9f64b77e9a52240fff659f2d5ca6a0256c240a32d7d2f1b59505284a5ea974059cecae785ff5d5f0aca5c83e3d SHA512 45afd377bf5400a620744f7ad2daebcf36bd972f98a8baab270c68497d0c28662154bef6a68aac0123e6a1c382c9c77d02a28c7b0ae7a0f0e1ceb9f2a5b89bb5 EBUILD grafana-bin-7.5.9.ebuild 1769 BLAKE2B 3bd77424413b8d75af2c3e1f80320e4da3dcdd64a73a913bc11f967c27aa7aabc6f7d9c7d613bf2e979431f76ca4cac41ef45c3ab89081c1b8ae07533289f37d SHA512 89c164f2a54014d85e1cdaa46b52423c9880d581c7adda836afa787a6d7554f7dc8bd060141503cff1da5751be9cc166defe53aeb21b14fa38727fd6ab6e14dc EBUILD grafana-bin-8.0.2.ebuild 1769 BLAKE2B 5a68f16b65e6ef167c4476131b505a9947878b9f64b77e9a52240fff659f2d5ca6a0256c240a32d7d2f1b59505284a5ea974059cecae785ff5d5f0aca5c83e3d SHA512 45afd377bf5400a620744f7ad2daebcf36bd972f98a8baab270c68497d0c28662154bef6a68aac0123e6a1c382c9c77d02a28c7b0ae7a0f0e1ceb9f2a5b89bb5 EBUILD grafana-bin-8.0.5.ebuild 1769 BLAKE2B 3bd77424413b8d75af2c3e1f80320e4da3dcdd64a73a913bc11f967c27aa7aabc6f7d9c7d613bf2e979431f76ca4cac41ef45c3ab89081c1b8ae07533289f37d SHA512 89c164f2a54014d85e1cdaa46b52423c9880d581c7adda836afa787a6d7554f7dc8bd060141503cff1da5751be9cc166defe53aeb21b14fa38727fd6ab6e14dc +EBUILD grafana-bin-8.0.6.ebuild 1769 BLAKE2B 3bd77424413b8d75af2c3e1f80320e4da3dcdd64a73a913bc11f967c27aa7aabc6f7d9c7d613bf2e979431f76ca4cac41ef45c3ab89081c1b8ae07533289f37d SHA512 89c164f2a54014d85e1cdaa46b52423c9880d581c7adda836afa787a6d7554f7dc8bd060141503cff1da5751be9cc166defe53aeb21b14fa38727fd6ab6e14dc MISC metadata.xml 218 BLAKE2B 2189d142b4baed0b8edb49fcc98f7397610a257a4cb5f87873272b284f84290420f0950c8b41d1d050ca7a1e0486c6e00344672a3f0479d1d382c14bf7f18485 SHA512 882f7787b97aa780dd3ba4112b9e1dcc84986e2a17704cba9a557ec3a3f9211bcf93532b92d42f60157b56b457ee9ee17e5409066230e54d48931b91bd6786cd diff --git a/www-apps/grafana-bin/grafana-bin-7.5.10.ebuild b/www-apps/grafana-bin/grafana-bin-7.5.10.ebuild new file mode 100644 index 000000000000..937332ec5f09 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-7.5.10.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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="acct-group/grafana + acct-user/grafana" +RDEPEND="${DEPEND} + media-libs/fontconfig" + +QA_PREBUILT="usr/bin/grafana-*" +QA_PRESTRIPPED=${QA_PREBUILT} + +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 + + newconfd "${FILESDIR}"/grafana-r1.confd grafana + newinitd "${FILESDIR}"/grafana.initd 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() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # This is a new installation + + 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." + fi +} diff --git a/www-apps/grafana-bin/grafana-bin-8.0.6.ebuild b/www-apps/grafana-bin/grafana-bin-8.0.6.ebuild new file mode 100644 index 000000000000..937332ec5f09 --- /dev/null +++ b/www-apps/grafana-bin/grafana-bin-8.0.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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="acct-group/grafana + acct-user/grafana" +RDEPEND="${DEPEND} + media-libs/fontconfig" + +QA_PREBUILT="usr/bin/grafana-*" +QA_PRESTRIPPED=${QA_PREBUILT} + +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 + + newconfd "${FILESDIR}"/grafana-r1.confd grafana + newinitd "${FILESDIR}"/grafana.initd 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() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # This is a new installation + + 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." + fi +} |