all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#43851] [PATCH] gnu: sudo: Depend on python-minimal instead of python.
@ 2020-10-07 17:04 Jan Nieuwenhuizen
  2020-10-07 21:18 ` Tobias Geerinckx-Rice via Guix-patches via
  2020-10-08  7:03 ` [bug#43851] " Danny Milosavljevic
  0 siblings, 2 replies; 10+ messages in thread
From: Jan Nieuwenhuizen @ 2020-10-07 17:04 UTC (permalink / raw)
  To: 43851

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

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


[-- Attachment #2: 0001-gnu-sudo-Depend-on-python-minimal-instead-of-python.patch --]
[-- Type: text/x-patch, Size: 1124 bytes --]

From e28a7f0679cc70f48f2583b2f3fe5f9a1984d6cc Mon Sep 17 00:00:00 2001
From: "Jan (janneke) Nieuwenhuizen" <janneke@gnu.org>
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 <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com


[-- Attachment #3: Type: text/plain, Size: 152 bytes --]


-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-10-09 20:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-07 17:04 [bug#43851] [PATCH] gnu: sudo: Depend on python-minimal instead of python Jan Nieuwenhuizen
2020-10-07 21:18 ` Tobias Geerinckx-Rice via Guix-patches via
2020-10-09 17:18   ` Jan Nieuwenhuizen
2020-10-09 18:15   ` Maxim Cournoyer
2020-10-09 18:48     ` Tobias Geerinckx-Rice via Guix-patches via
2020-10-09 19:26       ` zimoun
2020-10-09 19:44         ` Tobias Geerinckx-Rice via Guix-patches via
2020-10-09 19:53           ` Jan Nieuwenhuizen
2020-10-09 19:48       ` bug#43851: " Jan Nieuwenhuizen
2020-10-08  7:03 ` [bug#43851] " Danny Milosavljevic

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.