public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/2] acct-group.eclass: declare the missing dependency on shadow
@ 2020-09-08 15:57 David Michael
  2020-09-08 16:04 ` Michał Górny
  2020-09-08 19:54 ` [gentoo-dev] " David Michael
  0 siblings, 2 replies; 7+ messages 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-group.eclass | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass
index 19a378e0b06..56e6391ef42 100644
--- a/eclass/acct-group.eclass
+++ b/eclass/acct-group.eclass
@@ -34,8 +34,12 @@
 if [[ -z ${_ACCT_GROUP_ECLASS} ]]; then
 _ACCT_GROUP_ECLASS=1
 
+# The groupadd 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] 7+ messages in thread

end of thread, other threads:[~2020-09-09 14:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-08 15:57 [gentoo-dev] [PATCH 1/2] acct-group.eclass: declare the missing dependency on shadow David Michael
2020-09-08 16:04 ` Michał Górny
2020-09-08 16:10   ` David Michael
2020-09-08 19:54 ` [gentoo-dev] " David Michael
2020-09-09  9:36   ` Alexis Ballier
2020-09-09 13:48     ` David Michael
2020-09-09 14:07       ` Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox