Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: floppym@g.o
Subject: Re: [gentoo-dev] [PATCH 1/2] acct-group.eclass: declare the missing dependency on shadow
Date: Tue, 08 Sep 2020 16:04:12
Message-Id: dd6f119d17d52540d2163134129a0177cf01e901.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/2] acct-group.eclass: declare the missing dependency on shadow by David Michael
1 On Tue, 2020-09-08 at 11:57 -0400, David Michael wrote:
2 > Signed-off-by: David Michael <fedora.dm0@×××××.com>
3 > ---
4 > eclass/acct-group.eclass | 6 +++++-
5 > 1 file changed, 5 insertions(+), 1 deletion(-)
6 >
7 > diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass
8 > index 19a378e0b06..56e6391ef42 100644
9 > --- a/eclass/acct-group.eclass
10 > +++ b/eclass/acct-group.eclass
11 > @@ -34,8 +34,12 @@
12 > if [[ -z ${_ACCT_GROUP_ECLASS} ]]; then
13 > _ACCT_GROUP_ECLASS=1
14 >
15 > +# The groupadd utility is called in pkg_preinst. It should be in IDEPEND.
16 > case ${EAPI:-0} in
17 > - 7) ;;
18 > + 7)
19 > + BDEPEND="userland_GNU? ( sys-apps/shadow )"
20
21 Nothing from shadow is used in src_install, so this BDEPEND is
22 unnecessary.
23
24 > + RDEPEND="${BDEPEND}"
25 > + ;;
26 > *) die "EAPI=${EAPI:-0} not supported";;
27 > esac
28 >
29
30 --
31 Best regards,
32 Michał Górny

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] [PATCH 1/2] acct-group.eclass: declare the missing dependency on shadow David Michael <fedora.dm0@×××××.com>