diff options
author | 2015-11-03 07:43:21 +0100 | |
---|---|---|
committer | 2015-11-03 07:43:21 +0100 | |
commit | 832306d0392caa96521b0ab64a19371ad1050340 (patch) | |
tree | 7387747391b39e1b8fe253355b75dabf83f9716d /net-analyzer | |
parent | dev-ruby/let_it_go: initial import (diff) | |
download | graaff-832306d0392caa96521b0ab64a19371ad1050340.tar.gz graaff-832306d0392caa96521b0ab64a19371ad1050340.tar.bz2 graaff-832306d0392caa96521b0ab64a19371ad1050340.zip |
net-analyzer/munin-mysql: add new version
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/munin-mysql/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/munin-mysql/munin-mysql-0.20150827.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/net-analyzer/munin-mysql/Manifest b/net-analyzer/munin-mysql/Manifest index c254e130..10b6838f 100644 --- a/net-analyzer/munin-mysql/Manifest +++ b/net-analyzer/munin-mysql/Manifest @@ -1,2 +1,3 @@ DIST munin-mysql-0.20130531.tar.gz 59981 SHA256 93a61ba61b2325a1ad8acccdbf1e17644f5f78b43b6e99a1111f9c087a54e401 SHA512 c6814baab28a3790046e4c6d9e0e5b6461257f075ed2762cc998a0416ae9aa9a3913dd00f52b88bfe0cc94e94b2ebfa0d63bb5a56077c06f0a3f0f0a831134c6 WHIRLPOOL c9bf162d8d833606c5f0a70914ee485c8f1eea40d50b58eaf0735a6d56885fd1443cd3b7bc9cba84cd795050aa2dc89989c21f158bb3c91e67c35095efa331de DIST munin-mysql-0.20150601.tar.gz 64808 SHA256 313b2fd2e5ed25ff4f38fa6a7cea69ffa22a0d2315907b19f5ae87838ae9fcb8 SHA512 47c34445e44d5ac23a1a92c26b74fcef22d2c3df07edf16cdf975f790bec126a7478333e0bf0939453f8426a601b335281d2be7606542ccefccc3acc0d3560b5 WHIRLPOOL f04acdff201cda1f14bc572116ce5cc14182a424ffce71ebece01f634d4870348239193a08afdc99a221eba6e6d02e462e616fd8408fd26955366c8b1c803758 +DIST munin-mysql-0.20150827.tar.gz 64763 SHA256 da0599b0b8fec605e710502bd9f18728c791f753ccabb2d2c3bf2e13f4751b5c SHA512 b3be8e9358c4110820f77093f5584498c256dcca20d84b3fe2cb8cbf84454a88a1e1cd29078798c2018a344fe35c4b7e5e2d6ccec028f0cdab38fd9de68d297d WHIRLPOOL 87c1fb1ff09eb51cfd1e574503cec867b5d6e6f44807a1dede6ebf0f433ca8c578857300ecac4141afd68b846ec1ed77bef16152e3a3198e93849c87e9671bf3 diff --git a/net-analyzer/munin-mysql/munin-mysql-0.20150827.ebuild b/net-analyzer/munin-mysql/munin-mysql-0.20150827.ebuild new file mode 100644 index 00000000..9425e083 --- /dev/null +++ b/net-analyzer/munin-mysql/munin-mysql-0.20150827.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +GITHUB_COMMIT="257d253045d0655394f8df276071b5e07822cfb4" + +DESCRIPTION="Improved MySQL Graphs for Munin" +HOMEPAGE="https://github.com/kjellm/munin-mysql" +LICENSE="GPL-2" + +SRC_URI="https://github.com/kjellm/munin-mysql/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${GITHUB_COMMIT}" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-perl/DBD-mysql + dev-perl/DBI + dev-perl/Module-Pluggable + net-analyzer/munin +" + +# Depends on unpackaged Test-Regression +RESTRICT="test" + +src_prepare() { + # Don't restart node automatically. + sed -i -e '/restart/d' Makefile || die +} + +src_install() { + local config="${D}/etc/munin" + local perllib="${D}"$(perl '-V:installvendorlib'|cut -d"'" -f2) + + mkdir -p "${config}/plugins" "${config}/plugin-conf.d" || die + + emake PLUGIN_DIR="${D}/usr/share/munin/plugins" \ + CONFIG_DIR="${config}" \ + PERL_SITELIB_DIR="${perllib}" \ + install +} |