From 23d65596bf6ed47cf5a8fd1d163ddbf3f8fb2ce9 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Sun, 29 Sep 2019 15:55:55 -0500 Subject: [PATCH] www-apps/cgit: fix missing group on installation 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 --- www-apps/cgit/cgit-1.2.1.ebuild | 5 +++-- www-apps/cgit/cgit-9999.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/www-apps/cgit/cgit-1.2.1.ebuild b/www-apps/cgit/cgit-1.2.1.ebuild index 82174c822957f..4bbbeef07a16f 100644 --- a/www-apps/cgit/cgit-1.2.1.ebuild +++ b/www-apps/cgit/cgit-1.2.1.ebuild @@ -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() { diff --git a/www-apps/cgit/cgit-9999.ebuild b/www-apps/cgit/cgit-9999.ebuild index 28d3a7922770e..a6df9326558dd 100644 --- a/www-apps/cgit/cgit-9999.ebuild +++ b/www-apps/cgit/cgit-9999.ebuild @@ -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() {