diff options
author | Hans de Graaff <hans@degraaff.org> | 2017-04-12 07:26:32 +0200 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2017-04-12 07:26:32 +0200 |
commit | 7b63f3265c7ee4f2e9044843484059e222781817 (patch) | |
tree | f4f0bd95f1b2c99d260fd23e5ec1ba5b5175b3f8 /net-analyzer | |
parent | dev-ruby/tinymce-rails: add 4.5.6 (diff) | |
download | graaff-7b63f3265c7ee4f2e9044843484059e222781817.tar.gz graaff-7b63f3265c7ee4f2e9044843484059e222781817.tar.bz2 graaff-7b63f3265c7ee4f2e9044843484059e222781817.zip |
net-analyzer/munin-mysql: add latest snapshot
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/munin-mysql/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/munin-mysql/metadata.xml | 2 | ||||
-rw-r--r-- | net-analyzer/munin-mysql/munin-mysql-0.20161010.ebuild | 44 |
3 files changed, 46 insertions, 1 deletions
diff --git a/net-analyzer/munin-mysql/Manifest b/net-analyzer/munin-mysql/Manifest index c1f8db6c..a87b5990 100644 --- a/net-analyzer/munin-mysql/Manifest +++ b/net-analyzer/munin-mysql/Manifest @@ -1 +1,2 @@ DIST munin-mysql-0.20150827.tar.gz 64763 SHA256 da0599b0b8fec605e710502bd9f18728c791f753ccabb2d2c3bf2e13f4751b5c SHA512 b3be8e9358c4110820f77093f5584498c256dcca20d84b3fe2cb8cbf84454a88a1e1cd29078798c2018a344fe35c4b7e5e2d6ccec028f0cdab38fd9de68d297d WHIRLPOOL 87c1fb1ff09eb51cfd1e574503cec867b5d6e6f44807a1dede6ebf0f433ca8c578857300ecac4141afd68b846ec1ed77bef16152e3a3198e93849c87e9671bf3 +DIST munin-mysql-0.20161010.tar.gz 64844 SHA256 d244cb7d16c16c23b8d3b594accfa360f600266c8d105928950fef04923003f5 SHA512 4e72f4033cb25d7c81c0211795f8b8b76e7c1c1d5b6a7ec66a0e2282d94bff9fe648abcd0078d05664aac59ee32aa839b9773e038b7e3154045e96d77cb59d1c WHIRLPOOL f753df90afa4a014b8db084f31b2e6b1675963ff50b8a7d6d3a1f12f4691bd129edd0305de26dc3ed9c15834c8523a5a1250690d5e95aa02a143cbb7342ea43b diff --git a/net-analyzer/munin-mysql/metadata.xml b/net-analyzer/munin-mysql/metadata.xml index f9772993..bd70e455 100644 --- a/net-analyzer/munin-mysql/metadata.xml +++ b/net-analyzer/munin-mysql/metadata.xml @@ -1,5 +1,5 @@ <?xml version = '1.0' encoding = 'UTF-8'?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer><email>graaff@gentoo.org</email></maintainer> +<maintainer type="person"><email>graaff@gentoo.org</email></maintainer> </pkgmetadata> diff --git a/net-analyzer/munin-mysql/munin-mysql-0.20161010.ebuild b/net-analyzer/munin-mysql/munin-mysql-0.20161010.ebuild new file mode 100644 index 00000000..d2818800 --- /dev/null +++ b/net-analyzer/munin-mysql/munin-mysql-0.20161010.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +GITHUB_COMMIT="ef124bfb1534e3edbcb4002ad3d2320a81d09585" + +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 +} |