In the past, the "nagios" user/group must have been hard-coded into
the plugins somewhere, or maybe referenced in pkg_postinst(). But I
can find no use for them now. Rather than blindly port this package
to GLEP81, let's see what happens without the user instead.
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit user
-
DESCRIPTION="Official plugins for Nagios"
HOMEPAGE="http://nagios-plugins.org/"
SRC_URI="http://nagios-plugins.org/download/${P}.tar.gz"
--sysconfdir="/etc/nagios"
}
-pkg_preinst() {
- enewgroup nagios
- enewuser nagios -1 -1 -1 nagios
-}
-
pkg_postinst() {
elog "This ebuild has a number of USE flags that determine what you"
elog "are able to monitor. Depending on what you want to monitor, some"