net-analyzer/nagios-plugins: new revision sans the "nagios" user/group.
authorMichael Orlitzky <mjo@gentoo.org>
Wed, 15 Jan 2020 16:13:28 +0000 (11:13 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Fri, 17 Jan 2020 17:01:32 +0000 (12:01 -0500)
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>
net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r1.ebuild [moved from net-analyzer/nagios-plugins/nagios-plugins-2.3.1.ebuild with 96% similarity]

similarity index 96%
rename from net-analyzer/nagios-plugins/nagios-plugins-2.3.1.ebuild
rename to net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r1.ebuild
index e60ae3dda0ccd695078714d9a726e055d015dbc1..ec9cb103f7192db37c0325c426fe4fe074b204c6 100644 (file)
@@ -1,10 +1,8 @@
-# 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"
@@ -106,11 +104,6 @@ src_configure() {
                --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"