mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
net-analyzer/nagios-check_mysql_health: new version 2.2.2.
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST check_mysql_health-2.1.9.2.tar.gz 139293 SHA256 fc46225372bd29a6bd0256db612c1a050892b99889e67788f3a4242df16e629b SHA512 4a68f5f9c53d9c612e7b7185c1d593f896d4122887088f2c2dd824efa936da42c28ae720e5fbe513654721e8313530bfa3b3b973fe19009d6c7fc561402e66f7 WHIRLPOOL a5454bccb944588190572b2b3146c9cbe38745569baa7c55bcb5e96c09a1b2a908218907b8b6f921c558f38d51925578ab6381eca4f5732c9ffc0a3c1ed41380
|
||||
DIST check_mysql_health-2.2.2.tar.gz 140250 SHA256 bae2a2b415a902a42287459acdc4dda5278decd43bd24b4ac7770ec2ad11559f SHA512 027e47747aba524d8c7d168f6c440271434db2e152e59821eff06449d98919ab343a7840ecf73a1fcbc864799d6d3094088bb06f6b36b16989a5184676ae2628 WHIRLPOOL 370c1bcacdb4d5d66b1241e898e9cd7a374699df98514d345c784e4e9edd39b58f062d860d759c8abed9524bf8842f4c4270c196092cc86caf93c1583728a54b
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="${PN#nagios-}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A nagios plugin for checking MySQL server health"
|
||||
HOMEPAGE="https://labs.consol.de/nagios/${MY_PN}/"
|
||||
SRC_URI="https://labs.consol.de/assets/downloads/nagios/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Found by grepping for "use " in the built
|
||||
# plugins-scripts/check_mysql_health.
|
||||
RDEPEND="dev-perl/DBD-mysql
|
||||
dev-perl/DBI
|
||||
virtual/perl-Data-Dumper
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-Net-Ping
|
||||
virtual/perl-Time-HiRes"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure(){
|
||||
# Should match net-analyzer/{monitoring,nagios}-plugins.
|
||||
econf --libexecdir="/usr/$(get_libdir)/nagios/plugins"
|
||||
}
|
||||
|
||||
# Here we should have a pkg_preinst() that creates the nagios user/group
|
||||
# (using the same command from e.g. net-analyzer/nagios-plugins). But
|
||||
# right now, the build system for check_mysql_health has a bug: it
|
||||
# doesn't use the configured user (INSTALL_OPTIONS aren't passed to
|
||||
# /usr/bin/install), so it's pointless. Don't forget to inherit
|
||||
# user.eclass!
|
||||
Reference in New Issue
Block a user