Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/
Date: Sat, 31 Aug 2019 21:35:41
Message-Id: 1567287294.e12eae4881db013c5569f4e4dafd70081cf3e485.mjo@gentoo
1 commit: e12eae4881db013c5569f4e4dafd70081cf3e485
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 31 19:58:35 2019 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 31 21:34:54 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12eae48
7
8 net-analyzer/nagios-core: use default homedir/shell for "nagios" user.
9
10 With GLEP81 approved, we're finally going to be able to (properly)
11 share the "nagios" user between the packages that require it. As part
12 of the migration process, I'd like to clean up its home directory and
13 shell usage: I'm fairly sure that the default (/dev/null and
14 /sbin/nologin) will work, at least for nagios-core. Whether or not
15 this will affect any other packages is harder to discern.
16
17 I'm using this new ~arch version of nagios-core to test things out. In
18 this and later versions, we'll use the default "enewuser" arguments.
19 If this causes a problem, it should appear only in new installs
20 (enewuser is a no-op on upgrades), and with any luck someone will file
21 a bug to say it doesn't work.
22
23 Package-Manager: Portage-2.3.69, Repoman-2.3.16
24 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
25
26 .../{nagios-core-4.4.5.ebuild => nagios-core-4.4.5-r1.ebuild} | 2 +-
27 1 file changed, 1 insertion(+), 1 deletion(-)
28
29 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
30 similarity index 99%
31 rename from net-analyzer/nagios-core/nagios-core-4.4.5.ebuild
32 rename to net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild
33 index 74ddb853c43..fdfccca6aab 100644
34 --- a/net-analyzer/nagios-core/nagios-core-4.4.5.ebuild
35 +++ b/net-analyzer/nagios-core/nagios-core-4.4.5-r1.ebuild
36 @@ -72,7 +72,7 @@ S="${WORKDIR}/${MY_P}"
37
38 pkg_setup() {
39 enewgroup nagios
40 - enewuser nagios -1 /bin/bash /var/nagios/home nagios
41 + enewuser nagios -1 -1 -1 nagios
42 }
43
44 src_configure() {