From: Michael Orlitzky Date: Sat, 31 Aug 2019 19:58:35 +0000 (-0400) Subject: net-analyzer/nagios-core: use default homedir/shell for "nagios" user. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e12eae4881db013c5569f4e4dafd70081cf3e485;p=gentoo.git net-analyzer/nagios-core: use default homedir/shell for "nagios" user. With GLEP81 approved, we're finally going to be able to (properly) share the "nagios" user between the packages that require it. As part of the migration process, I'd like to clean up its home directory and shell usage: I'm fairly sure that the default (/dev/null and /sbin/nologin) will work, at least for nagios-core. Whether or not this will affect any other packages is harder to discern. I'm using this new ~arch version of nagios-core to test things out. In this and later versions, we'll use the default "enewuser" arguments. If this causes a problem, it should appear only in new installs (enewuser is a no-op on upgrades), and with any luck someone will file a bug to say it doesn't work. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Michael Orlitzky --- diff --git a/net-analyzer/nagios-core/nagios-core-4.4.5.ebuild b/net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild similarity index 99% rename from net-analyzer/nagios-core/nagios-core-4.4.5.ebuild rename to net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild index 74ddb853c43e..fdfccca6aabe 100644 --- a/net-analyzer/nagios-core/nagios-core-4.4.5.ebuild +++ b/net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild @@ -72,7 +72,7 @@ S="${WORKDIR}/${MY_P}" pkg_setup() { enewgroup nagios - enewuser nagios -1 /bin/bash /var/nagios/home nagios + enewuser nagios -1 -1 -1 nagios } src_configure() {