X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjo-overlay.git;a=blobdiff_plain;f=net-analyzer%2Fnagios-check_mysql_health%2Fnagios-check_mysql_health-2.1.9.2.ebuild;fp=net-analyzer%2Fnagios-check_mysql_health%2Fnagios-check_mysql_health-2.1.9.2.ebuild;h=7de6cfd3ae757009aae79d68857825e6556b2cd8;hp=6dda964bd561c985f49afb8186b1c81bdf29c9c5;hb=a2c493e5916cba9691b48eab959cf1a6c74bba6d;hpb=07c768ce0f17966eb26cda67f7ac0e11bfa6d602 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 index 6dda964..7de6cfd 100644 --- 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 @@ -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.