]> gitweb.michael.orlitzky.com - mjo-overlay.git/blobdiff - net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.9.2.ebuild
net-analyzer/nagios-check_mysql_health: fix URLs for upstream website updates.
[mjo-overlay.git] / net-analyzer / nagios-check_mysql_health / nagios-check_mysql_health-2.1.9.2.ebuild
index 6dda964bd561c985f49afb8186b1c81bdf29c9c5..61e3f70778170a15df707acaa274c7ded22989e6 100644 (file)
@@ -10,8 +10,8 @@ MY_PN="${PN#nagios-}"
 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"
@@ -34,8 +34,8 @@ src_configure(){
        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.