From patchwork Wed Oct 7 17:04:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 24499 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1692427BBE8; Wed, 7 Oct 2020 18:05:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 756CA176AA for ; Wed, 7 Oct 2020 18:05:11 +0100 (BST) Received: from localhost ([::1]:40650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQCsI-00017G-GE for patchwork@mira.cbaines.net; Wed, 07 Oct 2020 13:05:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQCsA-00016w-AZ for guix-patches@gnu.org; Wed, 07 Oct 2020 13:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQCs9-0005FO-VL for guix-patches@gnu.org; Wed, 07 Oct 2020 13:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQCs9-0004oo-PU for guix-patches@gnu.org; Wed, 07 Oct 2020 13:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43851] [PATCH] gnu: sudo: Depend on python-minimal instead of python. Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Oct 2020 17:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43851 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43851@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160209028118489 (code B ref -1); Wed, 07 Oct 2020 17:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Oct 2020 17:04:41 +0000 Received: from localhost ([127.0.0.1]:57977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQCrk-0004o5-T3 for submit@debbugs.gnu.org; Wed, 07 Oct 2020 13:04:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:57598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQCrg-0004nv-J3 for submit@debbugs.gnu.org; Wed, 07 Oct 2020 13:04:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQCrg-00013n-EU for guix-patches@gnu.org; Wed, 07 Oct 2020 13:04:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48457) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQCrg-0005C1-4k; Wed, 07 Oct 2020 13:04:32 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=42636 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kQCrd-0005Ss-8b; Wed, 07 Oct 2020 13:04:29 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl X-Url: http://AvatarAcademy.nl Date: Wed, 07 Oct 2020 19:04:27 +0200 Message-ID: <87362qc6hw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, Depending on python pulls in X11: --8<---------------cut here---------------start------------->8--- $ guix graph --path sudo libx11 sudo@1.9.3p1 python@3.8.2 tk@8.6.10 libx11@1.6.9 --8<---------------cut here---------------end--------------->8--- which is unfortunate, especially for the Hurd. However...do we really want to extend sudo with eh, a large programming language that has a more impressive CVE list than a lovely tiny language such as, say Guile? ;) Greetings, Janneke From e28a7f0679cc70f48f2583b2f3fe5f9a1984d6cc Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Wed, 7 Oct 2020 18:49:29 +0200 Subject: [PATCH] gnu: sudo: Depend on python-minimal instead of python. Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 * gnu/packages/admin.scm (sudo)[inputs]: Use python-minimal instead of python. --- gnu/packages/admin.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e62a145614..399c55a080 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1499,7 +1499,7 @@ system administrator.") ("linux-pam" ,linux-pam) ,@(if (%current-target-system) '() - `(("python" ,python))) + `(("python" ,python-minimal))) ("zlib" ,zlib))) (home-page "https://www.sudo.ws/") (synopsis "Run commands as root") -- Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com