From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75AE1138334 for ; Thu, 20 Jun 2019 08:17:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83CDFE097E; Thu, 20 Jun 2019 08:17:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4405FE097E for ; Thu, 20 Jun 2019 08:17:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 477D3346560 for ; Thu, 20 Jun 2019 08:17:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B4AC8618 for ; Thu, 20 Jun 2019 08:17:12 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1561018596.83d5e1c09179aae7241929c7d55a2ca6a68b4d94.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/user.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 83d5e1c09179aae7241929c7d55a2ca6a68b4d94 X-VCS-Branch: master Date: Thu, 20 Jun 2019 08:17:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bdb7bc91-9d4f-4dae-ad3e-572be5adec23 X-Archives-Hash: 66a47b511b943f151aaef5c301bac2e7 commit: 83d5e1c09179aae7241929c7d55a2ca6a68b4d94 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 8 14:36:25 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jun 20 08:16:36 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83d5e1c0 user.eclass: NetBSD has 'getent' Signed-off-by: Michał Górny gentoo.org> eclass/user.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/user.eclass b/eclass/user.eclass index ef5d3bc5e6e..18940f1505f 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} ;; *)