diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/nagios-check_mysql_health | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/nagios-check_mysql_health')
4 files changed, 98 insertions, 0 deletions
diff --git a/net-analyzer/nagios-check_mysql_health/Manifest b/net-analyzer/nagios-check_mysql_health/Manifest new file mode 100644 index 000000000000..4bbdd74e64a9 --- /dev/null +++ b/net-analyzer/nagios-check_mysql_health/Manifest @@ -0,0 +1,2 @@ +DIST check_mysql_health-2.1.8.2.tar.gz 120052 SHA256 7fe0f1431742c2fe282faa234fc7b756679d81bb8a0aa2e786afef48540e7423 SHA512 57e26f57d37f274126c0e8f1133f91b9ac5b40696811eb0738fa02f246b48ca41ef291293beb31651cdf9db5854e75707c906a19b336a0f31410ff494b4c0f2d WHIRLPOOL da29c94e639ab2ce2bb065608bd8b9dc541e91340a07641c850160ee6aeef372f7d4258a145bee3badd231a904d4158b3074a3403f66dcf015b961fb11d21fb4 +DIST check_mysql_health-2.1.9.2.tar.gz 139293 SHA256 fc46225372bd29a6bd0256db612c1a050892b99889e67788f3a4242df16e629b SHA512 4a68f5f9c53d9c612e7b7185c1d593f896d4122887088f2c2dd824efa936da42c28ae720e5fbe513654721e8313530bfa3b3b973fe19009d6c7fc561402e66f7 WHIRLPOOL a5454bccb944588190572b2b3146c9cbe38745569baa7c55bcb5e96c09a1b2a908218907b8b6f921c558f38d51925578ab6381eca4f5732c9ffc0a3c1ed41380 diff --git a/net-analyzer/nagios-check_mysql_health/metadata.xml b/net-analyzer/nagios-check_mysql_health/metadata.xml new file mode 100644 index 000000000000..b38d16492bd3 --- /dev/null +++ b/net-analyzer/nagios-check_mysql_health/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + + <maintainer> + <email>andrew@ahamilto.net</email> + <name>Andrew Hamilton</name> + <description>Maintainer. Assign bugs to him.</description> + </maintainer> + + <maintainer> + <email>mjo@gentoo.org</email> + <name>Michael Orlitzky</name> + <description>Secondary maintainer. CC him on bugs.</description> + </maintainer> + + <maintainer> + <email>sdamashek@gentoo.org</email> + <name>Samuel Damashek</name> + <description>Proxy maintainer. CC him on bugs.</description> + </maintainer> +</pkgmetadata> diff --git a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.8.2.ebuild b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.8.2.ebuild new file mode 100644 index 000000000000..f4299c2a010f --- /dev/null +++ b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.8.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib autotools + +DESCRIPTION="A nagios plugin for checking MySQL server health" +HOMEPAGE="http://labs.consol.de/lang/de/nagios/check_mysql_health/" +SRC_URI="http://labs.consol.de/download/shinken-nagios-plugins/check_mysql_health-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=net-analyzer/nagios-plugins-1.4.13-r1" +RDEPEND="${DEPEND} + virtual/mysql" + +S="${WORKDIR}"/check_mysql_health-${PV} + +src_prepare() { + eautoreconf +} + +src_install() { + exeinto /usr/$(get_libdir)/nagios/plugins + doexe plugins-scripts/check_mysql_health +} diff --git a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.9.2.ebuild b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.9.2.ebuild new file mode 100644 index 000000000000..b1d5e6d9c0e8 --- /dev/null +++ b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.9.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib + +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! |