Install this version:
emerge -a =net-analyzer/munin-mysql-0.20180523
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-analyzer/munin-mysql-0.20180523
Or alternatively:
emerge --autounmask-write -a =net-analyzer/munin-mysql-0.20180523
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.20180523 | 7 | ~amd64 | 0 |
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GITHUB_COMMIT="eaad017b7064f8debfeda6dd706b81e30cfa70a4"
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
default
}
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
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | munin-mysql-0.20180523.tar.gz | 65886 bytes | https://github.com/kjellm/munin-mysql/archive/eaad017b7064f8debfeda6dd706b81e30cfa70a4.tar.gz |