From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org, Ben Kohler <bkohler@gentoo.org>
Subject: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: www-apps/cgit/
Date: Mon, 07 Oct 2019 22:05:17 +0200 [thread overview]
Message-ID: <9f1c750dddd8a8b806e29eb6931d04fbfca99dd8.camel@gentoo.org> (raw)
In-Reply-To: <1569790649.23d65596bf6ed47cf5a8fd1d163ddbf3f8fb2ce9.bkohler@gentoo>
[-- Attachment #1: Type: text/plain, Size: 2411 bytes --]
On Sun, 2019-09-29 at 20:59 +0000, Ben Kohler wrote:
> commit: 23d65596bf6ed47cf5a8fd1d163ddbf3f8fb2ce9
> Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
> AuthorDate: Sun Sep 29 20:55:55 2019 +0000
> Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
> CommitDate: Sun Sep 29 20:57:29 2019 +0000
> URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d65596
>
> 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
What's the justification for using --force?
> Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
>
> 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 82174c82295..4bbbeef07a1 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 28d3a792277..a6df9326558 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() {
>
--
Best regards,
Michał Górny
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]
parent reply other threads:[~2019-10-07 20:05 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1569790649.23d65596bf6ed47cf5a8fd1d163ddbf3f8fb2ce9.bkohler@gentoo>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9f1c750dddd8a8b806e29eb6931d04fbfca99dd8.camel@gentoo.org \
--to=mgorny@gentoo.org \
--cc=bkohler@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox