unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* drop net-tools from %base-packages?
@ 2020-01-01 17:13 Simon Josefsson
  2020-01-08 13:33 ` Ludovic Courtès
  2020-01-11 21:20 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Simon Josefsson @ 2020-01-01 17:13 UTC (permalink / raw)
  To: guix-devel

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

Hello!

While preparing a new release of GNU Inetutils, I read the following
comment in ./gnu/system.scm

         net-tools                        ; XXX: remove when Inetutils suffices

and looked into what possible tools Guix would want from inetutils that
aren't available already.

I'm not sure how to best find out what tools are actually used by Guix,
but on my system the following tools appear to be installed:

root@hamster ~# ls -la /run/current-system/profile/*bin/|grep net-tool|awk '{ print $9 }'
netstat
route
arp
ipmaddr
iptunnel
mii-tool
nameif
plipconfig
rarp
slattach
root@hamster ~# 

Is anything else from net-tools used?

Most of the tools are esoteric.  I suspect the more well-known tools are
'route', 'netstat', 'arp' and 'rarp'.

My Debian buster laptop has none of the tools above installed.  In fact,
the net-tools package is not even installed by default.  It seems all
uses have transitioned over to the modern 'iproute' suite.

Thus, I suggest Guix drop net-tools from its required tools.  People who
are nostalgic about the tools can install them separately, just like on
Debian.

I wouldn't know how to comprehensible test the patch below, but I'm sure
people will notice if there are problems if it is applied. :-)

/Simon

From 3ac6e4c9853a0cbc6fb42a2d263bb03bb9583c34 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Wed, 1 Jan 2020 18:05:47 +0100
Subject: [PATCH] system: Drop net-tools from %BASE-PACKAGES (replaced by
 iproute2).

* gnu/system.scm (%base-packages): Remove net-tools.
---
 gnu/system.scm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index abdbb081e6..fbc72ada3d 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -574,7 +574,6 @@ of PROVENANCE-SERVICE-TYPE to its services."
          iw wireless-tools
 
          iproute
-         net-tools                        ; XXX: remove when Inetutils suffices
          man-db
          info-reader                     ;the standalone Info reader (no Perl)
 
-- 
2.20.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

end of thread, other threads:[~2020-01-12 19:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-01 17:13 drop net-tools from %base-packages? Simon Josefsson
2020-01-08 13:33 ` Ludovic Courtès
2020-01-08 21:19   ` Marius Bakke
2020-01-08 21:47     ` Tobias Geerinckx-Rice
2020-01-12 19:06       ` Maxim Cournoyer
2020-01-11 21:20 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).