Subject: [bug#30734] [PATCH core-updates 3/3] gnu: net-tools: Don't install 'ifconfig'.

From: [email-masked] (Ludovic Courtès)
Date: Wed, 07 Mar 2018 22:19:36 +0100

Marius Bakke <[email-masked]> skribis:

> * gnu/packages/linux.scm (net-tools)[arguments]: In
> REMOVE-REDUNDANT-COMMANDS-PHASE, add regexp for ifconfig.
> ---
>  gnu/packages/linux.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index dffe2c49c..8c07d1fdd 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -1290,7 +1290,7 @@ inadequately in modern network environments, and both should be deprecated.")
>                 ;; Remove commands and man pages redundant with Inetutils.
>                 (let* ((out (assoc-ref outputs "out"))
>                        (dup (append-map (cut find-files out <>)
> -                                       '("^hostname"
> +                                       '("^hostname" "^ifconfig"

GNU ifconfig is somewhat incompatible and may have a different feature
set compared to the one of net-tools, so I’d be in favor of keeping it.

WDYT?

Thanks,
Ludo’.