From 83d5e1c09179aae7241929c7d55a2ca6a68b4d94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 8 Jun 2019 16:36:25 +0200 Subject: [PATCH] user.eclass: NetBSD has 'getent' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/user.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/user.eclass b/eclass/user.eclass index ef5d3bc5e6e0..18940f1505f1 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -4,6 +4,7 @@ # @ECLASS: user.eclass # @MAINTAINER: # base-system@gentoo.org (Linux) +# Michał Górny (NetBSD) # @BLURB: user management in ebuilds # @DESCRIPTION: # The user eclass contains a suite of functions that allow ebuilds @@ -58,7 +59,7 @@ egetent() { pw show ${db} ${opts} "${key}" -q ;; - *-netbsd*|*-openbsd*) + *-openbsd*) grep "${key}:\*:" /etc/${db} ;; *) -- 2.26.2