diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-05-11 14:06:42 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-05-11 14:07:25 +0200 |
commit | 7308261fd9413cf2fcd60b636f223ad68d7b6f77 (patch) | |
tree | 055e4efd9c098beadeb802cb42762dd9c3d39d5c /www-apps | |
parent | www-apps/grafana-bin: bump to v6.7.3 (diff) | |
download | gentoo-7308261fd9413cf2fcd60b636f223ad68d7b6f77.tar.gz gentoo-7308261fd9413cf2fcd60b636f223ad68d7b6f77.tar.bz2 gentoo-7308261fd9413cf2fcd60b636f223ad68d7b6f77.zip |
www-apps/grafana-bin: security cleanup
Bug: https://bugs.gentoo.org/719306
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/grafana-bin/Manifest | 2 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-6.5.3.ebuild | 71 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-6.7.2.ebuild | 71 |
3 files changed, 0 insertions, 144 deletions
diff --git a/www-apps/grafana-bin/Manifest b/www-apps/grafana-bin/Manifest index 89a657d80a41..024a0edaaa6b 100644 --- a/www-apps/grafana-bin/Manifest +++ b/www-apps/grafana-bin/Manifest @@ -1,3 +1 @@ -DIST grafana-bin-6.5.3.tar.gz 61041681 BLAKE2B 624abf5fa31271eb81182bd36377eef0e643a4fda2c6ecc00545d941318ecf4b526fa4753ab6e3cc820fb22b1bf3768cdec946fd13483ef7137f1672aa7b63b6 SHA512 4f672c0fc4a74fff904bd3b297e40c06c616157bb9d3e2783950339d20c551f580dea7a59fb0ff58480010047d34088c51c3ec3175039b9510acb0a18ef52546 -DIST grafana-bin-6.7.2.tar.gz 65075053 BLAKE2B 80a92ec55820363dfd56048db81a5be448ccdba6e0396e22b7b68dff3eb11d4d0c11c35d540c607eef7ef7ddba74a9ac147b6e7edce5fc34894b090a3042a5cd SHA512 ec46a5f9ce39c807f50ee93eda0ddb19bf58d5fb3d3dc188250dfe09323bf10108088cd79ee7787c77e88244b239b5dbb6e50f5e4c69c6d099d5f20dc6bafa7c DIST grafana-bin-6.7.3.tar.gz 65083849 BLAKE2B b567885d58f4e28d2873feb4bdbfd364697d3c742039441d12df0f7a76ed8703ef2a08450125feeb576c539e7e2a84d193da92436cbd82601b65a5d42862a7a3 SHA512 15d02ed101088d845ed94fb88c629428f2a899a23dff509ec82cb148689bda07b56883765be145d5a5769ed0e3d3b9d98e50fc940c95a1074f5b5e3adac19f30 diff --git a/www-apps/grafana-bin/grafana-bin-6.5.3.ebuild b/www-apps/grafana-bin/grafana-bin-6.5.3.ebuild deleted file mode 100644 index 58b22b14471e..000000000000 --- a/www-apps/grafana-bin/grafana-bin-6.5.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2020 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." -} diff --git a/www-apps/grafana-bin/grafana-bin-6.7.2.ebuild b/www-apps/grafana-bin/grafana-bin-6.7.2.ebuild deleted file mode 100644 index 58b22b14471e..000000000000 --- a/www-apps/grafana-bin/grafana-bin-6.7.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2020 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." -} |