summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2020-01-15 11:13:28 -0500
committerMichael Orlitzky <mjo@gentoo.org>2020-01-17 12:01:32 -0500
commit6e89090e032f6505a5c140997d45287f8f501cc9 (patch)
tree442853ec2576290d8500c017b1c78e3ef8a726cc
parentnet-analyzer/nrpe: new revision using a GLEP81 user/group. (diff)
downloadgentoo-6e89090e032f6505a5c140997d45287f8f501cc9.tar.gz
gentoo-6e89090e032f6505a5c140997d45287f8f501cc9.tar.bz2
gentoo-6e89090e032f6505a5c140997d45287f8f501cc9.zip
net-analyzer/nagios-plugins: new revision sans the "nagios" user/group.
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>
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r1.ebuild (renamed from net-analyzer/nagios-plugins/nagios-plugins-2.3.1.ebuild)9
1 files changed, 1 insertions, 8 deletions
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.3.1.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r1.ebuild
index e60ae3dda0c..ec9cb103f71 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.3.1.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r1.ebuild
@@ -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"