Skip to content

Commit

Permalink
www-apps/cgit: fix missing group on installation
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
benkohler committed Sep 29, 2019
1 parent 8b17e35 commit 23d6559
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions www-apps/cgit/cgit-1.2.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -38,7 +38,8 @@ DEPEND="${RDEPEND}

pkg_setup() {
webapp_pkg_setup
enewuser "${PN}"
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}

src_prepare() {
Expand Down
5 changes: 3 additions & 2 deletions www-apps/cgit/cgit-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -36,7 +36,8 @@ DEPEND="${RDEPEND}

pkg_setup() {
webapp_pkg_setup
enewuser "${PN}"
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}

src_prepare() {
Expand Down

0 comments on commit 23d6559

Please sign in to comment.