* [gentoo-dev] [PATCH 2/2] acct-user.eclass: declare the missing dependency on shadow
@ 2020-09-08 15:57 David Michael
0 siblings, 0 replies; only message in thread
From: David Michael @ 2020-09-08 15:57 UTC (permalink / raw
To: gentoo-dev; +Cc: floppym
Signed-off-by: David Michael <fedora.dm0@gmail.com>
---
eclass/acct-user.eclass | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass
index 56a4e83e8bf..96a076e106e 100644
--- a/eclass/acct-user.eclass
+++ b/eclass/acct-user.eclass
@@ -42,8 +42,12 @@
if [[ -z ${_ACCT_USER_ECLASS} ]]; then
_ACCT_USER_ECLASS=1
+# The useradd utility is called in pkg_preinst. It should be in IDEPEND.
case ${EAPI:-0} in
- 7) ;;
+ 7)
+ BDEPEND="userland_GNU? ( sys-apps/shadow )"
+ RDEPEND="${BDEPEND}"
+ ;;
*) die "EAPI=${EAPI:-0} not supported";;
esac
--
2.26.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-08 15:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-08 15:57 [gentoo-dev] [PATCH 2/2] acct-user.eclass: declare the missing dependency on shadow David Michael
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox