Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/cgit/
Date: Sun, 29 Sep 2019 20:59:15
Message-Id: 1569790649.23d65596bf6ed47cf5a8fd1d163ddbf3f8fb2ce9.bkohler@gentoo
1 commit: 23d65596bf6ed47cf5a8fd1d163ddbf3f8fb2ce9
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 29 20:55:55 2019 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 29 20:57:29 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d65596
7
8 www-apps/cgit: fix missing group on installation
9
10 After a recent change in user.eclass, this package no longer creates
11 the required group that's used later in src_install. I've adjusted the
12 ebuilds to restore the original behavior as intended before this eclass
13 change.
14
15 https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/user.eclass?id=3afc0d7b8b5e90c50d66c5a845b96c33e521e6e8
16 Closes: https://bugs.gentoo.org/688890
17 Package-Manager: Portage-2.3.76, Repoman-2.3.17
18 RepoMan-Options: --force
19 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
20
21 www-apps/cgit/cgit-1.2.1.ebuild | 5 +++--
22 www-apps/cgit/cgit-9999.ebuild | 5 +++--
23 2 files changed, 6 insertions(+), 4 deletions(-)
24
25 diff --git a/www-apps/cgit/cgit-1.2.1.ebuild b/www-apps/cgit/cgit-1.2.1.ebuild
26 index 82174c82295..4bbbeef07a1 100644
27 --- a/www-apps/cgit/cgit-1.2.1.ebuild
28 +++ b/www-apps/cgit/cgit-1.2.1.ebuild
29 @@ -1,4 +1,4 @@
30 -# Copyright 1999-2018 Gentoo Foundation
31 +# Copyright 1999-2019 Gentoo Authors
32 # Distributed under the terms of the GNU General Public License v2
33
34 EAPI=5
35 @@ -38,7 +38,8 @@ DEPEND="${RDEPEND}
36
37 pkg_setup() {
38 webapp_pkg_setup
39 - enewuser "${PN}"
40 + enewgroup ${PN}
41 + enewuser ${PN} -1 -1 -1 ${PN}
42 }
43
44 src_prepare() {
45
46 diff --git a/www-apps/cgit/cgit-9999.ebuild b/www-apps/cgit/cgit-9999.ebuild
47 index 28d3a792277..a6df9326558 100644
48 --- a/www-apps/cgit/cgit-9999.ebuild
49 +++ b/www-apps/cgit/cgit-9999.ebuild
50 @@ -1,4 +1,4 @@
51 -# Copyright 1999-2018 Gentoo Foundation
52 +# Copyright 1999-2019 Gentoo Authors
53 # Distributed under the terms of the GNU General Public License v2
54
55 EAPI="4"
56 @@ -36,7 +36,8 @@ DEPEND="${RDEPEND}
57
58 pkg_setup() {
59 webapp_pkg_setup
60 - enewuser "${PN}"
61 + enewgroup ${PN}
62 + enewuser ${PN} -1 -1 -1 ${PN}
63 }
64
65 src_prepare() {