www-apps/cgit: fix missing group on installation
authorBen Kohler <bkohler@gentoo.org>
Sun, 29 Sep 2019 20:55:55 +0000 (15:55 -0500)
committerBen Kohler <bkohler@gentoo.org>
Sun, 29 Sep 2019 20:57:29 +0000 (15:57 -0500)
After a recent change in user.eclass, this package no longer creates
the required group that's used later in src_install.  I've adjusted the
ebuilds to restore the original behavior as intended before this eclass
change.

https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/user.eclass?id=3afc0d7b8b5e90c50d66c5a845b96c33e521e6e8
Closes: https://bugs.gentoo.org/688890
Package-Manager: Portage-2.3.76, Repoman-2.3.17
RepoMan-Options: --force
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
www-apps/cgit/cgit-1.2.1.ebuild
www-apps/cgit/cgit-9999.ebuild

index 82174c822957f9f406b416e9f423756d80aa2cfa..4bbbeef07a16f7675f279f4bc79573ea7db23387 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -38,7 +38,8 @@ DEPEND="${RDEPEND}
 
 pkg_setup() {
        webapp_pkg_setup
-       enewuser "${PN}"
+       enewgroup ${PN}
+       enewuser ${PN} -1 -1 -1 ${PN}
 }
 
 src_prepare() {
index 28d3a7922770eaa318abf94c6811caf6d0c94857..a6df9326558dd66746f3a508fb5b7a808c2fe448 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="4"
@@ -36,7 +36,8 @@ DEPEND="${RDEPEND}
 
 pkg_setup() {
        webapp_pkg_setup
-       enewuser "${PN}"
+       enewgroup ${PN}
+       enewuser ${PN} -1 -1 -1 ${PN}
 }
 
 src_prepare() {