MY_P="${MY_PN}-${PV}"
DESCRIPTION="A nagios plugin for checking MySQL server health"
-HOMEPAGE="http://labs.consol.de/lang/de/nagios/${MY_PN}/"
-SRC_URI="http://labs.consol.de/download/shinken-nagios-plugins/${MY_P}.tar.gz"
+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"
econf --libexecdir="/usr/$(get_libdir)/nagios/plugins"
}
-pkg_preinst() {
- # These should match net-analyzer/{monitoring,nagios}-plugins.
- enewgroup nagios
- enewuser nagios -1 /bin/bash /var/nagios/home nagios
-}
+# 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.