public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_mysql_health/
Date: Tue, 16 Apr 2024 01:15:18 +0000 (UTC)	[thread overview]
Message-ID: <1713230043.e03cc45995170cab2f8a2bb783bc8fcd23c885b9.mjo@gentoo> (raw)

commit:     e03cc45995170cab2f8a2bb783bc8fcd23c885b9
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Apr 14 18:41:55 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 01:14:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e03cc459

net-analyzer/nagios-check_mysql_health: EAPI8 bump

Closes: https://github.com/gentoo/gentoo/pull/36259
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../nagios-check_mysql_health-2.2.2-r1.ebuild      | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
new file mode 100644
index 000000000000..3de8e319875f
--- /dev/null
+++ b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN#nagios-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Nagios plugin for checking MySQL server health"
+HOMEPAGE="https://labs.consol.de/nagios/check_mysql_health/"
+SRC_URI="https://labs.consol.de/assets/downloads/nagios/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# 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
+	"
+
+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!


             reply	other threads:[~2024-04-16  1:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16  1:15 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 11:56 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_mysql_health/ Andreas K. Hüttel
2024-05-24 10:07 Arthur Zamarin
2024-05-23 21:53 Sam James
2024-05-23 21:53 Sam James
2020-02-08 18:55 David Seifert
2019-03-02 21:35 Michael Orlitzky
2019-03-02 20:49 Thomas Deutschmann
2019-02-28 14:19 Mikle Kolyada
2016-08-09  4:43 Michael Orlitzky
2016-08-09  4:29 Michael Orlitzky
2016-08-07  8:36 Pacho Ramos
2015-08-26 11:00 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1713230043.e03cc45995170cab2f8a2bb783bc8fcd23c885b9.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox