Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
signature.asc application/pgp-signature