Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2 6/9] acct-{group,user}.eclass: WIP eclasses to maintain users/groups
Date: Wed, 05 Jun 2019 19:10:58
Message-Id: c84b0ee058d9c3e31035e1ed4844b5d54a52703c.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH v2 6/9] acct-{group,user}.eclass: WIP eclasses to maintain users/groups by "Michał Górny"
1 El mié, 05-06-2019 a las 11:12 +0200, Michał Górny escribió:
2 > [...]
3 > +# Then you add appropriate dependency to your package. The dependency
4 > +# type(s) should be:
5 > +# - DEPEND (+ RDEPEND) if the group is already needed at build time,
6 > +# - RDEPEND if it is needed at install time (e.g. you 'fowners' files
7 > +# in pkg_preinst),
8 > +# - PDEPEND if it is only needed at runtime.
9
10 Maybe is a stupid question but, why is PDEPEND preferred over RDEPEND for
11 packages needing the group only at runtime?
12
13 If I don't misremember, PDEPEND was meant to be used to avoid circular deps
14 issues, while using RDEPEND otherwise
15
16 Thanks :)

Attachments

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

Replies