From patchwork Fri Jul 7 02:22:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 785332 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x3dh34gw7z9s75 for ; Fri, 7 Jul 2017 12:23:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C33A888D0A; Fri, 7 Jul 2017 02:23:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b+Onz91wSfgf; Fri, 7 Jul 2017 02:23:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 92B9F88D05; Fri, 7 Jul 2017 02:23:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A32FD1C1677 for ; Fri, 7 Jul 2017 02:23:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9B4168918B for ; Fri, 7 Jul 2017 02:23:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rAr0Y6e+3NvZ for ; Fri, 7 Jul 2017 02:23:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.ind.br (mx.datacom.ind.br [177.66.5.10]) by hemlock.osuosl.org (Postfix) with ESMTPS id C0475891BA for ; Fri, 7 Jul 2017 02:22:59 +0000 (UTC) Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id 725F01A82EC5; Thu, 6 Jul 2017 23:21:22 -0300 (BRT) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id 6409A1A82E03; Thu, 6 Jul 2017 23:21:22 -0300 (BRT) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wJdszkq3e2OA; Thu, 6 Jul 2017 23:21:22 -0300 (BRT) Received: from p7-1130br.casantos.org (unknown [177.134.39.90]) by mail.datacom.ind.br (Postfix) with ESMTPSA id 087BC1A8197F; Thu, 6 Jul 2017 23:21:22 -0300 (BRT) From: Carlos Santos To: buildroot@buildroot.org Date: Thu, 6 Jul 2017 23:22:41 -0300 Message-Id: <20170707022242.20128-7-casantos@datacom.ind.br> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170707022242.20128-1-casantos@datacom.ind.br> References: <20170707022242.20128-1-casantos@datacom.ind.br> Cc: Karoly Kasza , Ezequiel Garcia Subject: [Buildroot] [PATCH 6/7] sudo: use BR2_PACKAGE_LINUX_PAM_ARCH_SUPPORTS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Do not repeat linux-pam dependencies. Signed-off-by: Carlos Santos --- package/sudo/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/sudo/Config.in b/package/sudo/Config.in index cbef15d..a604848 100644 --- a/package/sudo/Config.in +++ b/package/sudo/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_SUDO bool "sudo" - # uses fork() - depends on BR2_USE_MMU + depends on BR2_PACKAGE_LINUX_PAM_ARCH_SUPPORTS + select BR2_PACKAGE_LINUX_PAM help Sudo is a program designed to allow a sysadmin to give limited root privileges to users and log root activity. The @@ -9,3 +9,6 @@ config BR2_PACKAGE_SUDO but still allow people to get their work done. http://www.sudo.ws/sudo/ + +comment "sudo needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" + depends on !BR2_PACKAGE_LINUX_PAM_ARCH_SUPPORTS